安装协议表单-修改样式

This commit is contained in:
WindowBird 2025-09-10 15:04:34 +08:00
parent df890e5531
commit 0eddb14efb

View File

@ -21,8 +21,9 @@
@success="handleUploadSuccess" @success="handleUploadSuccess"
/> />
</uv-form-item> </uv-form-item>
<uv-form-item label="签名区域"> <text>签名区域</text>
<view style="width: auto; height: 300rpx; background-color: #8f939c"> <uv-form-item>
<view style="width: auto; height: 500rpx; background-color: #8f939c">
<l-signature <l-signature
ref="signatureRef" ref="signatureRef"
:openSmooth="openSmooth" :openSmooth="openSmooth"
@ -32,14 +33,18 @@
></l-signature> ></l-signature>
</view> </view>
</uv-form-item> </uv-form-item>
<uv-button <uv-button
customStyle="margin-top: 10px" customStyle="margin-top: 10px"
text="提交" text="清空签名"
type="error"
@click="onClick('clear')"
></uv-button>
<uv-button
customStyle="margin-top: 10px"
text="提交协议"
type="primary" type="primary"
@click="submit" @click="submit"
></uv-button> ></uv-button>
<uv-button customStyle="margin-top: 10px" text="重置" type="error" @click="reset"></uv-button>
</uv-form> </uv-form>
<uv-action-sheet <uv-action-sheet
ref="sexSelect" ref="sexSelect"
@ -142,19 +147,7 @@ export default {
this.$refs.form.clearValidate() this.$refs.form.clearValidate()
this.userInfo.businessLicense = '' this.userInfo.businessLicense = ''
}, },
//
showSexSelect() {
this.$refs.sexSelect.open()
this.hideKeyboard()
},
//
sexSelect(e) {
this.userInfo.sex = e.name
//
this.$refs.form.validateField('sex', err => {
//
})
},
hideKeyboard() { hideKeyboard() {
uni.hideKeyboard() uni.hideKeyboard()
}, },