homeindex.wxml
4.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
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
<view class="headimg">
<image src="/img/headimg.png"></image>
<view class="logo">
<image src="/img/logo.png"></image>
</view>
<view class="swiperbox">
<view class="swiper_image">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiper_item_img" bindchange="swiperChange">
<block wx:for="{{imgUrls}}" wx:key="doct">
<swiper-item>
<image src="{{item.image}}" data-index='{{index}}' class="slide-image" bindtap='viewImg' width="355" height="150" />
</swiper-item>
</block>
</swiper>
<view class="swiperdot">{{currentpage}}/{{imgUrls.length}}</view>
</view>
</view>
</view>
<view class="headwhite"></view>
<view class="boximg">
<view class="topbox">
<view class="topboxleft" bindtap="company">
<image src="{{companyImg}}"></image>
<view class="textbox">
<view class="textboxtop">Company profile</view>
<view class="textboxbottom">公司简介</view>
</view>
<view class="yourow">
<image src="/img/row.png"></image>
</view>
</view>
<view class="topboxright_t" bindtap="serviceinto">
<image src="{{introImg}}"></image>
<view class="servicetext">
<view class="serviceword">Service</view>
<view class="serviceword">introduction</view>
<view class="serviceword">服务介绍</view>
</view>
<view class="yourow">
<image src="/img/row.png"></image>
</view>
</view>
</view>
<!-- 普通用户 -->
<view class="topbox xiabox">
<view class="topboxright" bindtap="serviceexperience" wx:if="{{isVip == 0}}">
<image src="{{experImg}}"></image>
<view class="servicetext">
<view class="serviceword">Service</view>
<view class="serviceword">experience</view>
<view class="serviceword">服务体验</view>
</view>
<view class="yourow">
<image src="/img/row.png"></image>
</view>
</view>
<view class="topboxright" bindtap="toRegister" wx:if="{{isVip == 0}}">
<image src="{{registerImg}}"></image>
<view class="servicetext">
<view class="serviceword">Member</view>
<view class="serviceword">registration</view>
<view class="serviceword">会员注册</view>
</view>
<view class="yourow">
<image src="/img/row.png"></image>
</view>
</view>
<view class="topboxright" bindtap="vipmember" wx:if="{{isVip == 0}}">
<image src="{{personalImg}}"></image>
<view class="servicetext">
<view class="serviceword">Personal</view>
<view class="serviceword">center</view>
<view class="serviceword">个人中心</view>
</view>
<view class="yourow">
<image src="/img/row.png"></image>
</view>
</view>
<!-- vip -->
<view class="topboxvip" bindtap="vipmember" wx:if="{{isVip == 1}}">
<image src="{{personalImg}}"></image>
<view class="servicetext">
<view class="serviceword">Personal</view>
<view class="serviceword">center</view>
<view class="serviceword">个人中心</view>
</view>
<view class="yourow">
<image src="/img/row.png"></image>
</view>
</view>
<view class="topboxleft" bindtap="reserveNow" wx:if="{{isVip == 1}}">
<image mode='widthFix' src="{{reservaImg}}"></image>
<view class="textbox">
<view class="textboxtop">Immediately reservation</view>
<view class="textboxbottom">一键预约</view>
</view>
<view class="yourow">
<image src="/img/row.png"></image>
</view>
</view>
</view>
</view>
<view class="bottomimg">
<image src="/img/bottom.png"></image>
</view>
<!-- 是否预约 -->
<!-- 弹窗 -->
<view class="register" wx:if="{{yuyuecancel}}">
<view class="yuyuewrap">
<view class="yuyuewraptop">您确定要进行预约服务吗?</view>
<view class="yuyuebottom">
<view class="yuyuebottomleft" bindtap="cancelyuyue">取消</view>
<view class="yuyuebottomright" bindtap='confirmAppoint'>确定</view>
</view>
</view>
</view>
<!-- 预约成功 -->
<view class="register" wx:if="{{yuyuesuccess}}">
<view class="yuyuewrap">
<view class="yuyuecheng">预约成功</view>
<view class="yuyuechengword">润宝家将尽快与您电话联系</view>
<view class="yuyuesure" bindtap="sure">确定</view>
</view>
</view>