honmeigui/pages/index/index.wxml
2022-12-26 12:02:35 +08:00

287 lines
20 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="content data-v-57280228" style="margin-top: {{height}}px;">
<nav-bar vue-id="8dd740cc-1" name="{{title}}" class="data-v-57280228" style="width: 750rpx;" bind:__l="__l"></nav-bar>
<scroll-view scroll-y="{{true}}" enhanced="{{true}}" show-scrollbar="{{false}}" bounces="{{false}}" data-event-opts="{{[['scrolltolower',[['oNscrolltolower',['$event']]]],['scroll',[['onscroll',['$event']]]]]}}" bindscrolltolower="__e" bindscroll="__e" class="scroll" style="height: {{windowHeight}}px;">
<block wx:if="{{pihuan==1}}">
<!-- <view class="animation1" animation="{{animationDataright}}" wx:if="{{switchIndex}}">
<view class="animation-left" wx:if="{{history}}" data-event-opts="{{[['tap',[['onVideo',['$0'],[[['history','',history.sid,'history.sid']]]]]]]}}" bindtap="__e">
<image class="animation-li1" src="../../static/image/television.png"></image>
<image class="animation-li2" mode="aspectFill" src="{{history.cover}}"></image>
<image class="animation-li3" src="../../static/image/television-ac.png"></image>
</view>
</view> -->
<!-- 右边动画 -->
<!-- <view class="animation2" animation="{{animationData}}" wx:if="{{switchIndex}}">
<image src="../../static/image/animationright.png" data-event-opts="{{[['tap',[['beMessage',['$0'],[[['newvideo','',newvideo.sid,'newvideo.sid']]]]]]]}}" bindtap="__e"></image>
</view> -->
<view class="center1 data-v-57280228">
<view class="center1_l data-v-57280228">
<view wx:if="{{isBs}}" data-event-opts="{{[['tap',[['swichIndex',['$event'],'0']]]]}}" class="{{['data-v-57280228',switchIndex==0?'tapBold':'toptap']}}" bindtap="__e">追剧</view>
<view wx:if="{{isBs}}" data-event-opts="{{[['tap',[['swichIndex',['$event'],'1']]]]}}" class="{{['data-v-57280228',switchIndex==1?'tapBold':'toptap']}}" bindtap="__e">推荐</view>
<view wx:if="{{isBs}}" data-event-opts="{{[['tap',[['swichIndex',['$event'],'2']]]]}}" class="{{['data-v-57280228',switchIndex==2?'tapBold':'toptap']}}" bindtap="__e">资讯</view>
<!-- <view data-event-opts="{{[['tap',[['swichIndex',['$event'],'3']]]]}}" class="{{['data-v-57280228',switchIndex==3?'tapBold':'toptap']}}" bindtap="__e">介绍</view> -->
<view data-event-opts="{{[['tap',[['swichIndex',['$event'],'4']]]]}}" class="{{['data-v-57280228',switchIndex==4?'tapBold':'toptap']}}" bindtap="__e">网友投稿</view>
</view>
<!-- <view class="center1_r data-v-57280228">
<view data-event-opts="{{[['tap',[['onclickSearch']]]]}}" class="center1_r_div data-v-57280228" bindtap="__e">
<image style="height:25rpx;width:25rpx;position:absolute;top:20rpx;left:25rpx;" mode="widthFix" src="../../static/image/search_icon.png" class="data-v-57280228"></image>
<text style="font-size:26rpx;color: #999999;" class="input-search data-v-57280228">{{val}}</text>
</view>
</view> -->
</view>
<block wx:if="{{switchIndex==1}}">
<view class="center2 data-v-57280228">
<swiper class="swiper data-v-57280228" circular="{{true}}" indicator-dots="{{true}}" indicator-active-color="#FFFFFF" indicator-color="rgba(255,255,255,0.4)" autoplay="{{true}}" interval="3000">
<block wx:for="{{dataList.ads}}" wx:for-item="item" wx:for-index="index">
<swiper-item class="swiper_item data-v-57280228" data-event-opts="{{[['tap',[['onVideo',['$0'],[[['dataList.ads','',index,'bookid']]]]]]]}}" bindtap="__e">
<view class="swper_image data-v-57280228">
<image style="width:100%;height:100%;border-radius:28rpx;" mode="widthFix" src="{{item.cover}}" alt srcset class="_img data-v-57280228"></image>
</view>
</swiper-item>
</block>
</swiper>
</view>
<view class="center3 data-v-57280228">
<view class="center3_t data-v-57280228">
<image style="z-index: -999;width:20px;height:20px;border-radius:28rpx;margin-right: 5px;" mode="widthFix" src="../../static/image/tv_icon.png" alt srcset class="_img data-v-57280228;"></image>猜你想追
</view>
<scroll-view class="center3_c data-v-57280228" enhanced="{{true}}" show-scrollbar="{{false}}" scroll-x="true">
<block wx:for="{{dataList.module1}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onVideo',['$0'],[[['dataList.module1','',index,'id']]]]]]]}}" class="scroll-view-item_H data-v-57280228" bindtap="__e">
<image class="image-caini _img data-v-57280228" mode="aspectFill" src="{{item.cover}}"></image>
<view class="biaoti-caini data-v-57280228">{{item.name}}</view>
</view>
</block>
</scroll-view>
</view>
<view class="title-caini data-v-57280228">
<image style="width:20px;height:20px;border-radius:28rpx;margin-right: 5px;z-index: -99;" mode="widthFix" src="../../static/image/index_huo_icon.png" alt srcset class="_img data-v-57280228;"></image>全网热播
</view>
<view class="rebo_pre data-v-57280228">
<block wx:for="{{module2}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onVideo',['$0'],[[['module2','',index,'id']]]]]]]}}" class="rebo data-v-57280228" bindtap="__e">
<view class="image-rebo data-v-57280228">
<image class="image-rebo _img data-v-57280228" mode="aspectFill" src="{{item.cover}}"></image>
</view>
<view class="text-rebo data-v-57280228">{{item.name}}</view>
</view>
</block>
</view>
<view class="button data-v-57280228"><button class="button-rebo data-v-57280228" type="primary" data-event-opts="{{[['tap',[['onItemClick',['$event']]]]]}}" bindtap="__e">更多短剧</button><button class="button-rebo data-v-57280228" type="primary" data-event-opts="{{[['tap',[['nextbatch',['$event']]]]]}}" bindtap="__e">
<image style="width:28rpx;margin-right:8rpx;" mode="widthFix" src="../../static/image/change.png" class="data-v-57280228"></image>换一换
</button></view>
<block wx:if="{{switchIndex}}">
<view class="paihang data-v-57280228">
<view class="paihang_titel data-v-57280228">短剧排行</view>
<view style="padding-top:32rpx;" class="data-v-57280228">
<block wx:for="{{dataList.module3}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onVideo',['$0'],[[['dataList.module3','',index,'id']]]]]]]}}" class="view_form data-v-57280228" bindtap="__e">
<view class="view_form_left data-v-57280228">
<image style="width:192rpx;height:260rpx;border-radius:16rpx;" mode="aspectFill" src="{{item.cover}}" class="_img data-v-57280228"></image>
</view>
<view class="view_form_right data-v-57280228">
<view class="view_form_right_t data-v-57280228">{{''+item.name+''}}</view>
<view class="view_form_right_c data-v-57280228">{{''+item.description+''}}</view>
<view class="view_form_right_b data-v-57280228">
<image style="width:40rpx;height:40rpx;" src="/static/image/huo.png" class="data-v-57280228"></image>
<view class="huoli data-v-57280228">{{''+item.rand+'火力值'}}</view>
</view>
</view>
<!-- @/stat/image/hot_to{{}}.png -->
<view class="huo data-v-57280228">
<image style="width:100%;height:100%;" mode="widthFix" src="../../static/image/hot_to{{index+1}}.png" class="_img data-v-57280228"></image>
</view>
</view>
</block>
</view>
</view>
</block>
<block wx:if="{{switchIndex}}">
<view class="gaoneng data-v-57280228">
<view class="title-gaoneng data-v-57280228">高能爽剧·看主角团搞逆袭</view>
<block wx:for="{{dataList.module4}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onVideo',['$0'],[[['dataList.module4','',index,'id']]]]]]]}}" class="image-gaoneng data-v-57280228" bindtap="__e">
<image mode="aspectFill" style="width:100%;height:100%;border-radius:20rpx;" src="{{item.cover}}" data-event-opts="{{[['tap',[['onvideo',['$event']]]]]}}" bindtap="__e" class="data-v-57280228"></image>
</view>
</block>
</view>
</block>
<block wx:for="{{dataList.module5}}" wx:for-item="item" wx:for-index="index">
<block wx:if="{{switchIndex}}">
<view data-event-opts="{{[['tap',[['onVideo',['$0'],[[['dataList.module5','',index,'id']]]]]]]}}" class="shipin-list data-v-57280228" bindtap="__e">
<view class="shipin_top data-v-57280228">
<image style="border-radius:24rpx 24rpx 0rpx 0;width:100%;height:100%;" src="{{item.cover}}" mode="aspectFill" class="data-v-57280228"></image>
</view>
<view class="shipin_conter data-v-57280228">{{''+item.name+''}}</view>
<view class="shipin_button data-v-57280228">{{''+item.description+''}}</view>
</view>
</block>
</block>
</block>
<block wx:if="{{switchIndex==1}}">
<view class="hr data-v-57280228"></view>
</block>
<block wx:if="{{switchIndex==0}}">
<view class="center6 data-v-57280228">
<block wx:if="{{signin}}">
<!-- -->
<view class="signature data-v-57280228">
<view class="signature_left data-v-57280228">
<image style="width:190rpx;height:56rpx;" src="../../static/image/kbi.png" mode="widthFix" class="_img data-v-57280228"></image>
</view>
<view data-event-opts="{{[['tap',[['alerts',['$event']]]]]}}" class="signature_right data-v-57280228" bindtap="__e">
</view>
<view data-event-opts="{{[['tap',[['alerts',['$event']]]]]}}" bindtap="__e" class="signature_right_btn data-v-57280228">立即签到</view>
</view>
</block>
<view class="watching data-v-57280228">
<view class="watching_tpp data-v-57280228">
<view class="watching_div data-v-57280228">我的追剧</view>
<view wx:if="{{bookcase.length>0}}" data-event-opts="{{[['tap',[['updates']]]]}}" class="watching_div1 data-v-57280228" bindtap="__e">{{''+(update===false?"编辑":"完成")+''}}</view>
</view>
<view class="watching_bobys data-v-57280228">
<block wx:for="{{bookcase}}" wx:for-item="item" wx:for-index="index">
<block wx:if="{{!nulls}}">
<view class="watching_boby_datas data-v-57280228">
<block wx:if="{{update}}">
<view class="watching_image_flot data-v-57280228">
<image style="width:38rpx;height:38rpx;" src="../../static/image/close.png" mode="scaleToFill" class="data-v-57280228"></image>
</view>
</block>
<view data-event-opts="{{[['tap',[['phuan',['$event']]]]]}}" data-id="{{item}}" class="watching_boby_data_image data-v-57280228" bindtap="__e">
<image mode="aspectFill" style="width: 198rpx;height: 266rpx;" class="{{['data-v-57280228',update==false?'watching_boby_images':'watching_boby_image']}}" src="{{item.cover}}"></image>
</view>
<view class="watching_boby_data_t data-v-57280228">{{''+item.name+''}}</view>
<view class="watching_boby_data_l data-v-57280228">{{'观看至'+item.history+'集'}}</view>
</view>
</block>
</block>
<block wx:if="{{nulls}}">
<view class="null data-v-57280228">
<image style="width:466rpx;height:294rpx;" src="../../static/image/null.png" mode="widthFix" class="data-v-57280228"></image>
</view>
</block>
<block wx:if="{{nulls}}">
<view class="sy data-v-57280228">啥也没有</view>
</block>
</view>
<block wx:if="{{showModal}}">
<view class="mask data-v-57280228" catchtouchmove="preventTouchMove" data-event-opts="{{[['tap',[['alerts',['$event']]]]]}}" bindtap="__e"></view>
</block>
<block wx:if="{{showModal}}">
<view class="modalDlg data-v-57280228">
<view class="modalDlg_titel data-v-57280228">签到成功</view>
<view class="modalDlg_image data-v-57280228">
<view class="modalDlg_images data-v-57280228">
<image style="width:280rpx;height:280rpx;" mode="widthFix" src="../../static/image/xinxin.png" class="data-v-57280228"></image>
</view>
</view>
<view class="modalDlg_kb data-v-57280228">{{''+signinMss+''}}</view>
<view data-event-opts="{{[['tap',[['alert',['$event']]]]]}}" class="modalDlg_btn data-v-57280228" bindtap="__e">确定</view>
<view class="close_icon" data-event-opts="{{[['tap',[['alert',['$event']]]]]}}" bindtap="__e" wx:if="{{showModal}}">
<image mode="widthFix" src="../../static/image/close_pd.png" style="width: 66rpx;height: 66rpx;z-index: -9999;">
</image>
</view>
</view>
</block>
</view>
<view class="watchings data-v-57280228">
<view class="watching_tpp data-v-57280228">
<view class="watching_div data-v-57280228">猜你喜欢</view>
</view>
<view class="watching_boby data-v-57280228">
<block wx:for="{{recommendList}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onVideo',['$0'],[[['recommendList','',index,'id']]]]]]]}}" class="watching_boby_data data-v-57280228" bindtap="__e">
<view style="width:198rpx;height:266rpx;">
<image style="width:198rpx;height:266rpx;border-radius:24rpx;" src="{{item.cover}}" data-event-opts="{{[['tap',[['onvideo']]]]}}" bindtap="__e" mode="aspectFill" class="data-v-57280228"></image>
</view>
<view class="watching_boby_data_t data-v-57280228">{{''+item.name+''}}</view>
</view>
</block>
</view>
</view>
</view>
</block>
</block>
<block wx:if="{{switchIndex==2}}">
<view class="textView">
<view class="textView_f" wx:for="{{textData}}" data-event-opts="{{[['tap',[['onTxt',['$0'],[[['textData','',index]]]]]]]}}" bindtap="__e">
<view class="textView_f_l">
<span class="textView_f_l1">{{item.nickname}}</span>
<span class="textView_f_l2">红玫瑰 {{item.addtime}}</span>
</view>
<view class="textView_f_r">
<image src="{{item.cover}}" mode="aspectFill"></image>
<!-- <image :src="{{item.cover}}" mode="aspectFill"></image> -->
</view>
</view>
</view>
</block>
<block wx:if="{{switchIndex==4}}">
<view class="textView">
<view class="textView_f" wx:for="{{wy}}" data-event-opts="{{[['tap',[['onTg',['$0'],[[['wy','',index]]]]]]]}}" bindtap="__e">
<view class="textView_f_l">
<!-- <span class="textView_f_l1"></span> -->
<view class="textView_f_l1">{{item.text}}</view>
<view class="textView_f_l2">
<span style="width: 50%;"> {{item.nickname}}</span>
<view style="display: flex;justify-content: flex-end;width: 50%;"><span> {{item.num}}人观看</span></view>
</view>
</view>
<view class="textView_f_r">
<image src="{{item.img}}" mode="aspectFill"></image>
<!-- <image :src="{{item.cover}}" mode="aspectFill"></image> -->
</view>
</view>
</view>
</block>
<block wx:if="{{switchIndex==3}}">
<view class="textView">
<view class="jsView_f" wx:for="{{textData}}" data-event-opts="{{[['tap',[['onTxt',['$0'],[[['textData','',index]]]]]]]}}" bindtap="__e">
<view class="jsView_f_l">
<image src="{{item.cover}}" mode="aspectFill"></image>
</view>
<view class="jsView_f_r">
<view class="jsView_f_r_t">
{{item.name}}
</view>
<view class="jsView_f_r_b">
{{item.description}}
</view>
</view>
</view>
</view>
</block>
<block wx:if="{{pihuan==2}}">
<block wx:for="{{bzData}}" wx:for-item="item" wx:for-index="index">
<view class="imgs" style="margin-left: 30rpx;">
<image style="width:100%;border-radius:8rpx ;" style="width: 690rpx;height: 613px;" src="{{item.url}}" alt srcset mode="widthFix" class="_img" data-event-opts="{{[['tap',[['previewImages',['$0'],[[['bzData','',index,'url']]]]]]]}}" bindtap="__e"></image>
</view>
</block>
</block>
</scroll-view>
<view class="copyBtn" data-event-opts="{{[['tap',[['noCopyBtn',['$0'],[[['','',index]]]]]]]}}" bindtap="__e" wx:if="{{opyBtn&&switchIndex==4}}">
<span>投稿邮箱1351699194@qq.com 点击复制</span>
</view>
</view>