3
0
Fork 0

feat(email): 不展示站内信及意见反馈

This commit is contained in:
ywk 2025-04-07 16:49:34 +08:00
parent 2e0bfece93
commit 27f7a374f4
1 changed files with 28 additions and 25 deletions

View File

@ -4,24 +4,24 @@
</cl-tabbar>
<view class="tab">
<view v-for="(item, index) in tabList" :key="index" @click="isTab = item.value" class="tab_i"
<!-- <view v-for="(item, index) in tabList" :key="index" @click="isTab = item.value" class="tab_i"
:class="[isTab===item.value?'heng':'heng1']">
{{ item.label }}({{item.num}})
</view>
</view> -->
</view>
<template v-if="tableData.length>0">
<view class="contentList" v-for="item,index in tableData" :key="index">
<view class="flex_list">
<view>
<image v-if="isTab==1" class="email_icon" src="../../static/images/email1.png" mode=""></image>
<image v-if="isTab==2" class="email_icon" src="../../static/images/email2.png" mode=""></image>
<image v-if="isTab==3" class="email_icon" src="../../static/images/email3.png" mode=""></image>
<image class="email_icon" src="../../static/images/email1.png" mode=""></image>
<!-- <image v-if="isTab==2" class="email_icon" src="../../static/images/email2.png" mode=""></image>
<image v-if="isTab==3" class="email_icon" src="../../static/images/email3.png" mode=""></image> -->
</view>
<view class="right_content">
<template v-if="isTab==1||isTab==2">
<template>
<view class="email_top">
<view class="etit1" v-if="isTab==1">{{ '平台公告' }}</view>
<view class="etit1" v-if="isTab==2">{{ '站内信' }}</view>
<view class="etit1">{{ '平台公告' }}</view>
<!-- <view class="etit1" v-if="isTab==2">{{ '站内信' }}</view> -->
<view class="etit2">{{item.creationTime}}</view>
</view>
<view class="email_title">
@ -35,7 +35,7 @@
{{ '查看详情' }} >
</view>
</template>
<template v-if="isTab==3">
<!-- <template v-if="isTab==3">
<view class="email_top2">
<view class="etit1">{{item.idea}}</view>
<div v-if="item.type==1" class="kuang thetype1">{{ item.typeVal }}</div>
@ -55,7 +55,7 @@
</view>
<view class="etit3">{{aitem.creationTime}}</view>
</view>
</template>
</template> -->
</view>
</view>
</view>
@ -78,15 +78,17 @@
value: 1,
label: '平台公告',
num: 0,
}, {
value: 2,
label: '站内信',
num: 0
}, {
value: 3,
label: '意见反馈',
num: 0
}],
},
// {
// value: 2,
// label: '',
// num: 0
// }, {
// value: 3,
// label: '',
// num: 0
// }
],
isTab: 1,
tableData: [],
}
@ -177,12 +179,13 @@
}).then(res => {
this.tableData = res.rows;
})
} else if (this.isTab == 3) {
//
ema.getFeedbackList().then(res => {
this.tableData = res.rows;
})
}
// else if (this.isTab == 3) {
// //
// ema.getFeedbackList().then(res => {
// this.tableData = res.rows;
// })
// }
}
},
}