jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/pages/shangjiaruzhu/shangjiaruzhu.js

59 lines
1.2 KiB
JavaScript
Raw Normal View History

2024-12-01 11:56:54 +00:00
import cityList from './city';
2024-11-10 07:01:22 +00:00
Page({
2024-11-19 10:12:40 +00:00
data: {
2024-12-01 11:56:54 +00:00
cityList,
cascaderValue: ['34', '330'],
cascaderVisible: false,
2024-11-19 10:12:40 +00:00
},
2024-11-10 07:01:22 +00:00
onLoad() {},
2024-11-19 10:12:40 +00:00
ruzhu(){
// my.request({
// url: url+'/api/business/add',
// method: 'POST',
// data: {
// },
// headers: {
// 'content-type': 'application/json', //默认值
// },
// dataType: 'json',
// success: (res)=> {
// my.alert({ content: 'success' });
// },
// fail: function (error) {
// console.error('fail: ', JSON.stringify(error));
// },
// complete: function (res) {
// my.hideLoading();
// my.alert({ content: 'complete' });
// },
// });
my.alert({ content: '正在审核中,请耐心等待' });
my.navigateBack()
},
businessName(e) {
this.setData({
businessName: e.detail.value,
});
console.log(e.detail.value);
},
person(e) {
this.setData({
person: e.detail.value,
});
console.log(e.detail.value);
},
phone(e) {
this.setData({
phone: e.detail.value,
});
console.log(e.detail.value);
},
idcard(e) {
this.setData({
idcard: e.detail.value,
});
console.log(e.detail.value);
},
2024-11-10 07:01:22 +00:00
});