- http://gtms04.alicdn.com/tps/i4/TB1p7K5FVXXXXaNaXXXo1jm3FXX-752-598.png
- http://gtms03.alicdn.com/tps/i3/TB1rYs6FFXXXXXXaXXXa5yY7pXX-654-520.png
- http://gtms02.alicdn.com/tps/i2/TB1t8coFVXXXXXjXVXXp8cCPVXX-692-258.png
- http://gtms01.alicdn.com/tps/i1/TB1XHSYFVXXXXXXapXXbjtX3XXX-748-334.png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### assets | |
<link href="http://g.assets.daily.taobao.net/ju/h5plat/1.0.0/cssCombo.css" rel="stylesheet"> | |
<script src="http://g.assets.daily.taobao.net/ju/h5plat/1.0.0/jsCombo.js"></script> | |
### TMS区块 | |
http://act.ju.taobao.com/go/rgn/juhuasuan/h5plat/saintaudioplay.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. ~/bin/z/z.sh | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" | |
# Set CLICOLOR if you want Ansi Colors in iTerm2 | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' | |
# Set colors to match iTerm2 Terminal Colors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<meta charset="utf-8"/> | |
<title></title> | |
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/> | |
<meta content="yes" name="apple-mobile-web-app-capable"/> | |
<meta content="black" name="apple-mobile-web-app-status-bar-style"/> | |
<meta name="format-detection" content="telephone=no"/> | |
<meta name="spm-id" content="608.1104612" /> | |
<link href="http://g.tbcdn.cn/ju/wap/1.0.2/icon/icon144.png" rel="apple-touch-icon-precomposed"> | |
<link rel="shortcut icon" href="http://g.assets.daily.taobao.net/ju/wap/1.0.6/icon/favicon.ico" type="image/x-icon"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib.mtop.request({ | |
api: 'mtop.ju.option.get', | |
v: '1.0', | |
data: { | |
"platformId": "1045", | |
"currentPage": 1, | |
"pageSize": 24 | |
} | |
}, | |
function(result) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
png: { | |
options: { | |
optimizationLevel: 7 | |
}, | |
files: [{ | |
expand: true, | |
cwd: 'assets/slice/', | |
src: ['*.png'], | |
dest: 'assets/slice-min/', | |
ext: '.png' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* grunt-contrib-imagemin | |
* http://gruntjs.com/ | |
* | |
* Copyright (c) 2013 Sindre Sorhus, contributors | |
* Licensed under the MIT license. | |
*/ | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 楼层导航 --> | |
#if($pageFloorVOList) | |
<div class="mulitpe-nav" #if(${pageFloorVOList.size()}<=1) style="display:none"#end> | |
<div class="nav-tab-wrap"> | |
<div class="nav-prev-btn"></div> | |
<div class="nav-tab"> | |
<ul> | |
#foreach($pageFloorVO in $pageFloorVOList) | |
<li data-target="floor$velocityCount"> | |
<a>$!{pageFloorVO.floorName}</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(['zepto'], function() { | |
function getDevicePixelRatio() { | |
return window.devicePixelRatio ? window.devicePixelRatio : 1; | |
} | |
function getImageSize() { | |
if(window.__NETWORK_STATUS__ == 3) { | |
return "_80x80Q90.jpg"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var browser = { | |
versions: function () { | |
var u = navigator.userAgent, app = navigator.appVersion; | |
return {//移动终端浏览器版本信息 | |
trident: u.indexOf('Trident') > -1, //IE内核 | |
presto: u.indexOf('Presto') > -1, //opera内核 | |
webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核 | |
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核 | |
mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端 | |
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端 |
OlderNewer