65 lines
1.8 KiB
Plaintext
65 lines
1.8 KiB
Plaintext
<!-- 申请开店 -->
|
|
|
|
<view class="apply-shop-container">
|
|
|
|
<t-cell class="mb-16" title="经营类目" arrow hover note="{{shopBusinessCategoryText}}" bind:click="onshopBusinessCategoryPicker" />
|
|
<t-input value="{{shopInfo.ShopName}}" bindchange="onChangeShopName" label="店铺名称" maxlength="10" placeholder="请输入店铺名称" align="right" />
|
|
<t-textarea
|
|
value="{{shopInfo.ShopIntro}}"
|
|
t-class="external-class"
|
|
label="店铺简介"
|
|
placeholder="设置最大字符个数"
|
|
maxlength="50"
|
|
bindchange="onChangeShopIntro"
|
|
disableDefaultPadding="{{true}}"
|
|
indicator
|
|
/>
|
|
|
|
<view class="wrapper">
|
|
<view class="wrapper-title">店铺Logo</view>
|
|
<t-upload
|
|
mediaType="{{['image']}}"
|
|
max="{{1}}"
|
|
files="{{shopInfo.ShopLogo}}"
|
|
bind:add="handleAddLogo"
|
|
bind:remove="handleRemoveLogo"
|
|
>
|
|
</t-upload>
|
|
</view>
|
|
|
|
<view class="wrapper">
|
|
<view class="wrapper-title">营业执照</view>
|
|
<t-upload
|
|
mediaType="{{['image']}}"
|
|
max="{{1}}"
|
|
files="{{shopInfo.ShopBusinessLicense}}"
|
|
bind:add="handleAddShopBusinessLicense"
|
|
bind:remove="handleRemoveShopBusinessLicense"
|
|
>
|
|
</t-upload>
|
|
</view>
|
|
|
|
<!-- 提交按钮 -->
|
|
<view class="sub-btn-pos-box">
|
|
<view class="sub-btn-box">
|
|
<van-button class="sub-btn" type="info" size="large" round block bind:click="submit">提交</van-button>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
<t-picker
|
|
visible="{{shopBusinessCategoryVisible}}"
|
|
value="{{shopInfo.ShopBusinessCategoryGuid}}"
|
|
data-key="shopBusinessCategory"
|
|
title="经营类目"
|
|
cancelBtn="取消"
|
|
confirmBtn="确认"
|
|
bindchange="onPickerChange"
|
|
bindpick="onColumnChange"
|
|
bindcancel="onPickerCancel"
|
|
>
|
|
<t-picker-item options="{{shopBusinessCategoryList}}"></t-picker-item>
|
|
</t-picker>
|
|
<t-toast id="t-toast" /> |