home.wxml
9.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
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<view class="container">
<view class="header">
<view class="s" style='height:{{statusTop}}px'></view>
<view class="left_img">
<view class="title_oage" bindtap="gohome">汽车互联网4S店</view>
</view>
</view>
<view class="health">
<view class="top_new">
<view class="car_q">
<view class="nv_lf">
<view class="nv_two" wx:if="{{homeChe == null}}" bindtap="addLoveCared">
<image src="{{imagesUrl}}assets/static/img/v-o.png" />
<view class="nv_top_names">未添加爱车</view>
</view>
<view class="nv_one" wx:else>
<image src="{{homeChe.pin.img}}" />
<view class="car_img">
<view class="car_n">{{homeChe.pai_name}}</view>
<view class="car_m">{{homeChe.pin.name}}</view>
</view>
</view>
</view>
<view class="nv_rt" bindtap="toMyGarage">
<image src="{{imagesUrl}}assets/static/img/v-w.png" />
<view class="car_b">车库</view>
</view>
</view>
<view class="car_center">
<view class="car_item">
<view class="car_i_a">
<image src="{{imagesUrl}}assets/static/img/v-k.png" />
<view class="car_i_text">车辆保险</view>
</view>
<view class="car_i_b" wx:if="{{homeGouDay.xian_str!='???天到期'}}">
{{homeGouDay.xian_str}}
</view>
</view>
<view class="car_item" bindtap="goUpkeepimg">
<view class="car_i_a">
<image src="{{imagesUrl}}assets/static/img/v-j.png" />
<view class="car_i_text">车辆保养</view>
</view>
<view class="car_i_b" wx:if="{{homeGouDay.yang_str!='???天到期'}}">
{{homeGouDay.yang_str}}
</view>
</view>
<view class="car_item">
<view class="car_i_a">
<image src="{{imagesUrl}}assets/static/img/v-l.png" />
<view class="car_i_text">车辆年检</view>
</view>
<view class="car_i_b" wx:if="{{homeGouDay.jian_str!='???天到期'}}">
{{homeGouDay.jian_str}}
</view>
</view>
</view>
<view class="car_d_gong">
<image src="{{imagesUrl}}assets/static/img/v-z.png" />
<swiper class="tab_right" vertical="true" circular="true" autoplay="true" interval="2000" display-multiple-items='1'>
<block wx:for='{{homeInfo}}' wx:key="index" wx:for-index="index" wx:for-item="item">
<swiper-item>
<view class="time">{{item.cnt}}</view>
</swiper-item>
</block>
</swiper>
</view>
<!-- 轮播 -->
<view class="banner_image">
<swiper class="banner" indicator-color="{{indicator}}" indicator-active-color="{{indicatorActive}}" circular='{{circular}}' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}">
<swiper-item wx:for="{{homeLoop}}" wx:key="index" wx:for-index="index" wx:for-item="item">
<navigator class="ims" hover-class="none">
<image src="{{item.img}}" bindtap="linkWebview" />
</navigator>
</swiper-item>
</swiper>
</view>
</view>
<view class="center_nav {{homeGouDay.yang_str !='???天到期'? '' : 'active_conter_nav'}}">
<view class="nav_new">
<!-- <view class="nav_item" bindtap="goViolationQuery">
<image src="{{imagesUrl}}assets/static/img/v-i.png" />
<view class="nav_text">违章查询</view>
</view> -->
<view class="nav_item" bindtap="goUpkeepimg">
<image src="{{imagesUrl}}assets/static/img/v-h.png" />
<view class="nav_text">保养预约</view>
</view>
<view class="nav_item" bindtap="goVopenPolicy">
<image src="{{imagesUrl}}assets/static/img/v-g.png" />
<view class="nav_text">保险预约</view>
</view>
<view class="nav_item" bindtap="goVopenPolicyC">
<image src="{{imagesUrl}}assets/static/img/v-f.png" />
<view class="nav_text">年检预约</view>
</view>
<view class="nav_item" bindtap="goVopenPolicyB">
<image src="{{imagesUrl}}assets/static/img/v-e.png" />
<view class="nav_text">爱车评估</view>
</view>
</view>
<view class="nav_search" bindtap="goSearch">
<image src="{{imagesUrl}}assets/static/img/v-y.png" />
<input type="text" class="nav_sear" placeholder="请输入汽车4S店名称" placeholder-class="input_placeholder" />
</view>
<view class="bind_nm">
<view class="bind_box">
<view class="bind_have" bindtap="gobind4S" wx:if="{{bind_car== 0}}">
<view class="bind_lf">
<image src="{{imagesUrl}}assets/static/img/v-r.png" />
<view class="bind_tex">未绑定4S店</view>
</view>
<view class="bind_rt" style="justify-content: flex-end;">
<view class="bind_tdt">立即绑定</view>
<image src="{{imagesUrl}}assets/static/img/x-h.png" style="width : 28rpx ;height : 20rpx" />
</view>
</view>
<view class="wu_bind">
<view class="no_bind" wx:if="{{bind_car== 0 && index4S.length ==0}}">
<view class="bind_good">推荐好店</view>
<view class="bind_list">
<block wx:for="{{groom}}" wx:key="index" wx:for-index="index" wx:for-item="item">
<view class="bind_item" bindtap="ToV4Sstores" data-id="{{item.id}}">
<view class="bind_box">
<view class="b_name">{{item.name}}</view>
<view class="b_star {{item.guan_id== 1?'ative' :''}}" catchtap="clickAttention" data-id="{{item.id}}">
<image src="{{imagesUrl}}assets/static/img/x_a.png" />
<view class="rext">{{item.guan_id ==1? '已关注' :'关注'}}</view>
</view>
</view>
<view class="b_address title_content2">{{item.address_detail}}</view>
</view>
</block>
</view>
</view>
</view>
<view class="you_bind" wx:if="{{index4S.length !=0}}">
<block wx:for="{{index4S}}" wx:for-index="index" wx:for-item="item" wx:key="index">
<view class="s_bind_box">
<view class="bind_have" catchtap="goV4Sstores" data-id="{{item.s4_data.id}}">
<view class="bind_lf">
<image src="{{imagesUrl}}assets/static/img/v-r.png" />
<view class="bind_tex">{{item.s4_data.name}}</view>
</view>
<view class="bind_rt" style="justify-content: flex-end;">
<view class="bind_tdt">进入4S店</view>
<image src="{{imagesUrl}}assets/static/img/x-h.png" style="width : 28rpx ;height : 20rpx" />
</view>
</view>
<view class="star_Car" wx:if="{{item.ming_data.length !=0}}">
<view class="star_name">热卖商品</view>
<view class="star_list">
<scroll-view scroll-x="true" bindscroll="scroll" style="width:100%;" bindscrolltoupper="upper" bindscrolltolower="lower">
<view class="scro">
<view class="category_list" wx:for="{{item.ming_data}}" wx:key="index1" wx:for-index="index1" wx:for-item="item1" catchtap="goToAccess" data-id="{{item1.id}}">
<image src="{{item1.img}}"></image>
<view class="car_name">{{item1.name}}</view>
<view class="car_price">
<view class="pt">
<view class="pt_icon">¥</view>
<view class="pt_price">{{item1.price}}</view>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
<view class="week_hot">
<view class="star_name">本周特卖</view>
<view class="week_box">
<view class="left_big" catchtap="toGoDetailA" data-idata="{{item.img_data}}" data-tir="0">
<image src="{{item.img_data.image1}}" />
</view>
<view class="rt_box">
<view class="ry_top" catchtap="toGoDetailB" data-idata="{{item.img_data}}" data-tir="1">
<image src="{{item.img_data.image2}}" />
</view>
<view class="ry_down" catchtap="toGoDetailC" data-idata="{{item.img_data}}" data-tir="2">
<image src="{{item.img_data.image3}}" />
</view>
</view>
</view>
</view>
</view>
</block>
</view>
</view>
</view>
<view class="more_4S" bindtap="more4SList">
<image src="{{imagesUrl}}assets/static/img/v-u.png" />
<view class="more_name">关注更多4S店</view>
</view>
</view>
</view>
</view>