charge.wxml
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!--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>