homepage.wxml
3.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
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
<view class="videobox">
<view class="videohead" bindtap="govideo">
<image src='{{thumbinal}}'></image>
<view class="anniu">
<image src="/img/anniu.png"></image>
</view>
</view>
<view class="search" >
<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
<!-- <view class="picker">
当前选择:{{array[index]}}
</view> -->
<view class="searchleft">
<view class="searchleftname">{{array[index]}}</view>
<view class="searchsanjiao">
<image src='/img/sanjiaodown.png'></image>
</view>
</view>
</picker>
<view class="picxian"></view>
<view class="searchright" bindtap="gosearch">
<view class="searchfightimg">
<image src="/img/sousuo.png"></image>
</view>
<view class="searchrightname" >
<input placeholder='点击这里搜一搜' />
</view>
</view>
<div class="wrapper" bindtap="gosearch">
<div class="circle">
<image src="/img/hand.png"></image>
</div>
<!-- <div class="finger">
<image src="/img/shou2.png"></image>
</div> -->
</div>
</view>
<!-- 搜索内容 -->
<view class="searchbox">
<!-- 搜索图片 -->
<view class="searchboximg" bindtap="picbox">
<view class="searchimg">
<image src="{{pic}}"></image>
</view>
</view>
<!-- 搜索视频 -->
<view class="searchvideo" bindtap="videobox">
<view class="searchvideoimg">
<image src="{{image}}"></image>
<view class="anniu">
<image src="/img/anniu.png"></image>
</view>
</view>
</view>
</view>
</view>
<!-- 预留电话 -->
<view class="register" wx:if="{{phoneshow}}" bindtap="hidewrap">
<view class="phonewrap" catchtap='enter'>
<view class="phonename">请输入您的手机号</view>
<view class="phoneenter">
<input placeholder='请输入手机号' bindinput="enterphone" type="number" />
</view>
<view class="surebtn" bindtap="surebtn">确定</view>
</view>
</view>
<view class="crema" bindtap="yuyue">
<view class="cremaimg">
<image src="/img/crema.png"></image>
</view>
<!-- <view class='yuyeu'>预约</view> -->
<view class='yuyeu'>预约拍摄</view>
</view>
<!-- 底部导航 -->
<view class="teacherfooter">
<view class="teacherfootitem" bindtap="footersel" data-id="1">
<view class="teacherfootitemtop shou">
<image src="{{footersel==1?'/img/shouyeactive.png':'/img/shouye.png'}}"></image>
</view>
<view class="teacherfootname {{footersel==1?'selactive':''}}">首页</view>
</view>
<view class="teacherfootitem" bindtap="footersel" data-id="2">
<view class="teacherfootitemtop order">
<image src="{{footersel==2?'/img/kindactive.png':'/img/kind.png'}}"></image>
</view>
<view class="teacherfootname {{footersel==2?'selactive':''}}">分类</view>
</view>
<view class="cremaimgox"></view>
<view class="teacherfootitem" bindtap="footersel" data-id="3">
<view class="teacherfootitemtop rili">
<image src=" {{footersel==3?'/img/cartactive.png':'/img/cart.png'}}"></image>
</view>
<view class="teacherfootname {{footersel==3?'selactive':''}}">购物车</view>
</view>
<view class="teacherfootitem" bindtap="footersel" data-id="4">
<view class="teacherfootitemtop show">
<image src="{{footersel==4?'/img/mineactive.png':'/img/mine.png'}}"></image>
</view>
<view class="teacherfootname {{footersel==4?'selactive':''}}">我的</view>
</view>
</view>