Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
淘宝旅行门票iPad版开发
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ningzbruc
June 06, 2014
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
淘宝旅行门票iPad版开发
淘宝旅行门票iPad版开发
ningzbruc
June 06, 2014
More Decks by ningzbruc
See All by ningzbruc
如何写出一个优秀的开源库
ningzbruc
0
66
去啊无线前端的一天
ningzbruc
1
180
React & Component
ningzbruc
0
45
阿里旅行去啊H5首页总结&Promise
ningzbruc
0
270
KISSY.Base - all about that Base
ningzbruc
0
130
Hammer.js
ningzbruc
1
340
Travel on KISSY mini
ningzbruc
0
200
Events
ningzbruc
2
130
Why YUI3
ningzbruc
0
190
Other Decks in Programming
See All in Programming
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.9k
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
250
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
160
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
250
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
220
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
330
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
590
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
140
A2UI という光を覗いてみる
satohjohn
1
130
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
2
670
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
130
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
How to train your dragon (web standard)
notwaldorf
97
6.7k
WENDY [Excerpt]
tessaabrams
11
38k
Automating Front-end Workflow
addyosmani
1370
210k
Embracing the Ebb and Flow
colly
88
5.1k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
200
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
190
Building AI with AI
inesmontani
PRO
1
1.1k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
门票iPad版总结 虎牙
None
None
None
Differences ‧ 更大的屏幕 ‧ 更细致的交互 ‧ 更完美的体验 ‧ 更少的兼容性
Differences ‧ 更大的屏幕 ‧ 更细致的交互 ‧ 更完美的体验 ‧ 更少的兼容性
‧ 横竖屏切换 ‧ 页面局部刷新 ‧ 历史记录正常 ‧ 滚动加载更多 ‧ 重构组件交互
Details
Orientation //横竖屏时更新banner轮播 Orientation.change(function(e) { self.slide.refresh(); }, true);
if (useHistoryState) { history.replaceState({ isMapMode: this.isMapMode }, '景点列表', url); this.toggleListMode(true);
} else { this.redirectTo(url); } History
# 新交互
None
None
None
Modules & Extensions
Modules & Extensions
Modules & Extensions var Search = GlobalBase.extend([ GlobalTMS, GlobalSearch, GlobalCityList,
Banner ], {});
Modules & Extensions var List = GlobalBase.extend([ GlobalTMS, GlobalSearch, GlobalCityList,
ListPopup, ListLoad, ListMap ], {});
Modules & Extensions var Scenic = GlobalBase.extend([ Slide, Desc, Map
], {});
AOP & SuperBase function ListLoad() {} ! S.augment(ListLoad, { initializer:
function() { this.nearScenicName = this.getParam('scenicName'); this.searchByScenic = !!this.nearScenicName; this.doAfter(this.renderListLoad, this, 'renderUI'); this.doAfter(this.bindListLoad, this, 'bindUI'); this.doAfter(this.syncListLoad, this, 'syncUI'); }, destructor: function() {} });
AOP & SuperBase function ListLoad() {} ! S.augment(ListLoad, { initializer:
function() { this.nearScenicName = this.getParam('scenicName'); this.searchByScenic = !!this.nearScenicName; this.doAfter(this.renderListLoad, this, 'renderUI'); this.doAfter(this.bindListLoad, this, 'bindUI'); this.doAfter(this.syncListLoad, this, 'syncUI'); }, destructor: function() {} });
http://gallery.kissyui.com/aop/1.1/guide/index.html http://gallery.kissyui.com/superbase/1.0/guide/index.html AOP & SuperBase
Widgets ‧ AOP ‧ SuperBase ‧ Orientation ‧ AlignBox ‧
HistoryList ‧ SimpleSlide ‧ iScroll5 ‧ Scroller ‧ ScrollList ‧ GeoLocation ‧ AutoComplete ‧ and more…
# Demo
‧ Zepto to KISSY mini ‧ iScroll4 to iScroll5 ‧
页面宽度自适应 ‧ 键盘打开时旋转屏幕性能很差 ‧ 页面刷新也会触发onpopstate事件 ‧ 接入淘宝iPad客户端极简支付 Problems
zepto 2 mini • Node • Event • UA •
Ajax • Lang • duration/timeout • … https://speakerdeck.com/ningzbruc/travel-on-kissy-mini
The end.