提交 8706e226 authored 作者: BaoChunXian's avatar BaoChunXian

feat: 修复井道详情每次更新增加楼栋的问题,井道样式调整

上级 415d4376
......@@ -469,6 +469,8 @@ export default {
}, [])
.every((pos) => pos.isSubmit === "" || pos.isSubmit === 1);
console.log(this.detailsInfo);
this.tabs = ["所有井道"];
this.tabsDetail = ["所有井道"];
this.isSign = !!this.detailsInfo.signImg;
this.cardsInfo.forEach((item) => {
this.tabs.push(item.name);
......@@ -548,7 +550,7 @@ export default {
const log_list = this.$store.state.log_list;
logContent.inspectionType = params.inspectionType;
log_list.push(logContent);
this.$logApi.addlog(logContent)
this.$logApi.addlog(logContent);
this.$store.commit("SET_LOG_LIST", log_list);
addLog(log_list).then((res) => {
console.log("日志文件写入成功");
......@@ -818,13 +820,16 @@ export default {
width: 100%;
height: 38.4px;
display: flex;
font-size: 12.8px;
align-items: center;
justify-content: center;
font-size: 12px;
color: #333333;
color: #4a4a4a;
cursor: pointer;
&.active {
font-weight: bold;
color: #000;
background-color: #ffffff;
}
}
......
......@@ -17,10 +17,11 @@
<view class="profile-box">
<view class="profile-left">
<view class="avatar">
<image
井道
<!-- <image
src="@/static/img/add-img/defaultAvatar.png"
mode="aspectFit"
></image>
></image> -->
</view>
<view class="info">
<view class="username">井道巡检</view>
......@@ -576,7 +577,7 @@ export default {
// 更新日志
const log_list = this.$store.state.log_list;
logContent.inspectionType = params.inspectionType;
this.$logApi.addlog(logContent)
this.$logApi.addlog(logContent);
log_list.push(logContent);
this.$store.commit("SET_LOG_LIST", log_list);
addLog(log_list).then((res) => {
......@@ -719,12 +720,13 @@ export default {
.profile-section {
width: 100%;
// height: 62.4px;
margin-bottom: 10.24px;
.profile-box {
background-color: #fff;
border-radius: 7.68px;
padding: 10.24px 20.48px;
padding: 10.24px 9.6px;
display: flex;
justify-content: space-between;
align-items: center;
......@@ -736,16 +738,23 @@ export default {
.avatar {
position: relative;
width: 32.4px;
height: 32.4px;
width: 44.8px;
height: 44.8px;
border-radius: 50%;
overflow: hidden;
margin-right: 7.2px;
margin-right: 9.6px;
image {
width: 100%;
height: 100%;
}
color: #4a4a4a;
text-align: center;
font-size: 12.8px;
line-height: 44.8px;
background: #f2f2f2;
border-radius: 6px;
// image {
// width: 100%;
// height: 100%;
// }
.change-password {
position: absolute;
......@@ -862,6 +871,7 @@ export default {
justify-content: flex-start;
align-items: center;
margin-bottom: 8px;
font-size: 16px;
gap: 16px;
}
......@@ -914,7 +924,7 @@ export default {
}
.tab-text {
font-size: 11.2px;
font-size: 12.8px;
color: #333;
}
......@@ -943,9 +953,9 @@ export default {
border-bottom: 0.8px solid #f2f3f5;
.form-label {
font-size: 11.2px;
font-size: 12.8px;
margin-right: 25.6px;
width: 58.4px;
width: 60px;
text-align: right;
color: #7c7c7c;
......@@ -956,13 +966,13 @@ export default {
}
.conclusion {
color: #c7c7c7;
font-size: 11.2px;
font-size: 12.8px;
&.have {
color: #000;
}
}
.label {
font-size: 11.2px;
font-size: 12.8px;
}
.switch-container {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论