|
|
@@ -168,7 +168,9 @@
|
|
|
</template>
|
|
|
|
|
|
<view class="visit-template__field visit-template__field--vertical">
|
|
|
- <view class="visit-template__field-label">备注</view>
|
|
|
+ <view class="visit-template__field-label visit-template__field-label--vertical">
|
|
|
+ 备注
|
|
|
+ </view>
|
|
|
<wd-textarea
|
|
|
v-model="templateForm.remark"
|
|
|
placeholder="请输入备注"
|
|
|
@@ -180,16 +182,19 @@
|
|
|
</scroll-view>
|
|
|
|
|
|
<view class="visit-template__actions">
|
|
|
- <button class="visit-template__button visit-template__button--cancel" @click="templateVisible = false">
|
|
|
+ <view
|
|
|
+ class="visit-template__button visit-template__button--cancel"
|
|
|
+ @click="templateVisible = false"
|
|
|
+ >
|
|
|
取消
|
|
|
- </button>
|
|
|
- <button
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
class="visit-template__button visit-template__button--submit"
|
|
|
- :disabled="signSubmitting"
|
|
|
+ :class="{ 'visit-template__button--disabled': signSubmitting }"
|
|
|
@click="submitTemplateSign"
|
|
|
>
|
|
|
{{ signSubmitting ? '提交中' : '提交打卡' }}
|
|
|
- </button>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</wd-popup>
|
|
|
@@ -1132,7 +1137,7 @@ const showToast = (title: string, duration?: number) => {
|
|
|
line-height: 38rpx;
|
|
|
}
|
|
|
|
|
|
-.visit-template__field--vertical .visit-template__field-label {
|
|
|
+.visit-template__field-label--vertical {
|
|
|
margin: 0 0 16rpx;
|
|
|
}
|
|
|
|
|
|
@@ -1159,10 +1164,6 @@ const showToast = (title: string, duration?: number) => {
|
|
|
line-height: 82rpx;
|
|
|
}
|
|
|
|
|
|
-.visit-template__button::after {
|
|
|
- border: 0;
|
|
|
-}
|
|
|
-
|
|
|
.visit-template__button--cancel {
|
|
|
color: #53657a;
|
|
|
background: #eef2f6;
|
|
|
@@ -1173,7 +1174,8 @@ const showToast = (title: string, duration?: number) => {
|
|
|
background: linear-gradient(135deg, #50b5ff 0%, #2f8cf7 100%);
|
|
|
}
|
|
|
|
|
|
-.visit-template__button--submit[disabled] {
|
|
|
+.visit-template__button--disabled {
|
|
|
opacity: 0.6;
|
|
|
+ pointer-events: none;
|
|
|
}
|
|
|
</style>
|