zhgdyunapp/pages/projectEnd/smartBeamField/updateProductRecord.vue

262 lines
4.7 KiB
Vue
Raw Normal View History

2023-12-15 09:27:23 +08:00
<template>
<view class="fullHeight">
<headers :showBack="true" class="">
<view class="headerName">
制梁台座生产记录
<view class="headerBack" @click="returnBack">
<u-icon name="arrow-left" color="#333333" size="40"></u-icon>
</view>
</view>
</headers>
<view class="makeBeamProgress">
<view class="list-top">
<view class="progress-title">
<text style="margin-right: 40rpx;">梁号:</text> 23-3
</view>
</view>
<view class="list-item" v-for="item in 5">
<!-- 左侧进度线 -->
<view class="left-line">
<view class="circle"></view>
<view class="line"> </view>
</view>
<view class="item-state" @click="toUpdateRecord">
<view class="item-tool">
去更新
</view>
</view>
<view class="item-detail">
<view class="text-left">
工序名称:
</view>
<view class="text-right">
浇筑
</view>
</view>
<view class="item-detail">
<view class="text-left">
计划开始时间:
</view>
<view class="text-right">
2023-02-09 08:00:00
</view>
</view>
<view class="item-detail">
<view class="text-left">
计划结束时间:
</view>
<view class="text-right">
2023-02-09 08:00:00
</view>
</view>
<view class="item-detail">
<view class="text-left">
实际开始时间:
</view>
<view class="text-right">
2023-02-09 08:00:00
</view>
</view>
<view class="item-detail">
<view class="text-left">
实际结束时间:
</view>
<view class="text-right">
2023-02-09 08:00:00
</view>
</view>
<view class="item-detail">
<view class="text-left">
工序负责人:
</view>
<view class="text-right">
曹德康
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
},
methods: {
returnBack() {
console.log("返回")
uni.navigateBack()
},
toUpdateRecord() {
uni.navigateTo({
url: "/pages/projectEnd/smartBeamField/productRecordForm"
})
},
},
}
</script>
<style lang="scss" scoped>
.makeBeamProgress {
padding: 0 30rpx;
padding-bottom: 50rpx;
.list-item {
width: 644rpx;
padding: 0rpx 30rpx;
margin-left: 30rpx;
margin-top: 30rpx;
background: #FFFFFF;
box-shadow: 0px 0 19rpx 0px #E6E6E6;
border-radius: 19rpx;
position: relative;
font-family: Acme, Acme;
padding-bottom: 30rpx;
.item-state {
.item-tool {
position: absolute;
right: 20rpx;
top: 30rpx;
display: flex;
justify-content: center;
align-items: center;
width: 115rpx;
height: 50rpx;
font-size: 20rpx;
color: #5680FA;
background: #eef2ff;
border-radius: 8rpx;
}
}
.title {
padding-top: 30rpx;
font-size: 27rpx;
color: #595959;
}
.item-detail {
padding-top: 28rpx;
font-size: 27rpx;
display: flex;
.text-left {
width: 180rpx;
color: #8C8C8C;
}
.text-right {
color: #595959;
font-family: Advent Pro, Advent Pro;
}
}
.left-line {
width: 20rpx;
position: absolute;
left: -35rpx;
.circle {
width: 20rpx;
height: 20rpx;
border: 6rpx solid #5680FA;
/* 设置圆环的边框宽度和颜色 */
border-radius: 50%;
/* 将元素的边框半径设置为 50%,使其变成一个圆形 */
}
.line {
width: 1px;
height: 410rpx;
margin: auto;
background: #5181F6;
}
}
}
.list-top {
display: flex;
justify-content: space-between;
margin-top: 50rpx;
.progress-title {
color: #545454;
font-size: 26rpx;
margin-left: 12rpx;
}
.progress-tool {
display: flex;
.bindProduct {
font-size: 19rpx;
padding: 10rpx;
color: #FFFFFF;
background: #5680FA;
border-radius: 8rpx;
margin-right: 20rpx;
}
.bindSaveBeam {
font-size: 19rpx;
padding: 10rpx;
color: #FFFFFF;
background: #5680FA;
border-radius: 8rpx;
}
}
}
}
.headerBack {
position: absolute;
left: 5%;
top: 5%;
}
.task-detail {
padding: 30rpx 40rpx;
.detail-row {
display: flex;
margin-top: 35rpx;
.qrCode {
width: 200rpx;
height: 200rpx;
text-align: center;
.download-text {
color: #5181F6;
font-size: 27rpx;
}
.img {
width: 100%;
height: 100%;
}
}
.row-title {
width: 200rpx;
font-size: 27rpx;
font-family: Advent Pro, Advent Pro;
color: #8C8C8C;
}
.row-detail {
font-size: 27rpx;
font-family: Advent Pro, Advent Pro;
color: #333333;
}
}
}
</style>