BUG优化 平台公告数据展示 企业公告样式修改
parent
8f01a16562
commit
5ecbede1d3
|
@ -514,16 +514,24 @@ export default {
|
|||
USERNAME: loginUser.NAME,
|
||||
USER_ID: loginUser.USER_ID,
|
||||
});
|
||||
if (!resData.pd.PORTRAIT) {
|
||||
uni.showModal({
|
||||
title: "温馨提示",
|
||||
confirmText: "确定",
|
||||
content: "您当前还未进行人脸认证,请先进行认证",
|
||||
});
|
||||
} else {
|
||||
if (resData.pd.PORTRAIT) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/application/onlinexxks/face/index?params=' + params
|
||||
})
|
||||
} else {
|
||||
uni.showModal({
|
||||
title: "温馨提示",
|
||||
content: "您当前还未进行人脸认证,请先进行认证",
|
||||
confirmText: "前往人脸认证",
|
||||
cancelText: "确定",
|
||||
success: (res) => {
|
||||
if(res.confirm) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/my/set/set`,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
fnNavigationExercises(VIDEOCOURSEWARE_ID) {
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
||||
<view v-if="list.length>0" >
|
||||
<view class="news-list">
|
||||
<view class="news-item" v-for="item in list" :key="item.NOTIFICATION_ID" @click="$noMultipleClicks(goToPcDetail, item.NOTIFICATION_ID)">
|
||||
<view class="news-item" v-for="item in list" :key="item.NOTICE_ID" @click="$noMultipleClicks(goToPcDetail, item.NOTICE_ID)">
|
||||
<view class="news-media-list">
|
||||
<view class="news-media-body">
|
||||
<view class="news-media-title">
|
||||
|
@ -66,7 +66,7 @@
|
|||
<view class="cu-tabbar-height"></view>
|
||||
</scroll-view>
|
||||
</block>
|
||||
<block v-if="TabCur==1">
|
||||
<block v-else-if="TabCur==1">
|
||||
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
||||
<view v-if="pclist.length>0" >
|
||||
<view class="news-list">
|
||||
|
@ -75,15 +75,13 @@
|
|||
<view class="news-media-body">
|
||||
<view @click="$noMultipleClicks(goToPcDetail,item.NOTIFICATION_ID)">
|
||||
<view class="dy-title-flex">
|
||||
<text>通知标题:</text>
|
||||
<text class="bg-red light cu-tag radius">{{item.LEVEL}}</text>
|
||||
|
||||
<text> <view class="yuan" v-if="!item.TYPE == '1'"></view> 通知标题:</text>
|
||||
<text class="light red blue ">{{item.LEVEL}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>{{item.TITLE}}</text>
|
||||
<text class="bg-red light cu-tag bg-green radius" style="float:right; height:40upx;">
|
||||
<template v-if="item.TYPE=='0'">未读</template>
|
||||
<template v-else-if="item.TYPE=='1'">已读</template>
|
||||
</text>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
@ -109,7 +107,7 @@
|
|||
<view class="cu-tabbar-height"></view>
|
||||
</scroll-view>
|
||||
</block>
|
||||
<block v-if="TabCur==2">
|
||||
<block v-else-if="TabCur==2">
|
||||
<scroll-view class="dy-scroll-nobg" scroll-y :style="'top:'+sTop+'px;height:calc(100vh - '+totalHeight+'px)'">
|
||||
<view v-if="txlist.length>0" >
|
||||
<view class="news-list">
|
||||
|
@ -340,9 +338,7 @@
|
|||
},
|
||||
//跳转事件
|
||||
goToDetail(e) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/news/notice-list-detail?id='+e+'&type=0',
|
||||
});
|
||||
|
||||
},
|
||||
goToTxDetail(e){
|
||||
uni.navigateTo({
|
||||
|
@ -350,9 +346,16 @@
|
|||
});
|
||||
},
|
||||
goToPcDetail(e){
|
||||
console.log(e)
|
||||
if(this.TabCur == 0) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/news/notice-list-detail?id='+e+'&type=0',
|
||||
});
|
||||
}else if(this.TabCur == 1){
|
||||
uni.navigateTo({
|
||||
url: '/pages/news/news-list-detail?id='+e+'&type=1',
|
||||
});
|
||||
}
|
||||
},
|
||||
deleteNoticeTx(ID){
|
||||
var _this = this;
|
||||
|
@ -469,6 +472,15 @@
|
|||
flex-direction: row;
|
||||
}
|
||||
|
||||
.yuan{
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: #ff0000;
|
||||
border-radius: 100%;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.news-media-logo {
|
||||
width: 90px;
|
||||
height: 70px;
|
||||
|
@ -519,4 +531,10 @@
|
|||
font-size: 13px;
|
||||
color: #8f8f94;
|
||||
}
|
||||
.red{
|
||||
color: #df4343;
|
||||
}
|
||||
.blue{
|
||||
color: #548de7;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
if("1"==_this.type){
|
||||
url = basePath + '/app/notice/goEditForPc'
|
||||
}
|
||||
console.log(_this.id)
|
||||
console.log("1111",_this.id)
|
||||
uni.request({
|
||||
url:url,
|
||||
method: 'POST',
|
||||
|
|
Loading…
Reference in New Issue