charge.wxml 2.4 KB
<!--pages/mall/charge/charge.wxml-->
<view class='content_box'>
  <view class='list_box null_data' wx:if="{{address_list==''}}"  bindtap='addressList'>请添加地址</view>
  <view class='list_box' bindtap='addressList' wx:else>
    <view class='item_list'>
      <view>
        <view>
          <text class='user_name'>{{address_list.name}}</text>
          <text>{{address_list.mobile}}</text>
        </view>
        <view class='list_info'>{{address_list.province}}{{address_list.address}}</view>
      </view>
      <view class='iconfont icon-arrow-right'></view>
    </view>
  </view>
  <view class='list_box'>
    <view class='list_title'>订单信息</view>
    <view class='item_list'>
      <view class='list_info_box'>
        <view class='list_img'>
          <image src='{{orderInfo.image}}'></image>
        </view>
        <view>
          <view class='good_title'>{{orderInfo.goods_name}}</view>
          <view class='good_info'>{{orderInfo.content}}</view>
          <view class='good_num_box'>
            <text class='good_num'>{{orderInfo.now_price}}积分</text>
            <text class='original_price'>{{orderInfo.before_price}}积分</text>
          </view>
        </view>
      </view>
      <view class=''>X1</view>
    </view>
  </view>
  <view class='list_box'>
    <view class='item_list'>
      <view>金额</view>
      <view>{{total_price}}积分</view>
    </view>
    <view class='item_list'>
      <view>数量</view>
      <view class='num'>
        <input type='number' placeholder='请输入数量' bindinput='getNum' value='{{goods_num}}'></input>
      </view>
    </view>
  </view>
  <view class='list_box'>
    <view class='list_title'>备注</view>
    <view class='item_list'>
      <view class='list_input'>
        <textarea placeholder='请填写备注' bindinput='remark'></textarea>
      </view>
    </view>
  </view>
</view>
<view class='item_list charge_list'>
  <view>
    <text class='iconfont icon-c_jifen'></text>
    <text>积分兑换</text>
  </view>
  <view>
    <!-- <text class='iconfont icon-xuanze'></text> -->
    <text class='iconfont icon-xuanze1'></text>
  </view>
</view>
<view class='bottom_box'>
  <view>
    <text>实付金额 : </text>
    <text class='good_num'>{{total_price}}积分</text>
  </view>
  <view class='charge_btn' bindtap='goBuy' data-goods_id='{{orderInfo.id}}' data-address_id='{{address_list.id}}'>立即兑换</view>
</view>