parent
7724d0565f
commit
b22c005fd7
17 changed files with 98 additions and 1863 deletions
@ -1,389 +0,0 @@ |
|||||||
<template> |
|
||||||
<!-- 查看详情页面 --> |
|
||||||
<view class="detail_con"> |
|
||||||
<view class="detail_box"> |
|
||||||
<view class="top_box"> |
|
||||||
<view class="top_item"> |
|
||||||
<view class="unit_left"> |
|
||||||
<view class="unit">管理单位</view> |
|
||||||
<view class="unit_name">{{roadData.organizationName}}</view> |
|
||||||
</view> |
|
||||||
<view class="unit_time">{{roadData.statDate || ''}} {{roadData.statPeriodValue || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item first"> |
|
||||||
<view class="all_left">收费站入口车辆数汇总:</view> |
|
||||||
<view class="all_right">{{roadData.entranceVehicleCount || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">收费站出口车辆数汇总:</view> |
|
||||||
<view class="all_right">{{roadData.exitVehicleCount || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">收费站入口车辆数汇总环比:</view> |
|
||||||
<view class="all_right" :class="roadData.entranceVehicleCountMom > 0 ? 'green' : roadData.entranceVehicleCountMom < 0 ? 'red' : ''">{{roadData.entranceVehicleCountMom ? roadData.entranceVehicleCountMom + '%' : roadData.entranceVehicleCountMom == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">收费站出口车辆数汇总环比:</view> |
|
||||||
<view class="all_right" :class="roadData.exitVehicleCountMom > 0 ? 'green' : roadData.exitVehicleCountMom < 0 ? 'red' : ''">{{roadData.exitVehicleCountMom ? roadData.exitVehicleCountMom + '%' : roadData.exitVehicleCountMom == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">收费站入口车辆数汇总同比:</view> |
|
||||||
<view class="all_right" :class="roadData.entranceVehicleCountYoy > 0 ? 'green' : roadData.entranceVehicleCountYoy < 0 ? 'red' : ''">{{roadData.entranceVehicleCountYoy ? roadData.entranceVehicleCountYoy + '%' : roadData.entranceVehicleCountYoy == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item last"> |
|
||||||
<view class="all_left">收费站出口车辆数汇总同比:</view> |
|
||||||
<view class="all_right" :class="roadData.exitVehicleCountYoy > 0 ? 'green' : roadData.exitVehicleCountYoy < 0 ? 'red' : ''">{{roadData.exitVehicleCountYoy ? roadData.exitVehicleCountYoy + '%' : roadData.exitVehicleCountYoy == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="con_item" v-if="roadData.highwaySubDataList" v-for="(item,index) in roadData.highwaySubDataList" :key="index"> |
|
||||||
<view class="spread_box" v-if="item.isSpread"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">收费站名称:</view> |
|
||||||
<view class="right">{{item.tollStationName || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">高速公路名称:</view> |
|
||||||
<view class="right">{{item.highwayName || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">收费站入口车辆数:</view> |
|
||||||
<view class="right">{{item.entranceVehicleCount || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_content"> |
|
||||||
<view class="content top"> |
|
||||||
<view class="left">收费站入口车辆数环比(%)</view> |
|
||||||
<view class="right" :class="item.entranceVehicleCountMom > 0 ? 'green' : item.entranceVehicleCountMom < 0 ? 'red' : ''">{{item.entranceVehicleCountMom ? item.entranceVehicleCountMom + '%' : item.entranceVehicleCountMom == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="content"> |
|
||||||
<view class="left">收费站入口车辆数同比(%)</view> |
|
||||||
<view class="right" :class="item.entranceVehicleCountYoy > 0 ? 'green' : item.entranceVehicleCountYoy < 0 ? 'red' : ''">{{item.entranceVehicleCountYoy ? item.entranceVehicleCountYoy + '%' : item.entranceVehicleCountYoy == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">收费站出口车辆数:</view> |
|
||||||
<view class="right">{{item.exitVehicleCount || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_content"> |
|
||||||
<view class="content top"> |
|
||||||
<view class="left">收费站出口车辆数环比(%)</view> |
|
||||||
<view class="right" :class="item.exitVehicleCountMom > 0 ? 'green' : item.exitVehicleCountMom < 0 ? 'red' : ''">{{item.exitVehicleCountMom ? item.exitVehicleCountMom + '%' : item.exitVehicleCountMom == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="content"> |
|
||||||
<view class="left">收费站出口车辆数同比(%)</view> |
|
||||||
<view class="right" :class="item.exitVehicleCountYoy > 0 ? 'green' : item.exitVehicleCountYoy < 0 ? 'red' : ''">{{item.exitVehicleCountYoy ? item.exitVehicleCountYoy + '%' : item.exitVehicleCountYoy == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">免收通行费车辆数:</view> |
|
||||||
<view class="right">{{item.tollExemptVehicleCount || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_content"> |
|
||||||
<view class="content top"> |
|
||||||
<view class="left">免收通行费车辆数环比(%)</view> |
|
||||||
<view class="right" :class="item.tollExemptVehicleCountMom > 0 ? 'green' : item.tollExemptVehicleCountMom < 0 ? 'red' : ''">{{item.tollExemptVehicleCountMom ? item.tollExemptVehicleCountMom + '%' : item.tollExemptVehicleCountMom == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="content"> |
|
||||||
<view class="left">免收通行费车辆数同比(%)</view> |
|
||||||
<view class="right" :class="item.tollExemptVehicleCountYoy > 0 ? 'green' : item.tollExemptVehicleCountYoy < 0 ? 'red' : ''">{{item.tollExemptVehicleCountYoy ? item.tollExemptVehicleCountYoy + '%' : item.tollExemptVehicleCountYoy == 0 ? 0 : ''}}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">免收通行费金额:</view> |
|
||||||
<view class="right">{{item.tollExemptAmount || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">出口通行费:</view> |
|
||||||
<view class="right">{{item.exitToll || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">报送人员及联系方式:</view> |
|
||||||
<view class="right">{{item.submitPersonnelContact || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="expand_box" @click="clickPack(item)"> |
|
||||||
<uni-icons type="top" size="16" color="#2D8CF0"></uni-icons> |
|
||||||
<view class="tit">收起</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="no_spread" v-if="!item.isSpread" @click="handleSpread(item)"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">收费站名称:</view> |
|
||||||
<view class="right">{{item.tollStationName || ''}}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="bottom_box"> |
|
||||||
<p class="edit_btn" @click="goEditPage">编辑</p> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</template> |
|
||||||
|
|
||||||
<script> |
|
||||||
export default { |
|
||||||
data() { |
|
||||||
return { |
|
||||||
roadData:{}, |
|
||||||
} |
|
||||||
}, |
|
||||||
onLoad(options){ |
|
||||||
let item = JSON.parse(options.item) |
|
||||||
console.log(item) |
|
||||||
let item1 = JSON.parse(JSON.stringify(item)) |
|
||||||
if(item1.highwaySubDataList.length > 0){ |
|
||||||
item1.highwaySubDataList[0].isSpread = true; //显示展开收起按钮,false时为收起,true为展开 |
|
||||||
} |
|
||||||
this.roadData = item1 |
|
||||||
// this.getDetail() |
|
||||||
}, |
|
||||||
methods: { |
|
||||||
//跳转到编辑 |
|
||||||
goEditPage() { |
|
||||||
uni.navigateTo({ |
|
||||||
url: '/pages/highway/runData/form?item=' + JSON.stringify(this.roadData) |
|
||||||
}) |
|
||||||
}, |
|
||||||
//点击收起按钮 |
|
||||||
clickPack(item){ |
|
||||||
this.$set(item,"isSpread",false) |
|
||||||
}, |
|
||||||
handleSpread(item){ |
|
||||||
this.$set(item,"isSpread",true) |
|
||||||
}, |
|
||||||
getDetail(){ |
|
||||||
this.$request(getApp().globalData.baseUrl + '/api/biz/highSpeedOperationController/selectById/' + '8A47103EE00000018772BC97AE50FFB7',{},"GET").then(res =>{ |
|
||||||
console.log(res) |
|
||||||
}) |
|
||||||
}, |
|
||||||
} |
|
||||||
} |
|
||||||
</script> |
|
||||||
|
|
||||||
<style lang="scss" scoped> |
|
||||||
.detail_con{ |
|
||||||
width: 100%; |
|
||||||
height: 100%; |
|
||||||
overflow-y: auto; |
|
||||||
|
|
||||||
.detail_box{ |
|
||||||
width: 690rpx; |
|
||||||
background: #fff; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin: 0 auto; |
|
||||||
margin-top: 30rpx; |
|
||||||
margin-bottom: 50rpx; |
|
||||||
|
|
||||||
.top_box{ |
|
||||||
width: 630rpx; |
|
||||||
padding: 38rpx 30rpx 0rpx; |
|
||||||
display: flex; |
|
||||||
flex-direction: column; |
|
||||||
|
|
||||||
.top_item{ |
|
||||||
width: 100%; |
|
||||||
// margin-top: 38rpx; |
|
||||||
margin-bottom: 60rpx; |
|
||||||
display: flex; |
|
||||||
flex-direction: column; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
|
|
||||||
.unit_left{ |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
.unit{ |
|
||||||
width: 102rpx; |
|
||||||
height: 37rpx; |
|
||||||
background: #FFF7E4; |
|
||||||
border-radius: 10rpx; |
|
||||||
border: 1rpx solid #EF9A4F; |
|
||||||
font-size: 20rpx; |
|
||||||
color: #E37616; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
} |
|
||||||
|
|
||||||
.unit_name{ |
|
||||||
font-size: 30rpx; |
|
||||||
color: #333; |
|
||||||
font-weight: bold; |
|
||||||
line-height: 48rpx; |
|
||||||
margin-left: 20rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
.unit_time{ |
|
||||||
margin-top: 30rpx; |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
font-size: 24rpx; |
|
||||||
color: #999999; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.all_item{ |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first{ |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
&.last{ |
|
||||||
margin-bottom: 30rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.all_left{ |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.all_right{ |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.con_item{ |
|
||||||
width: 570rpx; |
|
||||||
background: #F8F8F8; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin: 0 auto; |
|
||||||
margin-top: 30rpx; |
|
||||||
padding: 30rpx 30rpx; |
|
||||||
|
|
||||||
.spread_box{ |
|
||||||
width: 100%; |
|
||||||
.item_con{ |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first{ |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.left{ |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
.right{ |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.item_content{ |
|
||||||
width: 570rpx; |
|
||||||
margin: 0 auto; |
|
||||||
background-color: #fff; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin-top: 30rpx; |
|
||||||
|
|
||||||
|
|
||||||
.content{ |
|
||||||
width: 516rpx; |
|
||||||
padding: 34rpx 32rpx 30rpx 22rpx; |
|
||||||
display: flex; |
|
||||||
justify-content: space-between; |
|
||||||
align-items: center; |
|
||||||
|
|
||||||
&.top{ |
|
||||||
border-bottom: 1rpx solid #F2F2F2; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
.left{ |
|
||||||
font-size: 24rpx; |
|
||||||
color: #666; |
|
||||||
} |
|
||||||
.right{ |
|
||||||
color: #333; |
|
||||||
font-size: 28rpx; |
|
||||||
|
|
||||||
&.green{ |
|
||||||
color: #1ECE5F; |
|
||||||
} |
|
||||||
|
|
||||||
&.red{ |
|
||||||
color: #EB4747; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.expand_box{ |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
margin-top: 30rpx; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
|
|
||||||
.img{ |
|
||||||
width: 40rpx; |
|
||||||
height: 40rpx; |
|
||||||
} |
|
||||||
.tit{ |
|
||||||
color: #2D8CF0; |
|
||||||
font-size: 24rpx; |
|
||||||
margin-left: 12rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.no_spread{ |
|
||||||
width: 100%; |
|
||||||
background: #F8F8F8; |
|
||||||
border-radius: 30rpx; |
|
||||||
.item_con{ |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first{ |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.left{ |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
.right{ |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.bottom_box{ |
|
||||||
width: 100%; |
|
||||||
padding: 40rpx 0; |
|
||||||
display: flex; |
|
||||||
justify-content: flex-end; |
|
||||||
|
|
||||||
.edit_btn{ |
|
||||||
width: 180rpx; |
|
||||||
height: 70rpx; |
|
||||||
background: #2D8CF0; |
|
||||||
border-radius: 100rpx; |
|
||||||
color: #fff; |
|
||||||
font-size: 28rpx; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
margin-right: 30rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
</style> |
|
||||||
@ -1,509 +0,0 @@ |
|||||||
<template> |
|
||||||
<!-- 查看详情页面 --> |
|
||||||
<view class="detail_con"> |
|
||||||
<view class="detail_box"> |
|
||||||
<view class="top_box"> |
|
||||||
<view class="top_item"> |
|
||||||
<view class="unit_left"> |
|
||||||
<view class="unit">管理单位</view> |
|
||||||
<view class="unit_name">{{ roadData.organizationName }}</view> |
|
||||||
</view> |
|
||||||
<view class="unit_time">{{ roadData.statDate || '' }} {{ roadData.statPeriodValue || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item first"> |
|
||||||
<view class="all_left">高速开闭情况:</view> |
|
||||||
<view class="all_right">{{ roadData.isOpen == 1 ? '开放' : '关闭' }}</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">已处理事故数量:</view> |
|
||||||
<view class="all_right"> |
|
||||||
{{roadData.count1}} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">正在处理事故数量:</view> |
|
||||||
<view class="all_right"> |
|
||||||
{{roadData.count2}} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">事故数量:</view> |
|
||||||
<view class="all_right"> |
|
||||||
{{ roadData.accidentCount === 0 ? roadData.accidentCount : roadData.accidentCount || '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">拥堵数量:</view> |
|
||||||
<view class="all_right"> |
|
||||||
{{ roadData.congestionCount === 0 ? roadData.congestionCount : roadData.congestionCount || '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="all_item"> |
|
||||||
<view class="all_left">伤者人数:</view> |
|
||||||
<view class="all_right"> |
|
||||||
{{ roadData.injuredCount === 0 ? roadData.injuredCount : roadData.injuredCount || '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="all_item last"> |
|
||||||
<view class="all_left">亡者人数:</view> |
|
||||||
<view class="all_right"> |
|
||||||
{{ roadData.deceasedCount === 0 ? roadData.deceasedCount : roadData.deceasedCount || '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
<view class="detail_box"> |
|
||||||
<view class="top_box"> |
|
||||||
<!-- tab 切换 --> |
|
||||||
<view class="tab_box"> |
|
||||||
<view class="tab_nav" :class="tabType == 1 ? 'active' : ''" @click="tabType = 1">拥堵信息详情</view> |
|
||||||
<view class="tab_nav" :class="tabType == 2 ? 'active' : ''" @click="tabType = 2">事故信息详情</view> |
|
||||||
</view> |
|
||||||
<!-- 拥堵 --> |
|
||||||
<view class="con_item" v-if="tabType == 1" v-for="(item, index) in roadData.highwayCongestionDetailVOS" |
|
||||||
:key="index"> |
|
||||||
<view class="spread_box" v-if="item.isSpread"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">拥堵信息-{{index+1}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">高速公路名称:</view> |
|
||||||
<view class="right">{{ item.highwayName || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">拥堵发生时间:</view> |
|
||||||
<view class="right"> |
|
||||||
<uni-dateformat v-if="item.congestionStartTime" format="yyyy-MM-dd hh:mm:ss" :date="item.congestionStartTime"></uni-dateformat> |
|
||||||
<text v-else></text> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">拥堵处理结束时间:</view> |
|
||||||
<view class="right"> |
|
||||||
<uni-dateformat v-if="item.congestionEndTime" format="yyyy-MM-dd hh:mm:ss" :date="item.congestionEndTime"></uni-dateformat> |
|
||||||
<text v-else></text> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">发生位置:</view> |
|
||||||
<view class="right">{{ item.location || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">拥堵内容:</view> |
|
||||||
<view class="right">{{ item.congestionContent || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">阻断/拥堵持续时间:</view> |
|
||||||
<view class="right">{{ item.duration || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">截至当前拥堵空间范围(桩号及方向):</view> |
|
||||||
<view class="right">{{ item.congestionRange || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">处置工作开展情况:</view> |
|
||||||
<view class="right">{{ item.disposalStatus || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">补充:</view> |
|
||||||
<view class="right">{{ item.additionalNotes || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="expand_box" @click="clickPack(item)"> |
|
||||||
<image class="img" src="../../../static/image/spread.png" mode=""></image> |
|
||||||
<view class="tit">收起</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="no_spread" v-if="!item.isSpread" @click="handleSpread(item)"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">拥堵信息-{{index+1}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">高速公路名称:</view> |
|
||||||
<view class="right">{{ item.highwayName || '' }}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<!-- 事故 --> |
|
||||||
<view class="con_item" v-if="tabType == 2" v-for="(item, index) in roadData.highwayAccidentDetailVOS" |
|
||||||
:key="item.id"> |
|
||||||
<view class="spread_box"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">事故信息-{{index+1}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">高速公路名称:</view> |
|
||||||
<view class="right">{{ item.highwayName || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">事故发生时间:</view> |
|
||||||
<view class="right">{{ item.accidentEndTime || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">事故处理结束时间:</view> |
|
||||||
<view class="right">{{ item.congestionEndTime || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">发生位置:</view> |
|
||||||
<view class="right">{{ item.location || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">事故内容:</view> |
|
||||||
<view class="right">{{ item.accidentContent || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">事故等级:</view> |
|
||||||
<view class="right">{{ item.accidentLevel || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">阻断/拥堵持续时间:</view> |
|
||||||
<view class="right">{{ item.duration || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">截止当前拥堵空间范围(桩号及方向):</view> |
|
||||||
<view class="right">{{ item.spatialRange || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">处置工作开展情况:</view> |
|
||||||
<view class="right">{{ item.workStatus || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">补充说明:</view> |
|
||||||
<view class="right">{{ item.additionalNotes || '' }}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="no_spread" v-if="!item.isSpread" @click="handleSpread(item)"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">事故信息-{{index+1}}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">高速公路名称:</view> |
|
||||||
<view class="right">{{ item.highwayName || '' }}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="bottom_box"> |
|
||||||
<p class="edit_btn" @click="goEditPage">编辑</p> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
</view> |
|
||||||
</template> |
|
||||||
|
|
||||||
<script> |
|
||||||
export default { |
|
||||||
data() { |
|
||||||
return { |
|
||||||
roadData: {}, |
|
||||||
tabType: 1, |
|
||||||
} |
|
||||||
}, |
|
||||||
onLoad(options) { |
|
||||||
let item = JSON.parse(options.item) |
|
||||||
console.log(item) |
|
||||||
let item1 = JSON.parse(JSON.stringify(item)); |
|
||||||
item1.highwayAccidentDetailVOS.map((item, index) => { |
|
||||||
item.isSpread = index === 0 ? true : false; |
|
||||||
}) |
|
||||||
item1.highwayCongestionDetailVOS.map((item, index) => { |
|
||||||
item.isSpread = index === 0 ? true : false; |
|
||||||
}) |
|
||||||
this.roadData = item1; |
|
||||||
// this.getDetail() |
|
||||||
}, |
|
||||||
methods: { |
|
||||||
//跳转到编辑 |
|
||||||
goEditPage() { |
|
||||||
uni.navigateTo({ |
|
||||||
url: '/pages/highway/runStatusData/form?item=' + JSON.stringify(this.roadData) |
|
||||||
}) |
|
||||||
}, |
|
||||||
//点击收起按钮 |
|
||||||
clickPack(item) { |
|
||||||
this.$set(item, "isSpread", false) |
|
||||||
}, |
|
||||||
handleSpread(item) { |
|
||||||
this.$set(item, "isSpread", true) |
|
||||||
}, |
|
||||||
getDetail() { |
|
||||||
this.$request(getApp().globalData.baseUrl + '/api/biz/highSpeedOperationController/selectById/' + |
|
||||||
'8A47103EE00000018772BC97AE50FFB7', {}, "GET").then(res => { |
|
||||||
console.log(res) |
|
||||||
}) |
|
||||||
}, |
|
||||||
} |
|
||||||
} |
|
||||||
</script> |
|
||||||
|
|
||||||
<style lang="scss" scoped> |
|
||||||
.detail_con { |
|
||||||
width: 100%; |
|
||||||
height: 100%; |
|
||||||
overflow-y: auto; |
|
||||||
|
|
||||||
.detail_box { |
|
||||||
background: #fff; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin: 30rpx 30rpx 0; |
|
||||||
|
|
||||||
.top_box { |
|
||||||
width: 630rpx; |
|
||||||
padding: 38rpx 30rpx 0rpx; |
|
||||||
display: flex; |
|
||||||
flex-direction: column; |
|
||||||
|
|
||||||
.top_item { |
|
||||||
width: 100%; |
|
||||||
// margin-top: 38rpx; |
|
||||||
margin-bottom: 60rpx; |
|
||||||
display: flex; |
|
||||||
flex-direction: column; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
|
|
||||||
.unit_left { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
|
|
||||||
.unit { |
|
||||||
width: 102rpx; |
|
||||||
height: 37rpx; |
|
||||||
background: #FFF7E4; |
|
||||||
border-radius: 10rpx; |
|
||||||
border: 1rpx solid #EF9A4F; |
|
||||||
font-size: 20rpx; |
|
||||||
color: #E37616; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
} |
|
||||||
|
|
||||||
.unit_name { |
|
||||||
font-size: 30rpx; |
|
||||||
color: #333; |
|
||||||
font-weight: bold; |
|
||||||
line-height: 48rpx; |
|
||||||
margin-left: 20rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.unit_time { |
|
||||||
margin-top: 30rpx; |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
font-size: 24rpx; |
|
||||||
color: #999999; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.all_item { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first { |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
&.last { |
|
||||||
margin-bottom: 30rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.all_left { |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.all_right { |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.con_item { |
|
||||||
width: 570rpx; |
|
||||||
background: #F8F8F8; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin: 0 auto; |
|
||||||
margin-top: 30rpx; |
|
||||||
padding: 30rpx 30rpx; |
|
||||||
|
|
||||||
.spread_box { |
|
||||||
width: 100%; |
|
||||||
|
|
||||||
.item_con { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first { |
|
||||||
color: #333; |
|
||||||
font-size: 30rpx; |
|
||||||
font-weight: bold; |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.left { |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.right { |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.item_content { |
|
||||||
width: 570rpx; |
|
||||||
margin: 0 auto; |
|
||||||
background-color: #fff; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin-top: 30rpx; |
|
||||||
|
|
||||||
|
|
||||||
.content { |
|
||||||
width: 516rpx; |
|
||||||
padding: 34rpx 32rpx 30rpx 22rpx; |
|
||||||
display: flex; |
|
||||||
justify-content: space-between; |
|
||||||
align-items: center; |
|
||||||
|
|
||||||
&.top { |
|
||||||
border-bottom: 1rpx solid #F2F2F2; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
.left { |
|
||||||
font-size: 24rpx; |
|
||||||
color: #666; |
|
||||||
} |
|
||||||
|
|
||||||
.right { |
|
||||||
color: #333; |
|
||||||
font-size: 28rpx; |
|
||||||
|
|
||||||
&.green { |
|
||||||
color: #1ECE5F; |
|
||||||
} |
|
||||||
|
|
||||||
&.red { |
|
||||||
color: #EB4747; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.expand_box { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
margin-top: 30rpx; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
|
|
||||||
.img { |
|
||||||
width: 40rpx; |
|
||||||
height: 40rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.tit { |
|
||||||
color: #2D8CF0; |
|
||||||
font-size: 24rpx; |
|
||||||
margin-left: 12rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.no_spread { |
|
||||||
width: 100%; |
|
||||||
background: #F8F8F8; |
|
||||||
border-radius: 30rpx; |
|
||||||
|
|
||||||
.item_con { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first { |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.left { |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.right { |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.bottom_box { |
|
||||||
width: 100%; |
|
||||||
padding: 40rpx 0; |
|
||||||
display: flex; |
|
||||||
justify-content: flex-end; |
|
||||||
|
|
||||||
.edit_btn { |
|
||||||
width: 180rpx; |
|
||||||
height: 70rpx; |
|
||||||
background: #2D8CF0; |
|
||||||
border-radius: 100rpx; |
|
||||||
color: #fff; |
|
||||||
font-size: 28rpx; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
margin-right: 30rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.tab_box { |
|
||||||
display: flex; |
|
||||||
justify-content: space-around; |
|
||||||
|
|
||||||
.tab_nav { |
|
||||||
color: #999999; |
|
||||||
line-height: 42rpx; |
|
||||||
font-size: 30rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
padding-bottom: 25rpx; |
|
||||||
|
|
||||||
&.active { |
|
||||||
position: relative; |
|
||||||
color: #2D8CF0; |
|
||||||
font-weight: bold; |
|
||||||
|
|
||||||
&::after { |
|
||||||
position: absolute; |
|
||||||
content: ''; |
|
||||||
left: 50%; |
|
||||||
bottom: 0; |
|
||||||
width: 74rpx; |
|
||||||
height: 6rpx; |
|
||||||
background: #2D8CF0; |
|
||||||
border-radius: 100rpx; |
|
||||||
margin-left: -37rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
</style> |
|
||||||
@ -1,437 +0,0 @@ |
|||||||
<template> |
|
||||||
<!-- 查看详情页面 --> |
|
||||||
<view class="detail_con"> |
|
||||||
<view class="detail_box"> |
|
||||||
<view class="top_box"> |
|
||||||
<view class="top_item"> |
|
||||||
<view class="unit_left"> |
|
||||||
<view class="unit">车站名称</view> |
|
||||||
<view class="unit_name">{{ roadData.railwayName }}</view> |
|
||||||
</view> |
|
||||||
<view class="unit_time">{{ roadData.statDate || '' }} {{ roadData.statPeriodValue || '' }}</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
<!-- 入青 --> |
|
||||||
<view class="con_item"> |
|
||||||
<view class="spread_box"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">进青岛车次信息</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">终到车次(辆):</view> |
|
||||||
<view class="right">{{ roadData.inboundRailwayDo === 0 ? roadData.inboundRailwayDo : roadData.inboundRailwayDo || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">过路车次:</view> |
|
||||||
<view class="right"> |
|
||||||
{{ roadData.inboundPassengersDo === 0 ? roadData.inboundPassengersDo : roadData.inboundPassengersDo || '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="item_content"> |
|
||||||
<view class="content top"> |
|
||||||
<view class="left">终到车次环比(%)</view> |
|
||||||
<view class="right" :class="roadData.inRailwayYomDo > 0 ? 'green' : roadData.inRailwayYomDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.inRailwayYomDo === 0 ? roadData.inRailwayYomDo : roadData.inRailwayYomDo ? roadData.inRailwayYomDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="content"> |
|
||||||
<view class="left">终到车次同比(%)</view> |
|
||||||
<view class="right" :class="roadData.inRailwayMomDo > 0 ? 'green' : roadData.inRailwayMomDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.inRailwayMomDo === 0 ? roadData.inRailwayMomDo : roadData.inRailwayMomDo ? roadData.inRailwayMomDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">人数(人):</view> |
|
||||||
<view class="right">{{ roadData.inPepole === 0 ? roadData.inPepole : roadData.inPepole || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_content"> |
|
||||||
<view class="content top"> |
|
||||||
<view class="left">人数环比(%)</view> |
|
||||||
<view class="right" :class="roadData.inPepoleYoyDo > 0 ? 'green' : roadData.inPepoleYoyDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.inPepoleYoyDo === 0 ? roadData.inPepoleYoyDo : roadData.inPepoleYoyDo ? roadData.inPepoleYoyDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="content"> |
|
||||||
<view class="left">人数同比(%)</view> |
|
||||||
<view class="right" :class="roadData.inPepoleMomDo > 0 ? 'green' : roadData.inPepoleMomDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.inPepoleMomDo === 0 ? roadData.inPepoleMomDo : roadData.inPepoleMomDo ? roadData.inPepoleMomDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">备注:</view> |
|
||||||
<view class="right">{{ item.inMark || '' }}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<!-- 出青 --> |
|
||||||
<view class="con_item"> |
|
||||||
<view class="spread_box"> |
|
||||||
<view class="item_con first"> |
|
||||||
<view class="left">出青岛车次信息</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">终到车次(辆):</view> |
|
||||||
<view class="right">{{ roadData.outboundRailwayDo === 0 ? roadData.outboundRailwayDo : roadData.outboundRailwayDo || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">过路车次:</view> |
|
||||||
<view class="right"> |
|
||||||
{{ roadData.outboundPassengersDo === 0 ? roadData.outboundPassengersDo : roadData.outboundPassengersDo || '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="item_content"> |
|
||||||
<view class="content top"> |
|
||||||
<view class="left">终到车次环比(%)</view> |
|
||||||
<view class="right" :class="roadData.outRailwayYomDo > 0 ? 'green' : roadData.outRailwayYomDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.outRailwayYomDo === 0 ? roadData.outRailwayYomDo : roadData.outRailwayYomDo ? roadData.outRailwayYomDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="content"> |
|
||||||
<view class="left">终到车次同比(%)</view> |
|
||||||
<view class="right" :class="roadData.outRailwayMomDo > 0 ? 'green' : roadData.outRailwayMomDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.outRailwayMomDo === 0 ? roadData.outRailwayMomDo : roadData.outRailwayMomDo ? roadData.outRailwayMomDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">人数(人):</view> |
|
||||||
<view class="right">{{ roadData.outPepole === 0 ? roadData.outPepole : roadData.outPepole || '' }}</view> |
|
||||||
</view> |
|
||||||
<view class="item_content"> |
|
||||||
<view class="content top"> |
|
||||||
<view class="left">人数环比(%)</view> |
|
||||||
<view class="right" :class="roadData.outPepoleYoyDo > 0 ? 'green' : roadData.outPepoleYoyDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.outPepoleYoyDo === 0 ? roadData.outPepoleYoyDo : roadData.outPepoleYoyDo ? roadData.outPepoleYoyDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="content"> |
|
||||||
<view class="left">人数同比(%)</view> |
|
||||||
<view class="right" :class="roadData.outPepoleMomDo > 0 ? 'green' : roadData.outPepoleMomDo < 0 ? 'red' : ''"> |
|
||||||
{{ roadData.outPepoleMomDo === 0 ? roadData.outPepoleMomDo : roadData.outPepoleMomDo ? roadData.outPepoleMomDo.toFixed(2) : '' }} |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
<view class="item_con"> |
|
||||||
<view class="left">备注:</view> |
|
||||||
<view class="right">{{ item.outMark || '' }}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
</view> |
|
||||||
<view class="bottom_box"> |
|
||||||
<p class="edit_btn" @click="goEditPage">编辑</p> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
|
|
||||||
</view> |
|
||||||
</template> |
|
||||||
|
|
||||||
<script> |
|
||||||
export default { |
|
||||||
data() { |
|
||||||
return { |
|
||||||
roadData: {}, |
|
||||||
tabType: 1, |
|
||||||
} |
|
||||||
}, |
|
||||||
onLoad(options) { |
|
||||||
let item = JSON.parse(options.item) |
|
||||||
console.log(item) |
|
||||||
let item1 = JSON.parse(JSON.stringify(item)); |
|
||||||
this.roadData = item1; |
|
||||||
// this.getDetail() |
|
||||||
}, |
|
||||||
methods: { |
|
||||||
//跳转到编辑 |
|
||||||
goEditPage() { |
|
||||||
uni.navigateTo({ |
|
||||||
url: '/pages/railway/railwayRunData/form?item=' + JSON.stringify(this.roadData) |
|
||||||
}) |
|
||||||
}, |
|
||||||
getDetail() { |
|
||||||
this.$request(getApp().globalData.baseUrl + '/api/biz/highSpeedOperationController/selectById/' + |
|
||||||
'8A47103EE00000018772BC97AE50FFB7', {}, "GET").then(res => { |
|
||||||
console.log(res) |
|
||||||
}) |
|
||||||
}, |
|
||||||
} |
|
||||||
} |
|
||||||
</script> |
|
||||||
|
|
||||||
<style lang="scss" scoped> |
|
||||||
.detail_con { |
|
||||||
width: 100%; |
|
||||||
height: 100%; |
|
||||||
overflow-y: auto; |
|
||||||
|
|
||||||
.detail_box { |
|
||||||
background: #fff; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin: 30rpx 30rpx 0; |
|
||||||
|
|
||||||
.top_box { |
|
||||||
width: 630rpx; |
|
||||||
padding: 38rpx 30rpx 0rpx; |
|
||||||
display: flex; |
|
||||||
flex-direction: column; |
|
||||||
|
|
||||||
.top_item { |
|
||||||
width: 100%; |
|
||||||
// margin-top: 38rpx; |
|
||||||
// margin-bottom: 60rpx; |
|
||||||
display: flex; |
|
||||||
flex-direction: column; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
|
|
||||||
.unit_left { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
|
|
||||||
.unit { |
|
||||||
width: 102rpx; |
|
||||||
height: 37rpx; |
|
||||||
background: #FFF7E4; |
|
||||||
border-radius: 10rpx; |
|
||||||
border: 1rpx solid #EF9A4F; |
|
||||||
font-size: 20rpx; |
|
||||||
color: #E37616; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
} |
|
||||||
|
|
||||||
.unit_name { |
|
||||||
font-size: 30rpx; |
|
||||||
color: #333; |
|
||||||
font-weight: bold; |
|
||||||
line-height: 48rpx; |
|
||||||
margin-left: 20rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.unit_time { |
|
||||||
margin-top: 30rpx; |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
font-size: 24rpx; |
|
||||||
color: #999999; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.all_item { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first { |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
&.last { |
|
||||||
margin-bottom: 30rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.all_left { |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.all_right { |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.con_item { |
|
||||||
width: 570rpx; |
|
||||||
background: #F8F8F8; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin: 0 auto; |
|
||||||
margin-top: 30rpx; |
|
||||||
padding: 30rpx 30rpx; |
|
||||||
|
|
||||||
.spread_box { |
|
||||||
width: 100%; |
|
||||||
|
|
||||||
.item_con { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first { |
|
||||||
color: #333; |
|
||||||
font-size: 30rpx; |
|
||||||
font-weight: bold; |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.left { |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.right { |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.item_content { |
|
||||||
width: 570rpx; |
|
||||||
margin: 0 auto; |
|
||||||
background-color: #fff; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin-top: 30rpx; |
|
||||||
|
|
||||||
|
|
||||||
.content { |
|
||||||
width: 516rpx; |
|
||||||
padding: 34rpx 32rpx 30rpx 22rpx; |
|
||||||
display: flex; |
|
||||||
justify-content: space-between; |
|
||||||
align-items: center; |
|
||||||
|
|
||||||
&.top { |
|
||||||
border-bottom: 1rpx solid #F2F2F2; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
.left { |
|
||||||
font-size: 24rpx; |
|
||||||
color: #666; |
|
||||||
} |
|
||||||
|
|
||||||
.right { |
|
||||||
color: #333; |
|
||||||
font-size: 28rpx; |
|
||||||
|
|
||||||
&.green { |
|
||||||
color: #1ECE5F; |
|
||||||
} |
|
||||||
|
|
||||||
&.red { |
|
||||||
color: #EB4747; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.expand_box { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
margin-top: 30rpx; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
|
|
||||||
.img { |
|
||||||
width: 40rpx; |
|
||||||
height: 40rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.tit { |
|
||||||
color: #2D8CF0; |
|
||||||
font-size: 24rpx; |
|
||||||
margin-left: 12rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.no_spread { |
|
||||||
width: 100%; |
|
||||||
background: #F8F8F8; |
|
||||||
border-radius: 30rpx; |
|
||||||
|
|
||||||
.item_con { |
|
||||||
width: 100%; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
margin-top: 32rpx; |
|
||||||
|
|
||||||
&.first { |
|
||||||
margin-top: 0rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.left { |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.right { |
|
||||||
font-size: 28rpx; |
|
||||||
color: #333; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.bottom_box { |
|
||||||
width: 100%; |
|
||||||
padding: 40rpx 0; |
|
||||||
display: flex; |
|
||||||
justify-content: flex-end; |
|
||||||
|
|
||||||
.edit_btn { |
|
||||||
width: 180rpx; |
|
||||||
height: 70rpx; |
|
||||||
background: #2D8CF0; |
|
||||||
border-radius: 100rpx; |
|
||||||
color: #fff; |
|
||||||
font-size: 28rpx; |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: center; |
|
||||||
margin-right: 30rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.tab_box { |
|
||||||
display: flex; |
|
||||||
justify-content: space-around; |
|
||||||
|
|
||||||
.tab_nav { |
|
||||||
color: #999999; |
|
||||||
line-height: 42rpx; |
|
||||||
font-size: 30rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
padding-bottom: 25rpx; |
|
||||||
|
|
||||||
&.active { |
|
||||||
position: relative; |
|
||||||
color: #2D8CF0; |
|
||||||
font-weight: bold; |
|
||||||
|
|
||||||
&::after { |
|
||||||
position: absolute; |
|
||||||
content: ''; |
|
||||||
left: 50%; |
|
||||||
bottom: 0; |
|
||||||
width: 74rpx; |
|
||||||
height: 6rpx; |
|
||||||
background: #2D8CF0; |
|
||||||
border-radius: 100rpx; |
|
||||||
margin-left: -37rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
</style> |
|
||||||
@ -1,479 +0,0 @@ |
|||||||
<template> |
|
||||||
<view class="page"> |
|
||||||
<view class="list_box" v-for="(item,index) in data" :key="index"> |
|
||||||
<view class="list_top"> |
|
||||||
<view class="unit_tags">管理单位</view> |
|
||||||
<view class="unit_name">{{item.railwayName}}</view> |
|
||||||
</view> |
|
||||||
<view class="report_time">{{item.statDate || ''}}<text |
|
||||||
style="margin-left:16rpx;">{{item.statPeriodValue || ''}}</text> |
|
||||||
</view> |
|
||||||
<view class="list_item_box"> |
|
||||||
<view class="list_item"> |
|
||||||
<view class="list_item_label">终到车次(辆)-入青:</view> |
|
||||||
<view class="list_item_cnt">{{item.inboundRailwayDo === 0 ? item.inboundRailwayDo : item.inboundRailwayDo || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="list_item"> |
|
||||||
<view class="list_item_label">过路车次(不含终到)-入青:</view> |
|
||||||
<view class="list_item_cnt">{{item.inboundPassengersDo === 0 ? item.inboundPassengersDo : item.inboundPassengersDo || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="list_item"> |
|
||||||
<view class="list_item_label">人数(人)-入青:</view> |
|
||||||
<view class="list_item_cnt">{{item.inPepole === 0 ? item.inPepole : item.inPepole || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="list_item"> |
|
||||||
<view class="list_item_label">始发车次(辆)-出青:</view> |
|
||||||
<view class="list_item_cnt">{{item.outboundRailwayDo === 0 ? item.outboundRailwayDo : item.outboundRailwayDo || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="list_item"> |
|
||||||
<view class="list_item_label">过路车次(不含始发)-出青:</view> |
|
||||||
<view class="list_item_cnt">{{item.outboundPassengersDo === 0 ? item.outboundPassengersDo : item.outboundPassengersDo || ''}}</view> |
|
||||||
</view> |
|
||||||
<view class="list_item"> |
|
||||||
<view class="list_item_label">人数(人)-出青:</view> |
|
||||||
<view class="list_item_cnt">{{item.outPepole === 0 ? item.outPepole : item.outPepole || ''}}</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<!-- 按钮 --> |
|
||||||
<view class="act_btn_box"> |
|
||||||
<view class="act_btn blue" @click="goPage('/pages/railway/railwayRunData/form', item)">编辑</view> |
|
||||||
<view class="act_btn" style="margin-right: 30rpx;" @click="goPage('/pages/railway/railwayRunData/detail', item)"> |
|
||||||
查看详情</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<uni-load-more iconType="circle" :status="status" @clickLoadMore="loadMore" |
|
||||||
:contentText="contentText"></uni-load-more> |
|
||||||
<!-- 筛选 --> |
|
||||||
<view class="foot_btn_box"> |
|
||||||
<!-- <view @click="goPage('/pages/railway/railwayRunData/form?type=add')" class="act_btn"><uni-icons type="plusempty" |
|
||||||
size="18" color="#fff" style="margin-right: 9rpx;"></uni-icons>新建</view> --> |
|
||||||
<view @click="showSearch" class="act_btn btn1"><uni-icons type="search" size="18" color="#2D8CF0" |
|
||||||
style="margin-right: 9rpx;"></uni-icons>查询 |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<!-- 筛选 --> |
|
||||||
<uni-popup ref="popup" style="width: 100%;" background-color="none"> |
|
||||||
<view class="pop_box"> |
|
||||||
<view class="pop_title"> |
|
||||||
查询条件 |
|
||||||
<uni-icons type="closeempty" size="18" color="#666" class="pop_close"></uni-icons> |
|
||||||
</view> |
|
||||||
<view class="popup-content"> |
|
||||||
<view class="cont_tit"> |
|
||||||
统计起止时间 |
|
||||||
</view> |
|
||||||
<view class="time_box"> |
|
||||||
<uni-datetime-picker v-model="timeRange" type="daterange" /> |
|
||||||
</view> |
|
||||||
<view class="cont_tit picker"> |
|
||||||
<view>统计时段</view> |
|
||||||
<view class="picker_select"> |
|
||||||
<picker @change="bindPickerChange" :value="index" :range="array" range-key="dictLabel"> |
|
||||||
<text class="unselect_txt" |
|
||||||
:style="index>-1?'color:#333;':''">{{index>-1?array[index].dictLabel:'请选择时段'}}</text> |
|
||||||
<uni-icons type="right" size="16" color="#D4D4D4"></uni-icons> |
|
||||||
</picker> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
<view class="btn_box"> |
|
||||||
<p class="btn" @click="searchReset">重置</p> |
|
||||||
<p class="btn" @click="searchList">确认</p> |
|
||||||
</view> |
|
||||||
</view> |
|
||||||
</uni-popup> |
|
||||||
</view> |
|
||||||
</template> |
|
||||||
<script> |
|
||||||
export default { |
|
||||||
data() { |
|
||||||
return { |
|
||||||
data: [], |
|
||||||
current: 0, |
|
||||||
size: 10, |
|
||||||
hasMore: true, |
|
||||||
status: '', |
|
||||||
query: { |
|
||||||
statDateStart: '', |
|
||||||
statDateEnd: '', |
|
||||||
statPeriod: '' |
|
||||||
}, |
|
||||||
contentText: { |
|
||||||
contentdown: "点击查看更多", |
|
||||||
contentrefresh: "正在加载...", |
|
||||||
contentnomore: "没有更多数据了", |
|
||||||
}, |
|
||||||
timeRange: [], //查询起止日期 |
|
||||||
array: [], //时段选择列表 |
|
||||||
index: '', //时段选择 |
|
||||||
} |
|
||||||
}, |
|
||||||
onLoad() { |
|
||||||
this.queryTime(); |
|
||||||
this.loadMore(); |
|
||||||
}, |
|
||||||
onUnload() { |
|
||||||
this.hasMore = true; |
|
||||||
this.data = []; |
|
||||||
}, |
|
||||||
onPullDownRefresh() { |
|
||||||
console.log('onPullDownRefresh'); |
|
||||||
this.data = []; |
|
||||||
this.current = 0; |
|
||||||
this.hasMore = true; |
|
||||||
this.loadMore(); |
|
||||||
}, |
|
||||||
methods: { |
|
||||||
//折叠 |
|
||||||
showDetail(index1, index2, flag) { |
|
||||||
this.data[index1].highwaySubDataList[index2].show = flag; |
|
||||||
}, |
|
||||||
//搜索时段选择 |
|
||||||
bindPickerChange: function(e) { |
|
||||||
console.log('picker发送选择改变,携带值为', e.detail.value) |
|
||||||
this.index = e.detail.value |
|
||||||
}, |
|
||||||
//确认查询 |
|
||||||
searchList() { |
|
||||||
this.query = { |
|
||||||
statDateStart: this.timeRange.length > 0 ? this.timeRange[0] : '', |
|
||||||
statDateEnd: this.timeRange.length > 0 ? this.timeRange[1] : '', |
|
||||||
statPeriod: this.index > -1 ? this.array[this.index].dictValue : '' |
|
||||||
}; |
|
||||||
this.data = []; |
|
||||||
this.current = 0; |
|
||||||
this.hasMore = true; |
|
||||||
this.$refs.popup.close(); |
|
||||||
this.loadMore(); |
|
||||||
}, |
|
||||||
//重置搜索 |
|
||||||
searchReset() { |
|
||||||
this.timeRange = []; |
|
||||||
this.query = { |
|
||||||
statDateStart: '', |
|
||||||
statDateEnd: '', |
|
||||||
statPeriod: '' |
|
||||||
}; |
|
||||||
this.index = -1; |
|
||||||
}, |
|
||||||
//查询 |
|
||||||
showSearch() { |
|
||||||
this.$refs.popup.open('bottom'); |
|
||||||
}, |
|
||||||
//时段 |
|
||||||
queryTime() { |
|
||||||
this.$request(getApp().globalData.baseUrl + '/api/dict/dictList?dictType=airport_time' + '&_t=' + Date.parse( |
|
||||||
new Date()), {}, 'GET').then(res => { |
|
||||||
this.array = res.data; |
|
||||||
}) |
|
||||||
}, |
|
||||||
loadMore() { |
|
||||||
if (this.hasMore) { |
|
||||||
this.current = this.current + 1; |
|
||||||
this.status = 'loading'; |
|
||||||
let params = ''; |
|
||||||
Object.keys(this.query).map(key => { |
|
||||||
params = params + '&' + key + '=' + this.query[key] |
|
||||||
}) |
|
||||||
this.$request(getApp().globalData.baseUrl + '/api/biz/railwayRunData/list?page=' + this.current + |
|
||||||
'&pageSize=' + this.size + '&_t=' + Date.parse(new Date()) + params, {}, 'GET').then(res => { |
|
||||||
if (res.code == 200) { |
|
||||||
this.data = this.data.concat(res.data.list); |
|
||||||
if (res.data.list.length == 0 || res.data.totalCount < this.size) { |
|
||||||
this.hasMore = false; |
|
||||||
this.status = 'nomore'; |
|
||||||
} else { |
|
||||||
this.status = 'more'; |
|
||||||
} |
|
||||||
uni.stopPullDownRefresh(); |
|
||||||
} else { |
|
||||||
this.status = 'more'; |
|
||||||
uni.stopPullDownRefresh(); |
|
||||||
} |
|
||||||
}).catch(() => { |
|
||||||
this.status = 'more'; |
|
||||||
uni.stopPullDownRefresh(); |
|
||||||
}) |
|
||||||
} |
|
||||||
}, |
|
||||||
//页面跳转 |
|
||||||
goPage(url, param) { |
|
||||||
if (param) { |
|
||||||
uni.navigateTo({ |
|
||||||
url: url + '?item=' + JSON.stringify(param) |
|
||||||
}) |
|
||||||
} else { |
|
||||||
uni.navigateTo({ |
|
||||||
url: url |
|
||||||
}) |
|
||||||
} |
|
||||||
}, |
|
||||||
} |
|
||||||
} |
|
||||||
</script> |
|
||||||
|
|
||||||
<style lang="scss" scoped> |
|
||||||
.page { |
|
||||||
min-height: 100vh; |
|
||||||
padding: 30rpx 30rpx 195rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.list_box { |
|
||||||
background-color: #fff; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin-bottom: 30rpx; |
|
||||||
padding: 30rpx; |
|
||||||
|
|
||||||
.list_top { |
|
||||||
display: flex; |
|
||||||
margin-bottom: 30rpx; |
|
||||||
|
|
||||||
.unit_tags { |
|
||||||
height: 37rpx; |
|
||||||
line-height: 37rpx; |
|
||||||
color: #E37616; |
|
||||||
font-size: 20rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
background: #FFF7E4; |
|
||||||
border-radius: 10rpx; |
|
||||||
border: 1rpx solid #EF9A4F; |
|
||||||
padding: 0 11rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.unit_name { |
|
||||||
color: #333333; |
|
||||||
font-size: 30rpx; |
|
||||||
font-family: PingFang SC-Bold, PingFang SC; |
|
||||||
font-weight: bold; |
|
||||||
line-height: 48rpx; |
|
||||||
margin-left: 20rpx; |
|
||||||
word-break: break-all; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.report_time { |
|
||||||
color: #999999; |
|
||||||
font-size: 24rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
line-height: 48rpx; |
|
||||||
text-align: center; |
|
||||||
margin-bottom: 30rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.list_item_box { |
|
||||||
padding: 30rpx 30rpx 0; |
|
||||||
background: #F8F8F8; |
|
||||||
border-radius: 30rpx; |
|
||||||
margin-bottom: 30rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.list_item { |
|
||||||
display: flex; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
padding: 0 0 30rpx; |
|
||||||
|
|
||||||
.list_item_label { |
|
||||||
width: 320rpx; |
|
||||||
color: #666666; |
|
||||||
font-size: 26rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
line-height: 48rpx; |
|
||||||
} |
|
||||||
|
|
||||||
.list_item_cnt { |
|
||||||
flex: 1; |
|
||||||
color: #333333; |
|
||||||
font-size: 28rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
line-height: 48rpx; |
|
||||||
text-align: right; |
|
||||||
margin-left: 20rpx; |
|
||||||
word-break: break-all; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.list_item_shouqi { |
|
||||||
color: #2D8CF0; |
|
||||||
font-size: 24rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
text-align: center; |
|
||||||
line-height: 33rpx; |
|
||||||
padding-bottom: 30rpx; |
|
||||||
|
|
||||||
.txt { |
|
||||||
margin-left: 12rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.act_btn_box { |
|
||||||
display: flex; |
|
||||||
flex-direction: row-reverse; |
|
||||||
margin: 10rpx 0; |
|
||||||
|
|
||||||
.act_btn { |
|
||||||
width: 180rpx; |
|
||||||
color: #666666; |
|
||||||
font-size: 28rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
line-height: 70rpx; |
|
||||||
background: #FFFFFF; |
|
||||||
border-radius: 100rpx; |
|
||||||
border: 1rpx solid #C1C1C1; |
|
||||||
text-align: center; |
|
||||||
|
|
||||||
&.blue { |
|
||||||
color: #fff; |
|
||||||
background: #2D8CF0; |
|
||||||
border-color: #2D8CF0; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.foot_btn_box { |
|
||||||
position: fixed; |
|
||||||
left: 0; |
|
||||||
right: 0; |
|
||||||
bottom: 0; |
|
||||||
background-color: #F8F8F8; |
|
||||||
padding: 20px 30rpx; |
|
||||||
|
|
||||||
.act_btn { |
|
||||||
width: 690rpx; |
|
||||||
height: 90rpx; |
|
||||||
line-height: 88rpx; |
|
||||||
display: flex; |
|
||||||
justify-content: center; |
|
||||||
color: #FFFFFF; |
|
||||||
font-size: 28rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
background: #2D8CF0; |
|
||||||
border-radius: 100rpx; |
|
||||||
border: 1rpx solid #2D8CF0; |
|
||||||
|
|
||||||
.txt { |
|
||||||
margin-left: 9rpx; |
|
||||||
} |
|
||||||
|
|
||||||
&.btn1 { |
|
||||||
color: #2D8CF0; |
|
||||||
background: #F6F6F6; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.pop_box { |
|
||||||
border-radius: 30rpx 30rpx 0 0; |
|
||||||
background-color: #fff; |
|
||||||
padding: 30rpx; |
|
||||||
|
|
||||||
.pop_title { |
|
||||||
color: #333333; |
|
||||||
font-size: 32rpx; |
|
||||||
font-family: PingFang SC-Bold, PingFang SC; |
|
||||||
font-weight: bold; |
|
||||||
line-height: 45rpx; |
|
||||||
text-align: center; |
|
||||||
margin: 20rpx 0; |
|
||||||
|
|
||||||
.pop_close { |
|
||||||
float: right; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.popup-content { |
|
||||||
// display: flex; |
|
||||||
// flex-direction: column; |
|
||||||
|
|
||||||
.cont_tit { |
|
||||||
width: 100%; |
|
||||||
color: #333333; |
|
||||||
font-size: 26rpx; |
|
||||||
font-family: PingFang SC-Bold, PingFang SC; |
|
||||||
font-weight: bold; |
|
||||||
line-height: 37rpx; |
|
||||||
display: flex; |
|
||||||
margin-bottom: 40rpx; |
|
||||||
|
|
||||||
&.picker { |
|
||||||
display: flex; |
|
||||||
justify-content: space-between; |
|
||||||
margin: 60rpx 0; |
|
||||||
|
|
||||||
.picker_select { |
|
||||||
color: #D4D4D4; |
|
||||||
font-size: 28rpx; |
|
||||||
font-family: PingFang SC-Regular, PingFang SC; |
|
||||||
font-weight: 400; |
|
||||||
text-align: right; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.time_box { |
|
||||||
width: 690rpx; |
|
||||||
margin: 0 auto; |
|
||||||
|
|
||||||
/deep/ .uni-date-x--border { |
|
||||||
border-radius: 30rpx; |
|
||||||
|
|
||||||
.uni-date-x { |
|
||||||
background: transparent; |
|
||||||
|
|
||||||
.icon-calendar { |
|
||||||
padding-left: 20rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
/deep/ .uni-date-editor--x .uni-date__icon-clear { |
|
||||||
padding-right: 20rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.picker_box { |
|
||||||
width: 690rpx; |
|
||||||
margin: 0 auto; |
|
||||||
|
|
||||||
/deep/.input-value-border { |
|
||||||
border-radius: 30rpx; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
.btn_box { |
|
||||||
width: 100%; |
|
||||||
height: 120rpx; |
|
||||||
display: flex; |
|
||||||
margin-top: 20px; |
|
||||||
align-items: center; |
|
||||||
justify-content: space-between; |
|
||||||
|
|
||||||
.btn { |
|
||||||
width: 290rpx; |
|
||||||
height: 90rpx; |
|
||||||
background: #FFFFFF; |
|
||||||
border-radius: 100rpx; |
|
||||||
border: 1rpx solid #C1C1C1; |
|
||||||
color: #666; |
|
||||||
font-size: 28rpx; |
|
||||||
line-height: 88rpx; |
|
||||||
text-align: center; |
|
||||||
|
|
||||||
&:last-child { |
|
||||||
background: #2D8CF0; |
|
||||||
color: #FFFFFF; |
|
||||||
border-color: #2D8CF0; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
</style> |
|
||||||
Loading…
Reference in new issue