This commit is contained in:
zmj 2024-06-26 14:32:27 +08:00
parent 317ad7c192
commit 45b51b0a11
2 changed files with 26 additions and 36 deletions

View File

@ -288,34 +288,34 @@
const currentTab = ref(1)
const formData = reactive({
// store_id: STORE_INFO.id,
// mobile: "",
// province: 510000,
// city: '',
// area: "",
// street: "",
// village: "",
// real_name: "",
// auth_code: "",
// address: "",
// label_name: "",
// label_id: "",
// user_ship: '',
// code: ''
store_id: STORE_INFO.id,
mobile: "19130550023",
mobile: "",
province: 510000,
city: '510600',
area: "510626",
street: "510626101",
city: '',
area: "",
street: "",
village: "",
real_name: "赵明军",
auth_code: "131527008529094084",
real_name: "",
auth_code: "",
address: "",
label_name: "",
label_id: "",
user_ship: '',
code: ''
// store_id: STORE_INFO.id,
// mobile: "19130550023",
// province: 510000,
// city: '510600',
// area: "510626",
// street: "510626101",
// village: "",
// real_name: "",
// auth_code: "131527008529094084",
// address: "",
// label_name: "",
// label_id: "",
// user_ship: '',
// code: ''
})
const conformRole = (e) => {
@ -446,16 +446,11 @@
if (!formData.code) return uni.$u.toast('请输入短信验证码');
formData.store_id = STORE_INFO.id
if (Role.value == 1) {
formData.recharge_type = 'INDUSTRYMEMBERS'
formData.user_ship = 1
vipRechargeApi(formData).then(res => {
// timer = setTimeout(() => {
// uni.hideLoading();
// uni.$u.toast('');
// }, 30000)
})
return
// formData.recharge_type = 'INDUSTRYMEMBERS'
// formData.user_ship = 1
// vipRechargeApi(formData).then(res => {
// })
// return
uni.scanCode({
success: function(res) {
if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整');

View File

@ -43,12 +43,7 @@
}
break;
}
uni.vibrateShort({
success: function () {
console.log('success');
}
});
console.log("点击了")
uni.vibrateShort();
if (refValue.value.length === props.num) {
emits('complete', refValue.value.join(''));
}