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