You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

255 lines
6.0 KiB

2 months ago
<template>
<view class="indexcontent">
<u-navbar :leftText="'驾驶舱'+navbarValue+'审核'" :safeAreaInsetTop="false" @rightClick="rightClick" :autoBack="true"
:placeholder="true" leftIconColor="#ffffff">
</u-navbar>
<view class="indexcontent-box">
<view class="indexcontent-bottom">
<view class="indexcontentbttom-item" v-for="item in contentList">
<view class="indexcontentbttom-item-top">
<view class="indexcontentbttom-item-text">
关于大阳山景区交通拥堵问题
</view>
<view class="indexcontentbttom-item-top-icon">
<u-icon name="edit-pen" size="18" color="#4379D6" class="icon"></u-icon>
<view class="">
修改标题
</view>
</view>
</view>
<view class="indexcontentbttom-item-bottom">
<view class="indexcontentbttom-item-bottom-left">
预警时间:
</view>
<view class="indexcontentbttom-item-bottom-rigth">
2024-02-22 09:00:30
</view>
</view>
<view class="indexcontentbttom-item-bottom">
<view class="indexcontentbttom-item-bottom-left">
预警因素:
</view>
<view class="indexcontentbttom-item-bottom-rigth">
2024-02-22 09:00:30
</view>
</view>
<view class="indexcontentbttom-item-bottom">
<view class="indexcontentbttom-item-bottom-left">
预警类别:
</view>
<view class="indexcontentbttom-item-bottom-rigth leibie">
{{navbarValue}}
</view>
</view>
<view class="indexcontentbttom-item-bottom">
<view class="indexcontentbttom-item-bottom-left">
事件数量:
</view>
<view class="indexcontentbttom-item-bottom-rigth">
2024-02-22 09:00:30
</view>
</view>
<view class="indexcontentbttom-item-bottom-bottom" @click="nextblack">
事件逐条审核{{"("+8+")"}}
</view>
</view>
</view>
</view>
<view class="dibuaBtn">
<view class="dibuaBtn-lanse">
重新上报驾驶舱
</view>
<view class="dibuaBtn-hongse">
退回算法重训练
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
navbarValue: "群体事件",
contentList: [
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
{
title: "太阳山拥堵问题",
diqu: "高新区何山路124号四季花园小区",
shijian: "2023-07-30 14:25:3"
},
]
}
},
methods: {
// 跳转
nextblack(item) {
console.log(item);
uni.navigateTo({
url:`/views/yemianxianqging/yemianxianqging?tiaoshu=${8}`
})
},
},
onLoad: function(opcent) {
this.navbarValue = opcent.navbarValue
}
}
</script>
<style lang="scss" scoped>
.indexcontent {
width: 100%;
height: 100%;
.indexcontent-box {
.indexcontent-bottom {
width: 100%;
padding: 20rpx;
border-radius: 10rpx;
.indexcontentbttom-item {
padding: 25rpx;
width: 100%;
background: #f7f7f7fa;
border-radius: 10rpx;
margin: 20rpx 0;
.indexcontentbttom-item-top {
display: grid;
grid-template-columns: 70% 20%;
.indexcontentbttom-item-text {
text-align: left;
font-weight: 500;
font-size: 30rpx;
font-weight: bold;
color: #35393D;
overflow: hidden;
}
.indexcontentbttom-item-top-icon {
display: flex;
align-items: center;
justify-content: center;
font-size: 20rpx;
padding: 3rpx;
border-radius: 5rpx;
color: #4379D6;
background-color: #e5e3e8;
}
}
.indexcontentbttom-item-bottom {
margin: 20rpx 0;
display: grid;
grid-template-columns: 18% auto;
view{
font-size: 25rpx;
color: #35393D;
line-height: 30rpx;
}
.indexcontentbttom-item-bottom-left{
color: #595F66;
text-align: left;
}
.indexcontentbttom-item-bottom-rigth{
font-weight: bold;
}
.leibie{
color: #E72C2C;
}
}
.indexcontentbttom-item-bottom-bottom{
background: rgba(67,121,214,0.1);
border-radius: 10rpx ;
width: 100%;
height: 69rpx;
text-align: center;
line-height: 69rpx;
color: #4379D6;
}
}
}
}
.dibuaBtn{
position: sticky;
bottom: 0;
left: 0;
width: 100%;
height: 120rpx;
padding: 30rpx;
display: grid;
grid-template-columns: 1fr 1fr;
grid-column-gap: 20rpx;
color: #ffffff;
background-color: #ffffff;
view{
text-align: center;
line-height: 60rpx;
height: 60rpx;
border-radius: 10rpx;
}
.dibuaBtn-lanse{
background-color: #4379D6;
}
.dibuaBtn-hongse{
background-color: #E72C2C;
}
}
}
.u-nav-slot {
font-size: 22rpx;
}
.u-page__item__slot-icon {
width: 50rpx;
height: 50rpx;
}
</style>