File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 44 <NavigationButton text =" Go Back" android.systemIcon =" ic_menu_back" @tap =" $navigateBack" />
55 </ActionBar >
66 <FlexboxLayout flexDirection =" column" backgroundColor =" #3c495e" @pan =" onDrawerPan(side, $event)" >
7- <!-- < Label class="first" text="first" height="70" backgroundColor="#43b883" ref="ht" flexShrink="0" />
8- <Label text="second" height="70" backgroundColor="#1c6b48" flexShrink="0" /> -->
7+ <Label class =" first" text =" first" height =" 70" backgroundColor =" #43b883" ref =" ht" flexShrink =" 0" />
8+ <Label text =" second" height =" 70" backgroundColor =" #1c6b48" flexShrink =" 0" />
99 <!-- <Label text="third" height="100%" backgroundColor="#289062" /> -->
1010 <ListView for =" item in listArr" ref =" list" @pan =" onListPane(side,$event)" >
1111 <v-template >
1212 <Label :text =" item" class =" icon" />
1313 </v-template >
1414 </ListView >
1515 </FlexboxLayout >
16- <GridLayout colums =" *" rows =" *" >
16+ <!-- < GridLayout colums="*" rows="*">
1717 <Label class="message" :text="msg" col="0" row="0" />
1818 <PullToRefresh @refresh="refreshList">
1919 <ListView for="item in listArr">
2222 </v-template>
2323 </ListView>
2424 </PullToRefresh>
25- </GridLayout >
25+ </GridLayout> -->
2626 </Page >
2727</template >
2828
@@ -51,15 +51,22 @@ export default {
5151 console .log (' 对不起, 要你久候' )
5252 that .isTime = true ;
5353 console .log (' 定时了' );
54+ that .restore ();
5455 }, 3000 )
5556 },
57+ restore : function (){
58+ console .log (' 返回了' );
59+ let ht = this .$refs .ht .nativeView ;
60+ console .log (' hhhh' ,ht .marginTop );
61+ ht .marginTop = - 60 ;
62+ },
5663 // refreshList (args) {
5764 // var pullRefresh = args.object;
5865 // let that = this;
5966 // setTimeout(function () {
6067 // pullRefresh.refreshing = false;
6168 // that.isTime = true;
62- // console.log('定时了');
69+ // console.log('定时了');·
6370 // }, 1000);
6471 // },
6572 onButton : function () { },
You can’t perform that action at this time.
0 commit comments