|
|
@@ -4,6 +4,7 @@
|
|
|
<template #left></template>
|
|
|
</up-navbar>
|
|
|
<view class="tab adf">
|
|
|
+ <view class="tab-pre" :class="{'active':tidx===''}" @click="changeTab('')">全部</view>
|
|
|
<view class="tab-pre" :class="{'active':tidx===1}" @click="changeTab(1)">未开始</view>
|
|
|
<view class="tab-pre" :class="{'active':tidx===2}" @click="changeTab(2)">进行中</view>
|
|
|
<view class="tab-pre" :class="{'active':tidx===3}" @click="changeTab(3)">已结束</view>
|
|
|
@@ -31,12 +32,12 @@
|
|
|
import { onLoad, onShow } from '@dcloudio/uni-app'
|
|
|
const { proxy } = getCurrentInstance()
|
|
|
|
|
|
- const tidx = ref(1)
|
|
|
+ const tidx = ref('')
|
|
|
const text = ref('暂无进行中活动')
|
|
|
const queryParams = ref({
|
|
|
page: 1,
|
|
|
limit: 10,
|
|
|
- activeState: 1, //0待开始 1报名中 2进行中 3已结束
|
|
|
+ activeState: '', //''全部 0待开始 1报名中 2进行中 3已结束
|
|
|
userId:''
|
|
|
})
|
|
|
const statusCfg = ref({
|
|
|
@@ -142,7 +143,7 @@
|
|
|
box-sizing: border-box;
|
|
|
background: #FFFFFF;
|
|
|
&-pre{
|
|
|
- width: calc(100% / 4);
|
|
|
+ width: calc(100% / 5);
|
|
|
position: relative;
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
font-weight: 400;
|