1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <template>
- <view class="">
- <u-tabs name="cate_name" count="cate_count" bar-width="150" bar-height="3" :list="list" :is-scroll="false"
- :current="current" @change="change">
- </u-tabs>
- <view v-if="current==0">
- <u-empty text="您暂时没有订单" mode="order" class="flexd"></u-empty>
- </view>
- <view v-if="current==1">
- <u-empty text="您暂时没有订单" mode="order" class="flexd"></u-empty>
- </view>
- <view v-if="current==2">
- <u-empty text="您暂时没有订单" mode="order" class="flexd"></u-empty>
- </view>
- <view v-if="current==3">
- <u-empty text="您暂时没有订单" mode="order" class="flexd"></u-empty>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list: [{
- cate_name: '处理中'
- }, {
- cate_name: '已成功'
- }, {
- cate_name: '已撤销'
- }, {
- cate_name: '全部',
- }],
- current: 0
- }
- },
- onLoad() {
- },
- methods: {
- change(index) {
- this.current = index;
- }
- }
- }
- </script>
- <style>
- page {
- background-color: #F3F4F8;
- }
- .flexd {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- z-index: -1;
- }
- </style>
|