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

75 lines
5.2 KiB
Plaintext

<view class="boby">
<nav-bar vue-id="358bb4ec-1" name="{{title}}" bind:__l="__l" back="{{backs}}"></nav-bar>
<block wx:if="{{pihuan}}">
<view class="top">
<view data-event-opts="{{[['tap',[['onclickSearch',['$event']]]]]}}" class="search" bindtap="__e">
<image style="width:36rpx;height:36rpx;position:absolute;top:22rpx;left:25rpx;" mode="widthFix" src="{{$root.m0}}" class="_img"></image>
<!-- <input class="input-search" placeholder="输入你想看的剧名" placeholder-style="font-size: 28rpx;color: #666666;" type="text" confirm-type="search" /> -->
<text style="font-size:26rpx;color: #999999;" class="input-search data-v-57280228">输入你想看的剧名</text>
</view>
</view>
<view class="coonter1">
<view class="coonter1_titel">最近新剧</view>
<scroll-view class="coonter1_view" show-scrollbar="{{false}}" enhanced='{{true}}' style="width:100%;" scroll-left="0" scroll-x="{{true}}">
<block wx:for="{{arrList}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onvideo',['$0'],[[['arrList','',index,'id']]]]]]]}}" class="coonter1_view_for" bindtap="__e">
<view class="coonter1_view_for_image">
<image style="width:100%;height:100%;border-radius:24rpx 24rpx 0px 0px;" mode="aspectFill" src="{{item.cover}}" class="_img"></image>
</view>
<view class="coonter1_view_for_div">
<view style="width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">{{''+item.name+''}}</view>
</view>
</view>
</block>
</scroll-view>
</view>
<view class="coonter2">
<view class="coonter2_top">
<view class="coonter2_top_left">热门短剧</view>
<view data-event-opts="{{[['tap',[['onItemClick',['$event']]]]]}}" class="coonter2_top_right" bindtap="__e">查看更多<image style="height:32rpx;width:32rpx;" mode="widthFix" src="{{$root.m1}}" class="_img"></image>
</view>
</view>
<scroll-view class="coonter2_conter" style="width:100%;" scroll-left="0" scroll-x="true" show-scrollbar="{{false}}" enhanced='{{true}}'>
<view class="coonter1_view_for_left">
<block wx:for="{{leftList}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onvideo',['$0'],[[['leftList','',index,'id']]]]]]]}}" class="coonter2_left_left" bindtap="__e">
<view class="postImage">
<image style="width:100%;height:100%;" mode="aspectFill" src="../../static/image/hot_to{{index+1}}.png" class="_img"></image>
</view>
<view class="left_image">
<image style="width:100%;height:100%;border-radius:20rpx;" mode="aspectFill" src="{{item.cover}}" class="_img"></image>
</view>
<view class="left_div">
<view class="left_div_top">{{''+item.name+''}}</view>
<view class="left_div_c">{{''+item.description+''}}</view>
<view class="left_div_b">
<image style="width:44rpx;height:44rpx;" mode="widthFix" src="{{$root.m2}}" class="_img"></image>{{''+item.val+'火力值'}}
</view>
</view>
</view>
</block>
</view>
<view class="coonter1_view_for_right">
<block wx:for="{{rightList}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['onvideo',['$0'],[[['rightList','',index,'id']]]]]]]}}" class="coonter2_left_left" bindtap="__e">
<view class="postImage">
<image style="width:100%;height:100%;" mode="widthFix" src="../../static/image/group_{{index}}.png" class="_img"></image>
</view>
<view class="left_image">
<image style="width:100%;height:100%;border-radius:20rpx;" mode="aspectFill" src="{{item.cover}}" class="_img"></image>
</view>
<view class="left_div">
<view class="left_div_top">{{''+item.name+''}}</view>
<view class="left_div_c">{{''+item.description+''}}</view>
<view class="left_div_b">
<image style="width:44rpx;height:44rpx;" mode="widthFix" src="{{$root.m3}}" class="_img"></image>{{''+item.val+'火力值'}}
</view>
</view>
</view>
</block>
</view>
</scroll-view>
</view>
</block>
<block wx:if="{{!pihuan}}"></block>
</view>