韩飞给的全部页面
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
</view>
|
||||
|
||||
<view class="cu-list grid col-3 no-border margin radius ">
|
||||
<view class="cu-item">
|
||||
<view class="cu-item" @tap="routerTo('/pages/station-info/station-info')">
|
||||
<view :class="['cuIcon-' + cuIconList[0].cuIcon, 'text-' + cuIconList[0].color]" class="text-sl">
|
||||
<view class="cu-tag badge" v-if="cuIconList[0].badge != 0">
|
||||
<block v-if="cuIconList[0].badge != 1">{{ cuIconList[0].badge > 99 ? '99+' : cuIconList[0].badge }}</block>
|
||||
@@ -49,7 +49,7 @@
|
||||
</view>
|
||||
<text>{{ cuIconList[0].name }}</text>
|
||||
</view>
|
||||
<view class="cu-item">
|
||||
<view class="cu-item" @tap="routerTo('/pages/orderList/orderList')">
|
||||
<view :class="['cuIcon-' + cuIconList[1].cuIcon, 'text-' + cuIconList[1].color]" class="text-sl">
|
||||
<view class="cu-tag badge" v-if="cuIconList[1].badge != 0">
|
||||
<block v-if="cuIconList[1].badge != 1">{{ cuIconList[1].badge > 99 ? '99+' : cuIconList[1].badge }}</block>
|
||||
@@ -152,10 +152,16 @@
|
||||
uni.vibrate({
|
||||
success: function() {
|
||||
console.log('success');
|
||||
this.routerTo('/pages/stationDetail/stationDetail')
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
routerTo(url){
|
||||
uni.navigateTo({
|
||||
url:url
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user