添加新文件
This commit is contained in:
+154
@@ -0,0 +1,154 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const CommonCard = () => "../../components/common_card.js";
|
||||
const _sfc_main = {
|
||||
components: { CommonCard },
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
name: "",
|
||||
// 店铺名称
|
||||
address: "",
|
||||
// 店铺地址
|
||||
name: null,
|
||||
mobile: null,
|
||||
number: null,
|
||||
bankOpening: null,
|
||||
// 开户银行
|
||||
bankNumber: null,
|
||||
// 银行卡号
|
||||
bankName: null,
|
||||
// 所属银行
|
||||
bankMobile: null
|
||||
// 银行预留手机号码
|
||||
},
|
||||
formList: [
|
||||
{
|
||||
id: 1,
|
||||
title: "真实姓名",
|
||||
formName: "name",
|
||||
placeholder: "请输入您的真实姓名",
|
||||
type: "text"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "手机号",
|
||||
formName: "mobile",
|
||||
placeholder: "请输入手机号",
|
||||
type: "number"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "证件号码",
|
||||
formName: "number",
|
||||
placeholder: "请输入证件号码",
|
||||
type: "text"
|
||||
}
|
||||
],
|
||||
inputCss: {
|
||||
"height": "80rpx",
|
||||
"border-radius": "30rpx",
|
||||
"border": "0rpx"
|
||||
},
|
||||
bankList: [
|
||||
{
|
||||
id: 1,
|
||||
title: "开户行",
|
||||
formName: "bankOpening",
|
||||
placeholder: "请输入开户行",
|
||||
type: "text"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "银行卡号",
|
||||
formName: "bankNumber",
|
||||
placeholder: "请输入银行卡号",
|
||||
type: "number"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "所属银行",
|
||||
formName: "bankName",
|
||||
placeholder: "请输入所属银行",
|
||||
type: "text"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "预留手机号",
|
||||
formName: "bankMobile",
|
||||
placeholder: "请输入银行预留手机号",
|
||||
type: "number"
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
// 确认提交
|
||||
addFun() {
|
||||
common_vendor.index.__f__("log", "at pages/merchant_settlement/merchant_settlement.vue:162", "确认提交....");
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _component_CommonCard = common_vendor.resolveComponent("CommonCard");
|
||||
(_easycom_up_input2 + _component_CommonCard)();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
if (!Math) {
|
||||
_easycom_up_input();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o(($event) => $data.form.name = $event),
|
||||
b: common_vendor.p({
|
||||
placeholder: "请输入店铺名称",
|
||||
clearable: true,
|
||||
border: "none",
|
||||
modelValue: $data.form.name
|
||||
}),
|
||||
c: common_vendor.o(($event) => $data.form.address = $event),
|
||||
d: common_vendor.p({
|
||||
placeholder: "请输入店铺名称",
|
||||
clearable: true,
|
||||
border: "none",
|
||||
modelValue: $data.form.address
|
||||
}),
|
||||
e: common_vendor.f($data.formList, (item, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: "2001dd84-2-" + i0,
|
||||
c: common_vendor.o(($event) => $data.form[item.formName] = $event, item.id),
|
||||
d: common_vendor.p({
|
||||
placeholder: item.placeholder,
|
||||
border: "surround",
|
||||
customStyle: $data.inputCss,
|
||||
type: item.type,
|
||||
modelValue: $data.form[item.formName]
|
||||
}),
|
||||
e: common_vendor.n(item.id < $data.formList.length ? "add_form_item add_form_item_but" : "add_form_item"),
|
||||
f: item.id
|
||||
};
|
||||
}),
|
||||
f: common_vendor.f($data.bankList, (item, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: "2001dd84-4-" + i0,
|
||||
c: common_vendor.o(($event) => $data.form[item.formName] = $event, item.id),
|
||||
d: common_vendor.p({
|
||||
placeholder: item.placeholder,
|
||||
border: "surround",
|
||||
customStyle: $data.inputCss,
|
||||
type: item.type,
|
||||
modelValue: $data.form[item.formName]
|
||||
}),
|
||||
e: common_vendor.n(item.id < $data.bankList.length ? "add_form_item add_form_item_but" : "add_form_item"),
|
||||
f: item.id
|
||||
};
|
||||
}),
|
||||
g: common_vendor.o((...args) => $options.addFun && $options.addFun(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2001dd84"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/merchant_settlement/merchant_settlement.js.map
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"navigationBarTitleText": "商家入驻",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"navigationBarTextStyle": "black",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "default",
|
||||
"usingComponents": {
|
||||
"common-card": "../../components/common_card",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +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></view>
|
||||
+83
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user