安装协议表单-修改样式

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