- 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
#!/bin/bash | |
Red='\033[0;31m' | |
Green='\033[0;32m' | |
Yellow='\033[0;33m' | |
NC='\033[0m' | |
echo -e "${Yellow}使用 Pro 构建器 构建${NC}"; | |
builder; | |
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
## 系统性教材, | |
* JavaScript高级程序设计(第3版) | |
## 偏实战应用 | |
* 锋利的jQuery(第2版) | |
* 响应式Web设计:HTML5和CSS3实战 | |
## 数据可视化相关 |
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终端 |
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
<!-- 楼层导航 --> | |
#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
/* | |
* 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
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
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
<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"/> |
NewerOlder