This commit is contained in:
jqtmviyu@gmail.com 2021-03-07 00:29:29 +08:00
parent a72cec4b6e
commit 3dbab2e8ac

View File

@ -1,15 +1,39 @@
<template> <template>
<view> <view>
订定单页面 <view class="tabs">
<u-tabs :list="tabs" :is-scroll="false" :current="tabsCurrent" inactive-color="#666" active-color="#eb4450" @change="onTapsChange"></u-tabs>
</view>
</view> </view>
</template> </template>
<script> <script>
export default { export default {
data(){
return{
tabs: [
{
name: "全部",
},
{
name: "待支付",
},
{
name: "待发货",
},
],
tabsCurrent: 0
}
},
methods: {
//
onTapsChange(index){
this.tabsCurrent = index
}
}
} }
</script> </script>
<style> <style lang="scss">
</style> </style>