hookehuyr

fix 主办方管理两个列表信息为空时显示优化

1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-10-25 13:36:09 4 + * @LastEditTime: 2022-10-31 13:13:21
5 * @FilePath: /swx/src/pages/projectManage/index.vue 5 * @FilePath: /swx/src/pages/projectManage/index.vue
6 * @Description: 主办方管理页面 6 * @Description: 主办方管理页面
7 --> 7 -->
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 <text class="bg-gradient" style="font-size: 1rem;">我创建的主办方</text> 12 <text class="bg-gradient" style="font-size: 1rem;">我创建的主办方</text>
13 </view> 13 </view>
14 </view> 14 </view>
15 - <view class="create-box"> 15 + <view v-if="create_list.length" class="create-box">
16 <view class="create-item" v-for="(item, index) in create_list" :key="index"> 16 <view class="create-item" v-for="(item, index) in create_list" :key="index">
17 <van-row> 17 <van-row>
18 <van-col span="15"> 18 <van-col span="15">
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
36 <text class="bg-gradient" style="font-size: 1rem;">我加入的主办方</text> 36 <text class="bg-gradient" style="font-size: 1rem;">我加入的主办方</text>
37 </view> 37 </view>
38 </view> 38 </view>
39 - <view class="join-box"> 39 + <view v-if="join_list.length" class="join-box">
40 <view class="join-item" v-for="(item, index) in join_list" :key="index"> 40 <view class="join-item" v-for="(item, index) in join_list" :key="index">
41 <van-row> 41 <van-row>
42 <van-col span="24"> 42 <van-col span="24">
......