|
|
|
@ -1,11 +1,9 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="layout">
|
|
|
|
|
<van-nav-bar class="layout-bar"
|
|
|
|
|
@click-left="onClickLeft"
|
|
|
|
|
@click-right="onClickRight"
|
|
|
|
|
title="应用导航">
|
|
|
|
|
<van-icon name="ellipsis" slot="left"/>
|
|
|
|
|
<van-icon name="home-o" slot="right"/>
|
|
|
|
|
<van-icon name="ellipsis" slot="right"/>
|
|
|
|
|
</van-nav-bar>
|
|
|
|
|
|
|
|
|
|
<van-pull-refresh v-model="isLoading" @refresh="onRefresh">
|
|
|
|
@ -111,11 +109,8 @@
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
onClickLeft() {
|
|
|
|
|
this.$router.push('set');
|
|
|
|
|
},
|
|
|
|
|
onClickRight() {
|
|
|
|
|
this.$router.push('nav');
|
|
|
|
|
this.$router.push('set');
|
|
|
|
|
},
|
|
|
|
|
onRefresh() {
|
|
|
|
|
Toast("Refresh finish");
|
|
|
|
|