1ed26d6f by lttnew

考官库

1 parent 00c48219
1 <template> 1 <template>
2 <view class="container"> 2 <view class="container">
3 <view class="loading-tip" v-if="loading">加载中...</view> 3 <view class="loading-tip" v-if="loading">加载中...</view>
4 <view class="empty-tip" v-else-if="infoList.length === 0">暂无可添加的考官</view> 4 <view class="empty" v-else-if="infoList.length === 0">
5 <image class="empty-img" mode="aspectFit" :src="config.baseUrl_api + '/fs/static/nodata.png'"></image>
6 <text class="empty-text">暂无考官数据</text>
7 </view>
8 <!-- <view class="empty-tip" v-else-if="infoList.length === 0">暂无可添加的考官</view> -->
5 9
6 <checkbox-group class="examiner-list" @change="onCheckboxChange"> 10 <checkbox-group class="examiner-list" @change="onCheckboxChange">
7 <label v-for="item in infoList" :key="item.perId" class="examiner-item"> 11 <label v-for="item in infoList" :key="item.perId" class="examiner-item">
...@@ -30,6 +34,7 @@ ...@@ -30,6 +34,7 @@
30 import {ref} from 'vue' 34 import {ref} from 'vue'
31 import { onLoad } from '@dcloudio/uni-app' 35 import { onLoad } from '@dcloudio/uni-app'
32 import * as api from '@/common/api.js' 36 import * as api from '@/common/api.js'
37 import config from '@/config.js'
33 38
34 const loading = ref(true) 39 const loading = ref(true)
35 const infoList = ref([]) 40 const infoList = ref([])
...@@ -90,7 +95,7 @@ function handleAdd() { ...@@ -90,7 +95,7 @@ function handleAdd() {
90 .container { 95 .container {
91 min-height: 100vh; 96 min-height: 100vh;
92 background: #f7f7f7; 97 background: #f7f7f7;
93 padding-bottom: 140rpx; 98 /* padding-bottom: 140rpx; */
94 } 99 }
95 100
96 .loading-tip, 101 .loading-tip,
......
...@@ -96,6 +96,11 @@ ...@@ -96,6 +96,11 @@
96 <text>我的订单</text> 96 <text>我的订单</text>
97 <view class="arrow"></view> 97 <view class="arrow"></view>
98 </view> 98 </view>
99 <view class="level-item" @click="goPath('/level/chooseExaminer?pageType=1')">
100 <image :src="config.loginImage_api + '/fs/static/dg/icon10@3x.png'" class="level-icon"></image>
101 <text>考官库</text>
102 <view class="arrow"></view>
103 </view>
99 </view> 104 </view>
100 </view> 105 </view>
101 </view> 106 </view>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!