65 lines
3.8 KiB
Plaintext
65 lines
3.8 KiB
Plaintext
<loading wx:if="{{!show}}">加载中...</loading>
|
||
<view class="page" wx:if="{{show}}">
|
||
<view class="fui-cell-group">
|
||
<view bindtap="chooseAddress" class="fui-cell">
|
||
<span class="fui-cell-text">
|
||
<span class="icon icon-weixin1" style="margin-right: 12rpx;color:#62b900;font-size:40rpx"></span>
|
||
获取微信收货地址</span>
|
||
<span class="fui-cell-remark" style="margin-left: 10rpx;position: relative;top: -1rpx;"></span>
|
||
</view>
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label">收件人</view>
|
||
<view class="fui-cell-info">
|
||
<input bindinput="onChange" class="fui-input" data-type="realname" placeholder="收件人" value="{{detail.realname}}"></input>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label">联系电话</view>
|
||
<view class="fui-cell-info">
|
||
<input bindinput="onChange" class="fui-input" data-type="mobile" placeholder="联系电话" type="number" value="{{detail.mobile}}"></input>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label">所在地区</view>
|
||
<view bindtap="selectArea" class="fui-cell-info" data-area="{{detail.province}} {{detail.city}} {{detail.area}}">{{!detail.province||!detail.city?'请选择所在地区':detail.province+' '+detail.city+' '+detail.area}}</view>
|
||
</view>
|
||
<view class="fui-cell" wx:if="{{street.length>0}}">
|
||
<view class="fui-cell-label">所在街道</view>
|
||
<view class="fui-cell-info">
|
||
<picker bindchange="onChange" data-type="street" range="{{street}}" rangeKey="name" value="{{streetIndex||0}}">
|
||
<view class="picker"> {{detail.street||'请选择街道'}}</view>
|
||
</picker>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label">详细地址</view>
|
||
<view class="fui-cell-info">
|
||
<input bindinput="onChange" class="fui-input" data-type="address" placeholder="街道,楼牌号等" value="{{detail.address}}"></input>
|
||
</view>
|
||
</view>
|
||
<view bindtap="chooseInpt" class="fui-cell" wx:if="{{intellectAddress&&intellectAddress==1}}">
|
||
<view class="fui-cell-text" style="color:{{color}};transition:0.5s;">智能填写</view>
|
||
<span class="{{intelShow?'remarkRotate':'intel'}}" style="margin-left: 10rpx;position: relative;"></span>
|
||
</view>
|
||
<view style="height:{{height}}rpx">
|
||
<view class="fui-cell remark">
|
||
<view class="intelligence">
|
||
<textarea bindblur="onShowText" bindinput="bindtextarea" focus="{{onFacus}}" placeholder="粘贴地址信息,可自动识别并填写如:姓名,电话,山东省青岛市xxx区xxx街道xxxxxxx" row="2" value="{{textRemark}}" wx:if="{{!showText}}"></textarea>
|
||
<text bindtap="showTextarea" class="showText {{textRemark=='粘贴地址信息,可自动识别并填写如:姓名,电话,山东省青岛市xxx区xxx街道xxxxxxx'?'intelColor':''}}" wx:else>{{textRemark}}</text>
|
||
<view class="line"></view>
|
||
<view bindtap="bindCopy" class="copy">粘贴</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell remark subBtn">
|
||
<view bindtap="intelligenceSubmit" class="intelligenceSubmit">提交</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<include src="/pages/common/city-picker.wxml"></include>
|
||
<view class="fui-mask {{showPicker?'show':''}}"></view>
|
||
<view bindtap="submit" class="btn btn-danger block mtop">{{subtext}}</view>
|
||
<view class="fui-toast {{FoxUIToast.show?'in':'out'}}">
|
||
<view class="text">{{FoxUIToast.text}}</view>
|
||
</view>
|
||
</view>
|