homepage.wxml
2.8 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
<view class="videohead">
<image src='{{thumbinal}}'></image>
</view>
<view class="videobox">
<view class="search">
<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> -->
</view>
<view class="nodata" wx:if="{{sortlist.length==0}}">暂无数据</view>
<view class="searchvideo" wx:else>
<view wx:for="{{sortlist}}" wx:key="index" bindtap="govideo" data-id="{{item.id}}">
<view class="searchvideoimg">
<image src="{{item.image}}"></image>
<image src="/img/videotop.png" class="shipintop"></image>
<image src="/img/videotop.png" class="shipinbot"></image>
</view>
<view class="picname">{{item.name}}</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/crema1.png"></image>
</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>