Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
淘宝旅行门票iPad版开发
Search
ningzbruc
June 06, 2014
Programming
150
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
68
去啊无线前端的一天
ningzbruc
1
200
React & Component
ningzbruc
0
54
阿里旅行去啊H5首页总结&Promise
ningzbruc
0
280
KISSY.Base - all about that Base
ningzbruc
0
140
Hammer.js
ningzbruc
1
350
Travel on KISSY mini
ningzbruc
0
210
Events
ningzbruc
2
130
Why YUI3
ningzbruc
0
190
Other Decks in Programming
See All in Programming
AWSに止められる覚悟してますか?
morizo_1984
2
510
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.8k
CodeRabbitの効果検証と過ごしてみた3ヶ月
armondando
0
150
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
150
Agents on Rails - Rails at Scale 2026
irinanazarova
0
340
残高管理から台帳サービスへの進化
artoy
0
150
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.1k
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
310
自サークルのIdPからログアウトできるようになるまで
taiseiue
0
110
Simple Storage Service(S3) is not simple
iwatsukayura
0
210
Featured
See All Featured
Visualization
eitanlees
153
17k
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Making Projects Easy
brettharned
120
6.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
930
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Un-Boring Meetings
codingconduct
0
440
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Prompt Engineering for Job Search
mfonobong
0
480
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Are puppies a ranking factor?
jonoalderson
2
4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
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.