提交 c4437ca2 authored 作者: BaoChunXian's avatar BaoChunXian

feat: 井道样式调整

上级 8706e226
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</view> </view>
<!-- {{ isSubmit }} {{ isSign }} --> <!-- {{ isSubmit }} {{ isSign }} -->
<view class="profile-right"> <view class="profile-right">
<button <view
v-if="!isSign" v-if="!isSign"
:disabled="!isSubmit" :disabled="!isSubmit"
:class="{ :class="{
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
@click="toSign" @click="toSign"
> >
巡检人签字 巡检人签字
</button> </view>
<view <view
v-else-if="detailsInfo.synchronization != 1" v-else-if="detailsInfo.synchronization != 1"
class="action-container" class="action-container"
...@@ -500,6 +500,7 @@ export default { ...@@ -500,6 +500,7 @@ export default {
this.$refs.inputDialog2.open(); this.$refs.inputDialog2.open();
}, },
toSign() { toSign() {
if (!isSubmit) return;
this.$refs.signDialog.open(); this.$refs.signDialog.open();
}, },
// tab选中change 时间 // tab选中change 时间
...@@ -750,6 +751,7 @@ export default { ...@@ -750,6 +751,7 @@ export default {
} }
.record-button { .record-button {
display: block;
width: 115.2px; width: 115.2px;
height: 28.8px; height: 28.8px;
background: #ffffff; background: #ffffff;
...@@ -760,9 +762,12 @@ export default { ...@@ -760,9 +762,12 @@ export default {
color: #3774f6; color: #3774f6;
line-height: 28.8px; line-height: 28.8px;
font-weight: 400; font-weight: 400;
display: flex;
justify-content: center;
&.disabled-btn { &.disabled-btn {
color: #c7c7c7; color: #c7c7c7;
border-color: #c7c7c7; background-color: #f9f9f9;
border-color: #f2f2f2;
} }
} }
.action-container { .action-container {
......
...@@ -30,9 +30,6 @@ ...@@ -30,9 +30,6 @@
> >
</view> </view>
</view> </view>
<view class="action-btn complete-btn" @click="submit(1)">
完成巡检
</view>
</view> </view>
</view> </view>
<!-- 模块3:Tab 操作区域 --> <!-- 模块3:Tab 操作区域 -->
...@@ -141,8 +138,10 @@ ...@@ -141,8 +138,10 @@
@click="nextTab" @click="nextTab"
> >
下一项 下一项
</view> </view </view>
><custom-popup <view class="action-btn complete-btn" @click="submit(1)"> 完成巡检 </view>
</view>
<custom-popup
ref="customPopup" ref="customPopup"
:inspectionItem="tabs[activeTab].label" :inspectionItem="tabs[activeTab].label"
:fixedWords="['已检查', '正常', '异常', '需处理', '已处理']" :fixedWords="['已检查', '正常', '异常', '需处理', '已处理']"
...@@ -1067,7 +1066,7 @@ export default { ...@@ -1067,7 +1066,7 @@ export default {
transform: translateX(-50%); transform: translateX(-50%);
bottom: 25.6px; bottom: 25.6px;
.action-btn { .action-btn {
width: 145.6px; width: 118px;
height: 38.4px; height: 38.4px;
line-height: 38.4px; line-height: 38.4px;
background: #ffffff; background: #ffffff;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论