|
@@ -5,7 +5,7 @@
|
|
|
<view class="search-content">
|
|
|
<u-search placeholder="请输入关键字" v-model="keyword" @custom="onSearch" @search="onSearch"></u-search>
|
|
|
</view>
|
|
|
- <view class="u-page">
|
|
|
+ <view class="u-page" style="padding: 0 20rpx;">
|
|
|
<u-list
|
|
|
v-if="indexList.length>0"
|
|
|
@scrolltolower="scrolltolower"
|
|
@@ -34,7 +34,7 @@
|
|
|
<script>
|
|
|
|
|
|
import { fetchContentInfo, fetchUsrMeetingInfo } from '@/common/api';
|
|
|
-import { CONTENT_TYPE, ICON_CFG } from '@/common/EnumConst';
|
|
|
+import { CONTENT_TYPE, ICON_CFG, REVIEW_STATUS } from '@/common/EnumConst';
|
|
|
import AuthWrap from '@/components/AuthComp/index.vue';
|
|
|
import { fileIcon, getImageUrl } from '@/util';
|
|
|
|
|
@@ -76,13 +76,22 @@ export default {
|
|
|
},
|
|
|
async loadmore() {
|
|
|
this.loadStatus = 'loading';
|
|
|
- const { data } = fetchUsrMeetingInfo();
|
|
|
+ const { data } = await fetchUsrMeetingInfo();
|
|
|
if (!data) {
|
|
|
this.$refs.uToast.show({
|
|
|
type: 'default',
|
|
|
message: '您暂未报名,请先报名',
|
|
|
complete() {
|
|
|
-
|
|
|
+ },
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ const {reviewState} = data
|
|
|
+ if ([REVIEW_STATUS.wait.value,REVIEW_STATUS.noPass.value].includes(reviewState)){
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'default',
|
|
|
+ message: '审核未通过,请耐心等待',
|
|
|
+ complete() {
|
|
|
},
|
|
|
});
|
|
|
return;
|