874 lines
45 KiB
Plaintext
874 lines
45 KiB
Plaintext
<!-- pages/buy/myOrder_v2/myOrder_v2.wxml -->
|
||
<wxs module="m1">
|
||
var numberToFix = function (value) {
|
||
return value.toFixed(2)
|
||
}
|
||
module.exports.numberToFix = numberToFix;
|
||
</wxs>
|
||
<!-- <import src="../../../wxParse/wxParse.wxml" /> -->
|
||
<view class="goodsinfo" wx:if="{{!diyShow}}">
|
||
<!-- 配送方式 -->
|
||
<!-- 无配送方式 dispatch_type_id为0 (虚拟商品且需要地址) -->
|
||
<block wx:if="{{selected==0}}">
|
||
<view class="addr" bindtap="showAddress" wx:if="{{!_show_address && !use_wechat_address && !ele_no_showAdress}}">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p" wx:if="{{realname}}">
|
||
<view class="name">收件人:{{realname}} {{mobile}}</view>
|
||
<view class="span">{{address}}</view>
|
||
</view>
|
||
<view class="p" wx:if="{{!realname}}">
|
||
请点击选择地址
|
||
</view>
|
||
<view class="right" wx:if="{{realname}}">
|
||
<view class="angle_right">
|
||
<van-icon name="arrow" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<!-- 有配送方式 -->
|
||
<block wx:if="{{dispatch.length>0 && showPage}}">
|
||
<van-tabs active="{{selectedMode}}" bind:change="setDispatch" wx:if="{{dispatch && !_show_address && !ele_no_showAdress && !reserve_order}}">
|
||
<block wx:for="{{dispatch}}" wx:key="index" wx:for-item="item" wx:for-index="index">
|
||
<van-tab title="{{item.name}}">
|
||
<!-- 快递 1 -->
|
||
<block wx:if="{{item.dispatch_type_id == '10'}}">
|
||
<view class="autoAddress" catchtap="tolocation">
|
||
<view class="autoAddress_nod">
|
||
<i class="iconfont icon-location"></i>
|
||
<view class="span_txt">{{supp_point.address}}</view>
|
||
</view>
|
||
<i class="fa fa-angle-right"></i>
|
||
</view>
|
||
<view class="autoTips">
|
||
注:订单配送是根据下单时的定位进行配送,不按照收货地址配送,请注意选择正确地址~
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{ ( item.dispatch_type_id==1 && use_wechat_address == false ) || item.dispatch_type_id == '10' }}">
|
||
<view class="addr" bindtap="showAddress" wx:if="{{!_show_address}}">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p" wx:if="{{realname}}">
|
||
<view class="name">收件人:{{realname}} {{mobile}}</view>
|
||
<view class="span">{{address}}</view>
|
||
</view>
|
||
<view class="p" wx:if="{{!realname}}">
|
||
请点击选择地址
|
||
</view>
|
||
<view class="right" wx:if="{{realname}}">
|
||
<view class="angle_right">
|
||
<van-icon name="arrow" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{item.dispatch_type_id==2}}">
|
||
<!-- 门店自提 2 -->
|
||
<view class="addr">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p">
|
||
<view class="name">自提地点:{{store_info.store_name}} {{store_info.store_mobile}}</view>
|
||
<view class="span">{{store_info.store_address}}</view>
|
||
</view>
|
||
</view>
|
||
<view wx:if="{{store_info.delivery_information == null || store_info.delivery_information ==1}}" style="margin:12rpx 0">
|
||
<van-cell-group>
|
||
<van-field bind:clear="infonameclear" bind:input="infonamebtn" clearable value="{{linkinfo.name}}" label="{{recipient_name}}" placeholder="请输入{{recipient_name}}" />
|
||
<van-field bind:clear="infomobileclear" bind:input="infomobilebtn" type="number" clearable value="{{linkinfo.mobile}}" label="{{recipient_mobile}}" placeholder="请输入{{recipient_mobile}}" />
|
||
</van-cell-group>
|
||
<text class="dis_warn">友情提示:请核对手机号码无误后再提交订单!</text>
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{item.dispatch_type_id==3}}">
|
||
<!-- 门店配送(送货上门) 3 -->
|
||
<view class="addr" bindtap="showAddress" wx:if="{{!_show_address}}">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p" wx:if="{{realname}}">
|
||
<view class="name">收件人:{{realname}} {{mobile}}</view>
|
||
<view class="span">{{address}}</view>
|
||
</view>
|
||
<view class="p big" wx:if="{{!realname}}">
|
||
请点击选择地址
|
||
</view>
|
||
<view class="right" wx:if="{{realname}}">
|
||
<view class="angle_right">
|
||
<van-icon name="arrow" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="addr">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p">
|
||
<view class="name">自提地点:{{store_info.store_name}} {{store_info.store_mobile}}</view>
|
||
<view class="span">{{store_info.store_address}}</view>
|
||
</view>
|
||
</view>
|
||
<view wx:if="{{delivery_status==1}}">
|
||
<view style="background:#fff;text-align:left;padding:28rpx 0 28rpx 28rpx">
|
||
<view style="padding-bottom:28rpx">配送说明</view>
|
||
<view style="color:#555;font-size:26rpx;padding-top:8rpx;">
|
||
<rich-text nodes="{{delivery_note}}"></rich-text>
|
||
</view>
|
||
</view>
|
||
<view style="text-align:right;background:#fff;color:#555;padding: 0 16rpx 16rpx 0" catchtap="showDeliveryMap">
|
||
<text style="margin-right: 1rem;" wx:if="{{delivery_amount}}">
|
||
<text>起送价</text>
|
||
<text style="color: #FF4C52; margin: 0.5rem">{{language['money']}}{{delivery_amount}}</text>
|
||
</text>
|
||
<text class="span" style="border:2rpx solid #555;padding:0 8rpx;border-radius:8rpx;">配送范围</text>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{item.dispatch_type_id==8}}">
|
||
<!-- 自提点 8 -->
|
||
<view class="addr">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p" wx:if="{{!defaultSelfCarry.id}}">
|
||
<view class="name" catchtap="gotochangeSelfCarry">抱歉,该地区暂无自提点,请点击更换地区试试!</view>
|
||
</view>
|
||
<view class="p" wx:if="{{defaultSelfCarry.id}}">
|
||
<view class="name">自提地点:{{defaultSelfCarry.deliver_name}} {{defaultSelfCarry.deliver_mobile}}</view>
|
||
<view class="span">{{defaultSelfCarry.full_address}}</view>
|
||
</view>
|
||
<view class="right_change" catchtap="gotochangeSelfCarry" wx:if="{{_root_tag != 'communityBuy'}}">更换</view>
|
||
</view>
|
||
<view style="margin-bottom:20rpx;">
|
||
<van-cell-group>
|
||
<van-field bind:clear="infonameclear" bind:input="infonamebtn"
|
||
clearable value="{{linkinfo.name}}" label="{{consigneeName}}" placeholder="请输入{{consigneeName}}" />
|
||
<van-field bind:clear="infomobileclear" bind:input="infomobilebtn"
|
||
type="number" clearable value="{{linkinfo.mobile}}" label="{{consigneeMobile}}" placeholder="请输入{{consigneeMobile}}" />
|
||
</van-cell-group>
|
||
<text class="dis_warn">友情提示:请核对手机号码无误后再提交订单!</text>
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{item.dispatch_type_id==11}}">
|
||
<view class="distribution-range">
|
||
<view class="sameCity" bindtap="showDeliveryMap" wx:if="{{cityDelivery.distance_type==1}}">
|
||
<view class="sameCity-text">配送范围</view>
|
||
<view class="sameCity-see">查看配送范围</view>
|
||
<i class="fa fa-angle-right"></i>
|
||
</view>
|
||
<view class="sameCity" data-name="serviceRegionShow" bindtap="setPopShow" wx:if="{{cityDelivery.distance_type==2}}">
|
||
<view class="sameCity-text">送达区域</view>
|
||
<view class="sameCity-see">查看可送达区域</view>
|
||
<i class="fa fa-angle-right"></i>
|
||
</view>
|
||
<view class="sameCity" data-name="selectCommunityShow" bindtap="setPopShow" wx:if="{{cityDelivery.distance_type==3}}">
|
||
<view class="sameCity-text">送达社区</view>
|
||
<view class="sameCity-see">{{cityDelivery_community.name ? cityDelivery_community.name : '请选择' }}</view>
|
||
<i class="fa fa-angle-right"></i>
|
||
</view>
|
||
</view>
|
||
<view class="addr" bindtap="showAddress" wx:if="{{!_show_address}}">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p" wx:if="{{realname}}">
|
||
<view class="name">收件人:{{realname}} {{mobile}}</view>
|
||
<view class="span">{{address}}</view>
|
||
</view>
|
||
<view class="p big" wx:if="{{!realname}}">
|
||
请点击选择地址
|
||
</view>
|
||
<view class="right" wx:if="{{realname}}">
|
||
<view class="angle_right">
|
||
<van-icon name="arrow" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- <view style="height: 20rpx;"></view> -->
|
||
<view class="distribution-cost" wx:if="{{cityDelivery.future_state==1}}">
|
||
<view class="distribution-time" bindtap="openCityDeliveryDay">
|
||
<view class="distribution-time-text">配送时间</view>
|
||
<view class="distribution-time-select" wx:if="{{cityDelivery_deliveryTime.day}}">{{cityDelivery_deliveryTime.day}} {{cityDelivery_deliveryTime.start_time_str}} {{cityDelivery_deliveryTime.end_time_str}}</view>
|
||
<view class="distribution-time-select" wx:else>请选择</view>
|
||
<i class="fa fa-angle-right"></i>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{item.dispatch_type_id==15}}">
|
||
<!-- 自提点 8 -->
|
||
<view class="addr" wx:if="{{order_data && order_data[0] && order_data[0].order_address}}">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p">
|
||
<view class="name">自提地点:{{ order_data[0].order_address.realname }} {{ order_data[0].order_address.mobile }}</view>
|
||
<view class="span">{{order_data[0].order_address.address}}</view>
|
||
</view>
|
||
</view>
|
||
<view style="margin-bottom:20rpx;">
|
||
<van-cell-group>
|
||
<van-field bind:clear="infonameclear" bind:input="infonamebtn" clearable value="{{linkinfo.name}}" label="提货人姓名" placeholder="请输入提货人姓名" />
|
||
<van-field bind:clear="infomobileclear" bind:input="infomobilebtn" type="number" clearable value="{{linkinfo.mobile}}" label="提货人手机" placeholder="请输入提货人手机" />
|
||
</van-cell-group>
|
||
<text class="dis_warn">友情提示:请核对手机号码无误后再提交订单!</text>
|
||
</view>
|
||
</block>
|
||
|
||
<block wx:if="{{item.dispatch_type_id==12}}">
|
||
<!-- 门店自提点(门店自己创建的自提点,可更换)-->
|
||
<view class="addr">
|
||
<view class="left">
|
||
<view class="map_marker">
|
||
<van-icon name="location" color="#333" size='32rpx' />
|
||
</view>
|
||
</view>
|
||
<view class="p" wx:if="{{!o2oSelfCarry.id}}">
|
||
<view class="name" catchtap="gotochangeSelfCarry">抱歉,该地区暂无自提点,请点击更换地区试试!</view>
|
||
</view>
|
||
<view class="p" wx:if="{{o2oSelfCarry.id}}">
|
||
<view class="name">自提地点:{{o2oSelfCarry.deliver_name}} {{o2oSelfCarry.deliver_mobile}}</view>
|
||
<view class="span">{{o2oSelfCarry.full_address}}</view>
|
||
</view>
|
||
<view class="right_change" catchtap="gotochangeSelfCarry" wx:if="{{!o2oSelfCarry.isChangeAddress}}" >更换</view>
|
||
</view>
|
||
<view style="margin-bottom:20rpx;">
|
||
<van-cell-group>
|
||
<van-field bind:clear="infonameclear" bind:input="infonamebtn" clearable value="{{linkinfo.name}}" label="提货人姓名" placeholder="请输入提货人姓名" />
|
||
<van-field bind:clear="infomobileclear" bind:input="infomobilebtn" type="number" clearable value="{{linkinfo.mobile}}" label="提货人手机" placeholder="请输入提货人手机" />
|
||
</van-cell-group>
|
||
<text class="dis_warn">友情提示:请核对手机号码无误后再提交订单!</text>
|
||
</view>
|
||
</block>
|
||
|
||
</van-tab>
|
||
</block>
|
||
</van-tabs>
|
||
</block>
|
||
<!-- 配送方式end -->
|
||
<block wx:if="{{use_wechat_address && (selected == '1' || selected == '0') && !_show_address && !electricity}}">
|
||
<!-- 只用于快递 二开页面开发-胜天半子#79514 -->
|
||
<view class="userFrom">
|
||
<view class="cell_from">
|
||
<input type="text" value="{{design_info.userName}}" placeholder="请输入收货人姓名" bindinput="cell_from_inp" data-key='name'></input>
|
||
<!-- <div class="sex">
|
||
<van-radio-group value="{{ sexSelect }}" bind:change="onChange">
|
||
<div class="sexGroup">
|
||
<van-radio name="1" checked-color="#ee0a24">先生</van-radio>
|
||
<van-radio name="2" checked-color="#ee0a24">女士</van-radio>
|
||
</div>
|
||
</van-radio-group>
|
||
</div> -->
|
||
</view>
|
||
<view class="cell_from">
|
||
<input type="text" placeholder="请填写收货手机号" value="{{design_info.telNumber}}" bindinput="cell_from_inp" data-key='phone'></input>
|
||
</view>
|
||
<view class="cell_area" catchtap="tapShowArea">
|
||
<view class="areaName">{{userAdress?userAdress:'所在区域'}}</view>
|
||
<i class="iconfont icon-advertise-next"></i>
|
||
</view>
|
||
<view class="cell_from">
|
||
<input type="text" placeholder="请输入街道、楼牌号等" value="{{design_address}}" bindinput="cell_from_inp" data-key='adress'></input>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="wxAdress" catchtap="getWxAdress">
|
||
<i class="iconfont icon-jiahao"></i>
|
||
使用微信地址
|
||
</view>
|
||
</block>
|
||
|
||
<view class="prepaid-recharge" wx:if="{{show_recharge_mobile && !phone_bill_pro_goods}}">
|
||
<!-- 话费慢充-->
|
||
<van-cell-group>
|
||
<van-field value="{{ recharge_mobile }}" type="number" label="" border="{{false}}" bind:change="onTELChange" placeholder="请输入充值手机号码" input-class="van-new-cell" clearable />
|
||
</van-cell-group>
|
||
<view class="tips">
|
||
<rich-text nodes="{{recharge_tips}}"></rich-text>
|
||
</view>
|
||
</view>
|
||
|
||
<view style="display:flex;align-items:center;height:4rem;background:#fff;" wx:elif="{{show_recharge_mobile && phone_bill_pro_goods}}">
|
||
<view style="font-size:14px;padding-left:32rpx;">你充值的手机号码</view>
|
||
<view style="font-size:28px;flex:1;text-align:center">{{recharge_mobile}}</view>
|
||
</view>
|
||
|
||
<!-- 充值电费 -->
|
||
<view wx:if="{{electricity}}" style="display:flex;align-items:center;height:4rem;background:#fff;">
|
||
<view style="font-size:14px;padding-left:32rpx;">您充值的户号:</view>
|
||
<view style="font-size:28px;flex:1;text-align:center" wx:if="{{eleUser}}">{{eleUser.account_number}}</view>
|
||
</view>
|
||
|
||
<!-- 分时预约-->
|
||
<view wx:if="{{reserve_order}}">
|
||
<van-cell-group>
|
||
<van-field model:value="{{ reserve_tel_name }}" label="联系人" placeholder="请填写联系人" input-class="van-new-cell" clearable />
|
||
<van-field model:value="{{ reserve_mobile }}" label="联系电话" placeholder="请填写联系电话" input-class="van-new-cell" clearable />
|
||
<van-cell title="{{reserve_obj_text}}" value="{{reserve_order.name}}" />
|
||
<van-cell title="预约时间" value="{{reserve_order.begin_time}}" />
|
||
</van-cell-group>
|
||
<view style="height: 20rpx;"></view>
|
||
</view>
|
||
<block wx:if="{{camilo_resources_coupon_type == 1}}">
|
||
<!-- 直冲商品 -->
|
||
<view>
|
||
<view style="height:10px;"></view>
|
||
<van-cell-group>
|
||
<van-field model:value="{{ recharge_number }}" type="number" label="充值账号" border="{{false}}" placeholder="请输入您的充值账号" clearable />
|
||
</van-cell-group>
|
||
</view>
|
||
</block>
|
||
|
||
<!-- 油卡充值 -->
|
||
<block wx:if="{{oil_mobile && oil_account}}">
|
||
<view style="display: flex; align-items: center;padding:0.3rem 0; background: #fff;" >
|
||
<view style="font-size: 14px; padding-left: 1rem;width:8.5rem;flex-shrink:0;">您充值的油卡号:</view>
|
||
<view style="font-size: 14px; flex: 1; text-align: left;word-break:break-all;padding-right:0.5rem;">{{ oil_account }}</view>
|
||
</view>
|
||
<view style="display: flex; align-items: center;padding:0.3rem 0; background: #fff;" >
|
||
<view style="font-size: 14px; padding-left: 1rem;width:8.5rem;flex-shrink:0;">您充值的手机号:</view>
|
||
<view style="font-size: 14px; flex: 1; text-align: left;word-break:break-all;padding-right:0.5rem;">{{ oil_mobile}}</view>
|
||
</view>
|
||
</block>
|
||
|
||
|
||
<!--商品表单 用于跨境商品报税使用-->
|
||
<view class="showMyinfo" wx:if="{{showMyinfo}}">
|
||
<van-cell-group>
|
||
<van-cell title="姓名" value="{{myRealname}}" />
|
||
</van-cell-group>
|
||
<van-cell-group>
|
||
<van-cell title="身份证号" value="{{myIdcard}}" />
|
||
</van-cell-group>
|
||
<van-cell-group>
|
||
<van-cell title="修改个人信息" is-link bind:click="alertMyInfo" />
|
||
</van-cell-group>
|
||
</view>
|
||
<yzMyinfo showFrom="{{showFrom}}" bind:confirm="confirmFrom"></yzMyinfo>
|
||
|
||
<!-- 聚合cps商品为直充时 -->
|
||
<block>
|
||
<view wx:if="{{iscps && cpstype == '1'}}" class="cpsMember">
|
||
<input placeholder="请输入帐号" placeholder-class="cpsinp" value="{{cpsTxt}}" bindinput="inpCpsTxt" />
|
||
</view>
|
||
</block>
|
||
<!-- 聚合cps end -->
|
||
|
||
<view class="goods-detail">
|
||
<view class="title" wx:if="{{isRent && !(rent_deposit_free == 0 && rent_free == 0)}}">
|
||
<view class="icon_tishi">
|
||
<van-icon name="bell" color="#f15353" />
|
||
</view>
|
||
<view class="span">您还可以免费租{{rent_free}}件商品!</view>
|
||
</view>
|
||
<view wx:for="{{order_data}}" wx:key="{{orindex}}" wx:for-item="item" wx:for-index="orindex">
|
||
<view class="goods-shop">
|
||
<view class="p">店铺名称:{{item.shop_name}}</view>
|
||
</view>
|
||
<view wx:if="{{cityDelivery && (cityDelivery.min_amount*1) > (item.order_goods_price*1)}}" style="background:#fff;text-align:left;padding:0.5rem 0.8rem;">
|
||
还差 <text style="color: #f05354;font-size: 14px;">¥{{m1.numberToFix((cityDelivery.min_amount*1) - (item.order_goods_price*1))}}</text>满足起送<text style="font-size: 12px;color: #989898;">(起送价¥{{cityDelivery.min_amount}})</text>
|
||
</view>
|
||
<view class="detail_good">
|
||
<view class="diy-box" wx:key="index" wx:for="{{item.order_goods}}" wx:for-item="g">
|
||
<view class="goods">
|
||
<view class="img">
|
||
<image src="{{g.thumb}}" mode='widthFix' style="height: auto;" />
|
||
</view>
|
||
<view class="warp" wx:if="{{isRent}}">
|
||
<view class="inner ul">
|
||
<view class="li name">{{g.title}}</view>
|
||
<view class="red li">
|
||
<view wx:if="{{!(rent_deposit_free == 0 && rent_free == 0)}}" class="icon_rent">
|
||
<van-icon name="gem" color="#ff9500" />
|
||
</view>
|
||
<text class="redcon" style="text-align: right;" wx:if="{{g.order_lease_goods[0]}}">{{language['money']}}{{(g.order_lease_goods[0].lease_price/g.total)}}{{language['元']}}/天
|
||
<text class="span">×{{g.total}}</text>
|
||
</text>
|
||
</view>
|
||
</view>
|
||
<view class="right">
|
||
<view class="price ul">
|
||
<view class="li option">
|
||
<block wx:if="{{g.goods_option_title}}">规格: {{g.goods_option_title}}</block>
|
||
</view>
|
||
<view class="right">押金: {{language['money']}}{{g.has_one_lease_goods.goods_deposit}}</view>
|
||
</view>
|
||
<view class="ul rent-choice">
|
||
<text class="span red">租金: {{language['money']}}{{g.price}}</text>
|
||
<text wx:if="{{g.order_lease_goods[0]}}">{{language['money']}}{{g.order_lease_goods[0].lease_price}}{{language['元']}}/天</text>
|
||
</view>
|
||
<view class="diy-from" data-id="{{g.diy_form.form_id}}" data-preid="{{g.pre_id}}" catchtap="showDiy" wx:if="{{g.diy_form && !orders_goods[g.pre_id].diyform_data_id}}">填写表单</view>
|
||
<view class="diy-from write" data-id="{{g.diy_form.form_id}}" data-preid="{{g.pre_id}}" catchtap="showDiy" wx:if="{{g.pre_id == orders_goods[g.pre_id].pre_id && orders_goods[g.pre_id].diyform_data_id}}">已填表单</view>
|
||
</view>
|
||
</view>
|
||
<view class="warp" wx:if="{{!isRent}}">
|
||
<view class="inner">
|
||
<view class="name">{{g.title}}</view>
|
||
<view class="option">规格: {{g.goods_option_title}}</view>
|
||
</view>
|
||
<view style="text-align: left; color: rgb(232, 78, 64);" wx:if="{{reserveDate}}">预约日期:{{reserveDate}}</view>
|
||
<view class="price">
|
||
<view class="p"><text wx:if="{{item.plugin_id == 108}}" class="deposit-tips">
|
||
<!--判断定金活动-->定金
|
||
</text>{{language['money']}}{{m1.numberToFix(g.price/g.total)}}</view>
|
||
<view class="p">×{{g.total}}</view>
|
||
<view class="diy-from" data-id="{{g.diy_form.form_id}}" data-preid="{{g.pre_id}}" catchtap="showDiy" wx:if="{{g.diy_form && !orders_goods[g.pre_id].diyform_data_id}}">填写表单</view>
|
||
<view class="diy-from write" data-id="{{g.diy_form.form_id}}" data-preid="{{g.pre_id}}" catchtap="showDiy" wx:if="{{g.pre_id == orders_goods[g.pre_id].pre_id && orders_goods[g.pre_id].diyform_data_id}}">已填表单</view>
|
||
</view>
|
||
<view class="price_Vip" wx:if="{{vip_show}}">
|
||
会员价:
|
||
{{language['money']}}
|
||
{{ m1.numberToFix(g.vip_price/g.total) }}
|
||
</view>
|
||
<view class="give_integral_wrapper" style="padding-left:0;padding-top:0.5rem;" wx:if="{{g.points}}">
|
||
<view class="give_integral_text">送</view>
|
||
<view class="give_integral_num">{{g.points}} {{integral}}</view>
|
||
</view>
|
||
|
||
</view>
|
||
|
||
</view>
|
||
</view>
|
||
<view class="note">
|
||
<view class="left">买家留言:</view>
|
||
<view class="right">
|
||
<input type="text" value="{{note[item.pre_id]}}" maxlength="{{50}}" placeholder="50字以内(选填)" bindinput="noteHandle" data-item="{{item}}" data-preid="{{item.pre_id}}" />
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="rent-info"></view>
|
||
<view class="tbs">
|
||
<view class="num list" wx:if="{{isRent}}">
|
||
<block wx:if="{{!(rent_deposit_free == 0 && rent_free == 0)}}">
|
||
<view class="left">会员权益</view>
|
||
<view class="right">
|
||
<van-switch checked="{{isOpenRight}}" bind:change="rentSelect" active-color="#f15353" />
|
||
</view>
|
||
</block>
|
||
</view>
|
||
<view class="num list">
|
||
<view class="left">{{isRent?"租金":"商品金额"}}</view>
|
||
<view class="right">
|
||
<text class="font red">{{language['money']}}{{item.order_goods_price}}</text>
|
||
</view>
|
||
</view>
|
||
<view class="num list" wx:if="{{vip_show}}">
|
||
<view class="left">会员价</view>
|
||
<view class="right">
|
||
<text class="font red">{{language['money']}}{{item.vip_order_goods_price}}</text>
|
||
</view>
|
||
</view>
|
||
<view class="freight-num list">
|
||
<view class="left" wx:if="{{selected=='11'}}" >配送费 <i wx:if="{{cityDelivery && cityDelivery.price_setting && cityDelivery.price_setting.show_state == 1}}" data-name="costSpecShow" bindtap="setPopShow" style="color:#ef5252;font-size:14px;cursor:pointer;" class="iconfont icon-fontclass-gantanhao"></i> :</view>
|
||
<view class="left" wx:else >运费 <i wx:if="{{freightExplain.is_freight_explain==1}}" bindtap="setFreightExplainPop" style="color:#ef5252;font-size:14px;cursor:pointer;" class="iconfont icon-fontclass-gantanhao"></i> :</view>
|
||
<view class="right">
|
||
<view class="font red">{{language['money']}}{{item.dispatch_price}}</view>
|
||
</view>
|
||
</view>
|
||
<view class="freight-num list" wx:for="{{service}}" wx:key="index">
|
||
<view class="left">{{item.name}}</view>
|
||
<view class="right">
|
||
<view class="font red">{{language['money']}}{{item.amount}}</view>
|
||
</view>
|
||
</view>
|
||
<view wx:if="{{reserve_deduction}}" class="dResrve">
|
||
预约扣除<view class="span">{{ reserve_deduction }}{{ integral }}</view>
|
||
</view>
|
||
<view wx:if="{{reserve_deduction_love}}" class="dResrve">
|
||
预约扣除<view class="span" >{{ reserve_deduction_love }}{{ love_name }}</view>
|
||
</view>
|
||
<block wx:if="{{item.order_deductions}}">
|
||
<view class="score list" wx:for="{{item.order_deductions}}" wx:for-item="d" wx:for-index="dindex" wx:key="dindex">
|
||
<view class="left">
|
||
可用{{d.coin}}{{d.name || integral}}
|
||
<text class="span">{{deduction_lang?deduction_lang:'抵扣'}}{{d.amount}}{{language['元']}}</text>
|
||
</view>
|
||
<view class="right">
|
||
<van-switch size='23px' data-orindex="{{orindex}}" loading="{{clicktag == 1}}" active-color="#ee0a24" data-dindex="{{dindex}}" checked="{{d.checked}}" bind:change="discountHandle" data-tag="discount" />
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<blcok wx:if="{{item.order_coin_exchanges}}" wx:for-item="d" wx:for-index="dindex" wx:key="dindex" wx:for="{{item.order_coin_exchanges}}">
|
||
<view class="score list" wx:if="{{!d.no_show}}">
|
||
<view class="left ">
|
||
{{ d.coin }}{{d.name || integral}}
|
||
<text class="span">{{deduction_lang?deduction_lang:'抵扣'}}{{ d.amount }}{{language['元']}}</text>
|
||
</view>
|
||
<view class="right">
|
||
</view>
|
||
</view>
|
||
</blcok>
|
||
</view>
|
||
<!-- 服务费、运费说明 start @change="discountHandle(item, fees, 'serviceFee')"-->
|
||
<van-checkbox-group value="{{service_fee[item.pre_id]}}" data-tag="serviceFee" data-orindex="{{orindex}}" data-dindex="{{dindex}}" bind:change="discountHandle">
|
||
<view class="shipping_ins" wx:for="{{item.order_service_fees}}" wx:for-index="codeind" wx:for-item="fees" wx:key="{{codeind}}" >
|
||
<!-- <view class="shipping_ins_1">
|
||
<view class="shipping_ins_title">是否需要{{ fees.name }}</view>
|
||
<van-checkbox checked-color="#f15353" name="{{fees.code}}"></van-checkbox>
|
||
</view> -->
|
||
<view class="shipping_ins_1 nClassOne">
|
||
<view class="shipping_ins_title nClassOne_title">是否需要{{ fees.name }}</view>
|
||
<view class="switchBox">
|
||
<van-switch checked="{{fees.checked}}" inactive-color="#dcdee0" active-color="#ee0a24" data-tag="serviceFee" data-orindex="{{orindex}}" data-dindex="{{dindex}}" data-item="{{fees}}" data-codeind="{{codeind}}" bind:change="switchChange" >
|
||
</van-switch>
|
||
<van-icon name="success" wx:if="{{fees.checked}}" class="switchIcon" />
|
||
</view>
|
||
</view>
|
||
<view class="shipping_ins_1" wx:if="{{fees.show}}">
|
||
<view class="shipping_ins_title">{{ fees.name }}为</view>
|
||
<view class="shipping_ins_total">{{ fees.amount }}</view>
|
||
</view>
|
||
<view wx:if="{{fees.code == 'liveInstall' && fees.show}}">
|
||
<view class="shipping_ins_1">
|
||
<view class="shipping_ins_title">预约安装时间</view>
|
||
<view class="shipping_ins_date" bindtap="setInstallDateShow">
|
||
|
||
{{installDateText}}<i wx:if="{{!installDate}}" class="iconfont icon-fontclass-rili"></i><i class="fa fa-angle-right"></i>
|
||
</view>
|
||
</view>
|
||
<van-field class="cell-textarea-style" model:value="{{install_comment}}" rows="2" autosize type="textarea" maxlength="120" placeholder="请输入留言" show-word-limit />
|
||
<view class="shipping_ins_1">
|
||
<view class="shipping_ins_title">地理位置<em style="color: #f86e6e;">*</em></view>
|
||
<view class="shipping_ins_address">
|
||
<view class="addressDiv" style="text-align: right;">{{ location.address ? location.address : "定位中..." }}</view>
|
||
<i class="iconfont icon-dingwei" style="color: #f86e6e; padding-right: 0.25rem;"></i>
|
||
<view bindtap="showLocationPop">{{ location.address ? "切换" : "自动定位中" }}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</van-checkbox-group>
|
||
<!-- 服务费、运费说明 end -->
|
||
</view>
|
||
|
||
<view class="rent-time" wx:if="{{isRent && isRightChoose}}">
|
||
<view class="text">
|
||
<text class="span">租期:</text>
|
||
</view>
|
||
<view class="week">
|
||
<view class="button {{index == currentIndex?'active':''}}" wx:for="{{rentTime}}" wx:key="index" wx:for-item="item" wx:for-index="index" catchtap="rentTimeChoose" data-item="{{item}}" data-index="{{index}}">
|
||
<view>
|
||
<view class="span">{{item.term_name}}</view>
|
||
<view class="red span">优惠{{item.term_discount}}%</view>
|
||
</view>
|
||
</view>
|
||
<view class="button" catchtap="rentSelfChoose">自定义</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!--商品订单结束-->
|
||
|
||
<agency-saleman id="agencySaleman" wx:if="{{goodsInfo.is_salesman_dividend == 1}}" mid="{{goodsInfo.self_member_id}}"><!--创达通-销售员分红 #85033--></agency-saleman>
|
||
|
||
<view class="tbs coupon-list" catchtap="showCoupon" wx:if="{{isShowCoupon && coupon_size > 0}}">
|
||
<view class="list">
|
||
<view class="left">
|
||
优惠券
|
||
<text class="font">{{coupon_size}}张可用</text>
|
||
</view>
|
||
<view class="right">
|
||
<view class="font red">
|
||
<text class="span">{{(use_coupon_size==0) ? "未使用":"已使用"+use_coupon_size+"张"}}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- 凑单减邮费 -->
|
||
<addGoodsModule bind:click="toFullPage" wx:if="{{recommend_goods && recommend_goods.length > 0}}" datas="{{recommend_goods}}"></addGoodsModule>
|
||
<!--应用市场下单-->
|
||
<view class="tbs coupon-list" wx:if="{{isDomain}}">
|
||
<view class="list">
|
||
<view class="left">
|
||
我的站点
|
||
</view>
|
||
<view class="right">
|
||
<view class="font red" wx:if="{{!domain}}" catchtap="toSite">
|
||
新增/绑定站点
|
||
</view>
|
||
<view class="font" wx:if="{{domain}}">
|
||
{{domain}}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!--发票-->
|
||
<!-- <yzSubscribe wx:if="{{isShowInvoice}}" invoiceData="{{invoiceData}}" bind:subInvoice="subInvoice"></yzSubscribe> -->
|
||
<invoice-pop class="invoicePop" bind:openAddList="invoiceShowAddressFun" bind:confirm="subInvoice"></invoice-pop>
|
||
<view class="tbs tbsbottom">
|
||
<view class="price list" wx:for="{{total_items}}" wx:key="item.code">
|
||
<view class="left ">{{ item.name }}</view>
|
||
<view class="right">
|
||
<view class="font red">
|
||
<text class="span" wx:if="{{item.code=='total_deduction_price'}}">-</text> {{language['money']}}{{ item.amount }}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<block wx:for="{{discount_amount_items}}" wx:key="item.code">
|
||
<view class="price list" wx:if="{{!item.no_show}}">
|
||
<view class="left ">{{ item.name }}</view>
|
||
<view class="right">
|
||
<view class="font red">-{{language['money']}}{{ item.amount }}</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:for="{{service_fee_items}}" wx:key="item.code">
|
||
<view class="price list" wx:if="{{!item.no_show}}">
|
||
<view class="left ">{{ item.name }}</view>
|
||
<view class="right">
|
||
<view class="font red">{{language['money']}}{{ item.amount }}</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<view class="price list" wx:for="{{service}}" wx:key="item.name" wx:if="{{item.amount!=0.00}}">
|
||
<view class="left ">{{ item.name }}</view>
|
||
<view class="right">
|
||
<view class="font red">{{language['money']}}{{ item.amount }}</view>
|
||
</view>
|
||
</view>
|
||
<view class="price list" wx:if="{{isRent}}">
|
||
<view class="left ">押金(可退还)</view>
|
||
<view class="right">
|
||
<text class="font red">{{language['money']}}{{goodsInfo.total_deposit}}</text>
|
||
</view>
|
||
</view>
|
||
<view class="agreement" wx:if="{{isRent}}">
|
||
<view class="right">
|
||
<van-checkbox value="{{agreement}}" checked-color="#f15353" bind:change="agreementbtn" shape="square"></van-checkbox>
|
||
</view>
|
||
<view class="left">
|
||
<text class="span">我已认真阅读并同意该</text>
|
||
<text class="span red" catchtap="showAgreement">《租赁协议》</text>
|
||
</view>
|
||
</view>
|
||
<view class="agreement" wx:if="{{AgreementPay && !isRent}}">
|
||
<view class="right">
|
||
<van-checkbox value="{{agreementPay}}" checked-color="#f15353" bind:change="agreementPaybtn" shape="square"></van-checkbox>
|
||
</view>
|
||
<view class="left">
|
||
<text class="span red" catchtap="showPay">《支付协议》</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="diy-other-btn" wx:if="{{storeSearchBtn.is_open_but}}">
|
||
<!-- 门店搜索 自定义按钮-->
|
||
<view class="diy-other-btn-url" catchtap="toO2oSearchDiyBtn">{{ storeSearchBtn.but_title }} <icon class="fa fa-angle-right "></icon>
|
||
</view>
|
||
</view>
|
||
|
||
<view style="height: 100rpx"></view>
|
||
<view class="detail_pay">
|
||
<view class="ul total">
|
||
<view class="deposit li">
|
||
<text class="small" wx:if="{{isRent}}">(押金{{language['money']}}{{goodsInfo.total_deposit}}可退)</text>
|
||
</view>
|
||
<view class="li" style="display:flex;align-items:center;">
|
||
合计:
|
||
<view class="font">
|
||
{{language['money']}}
|
||
<text class="span span_t">{{price}}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="order_delete {{yz_subscribe_disabled ? 'disabled' : ''}}" catchtap="submit">提交订单
|
||
</view>
|
||
</view>
|
||
|
||
<!--优惠券-->
|
||
<van-popup bind:click-overlay="couponclose" show="{{popupCouponSpecs}}" position="bottom" overlay="{{true}}">
|
||
<view class="add-info">
|
||
<view class="coupon-list-info" wx:for="{{coupons}}" wx:key="index" wx:for-item="coupon" wx:for-index="index">
|
||
<view class="checkList" wx:if="{{cup_notice}}">
|
||
<van-checkbox data-item="{{coupon}}" data-index="{{index}}" disabled="{{!coupon.valid}}" value="{{coupon.checked}}" bind:change="selectCoupon" shape="square"></van-checkbox>
|
||
</view>
|
||
<view class="{{coupon.valid?'coupon_voucher_main':''}} {{!coupon.valid?'coupon_voucher_gray':''}}">
|
||
<view class="coupon_voucher_left">
|
||
<view wx:if="{{coupon.belongs_to_coupon.coupon_method==1}}">
|
||
<view class="p coupon_voucher_amount type_large">
|
||
{{coupon.belongs_to_coupon.deduct}}
|
||
</view>
|
||
<view class="p coupon_voucher_limit">满{{coupon.belongs_to_coupon.enough}}立减</view>
|
||
</view>
|
||
<view wx:else>
|
||
<view class="p coupon_voucher_amount type_large">
|
||
{{coupon.belongs_to_coupon.discount}}折
|
||
</view>
|
||
<view class="p coupon_voucher_limit">满{{coupon.belongs_to_coupon.enough}}立享</view>
|
||
</view>
|
||
</view>
|
||
<view class="coupon_voucher_hr"></view>
|
||
<view class="coupon_voucher_right">
|
||
<view class="p coupon_voucher_range">{{coupon.belongs_to_coupon.name}}</view>
|
||
<view wx:if="{{is_coupon_SELE&& coupon.checked && coupons_temp[coupon.coupon_id] }}" class="coupon-stepper">
|
||
<view class="coupon-stepper-num">{{ coupon.has_conpon_id.length }}张</view>
|
||
<van-stepper input-class='input-box' plus-class='plus-box' minus-class='minus-box' data-item="{{coupon}}" data-index="{{index}}" integer value="{{ coupons_temp[coupon.coupon_id].num }}" async-change bind:change="changeConpon" />
|
||
</view>
|
||
<view wx:if="{{!is_coupon_SELE }}" class="p coupon_voucher_period">{{coupon.time_start}}-{{coupon.time_end}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="coubtngroup">
|
||
<view class="btn sure" bindtap="couponclose">{{ isCueCoupon ? '确定使用' : '确认' }}</view>
|
||
<view class="btn close" bindtap="couponclose">{{ isCueCoupon && use_coupon_size == 0 ? '不用优惠' : '取消' }}</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<van-popup custom-style="width:100%;height:100%;" show="{{agreementShow}}" position="right" overlay="{{false}}">
|
||
<view class="agreementContent">
|
||
<van-nav-bar title="租赁协议" left-text="" right-text="" left-arrow bind:click-left="agreementClose" />
|
||
<view class="h3">{{agreeCon.pact_title}}</view>
|
||
<view class="p">
|
||
<rich-text nodes="{{agreeCon.lease_toy_pact ?agreeCon.lease_toy_pact : ''}}"></rich-text>
|
||
<!-- <template is="wxParse" data="{{wxParseData:article_1.nodes}}" /> -->
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
<van-popup custom-style="width:100%;height:100%;" show="{{agreementPayShow}}" position="right" overlay="{{false}}">
|
||
<view class="agreementContent">
|
||
<van-nav-bar title="支付协议" left-text="" right-text="" left-arrow bind:click-left="showPayClose" />
|
||
<view class="p">
|
||
<rich-text nodes="{{AgreementPay}}"></rich-text>
|
||
<!-- <template is="wxParse" data="{{wxParseData:article_2.nodes}}" /> -->
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
</view>
|
||
|
||
<!--自定义表单-->
|
||
<block class="diy-from-box" wx:if="{{diyShow}}">
|
||
<van-nav-bar title="填写表单" left-text="" right-text="" left-arrow bind:click-left="showDiyClose" />
|
||
<dsfrom datas="{{diyform}}" modeType="single" params="{{'order'}}" bind:traCheckedData="traCheckedData"></dsfrom>
|
||
</block>
|
||
|
||
<van-popup custom-style="width:100%;height:100%;overflow:auto;" show="{{deliveryScopeShow}}" position="right" overlay="{{false}}">
|
||
<view class="deliverContent" style="width:100%;height:100%">
|
||
<van-nav-bar title="配送范围" left-text="" right-text="" left-arrow bind:click-left="deliveryScopeShowClose" />
|
||
<map id="map" longitude="{{delivery.longitude}}" latitude="{{delivery.latitude}}" scale="14" markers="{{markers_2}}" style="width: 100%; height: 100%" show-location="{{true}}" polygons="{{polygons_2}}" bindtap="testbtn"></map>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<van-dialog use-slot async-close show="{{rentShow}}" show-cancel-button bind:close="rentShowClose">
|
||
<van-field type="number" bind:clear="rentclear" bind:input="rentShowinp" value="{{tenancy}}" label="自定义租期" placeholder="请输入自定义租期" />
|
||
</van-dialog>
|
||
|
||
<!--选择安装时间-->
|
||
<van-popup position="bottom" show="{{installDateShow}}" bind:close="setInstallDateShow">
|
||
<van-datetime-picker title="选择完整时间" type="datetime" min-date="{{ minDate }}" value="{{ minDate }}" bind:confirm="bindInstallDateChange" />
|
||
</van-popup>
|
||
|
||
<!-- 地址选择器弹窗组件 -->
|
||
<yz_addressList show="{{showAddressList}}" polygons="{{polygons_2}}" dispatch="{{delivery_status}}" need_lat="{{need_lat}}" status="{{selected}}" bind:confirm="confirmSelectAddress"></yz_addressList>
|
||
<!-- 地址选择器弹窗组件 -->
|
||
|
||
<van-toast id="van-toast" />
|
||
|
||
<!-- 上门安装服务切换位置 -->
|
||
<van-popup custom-style="width:100%;height:100%;" show="{{showInstallPop}}" position="bottom" overlay="{{false}}">
|
||
<yz-wapmap bind:confirm="confirmLocation"></yz-wapmap>
|
||
</van-popup>
|
||
|
||
<yz_area show="{{showArea}}" bind:confirm="confirmArea"></yz_area>
|
||
|
||
<van-popup custom-style="border-radius: 10rpx;" show="{{ferightExplainPop}}" bind:close="setCodeShow">
|
||
<view class="ferightExplain">
|
||
<view class="ferightExplain-title">运费说明</view>
|
||
<view class="ferightExplain-content">
|
||
<view wx:for="{{freightExplain.freight_explain_content}}" wx:key="{{index}}">{{item}}</view>
|
||
</view>
|
||
<view class="ferightExplain-button" bindtap="setFreightExplainPop">确定</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<!-- 同城配送 配送时间 -->
|
||
<city-delivery-day class="deliveryTime" bind:confirm="cityDeliveryDayConfirm"></city-delivery-day>
|
||
|
||
|
||
<!-- 同城配送 计费规则 -->
|
||
<van-popup show="{{costSpecShow}}" position="bottom" closeable round data-name="costSpecShow" bindtap="setPopShow">
|
||
|
||
<view class="costSpec">
|
||
<view class="costSpec-title">计费规格</view>
|
||
<view class="costSpec-container" wx:if="{{cityDelivery && cityDelivery.price_setting}}">
|
||
<view class="costSpec-items" wx:if="{{cityDelivery.price_setting.distance_setting}}">
|
||
<view class="costSpec-h2">按距离配送</view>
|
||
<view class="costSpec-texts" wx:for="{{cityDelivery.price_setting.distance_setting}}" wx:key="level">
|
||
<text class="costSpec-text">{{item.level==1 ? (item.unit+'公里内') : ('范围'+item.unit+'公里')}}</text>
|
||
<text class="costSpec-text">{{item.level==1 ? '起步价' : '每公里+'}} <text class="costSpec-price">¥ {{item.amount}}</text></text>
|
||
</view>
|
||
</view>
|
||
<view class="costSpec-items" wx:if="{{cityDelivery.price_setting.weight_setting}}">
|
||
<view class="costSpec-h2">按重量配送</view>
|
||
<view class="costSpec-texts" wx:for="{{cityDelivery.price_setting.weight_setting}}" wx:key="level">
|
||
<text class="costSpec-text">{{item.level==1 ? item.unit+'KG内' : '范围'+item.unit+'KG'}}</text>
|
||
<text class="costSpec-text">{{item.level==1 ? '起步价' : '每KG+'}} <text class="costSpec-price">¥ {{item.amount}}</text></text>
|
||
</view>
|
||
</view>
|
||
<view class="costSpec-items" wx:if="{{cityDelivery.price_setting.night_setting}}">
|
||
<view class="costSpec-h2">夜间配送</view>
|
||
<view class="costSpec-texts" wx:for="{{cityDelivery.price_setting.night_setting}}" wx:key="level">
|
||
<text class="costSpec-text">{{item.start_time_str}}-{{item.end_time_str}}</text>
|
||
<text class="costSpec-text">服务费+ <text class="costSpec-price">¥ {{item.amount}}</text></text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<!-- 同城配送 送达社区 -->
|
||
<van-popup show="{{selectCommunityShow}}" position="bottom" closeable round>
|
||
<view class="selectCommunity">
|
||
<view class="selectCommunity-title">送达社区</view>
|
||
<view class="selectCommunity-container" wx:if="{{cityDelivery && cityDelivery.community_setting}}">
|
||
<van-radio-group value="{{cityDelivery_community_id}}" bind:change="changeCityDeliveryCommunity">
|
||
<view class="selectCommunity-items" wx:for="{{cityDelivery.community_setting.community_list}}" wx:key="{{item.id}}">
|
||
<view class="selectCommunity-text">{{item.name}}</view>
|
||
<view class="selectCommunity-radio">
|
||
<van-radio name="{{item.id}}" checked-color="#f15353"></van-radio>
|
||
</view>
|
||
</view>
|
||
</van-radio-group>
|
||
</view>
|
||
<view class="selectCommunity-btns">
|
||
<view class="selectCommunity-btn" bindtap="setCityDeliveryCommunity">确定</view>
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<!-- 同城配送 送达区域 -->
|
||
<van-popup show="{{serviceRegionShow}}" position="bottom" closeable round bind:close="setPopShow" data-name="serviceRegionShow">
|
||
<view class="serviceRegion">
|
||
<view class="serviceRegion-title">可送达区域</view>
|
||
<view class="serviceRegion-container" wx:if="{{cityDelivery && cityDelivery.area_setting}}">
|
||
<view class="serviceRegion-item" wx:for="{{cityDelivery.area_setting.city_list}}">{{item.areaname}}</view>
|
||
<view class="serviceRegion-item" wx:for="{{cityDelivery.area_setting.district_list}}">{{item.areaname}}</view>
|
||
<view class="serviceRegion-item" wx:for="{{cityDelivery.area_setting.street_list}}">{{item.areaname}}</view>
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
|
||
|
||
|