visualstatements.wxml 3.09 KB
<view class='bg'>
<view class='paymentType'>
  <text class='title'>支付方式</text>
  <text class='detail'>在线支付</text>
</view>
<view class="space"></view>

<view class='payTips'>
  <text class='title'>购票须知</text>
  <text class='detail'>{{payTips}}</text>
</view>
<view class="space"></view>
<block wx:for="{{goods_list}}" wx:key="unique">
  <view class="product">
      <view class="productImageView">
        <image class="productImage" src="{{item.goods_images}}">
        </image>
        <image wx:if="{{item.goods_type=='ticket'}}" src="images/vitual@2x.png" class='productImageBottom'></image>
      </view>
      <view class="productDetail">
          <view class="productName">
            <text class="name">{{item.product_name}}</text>
          </view>
          <view class="productColor">
            <text class="color">日期:{{item.color_name}} 区域:{{item.size_name}}</text>
            <!-- <text class="color">区域:{{item.size_name}}</text> -->
          </view>

          <block wx:if="{{item.LRE}}">   
            <view class="order-tipView">
              <image class="icons" src="./images/question-ic@3x.png">
              </image>
              <text class="order-tip" >不支持7天无理由退换货</text>
            </view>
          </block>  
          <block wx:elif="{{item.L15DE}}">
            <view class="order-tipView">
              <image class="icons" src="./images/question-ic@3x.png">
              </image>
              <text class="order-tip" >不支持15天无理由换货</text>
            </view>
          </block>
      </view>
      <view class="productLeft">
        <text class="productPrice">¥ {{item.sales_price}}</text>
        <text class="productNumText">x {{item.buy_number}}</text>
      </view>  
   </view>
  </block>
<view class="space"></view>

 <view class="invoiceCell">
    <view class="invoiceCellName">发票</view>
    <switch checked="{{needInvoice}}" class="switch" bindchange="switch2Change"/>
 </view>
 
 <view class="invoiceCell" style= "display: {{needInvoice?'':'none'}};"bindtap="invoiceIconAction">
        <text class="invoiceCellName">发票信息</text>
        <view class='invoiceCellRight'>
        <block wx:if="{{!invoiceData}}">
          <text class="invoiceCellDetailText">{{invoiceDetail}}</text>
        </block>
        <block wx:elif="{{invoiceData.personal}}">
          <text class="invoiceCellDetailText">电子发票-{{invoiceData.personName}}</text>
        </block>
        <block wx:else>
          <text class="invoiceCellDetailText">电子发票-{{invoiceData.companyName}}</text>
        </block>
        <view class="invoiceCellArrowView">
          <image src="./images/disclosure-arrow_m@2x.png" class="invoiceCellArrowIcon"></image>
        </view>
        </view>
</view>

<view class="payBottom">
  <view class="total">
    <text class='title'>待支付:</text>
    <text class='sum'>¥{{shopping_cart_data.last_order_amount}}</text>
  </view>
  <button class='submit' bindtap='payNow'>确认</button>
</view>
</view>

<import src="../../vendors/toast/wetoast.wxml" />
<template is="wetoast" data="{{...__wetoast__}}" />