pad-app/pages/monitor/details.vue

248 lines
4.7 KiB
Vue
Raw Normal View History

2023-07-10 17:11:31 +08:00
<template>
<view class="details">
2023-07-10 17:57:36 +08:00
<view class="container">
<view class="userInfo">
<p>填报人张星星</p>
<p>上报部门安全质量部</p>
</view>
<view class="formTitle">
基本信息
</view>
<ul>
<li class="flexLi">
<p class="liTitle">质损发生环节</p>
<view class="rightInfo">
<p>客户反馈</p>
<p>这是一段很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的描述
</p>
</view>
</li>
<li>
<p class="liTitle">板车照片</p>
<view class="picture">
2023-07-11 15:28:40 +08:00
<img src="../../static/images/testImg.jpg" alt="" v-for="item in 3">
2023-07-10 17:57:36 +08:00
</view>
</li>
<li>
<p class="liTitle">板车车牌照</p>
<view class="picture">
2023-07-11 15:28:40 +08:00
<img src="../../static/images/testImg.jpg" alt="" v-for="item in 3">
2023-07-10 17:57:36 +08:00
</view>
</li>
<li class="flexLi">
<p class="liTitle">质损负责人</p>
<p>张砰砰</p>
</li>
<li class="flexLi">
<p class="liTitle">签名</p>
<p>张砰砰</p>
</li>
</ul>
<view class="formTitle">
质损信息
</view>
<ul class="zsInfo">
<li>
<p>车架号/条形码</p>
<p>1000000000</p>
</li>
<li>
<p>船名/航次</p>
<p>运程10/HC98685976</p>
</li>
<li>
<p>车型</p>
<p>1000000000</p>
</li>
<li>
<p>品牌</p>
<p>这是一个品牌</p>
</li>
<li>
<p>场位</p>
<p>1000000000</p>
</li>
<li>
<p>质损时间</p>
<p>2023/09/08 23:00:00</p>
</li>
<li>
<p>质损货物品类</p>
<p>商品车</p>
</li>
2023-07-11 15:28:40 +08:00
<li class="imgLi">
<img src="../../static/images/car1.png" alt="">
<img src="../../static/images/car2.png" alt="">
<img src="../../static/images/car3.png" alt="">
<img src="../../static/images/car4.png" alt="">
<img src="../../static/images/car5.png" alt="">
</li>
2023-07-10 17:57:36 +08:00
<li class="tsLi">
<p>质损概况</p>
<p>其他 这是一段关于其他的描述</p>
</li>
<li class="tsLi">
<p>损伤情况</p>
<p>磕伤点状</p>
</li>
<li class="tsLi">
<p>处置情况</p>
<p>取消发运</p>
</li>
<li class="zpLi">
<p class="liTitle">质损照片</p>
<view class="picture">
2023-07-11 15:28:40 +08:00
<img src="../../static/images/testImg.jpg" alt="" v-for="item in 6">
2023-07-10 17:57:36 +08:00
</view>
</li>
<li class="zpLi">
<p class="liTitle">车架号图片</p>
<view class="picture">
2023-07-11 15:28:40 +08:00
<img src="../../static/images/testImg.jpg" alt="" v-for="item in 9">
2023-07-10 17:57:36 +08:00
</view>
</li>
</ul>
2023-07-11 15:28:40 +08:00
<view class="btnList">
<van-button type="default" @click="cancel"></van-button>
</view>
2023-07-10 17:57:36 +08:00
</view>
2023-07-10 17:11:31 +08:00
</view>
</template>
<script>
2023-07-11 15:28:40 +08:00
export default {
data() {
return {}
},
methods: {
// 取消
cancel() {
uni.navigateTo({
url: '/pages/monitor/index'
})
}
}
}
2023-07-10 17:11:31 +08:00
</script>
<style lang="less" scoped>
2023-07-10 17:57:36 +08:00
.details {
.container {
padding: 20px 30px;
.userInfo {
display: flex;
margin-bottom: 20px;
p {
margin-right: 30px;
font-size: 16px;
}
}
.formTitle {
padding-left: 10px;
border-left: 5px solid #2979ff;
font-size: 20px;
font-weight: bold;
}
ul {
margin-bottom: 30px;
.flexLi {
display: flex;
}
li {
margin-top: 30px;
.liTitle {
min-width: 100px;
margin-right: 20px;
font-size: 16px;
font-weight: bold;
}
.rightInfo {
p:first-child {
margin-bottom: 10px;
}
}
.picture {
margin-top: 20px;
2023-07-11 15:28:40 +08:00
display: flex;
flex-wrap: wrap;
2023-07-10 17:57:36 +08:00
2023-07-11 15:28:40 +08:00
img {
width: 120px;
height: 120px;
margin: 10px;
2023-07-10 17:57:36 +08:00
}
}
}
}
.zsInfo {
display: flex;
flex-wrap: wrap;
li {
width: 48%;
display: flex;
p:first-child {
width: 120px;
}
}
.tsLi {
width: 100%;
}
.zpLi {
width: 100%;
display: block;
}
2023-07-11 15:28:40 +08:00
.imgLi {
width: 100%;
flex-wrap: wrap;
img:nth-of-type(1) {
width: 25%;
}
img:nth-of-type(2) {
width: 25%;
}
img:nth-of-type(3) {
width: 50%;
}
img:nth-of-type(4) {
width: 50%;
}
img:nth-of-type(5) {
width: 50%;
}
}
}
.btnList {
display: flex;
justify-content: center;
/deep/ .van-button {
margin: 30px 0;
width: 120px;
height: 50px;
}
2023-07-10 17:57:36 +08:00
}
}
}
2023-07-10 17:11:31 +08:00
</style>