cart.wxml
6.3 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
<view class="cartboxhead">
<view class="del" wx:if="{{delshow}}" bindtap="delcart">删除</view>
<view class="managerlist">
<view class="cartboxheadright" bindtap="manage">
<image src="/img/seetingimger.png"></image>
</view>
<view class="cartboxrightname">管理</view>
</view>
</view>
<view class="nodata" wx:if="{{cartlist.length==0}}">暂无数据</view>
<view class="cartbigboxz" wx:else>
<view class="cartbox gouwuche" wx:for="{{cartlist}}" wx:key="">
<!-- 视频 -->
<view class="cartvideo" >
<view class="cartbboxitem" wx:key="" >
<block catchtap="ti">
<view class="cartboxitemleft" catchtap="selcart" data-type="1" data-cartid="{{item.video_id}}">
<image src="/img/noselect.png" wx:if="{{item.sel==false}}"></image>
<image src="/img/selectcart.png" wx:else></image>
</view>
<view class="cartboxitemright">
<view class="videoitemimg" data-id="{{item.video_id}}" bindtap="videodetail">
<image src="{{item.image}}"></image>
<view class="anniu">
<image src="/img/anniu.png"></image>
</view>
<image src="/img/videotop.png" class="shipintop"></image>
<image src="/img/videotop.png" class="shipinbot"></image>
<view class="cartboxitembottom">
<view class="cartboxitembotleft">
{{item.title}}
</view>
<view class="cartboxitembotleft">
{{item.attribute}}
</view>
</view>
</view>
</view>
</block>
</view>
</view>
</view>
</view>
<!-- wx:if="{{type==1}}" -->
<view class="cartfoot" >
<view class="cartfootleft">
<view class="cartfootlefimg" bindtap="selallcart">
<image src="/img/noselect.png" wx:if="{{totalsel==false}}"></image>
<image src="/img/selectcart.png" wx:else></image>
</view>
</view>
<view class="cartfootright" bindtap="hejisuan">{{video_id.length>1?'合并申请':'申请'}}</view>
</view>
<view class="crema" bindtap="yuyue">
<view class="cremaimg">
<image src="/img/camera2.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>
<!-- 使用申请 -->
<view class="xiazairegister" wx:if="{{shouwrap}}">
<view class="xiazaiwrapk">
<view class="shouquanxin">素材使用申请书</view>
<view class="xiazaiitem">
<view class="xizaileft">姓名:</view>
<view class="xiazairight">
<input placeholder='请输入' bindinput="entername" />
</view>
</view>
<view class="xiazaiitem">
<view class="xizaileft">联系方式:</view>
<view class="xiazairight">
<input placeholder='请输入' bindinput="enterphone" type="number" />
</view>
</view>
<view class="xiazaiitem">
<view class="xizaileft">公司名称:</view>
<view class="xiazairight">
<input placeholder='请输入' bindinput="entercompany" type="text" />
</view>
</view>
<view class="xiazaiitem">
<view class="xizaileft">邮箱:</view>
<view class="xiazairight">
<input placeholder='请输入' bindinput="enteremail" />
</view>
</view>
<view class="yong">
<view class="xizaileft yongleft">使用用途:</view>
<view class="xiazairight yongtu">
<textarea placeholder='请输入' bindinput="enteruse" />
</view>
</view>
<view class="xiazaiitem">
<view class="xizaileft">公章照片:</view>
<view class="zhaopic" bindtap="chooseImage">
<image src="{{image}}"></image>
</view>
</view>
<view class="flexthree">
<view class="quding quxiao" bindtap="cancel">取消</view>
<view class="quding" bindtap="surexia">确定</view>
</view>
</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>