You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.4 KiB
32 lines
1.4 KiB
<!--pages/quest/quest.wxml-->
|
|
<view class="main">
|
|
<!-- 搜索栏 -->
|
|
<view class="search">
|
|
<l-search-bar bg-color="#F9F9F9" class="search" placeholder="搜索" show-cancel="{{false}}" />
|
|
</view>
|
|
<!-- 导航栏 -->
|
|
<view class="wrap">
|
|
<view wx:for="{{navItem}}" wx:key="index" class="item {{item.is?'active':''}}" data-id="{{item.id}}" bind:tap="handleClick">
|
|
{{item.name}}
|
|
</view>
|
|
</view>
|
|
<!-- 导航栏选项 -->
|
|
<view class="selectWrap {{showOrHide?'slidown':'slidup'}}">
|
|
<view class="selectItem {{item.is?'active':''}}" wx:for="{{selectedItem}}" wx:key="index" data-contant="{{item.name}}" data-id="{{index}}" bind:tap="closeMask">
|
|
{{item.name}}
|
|
</view>
|
|
</view>
|
|
<!-- 遮罩层 -->
|
|
<view class="{{showOrHide?'shadow':''}}" bind:tap="closeMask" />
|
|
<!-- 素材展示 -->
|
|
<view class="mat">
|
|
<view class="mat_card" wx:for="{{questes}}" wx:key="index" data-url="/pages/material/subpage/newest/newest" bindtap="to">
|
|
<view class="mat_top">
|
|
<!-- <view class="mat_image"></view> -->
|
|
<image class="mat_image" src="{{item.url}}"></image>
|
|
</view>
|
|
<view style="width: 328rpx;height: 1rpx;background: linear-gradient(90deg, rgba(232, 232, 232, 0) 0%, #E8E8E8 49%, rgba(232, 232, 232, 0) 100%);"></view>
|
|
<view class="mat_bottom">{{item.tip}}</view>
|
|
</view>
|
|
</view>
|
|
</view> |