index.wxml
1.07 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
<view class="gl-video-page custom-class">
<view class="video-play-box video-play-class" wx:if="{{list || list.videoUrl}}">
<video
src="{{current.vedioUrl}}"
class="video-box"
></video>
</view>
<view class="video-title">
<view class="title">
{{current.title}}
</view>
<view class="total">
<image class="img" src="../assets/eye.png" />
<text class="">{{current.view}}</text>
</view>
</view>
<view class="video-content" wx:if="{{likeList || likeList.length}}">
<view class="head">猜你喜欢</view>
<scroll-view
class="video-list"
enable-flex
scroll-x
>
<view
class="cell"
wx:for="{{likeList}}"
wx:key="index"
>
<gl-video
src="{{item.prodImg}}"
title="{{item.proName}}"
user-name="{{item.manufacturer || '嘀加智慧'}}"
visit="{{item.view}}"
data-info="{{item}}"
data-index="{{index}}"
catchtap="chooseVideo"
></gl-video>
</view>
</scroll-view>
</view>
</view>