buy.wxml
4.5 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<view class="buy">
<view class="carousel">
<view class="buylist">
<image src="{{List.img}}"></image>
<view class="buylist_center">
<view>{{List.goods_name}}</view>
<view class="buylist_guige">{{List.gui_str}}
</view>
<view>¥ <p style="color: #fe4005;font-size:36rpx">{{List.goods_price}}</p></view>
</view>
<view class="shubox">
<view class="jian right" bindtap="getJian">
<image src="/images/icon_jian1@2x.png"></image>
</view>
<view class="boxshu">{{num}}</view>
<view class="jian left" bindtap="getJia">
<image src="/images/icon_jia2@2x.png"></image>
</view>
</view>
</view>
<!-- <swiper bindchange="chageGoods" class='read_swiper' circular="true" indicator-color="#fff" indicator-dots
autoplay="{{swiper.autoplay}}" interval duration="{{swiper.duration}}" current="{{swiper.current}}">
<block wx:for="{{imgUrls}}" wx:key="index">
<swiper-item>
<image src="{{item.img}}" class="slide-image"></image>
</swiper-item>
</block>
</swiper> -->
<!-- <view class="ingright" bindtap='prevImg' wx:if="{{isright}}">
<image src="/images/icon_more@2x.png"></image>
</view>
<view class="ingleft" bindtap='nextImg' wx:if="{{isleft}}">
<image src="/images/icon_more@2xl.png"></image>
</view> -->
</view>
<view class="box">
<!-- <view class="shul">
<view class="shulname">{{spname}}</view>
<view class="shubox">
<view class="jian" bindtap="getJian">
<image src="/images/icon_jian1@2x.png"></image>
</view>
<view class="boxshu">{{num}}</view>
<view class="jian" bindtap="getJia">
<image src="/images/icon_jia2@2x.png"></image>
</view>
</view>
</view> -->
<view class="box2">
<view class="boxList">
<view class="boxlname">收件人</view>
<input placeholder-class="input-placeholder" value="{{name}}" bindinput="getName" class="inupt_in"
placeholder="请输入收件人姓名"></input>
</view>
<view class="boxList">
<view class="boxlname">联系电话</view>
<input class="inupt_in" type="number" value="{{phone}}" bindinput="getPhone" maxlength="11"
placeholder="请输入联系电话"></input>
</view>
<view class="boxList">
<view class="boxlname">所在地区</view>
<picker class="inupt_in" mode="region" bindchange="bindRegionChange" value="{{region}}"
custom-item="{{customItem}}">
<view class="inupt_in pickerBox">
<view wx:if="{{address == ''}}" class="picker">
请选择所在地区
</view>
<view wx:else class="picker_selected">{{address}}
</view>
<image src="/images/icon_small_more@2x.png"></image>
</view>
</picker>
</view>
<view class="boxList">
<view class="boxlname">详细地址</view>
<input value="{{detailed}}" bindinput="getDetailed" class="inupt_in" placeholder="请输入详细地址"></input>
</view>
</view>
<view class="user_aggre">
<image bindtap='agree_change' wx:if="{{agree}}" class="user_img" src="/images/icon_s_circle@2x.png"></image>
<image bindtap='agree_change' wx:else="{{agree}}" class="user_img" src="/images/icon_n_circle@2x.png">
</image>
已了解 <span bindtap='agreement'>《用户协议》</span>
</view>
</view>
<view class="bottom">
<view class="heji">
<text class="hui"> 合计</text>
<text class="jge">¥{{zhong}}</text>
<text wx:if="{{yun==0}}" class="bao">(包邮)</text>
<text wx:else class="bao">(运费¥{{yun}})</text>
</view>
<view wx:if="{{canpay==1}}" bindtap="xiaOrder" class="botton">立即支付</view>
<view wx:if="{{canpay==0}}" bindtap="" class="botton fade">立即支付</view>
</view>
</view>