File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ul,ol{ margin: 0; list-style-type: none; }
9
9
.header .out , .footer .out { -webkit-transform : translateX (-100% ); transform : translateX (-100% ); }
10
10
11
11
.header { height : 48px ; padding : 0 5px ; background-color : # 21292B ; color : # fff ; top : 0 ; z-index : 1 ; }
12
- .header > h1 { line-height : 48px ; margin : 0 0 0 10px ; font-size : 20 px ; float : left; }
12
+ .header > h1 { line-height : 48px ; margin : 0 0 0 10px ; font-size : 18 px ; float : left; }
13
13
.header > a { display : inline-block; width : 48px ; height : 48px ; background-size : 48px 144px ; text-indent : -9em ; overflow : hidden; }
14
14
.header > .icon-search , .header > .icon-add { float : right; }
15
15
.header > .icon-back { float : left; position : relative; margin-left : -5px ; }
Original file line number Diff line number Diff line change @@ -12,12 +12,9 @@ Mobilebone.onpagefirstinto = function(pageinto) {
12
12
13
13
// bind custom scroll events for content
14
14
var weChatScroll = new IScroll ( pageinto . querySelector ( ".content" ) , {
15
- preventDefaultException : {
16
- tagName : / ^ ( A | I N P U T | T E X T A R E A | B U T T O N | S E L E C T ) $ /
17
- }
15
+ tap : true
18
16
} ) ;
19
-
20
- console . dir ( weChatScroll . options ) ;
17
+ pageinto . addEventListener ( 'tap' , Mobilebone . handleTapEvent , false ) ;
21
18
} ;
22
19
23
20
Mobilebone . callback = function ( pageinto , pageout ) {
You can’t perform that action at this time.
0 commit comments