appintment.wxml
5.3 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!--pages/appointment/appintment.wxml-->
<import src="../../wxParse/wxParse.wxml" />
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="true" indicator-active-color='#fff'>
<block wx:for="{{postdata.slide}}" wx:key>
<swiper-item>
<view class='item_img'>
<image src="{{item.image}}" class="slide-image" />
</view>
</swiper-item>
</block>
</swiper>
<view class='appintmentbox' >
<view class='appint_item' wx:if='{{address.length==0}}' bindtap='chooseadress'>
<view class='int_rigth'>
<view class='int_img'>
<image src='../imgs/aicon11@2x.png'></image>
</view>
<text>地址信息</text>
</view>
<view class='int'>
<view class='vlue_txt'>请选择新建地址</view>
</view>
<view class='iconfont icon-xiangyou'></view>
</view>
<view class='appint_item' wx:else bindtap='chooseadress'>
<view class='address_box'>
<view class='additem'>
<view class='int_rigth'>
<view class='int_img'>
<image src='../imgs/aicon15@2x.png'></image>
</view>
<text>{{address.userName}}</text>
</view>
<view class='int_rigth tel_box'>
<view class='int_img tel_img'>
<image src='../imgs/aicon16@2x.png'></image>
</view>
<text>{{address.telNumber}}</text>
</view>
</view>
<view class='address'>
<view class='addresint'>
<view class='int_img'>
<image src='../imgs/aicon11@2x.png'></image>
</view>
<text>{{address.cityName}}{{address.countyName}}{{address.detailInfo}}</text>
</view>
</view>
</view>
<view class='iconfont icon-xiangyou'></view>
</view>
<view class='info_box'>
<view class='int_title'>
<view>预约信息</view>
<view>
<view class='txt_box' bindtap='setshowstate' data-showstate='2'>
<text class='nimi_txt'>预约须知</text>
<text class='iconfont icon-jinggao'></text>
</view>
</view>
</view>
</view>
<picker mode='date' bindchange="bindDateChange" start='{{nowdate}}' end='{{enddate}}'>
<view class='appint_item'>
<view class='int_rigth'>
<view class='int_img'>
<image src='../imgs/icon_rl.png'></image>
</view>
<text>预约日期</text>
</view>
<view class='int'>
<view class='vlue_txt'>{{choosedate}}</view>
</view>
</view>
</picker>
<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
<view class='appint_item'>
<view class='int_rigth'>
<view class='int_img'>
<image src='../imgs/aicon12@2x.png'></image>
</view>
<text>预约重量</text>
</view>
<view class='int'>
<view class='vlue_txt'>
<!-- <input placeholder-class='input_p' placeholder='请预估衣服重量' bindinput='setweight' type='digit'></input> -->
{{arraytxt}}
</view>
<view class='txt_box' bindtap='setshowstate' data-showstate='1'>
<text class='nimi_txt'>打包说明</text>
<text class='iconfont icon-jinggao'></text>
</view>
</view>
</view>
</picker>
<view class='appint_item'>
<view class='int_rigth'>
<view class='int_img'>
<image src='../imgs/aicon13@2x.png'></image>
</view>
<text>备 注</text>
</view>
<view class='int'>
<view class='vlue_txt input_txt'>
<input placeholder-class='input_p' placeholder='请输入(限制在45字以内)' bindinput='setremark'
value='{{remark}}'></input>
</view>
</view>
</view>
</view>
<view class='tranpost'>
<view class='tranpost_item'>
<view>委托快递</view>
<view class="{{ifexp?'':'gry'}}">{{ifexp?postdata.logistics.logistics_name:'暂无快速'}}</view>
</view>
<view class='tranpost_item'>
<view>运费支付</view>
<view class="{{ifexp?'':'gry'}}">{{ifexp?'象和家':'暂无'}}</view>
</view>
<view class='tranpost_item'>
<view>开通情况</view>
<view>{{city}}【
<text class="txt-green {{ifexp?'':'gry'}}">{{ifexp?'已':'未'}}开通</text>】</view>
</view>
<view class='tranpost_item'>
<view>处置方式</view>
<view>环保+公益+出口
<text class='iconfont icon-xiangyou'></text>
</view>
</view>
</view>
<view class="int_btn {{ifexp?'':'gry_btn'}}" bindtap='submit'>确认提交</view>
<!-- 弹框打包说明 -->
<view class="mold " wx:if='{{showstate==1}}' bindtap='setshowstateno'>
<view class="mold_main {{showstate==1?'Augly-bounceinR':'Augly-fadeoutR'}}">
<view class='mold_titlebox'> 打包说明 </view>
<view class='mold_content'>
<template is='wxParse' data='{{wxParseData:content2.nodes}}' />
</view>
<view class='mold_btn' catchtap='setshowstateno'>我知道了</view>
</view>
</view>
<!-- 弹框预约说明 -->
<view class="mold " wx:if='{{showstate==2}}' bindtap='setshowstateno'>
<view class="mold_main {{showstate==2?'Augly-bounceinR':'Augly-fadeoutR'}}">
<view class='mold_titlebox'> 预约须知 </view>
<view class='mold_content'>
<template is='wxParse' data='{{wxParseData:content1.nodes}}' />
</view>
<view class='mold_btn' catchtap='setshowstateno'>我知道了</view>
</view>
</view>
<!-- 弹框开通说明 -->
<view class="mold " wx:if='{{showstate==3}}' bindtap='setshowstateno'>
<view class="mold_main {{showstate==3?'Augly-bounceinR':'Augly-fadeoutR'}}" >
<view class='mold_titlebox'> 开通说明 </view>
<view class='mold_content'>
<template is='wxParse' data='{{wxParseData:content3.nodes}}' />
</view>
<view class='mold_btn' catchtap='setshowstateno'>我知道了</view>
</view>
</view>