添加代码
This commit is contained in:
+19
-7
@@ -19,8 +19,12 @@ const _sfc_main = {
|
||||
// 银行卡号
|
||||
bankName: null,
|
||||
// 所属银行
|
||||
bankMobile: null
|
||||
bankMobile: null,
|
||||
// 银行预留手机号码
|
||||
certFimg: null,
|
||||
// 正面
|
||||
certBimg: null
|
||||
// 反面
|
||||
},
|
||||
formList: [
|
||||
{
|
||||
@@ -128,10 +132,17 @@ const _sfc_main = {
|
||||
message: "提交成功"
|
||||
});
|
||||
setTimeout(() => {
|
||||
common_vendor.index.switchTab({
|
||||
url: "/pages/mine/mine"
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/merchant_settlement_ok/merchant_settlement_ok"
|
||||
});
|
||||
}, 1e3);
|
||||
},
|
||||
getValue(type, value) {
|
||||
if (type === "Z") {
|
||||
this.form.certFimg = value;
|
||||
} else if (type === "F") {
|
||||
this.form.certBimg = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -157,7 +168,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
c: common_vendor.o(($event) => $data.form.address = $event),
|
||||
d: common_vendor.p({
|
||||
placeholder: "请输入店铺名称",
|
||||
placeholder: "请输入店铺地址",
|
||||
clearable: true,
|
||||
border: "none",
|
||||
modelValue: $data.form.address
|
||||
@@ -178,7 +189,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: item.id
|
||||
};
|
||||
}),
|
||||
f: common_vendor.f($data.bankList, (item, k0, i0) => {
|
||||
f: common_vendor.o($options.getValue),
|
||||
g: common_vendor.f($data.bankList, (item, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: "2001dd84-4-" + i0,
|
||||
@@ -194,8 +206,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: item.id
|
||||
};
|
||||
}),
|
||||
g: common_vendor.o((...args) => $options.addFun && $options.addFun(...args)),
|
||||
h: common_vendor.sr("uToastRef", "2001dd84-5")
|
||||
h: common_vendor.o((...args) => $options.addFun && $options.addFun(...args)),
|
||||
i: common_vendor.sr("uToastRef", "2001dd84-5")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2001dd84"]]);
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="merchant_settlement_warp data-v-2001dd84"><view class="card_comm data-v-2001dd84"><view class="title_ data-v-2001dd84">上传店铺LOGO</view><view class="msg_ data-v-2001dd84">上传店铺LOGO、品牌标志。</view><view class="upload_comm data-v-2001dd84"><view class="upload_msg_ data-v-2001dd84">上传LOGO</view></view></view><view class="card_comm card_hang_comm data-v-2001dd84"><view class="title_ data-v-2001dd84">店铺名称</view><up-input wx:if="{{b}}" class="data-v-2001dd84" u-i="2001dd84-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></up-input></view><view class="card_comm card_hang_comm data-v-2001dd84"><view class="title_ data-v-2001dd84">店铺地址</view><up-input wx:if="{{d}}" class="data-v-2001dd84" u-i="2001dd84-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></up-input></view><view class="card_comm data-v-2001dd84"><view class="title_ data-v-2001dd84">上传店铺环境照片</view><view class="msg_ data-v-2001dd84">上传店铺背景图片,用于装修店铺主页。</view><view class="upload_comm data-v-2001dd84"><view class="upload_msg_ data-v-2001dd84">上传照片</view></view></view><view class="card_comm data-v-2001dd84"><view class="title_ data-v-2001dd84">营业执照</view><view class="msg_ data-v-2001dd84">上传店铺营业执照</view><view class="business_license_upload_comm data-v-2001dd84"><view class="upload_msg_ data-v-2001dd84">上传营业执照</view></view></view><view class="data_common_warp data-v-2001dd84"><view class="data_msg data-v-2001dd84">请填写商户本人的相关信息</view><view wx:for="{{e}}" wx:for-item="item" wx:key="f" class="{{['data-v-2001dd84', item.e]}}"><view class="add_form_title data-v-2001dd84">{{item.a}}</view><up-input wx:if="{{item.d}}" class="data-v-2001dd84" u-i="{{item.b}}" bind:__l="__l" bindupdateModelValue="{{item.c}}" u-p="{{item.d}}"></up-input></view></view><common-card class="data-v-2001dd84" u-i="2001dd84-3" bind:__l="__l"/><view class="data_common_warp data-v-2001dd84"><view class="data_msg data-v-2001dd84">商户银行账户信息</view><view wx:for="{{f}}" wx:for-item="item" wx:key="f" class="{{['data-v-2001dd84', item.e]}}"><view class="add_form_title data-v-2001dd84">{{item.a}}</view><up-input wx:if="{{item.d}}" class="data-v-2001dd84" u-i="{{item.b}}" bind:__l="__l" bindupdateModelValue="{{item.c}}" u-p="{{item.d}}"></up-input></view></view><view class="add_but data-v-2001dd84" bindtap="{{g}}"> 提交 </view><up-toast class="r data-v-2001dd84" u-r="uToastRef" u-i="2001dd84-5" bind:__l="__l"></up-toast></view>
|
||||
<view class="merchant_settlement_warp data-v-2001dd84"><view class="card_comm card_hang_comm data-v-2001dd84"><view class="title_ data-v-2001dd84">店铺名称</view><up-input wx:if="{{b}}" class="data-v-2001dd84" u-i="2001dd84-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></up-input></view><view class="card_comm card_hang_comm data-v-2001dd84"><view class="title_ data-v-2001dd84">店铺地址</view><up-input wx:if="{{d}}" class="data-v-2001dd84" u-i="2001dd84-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></up-input></view><view class="data_common_warp data-v-2001dd84"><view class="data_msg data-v-2001dd84">请填写商户本人的相关信息</view><view wx:for="{{e}}" wx:for-item="item" wx:key="f" class="{{['data-v-2001dd84', item.e]}}"><view class="add_form_title data-v-2001dd84">{{item.a}}</view><up-input wx:if="{{item.d}}" class="data-v-2001dd84" u-i="{{item.b}}" bind:__l="__l" bindupdateModelValue="{{item.c}}" u-p="{{item.d}}"></up-input></view></view><common-card class="data-v-2001dd84" bindvalueFunc="{{f}}" u-i="2001dd84-3" bind:__l="__l"/><view class="data_common_warp data-v-2001dd84"><view class="data_msg data-v-2001dd84">商户银行账户信息</view><view wx:for="{{g}}" wx:for-item="item" wx:key="f" class="{{['data-v-2001dd84', item.e]}}"><view class="add_form_title data-v-2001dd84">{{item.a}}</view><up-input wx:if="{{item.d}}" class="data-v-2001dd84" u-i="{{item.b}}" bind:__l="__l" bindupdateModelValue="{{item.c}}" u-p="{{item.d}}"></up-input></view></view><view class="add_but data-v-2001dd84" bindtap="{{h}}"> 提交 </view><up-toast class="r data-v-2001dd84" u-r="uToastRef" u-i="2001dd84-5" bind:__l="__l"></up-toast></view>
|
||||
Reference in New Issue
Block a user