提交 72c8969d authored 作者: caodi\cd's avatar caodi\cd

fix:提交

上级 d33b124a
...@@ -3,13 +3,17 @@ ...@@ -3,13 +3,17 @@
<view class="synchronous-content"> <view class="synchronous-content">
<!-- 巡检事项 --> <!-- 巡检事项 -->
<view class="form-item"> <view class="form-item">
<text class="form-label"><text class="required">*</text>巡检事项:</text> <text class="form-label"
><text class="required">*</text>巡检事项:</text
>
<text>{{ inspectionItem }}</text> <text>{{ inspectionItem }}</text>
</view> </view>
<!-- 情况摘要(多选输入框) --> <!-- 情况摘要(多选输入框) -->
<view class="form-item"> <view class="form-item">
<text class="form-label"><text class="required">*</text>情况摘要:</text> <text class="form-label"
><text class="required">*</text>情况摘要:</text
>
<textarea <textarea
v-model="summary" v-model="summary"
placeholder="请输入情况摘要" placeholder="请输入情况摘要"
...@@ -204,10 +208,19 @@ export default { ...@@ -204,10 +208,19 @@ export default {
padding: 9.6px 0; padding: 9.6px 0;
line-height: 28.8px; line-height: 28.8px;
border-bottom: 0.8px solid #f2f3f5; border-bottom: 0.8px solid #f2f3f5;
&.last{ &.last {
border: 0; border: 0;
} }
.fixed-words {
.word {
font-size: 11.2px;
margin-right: 4px;
padding: 4px 6px;
border: 1px solid #c7c7c7;
border-radius: 4px;
}
}
.form-label { .form-label {
font-size: 11.2px; font-size: 11.2px;
font-weight: bold; font-weight: bold;
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
<view class="form-item"> <view class="form-item">
<text class="form-label"><text class="required">*</text>情况摘要</text> <text class="form-label"><text class="required">*</text>情况摘要</text>
<text class="required" @click="showPopup(index)">{{ <text class="conclusion" @click="showPopup(index)">{{
item.conclusion || "请输入" item.conclusion || "请输入情况摘要"
}}</text> }}</text>
</view> </view>
<view class="form-item"> <view class="form-item">
...@@ -130,10 +130,7 @@ export default { ...@@ -130,10 +130,7 @@ export default {
}, },
// 处理弹窗确认 // 处理弹窗确认
handlePopupConfirm(summary) { handlePopupConfirm(summary) {
if (this.currentIndex !== -1) { this.itemData.detail[this.currentIndex].conclusion = summary; // 回显到文字显示区域
this.itemData.detail[this.currentIndex].text = summary; // 回显到文字显示区域
this.currentIndex = -1;
}
}, },
}, },
}; };
...@@ -158,6 +155,10 @@ export default { ...@@ -158,6 +155,10 @@ export default {
margin-right: 3.2px; margin-right: 3.2px;
} }
} }
.conclusion {
color: #c7c7c7;
font-size: 11.2px;
}
.label { .label {
font-size: 11.2px; font-size: 11.2px;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论