This commit is contained in:
2024-10-16 09:37:54 +08:00
parent 0ba0738ef9
commit 4e4c60aa24
25 changed files with 12038 additions and 12255 deletions

View File

@@ -20,7 +20,7 @@
</view>
<view class="input_box">
<uni-forms-item label="" name="account" label-width="0">
<text class="input_tit"><i>*</i>吴门医述账号:</text>
<text class="input_tit"><i>*</i>众秒之门账号:</text>
<view class="in">
<input placeholder-style="font-size:26rpx" type="text" v-model="form.account"
placeholder="请输入手机号/邮箱" />
@@ -53,7 +53,7 @@
<view class="input_box">
<uni-forms-item label="" name="contactInformation" label-width="0">
<text class="input_tit"><i>*</i>联系电话:</text>
{{reversedMessage}}
{{reversedMessage}}
<view class="in">
<input type="number" placeholder-style="font-size:26rpx" @input="telInput"
v-model="form.contactInformation" placeholder="请输入与您联系的手机号" />
@@ -99,7 +99,7 @@
},
telError: false,
relationError: false,
relationErrorPattern:false,
relationErrorPattern: false,
rules: {
account: {
rules: [{
@@ -208,14 +208,14 @@
// console.log('键盘输入',e);
this.telError = false
},
async checkPermision(){
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE")
if (result != 1) {
return false
}
async checkPermision() {
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE")
if (result != 1) {
return false
}
},
async addPic(e) {
console.log("添加图片");
async addPic(e) {
console.log("添加图片");
let that = this;
for (var i = 0; i < e.file.length; i++) {
//console.log(i,e.file[i].url)
@@ -228,7 +228,7 @@
success: (res) => {
that.fileList1.push({
url: JSON.parse(res.data).url,
});
});
console.log(that.fileList1, "that.uploadPicLIst");
},
fail: (error) => {
@@ -241,7 +241,7 @@
this.fileList1.splice(event.index, 1)
},
onSubmit() {
this.$refs.form.validate().then(res => {
this.$refs.form.validate().then(res => {
if (this.form.type == 3) {
if (this.form.relation == '') {
this.relationError = true
@@ -286,20 +286,20 @@
success: (res) => {
this.fileList1 = []
// this.$nextTick(() => {
uni.navigateBack({
delta: 1
});
uni.navigateBack({
delta: 1
});
// })
}
});
}).catch(e => {
// console.log('表单错误信息:', err);
uni.showToast({
title: '提交失败',
icon: 'error'
})
});
// console.log('表单错误信息:', err);
uni.showToast({
title: '提交失败',
icon: 'error'
})
});
}).catch(err => {
console.log('表单错误信息:', err);
uni.showToast({
@@ -325,12 +325,15 @@
</script>
<style lang="scss" scoped>
@import '@/style/mixin.scss';
::v-deep .uni-forms-item{
::v-deep .uni-forms-item {
margin-bottom: 26rpx !important;
}
.input_tit{
.input_tit {
font-weight: bold;
}
.page {
background-color: #ffffff;
padding: 0 65rpx;