parent
3b649ae9cc
commit
996a13153e
|
@ -6,23 +6,23 @@
|
||||||
</cu-custom>
|
</cu-custom>
|
||||||
<scroll-view scroll-y>
|
<scroll-view scroll-y>
|
||||||
<view class="spot-list">
|
<view class="spot-list">
|
||||||
<view class="spot-item" v-for="(item,index) in list" :key="item.CHECKTYPE_ID" @click="$noMultipleClicks(goToList,{
|
<view v-for="(item, index) in list" :key="item.CHECKTYPE_ID"
|
||||||
'CHECKTYPE_ID':item.CHECKTYPE_ID,
|
:class="['spot-item', { 'active': (pd.WAYBILLSTATUS == '0' && item.CHECKTYPE_NAME == '出车前') || (pd.WAYBILLSTATUS == '1' && item.CHECKTYPE_NAME == '行车中') || (pd.WAYBILLSTATUS == '2' && item.CHECKTYPE_NAME == '收车后') }]"
|
||||||
'CHECKTYPE_NAME':item.CHECKTYPE_NAME,
|
@click="$noMultipleClicks(goToList,{
|
||||||
'WAYBILLREGISTRATION_ID':WAYBILLREGISTRATION_ID,index})">
|
'CHECKTYPE_ID':item.CHECKTYPE_ID,
|
||||||
<view class="spot-img">
|
'CHECKTYPE_NAME':item.CHECKTYPE_NAME,
|
||||||
<image v-if="item.CHECKTYPE_NAME == '出车前'" src="../../../static/driving_before.png" class="cu-tag " mode=""></image>
|
'WAYBILLREGISTRATION_ID':WAYBILLREGISTRATION_ID,index})">
|
||||||
<image v-else-if="item.CHECKTYPE_NAME == '行车中'" src="../../../static/driving.png" mode=""></image>
|
<view class="spot-img">
|
||||||
<image v-else src="../../../static/driving_affter.png" mode=""></image>
|
<image v-if="item.CHECKTYPE_NAME == '出车前'" src="../../../static/driving_before.png" mode=""></image>
|
||||||
</view>
|
<image v-if="item.CHECKTYPE_NAME == '行车中'" src="../../../static/driving.png" mode=""></image>
|
||||||
|
<image v-if="item.CHECKTYPE_NAME == '收车后'" src="../../../static/driving_affter.png" mode=""></image>
|
||||||
|
</view>
|
||||||
<view class="spot-cont">
|
<view class="spot-cont">
|
||||||
<view class="text f30">
|
<view class="text f30">
|
||||||
{{item.CHECKTYPE_NAME}}
|
{{item.CHECKTYPE_NAME}}
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-tabbar-height"></view>
|
<view class="cu-tabbar-height"></view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
@ -87,7 +87,6 @@
|
||||||
},
|
},
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if ("success" == res.data.result) {
|
if ("success" == res.data.result) {
|
||||||
console.log(res.data,'1111111111111111111111111')
|
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
_this.list = res.data.varList;
|
_this.list = res.data.varList;
|
||||||
_this.pd = res.data.pd;
|
_this.pd = res.data.pd;
|
||||||
|
@ -102,7 +101,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
//跳转事件
|
//跳转事件
|
||||||
goToList(e) {
|
goToList(e) {
|
||||||
const index = e.index
|
const index = e.index
|
||||||
|
@ -157,8 +155,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.spot-img {
|
.spot-img {
|
||||||
width: 100upx;
|
width: 50upx;
|
||||||
height: 100upx;
|
height: 50upx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.spot-img image {
|
.spot-img image {
|
||||||
|
@ -174,4 +172,9 @@
|
||||||
margin: 20upx;
|
margin: 20upx;
|
||||||
padding: 20upx;
|
padding: 20upx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spot-list .spot-item.active{
|
||||||
|
box-shadow: 0 0 10px #dcf7dc;
|
||||||
|
border: 1px solid #65da99;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -43,13 +43,11 @@
|
||||||
<view class="news-list">
|
<view class="news-list">
|
||||||
<view class="news-item" v-for="item in pclist" :key="item.NOTIFICATION_ID" @click="$noMultipleClicks(goToPcDetail, item.NOTIFICATION_ID)">
|
<view class="news-item" v-for="item in pclist" :key="item.NOTIFICATION_ID" @click="$noMultipleClicks(goToPcDetail, item.NOTIFICATION_ID)">
|
||||||
<view class="news-media-list">
|
<view class="news-media-list">
|
||||||
<!-- <image src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg" mode="aspectFill" class="news-media-logo"></image>-->
|
|
||||||
<view class="news-media-body">
|
<view class="news-media-body">
|
||||||
<view class="news-media-title">
|
<view class="news-media-title">
|
||||||
{{item.SYNOPSIS}}
|
{{item.SYNOPSIS}}
|
||||||
</view>
|
</view>
|
||||||
<view class="news-media-text">
|
<view class="news-media-text">
|
||||||
<!-- <text>双控平台</text>-->
|
|
||||||
<text>{{item.CREATTIME}}</text>
|
<text>{{item.CREATTIME}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -75,12 +73,19 @@
|
||||||
<view class="news-item" v-for="item in pclist" :key="item.NOTICECORP_ID" >
|
<view class="news-item" v-for="item in pclist" :key="item.NOTICECORP_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" @click="$noMultipleClicks(goToPcDetail,item.NOTIFICATION_ID)">
|
<view @click="$noMultipleClicks(goToPcDetail,item.NOTIFICATION_ID)">
|
||||||
{{item.LEVEL}}
|
<view class="dy-title-flex">
|
||||||
<text style="float:right;">
|
<text>通知标题:</text>
|
||||||
<template v-if="item.TYPE=='0'">未读</template>
|
<text class="bg-red light cu-tag radius">{{item.LEVEL}}</text>
|
||||||
<template v-else-if="item.TYPE=='1'">已读</template>
|
</view>
|
||||||
</text>
|
<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>
|
</view>
|
||||||
<view class="news-media-text">
|
<view class="news-media-text">
|
||||||
<text>{{item.CREATETIME}}</text>
|
<text>{{item.CREATETIME}}</text>
|
||||||
|
|
Loading…
Reference in New Issue