sureorder.wxml 5.2 KB
<view class="ordertext">
<!-- 订单确认页面 -->
<view class="enterinfo">
  <view class="commentlist-doctor user_place">
    <view class="commentlist_name entername">姓名</view>
    <view class="commentlist_right enter_right">
      <input class="commentlsit_date" placeholder="请输入姓名" type="text" bindinput='orderName'/>
    </view>
  </view>
  <view class="commentlist-doctor user_place">
    <view class="commentlist_name entername">手机号</view>
    <view class="commentlist_right enter_right">
      <input class="commentlsit_date" placeholder="请输入手机号" type="number" bindinput='orderPhone'/>
    </view>
  </view>
  <view class="commentlist-doctor user_place" wx:if="{{isService==1}}">
    <view class="commentlist_name entername">服务地址</view>
    <view class="commentlist_right enter_right">
      <input class="commentlsit_date" placeholder="请输入服务地址" type="text" bindinput='orderAddress'/>
    </view>
  </view>
</view>
<!-- begin:门店选择 -->
<view class="shopitem">
  <view class="commentlist-doctor shopselect">
    <view class="commentlist_name">门店</view>

    <picker bindchange="bindAddres" value="{{ressIndex}}" range="{{addressCon}}" range-key="name">
      <view class="commentlist_right">
        <view class="commentlsit_date selshop">{{shopname}}</view>
        <view class="row">
          <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
        </view>
      </view>
    </picker>

  </view>

  <view class="commentlist-doctor shopselect">
    <view class="commentlist_name">是否选择上门服务</view>
    <view class='detail_check'>
      <checkbox checked='{{checked}}' bindtap="checkboxChange"></checkbox>
    </view>
  </view>
</view>
<!-- begin:留言 -->
<view class="commentlist-doctor messageinfo">
  <view class="commentlist_name entername">留言</view>
  <view class="commentlist_right enter_right">
    <input class="commentlsit_date" placeholder="您给服务商的留言"  bindinput='orderLeave'/>
  </view>
</view>
<!-- begin:订单信息 -->
<view class="ordertail">
  <view class="order_infotail">订单信息</view>
  <view class="nearsupport_item">
    <view class="support_item_img">
      <image src="{{orderInfo.list_pic}}"></image>
    </view>
    <view class="support_item_content">
      <view class="support_item_name">{{orderInfo.title}}</view>
      <view class="support_item_price">
        <text class="shopprice"><text class="moneysign">¥</text>{{orderInfo.now_money}}</text>
      </view>
    </view>
  </view>
</view>
<view class="totalprice">
  <view class="commentlist-doctor totalitem" bindtap="chosecoupon">
    <view class="commentlist_name">优惠券</view>
    <view class="commentlist_right"> 


    <text wx:if="{{couponmoney=='请选择'}}"></text> 
    <text wx:else>¥</text>
        {{couponmoney}}

        <view class="row" wx:if="{{couponmoney=='请选择'}}" style="width:37rpx;height:37rpx;">
          <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
        </view>
        </view>
   
  </view>
  <view class="commentlist-doctor totalitem">
    <view class="commentlist_name">总计</view>
    <view class="commentlist_right">¥{{total}}</view>
  </view>
</view>
<!-- begin:固定底部 -->
<view class="sureconsult">
  <view class="consult_kefu" bindtap='secreTap'>
    <view class="consultimg">
      <image src="http://bronet.ibaby88.cn/dicon01@2x.png"></image>
    </view>
    <view class="consultke">咨询客服</view>
  </view>
  <view class="surepay" bindtap='paymentTap'>确定支付</view>
</view>
<!-- begin:小秘书弹层 -->
<view class='tenant_fn' wx:if="{{secretary}}" bindtap='hideTap'>
  <view class='tenant_box'>
    <view class='tenant_code'>微信号:{{wxtary}}</view>
    <view class='tenant_txt'>一键复制 添加小秘书为好友咨询</view>
    <view class='tenant_btn' catchtap='bindCopy'>一键复制</view>
  </view>
</view>
<view wx:else></view>
<view class='tenant_fn' wx:if="{{couponlist}}" bindtap="hideTap">
  <view class='tenant_box'>
      <view class="nocoupon" wx:if="{{couponcontent.length==0}}">暂无优惠券</view>

      <view class="couponlist" wx:else>
      <block wx:for="{{couponcontent}}" wx:for-index="index" wx:key="">
     
          <view class="couponimg" >
            <image src="http://bronet.ibaby88.cn/eicon09@2x.png"></image>
            <view class="couponlistcontent">
            <view class="couponlisttext">
            <view class="couponname">{{item.title}}</view>
            <view class="coupondate" wx:if="{{item.over_time!=99999999999}}">有效期至:{{item.over_time}}</view>
            </view>
            <view class="selectcoupon">
                <!-- <radio checked="{{item.selectcoupon}}" data-couponid="{{item.id}}" bindtap="selectcouponitem" /> -->

             <view class="iconfont icon-xuanze1" wx:if="{{item.selectcoupon}}" catchtap='selectcouponitem'  data-couponid="{{item.couponLogId}}" data-choseid="{{index}}"></view>
             <view class="iconfont icon-xuanze" wx:else catchtap='selectcouponitem'  data-couponid="{{item.couponLogId}}" data-choseid="{{index}}"></view>
            </view>
            
            </view>   
          </view>
      </block>    
      </view>

      <view class="iconfont icon-chahao" ></view>
  </view>
</view>

</view>