纸通宝商家版本的小程序,原生微信开发。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

94 lines
5.6 KiB

<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">完善信息</view>
</cu-custom>
<view class="relative">
<van-image width="750rpx" height="{{height}}rpx" bind:load="onImageLoad" src="https://pic.imgdb.cn/item/61a9ce292ab3f51d9167c8e5.png">
</van-image>
<view class="container">
<view style="padding:32rpx">
<view class="flex flex-center flex-column" style="padding: 24rpx 0rpx;">
<view class="text-white" style="font-size: 40rpx;">为了更好的服务你,和确保数据真实性</view>
<view class="text-white" style="font-size: 68rpx;margin-top: 16rpx;">请你完成以下资料填写</view>
</view>
<view class="flex flex-center" style="margin-top: 4rpx;">
<image style="height: 117rpx;width: 326rpx;" src="/assets/image/icon-dbz-label.png"></image>
</view>
<view class="bg-white" style="padding:54rpx 32rpx;border-radius: 12rpx;margin-top: -64rpx;">
<view class="flex flex-center" style="margin-bottom: 12rpx;">
<text class="cuIcon-info md-icon text-red">
<text style="margin-left: 8rpx;">仅用于完善打包站信息</text>
</text>
</view>
<view class="cu-form-group flex-center" style="border-bottom: 2rpx solid #f3f3f3;padding: 1rpx 0rpx">
<view class="flex flex-center text-sg"><text class="text-red text-xxl" style="padding-top: 12rpx;margin-right: 16rpx">*</text>包站名称</view>
<input placeholder-style="color:#aaa" style="margin-left: 16rpx;" focus="{{focus}}" placeholder="请输入你的打包站名称(必填)" bindinput="bindInput"></input>
</view>
<view class="cu-form-group flex-justify" style="border-bottom: 2rpx solid #f3f3f3;padding: 1rpx 0rpx" bindtap="selectCategroy">
<view class="flex flex-center text-sg"><text class="text-red text-xxl" style="padding-top: 12rpx;margin-right: 16rpx">*</text>主营品类</view>
<input placeholder-style="color:#aaa" value="{{cateString}}" style="margin-left: 16rpx;" placeholder="请选择你的主营品类(必填)" disabled></input>
<text class="cuIcon-right text-gray"></text>
</view>
<view class="flex flex-center" style="padding:12rpx 0rpx;">
<view class="flex flex-center text-sg"><text class="text-red text-xxl" style="padding-top: 12rpx;margin-right: 16rpx">*</text>包站实地照片</view>
<view class="text-gray text-sm" style="flex: 1;margin-left: 16rpx;">(请上传门头、招牌、场地等照片)</view>
</view>
<view class="flex flex-justify" style="padding: 0rpx 48rpx 24rpx 40rpx;border-bottom: 2rpx solid #f3f3f3;">
<view style="width: 200rpx;height: 200rpx;">
<image-upload id="factoryPhotoUrls" bind:before="beforeChoose" bind:uploaded="onImageUpload"></image-upload>
</view>
<view>
<view class="text-black text-df">示例图:</view>
<van-image use-loading-slot width="240rpx" height="160rpx" src="https://pic.imgdb.cn/item/61a9ce292ab3f51d9167c8ec.png">
<view slot="loading" style="width:240rpx;height:160rpx">
<van-loading type="spinner" size="32" />
</view>
</van-image>
</view>
</view>
<view class="flex flex-center" style="padding:12rpx 0rpx;">
<view class="flex flex-center text-sg"><text class="text-red text-xxl" style="padding-top: 12rpx;margin-right: 16rpx">*</text>磅单照片</view>
<view class="text-gray text-sm" style="flex: 1;margin-left: 16rpx;">(请上传3天内的磅单照片)</view>
</view>
<view class="flex flex-justify" style="padding: 0rpx 48rpx 24rpx 40rpx;">
<view style="width: 200rpx;height: 200rpx;">
<image-upload id="weightNotePhotoUrls" bind:before="beforeChoose" bind:uploaded="onImageUpload"></image-upload>
</view>
<view>
<view class="text-black text-df">示例图:</view>
<van-image use-loading-slot width="240rpx" height="160rpx" src="https://pic.imgdb.cn/item/61a9ce292ab3f51d9167c8f4.png">
<view slot="loading" style="width:240rpx;height:160rpx">
<van-loading type="spinner" size="32" />
</view>
</van-image>
</view>
</view>
<view class="flex flex-center" style="margin-top:36rpx;display: block;padding: 0rpx 24rpx;">
<van-button block type="info" custom-style="width:560rpx" bind:click="submitForm" disabled="{{requesting}}">提交</van-button>
</view>
</view>
</view>
</view>
</view>
<van-popup position="bottom" visible="{{ visible }}" mask="{{ true }}" bind:close="onClose">
<view class="flex flex-justify" style="height: 90rpx;border-bottom: 1rpx solid #f3f3f3;">
<view class="text-gray text-df" hover-class="button--hover" style="width: 120rpx;line-height: 90rpx;" bindtap="onClose">取消</view>
<view class="text-black text-sg text-bold">选择纸品</view>
<view class="text-blue text-df" hover-class="button--hover" style="width: 120rpx;line-height: 90rpx;" bindtap="onConfirm">确定</view>
</view>
<scroll-view class="bg-white" scroll-y style="height:{{sHeight}}rpx;padding: 24rpx 12rpx">
<!-- <wux-grids col="4" bordered="{{ false }}">
<wux-grid wx:for="{{cateList}}" wx:key="index" hover-class="none">
<view style="width: 160rpx;margin-bottom: 16rpx;">
<wux-button outline="{{!item.checked}}" block type="{{item.checked ? 'positive' : 'stable'}}" size="city" data-index="{{index}}" bind:click="clickItem">{{item.name}}</wux-button>
</view>
</wux-grid>
</wux-grids> -->
<van-grid column-num="4" border="{{fasle}}">
<van-grid-item use-slot wx:for="{{ cateList }}" wx:key="index" content-style="padding:12rpx">
<van-button plain custom-style="height:56rpx;width:150rpx;" data-index="{{index}}" bind:click="lookItem">{{item.name}}</van-button>
</van-grid-item>
</van-grid>
</scroll-view>
</van-popup>