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.

47 lines
2.0 KiB

<!--pages/material/subpage/newest/newest.wxml-->
<view class="main">
<!-- 搜索栏 -->
<view class="search">
<searchbar placeholder="请输入素材名称" bind:handleSearch="handleSearch"></searchbar>
</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}}
<image style="height: 12rpx;width: 16rpx;" src="/images/ic_sanjiao_nor@2x.png"></image>
</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">
<!-- <pic-show wx:if="{{flag}}" tempPics="{{listdata}}" id="pic"></pic-show> -->
<view class="flow">
<l-water-flow wx:if="{{flag}}" generic:l-water-flow-item="waterf"></l-water-flow>
</view>
<button style="color: #D0D0D0;margin-top: 20rpx;" bindtap="getmore">加载更多</button>
</view>
</view>
<!-- 日期自定义 -->
<l-mask show="{{datepick}}" center="{{true}}">
<view class='mask-content'>
<picker mode="date" end="{{endTime}}" value="{{beginTime}}" bindchange="bindDateChange">
<view class="picker">
开始时间: {{beginTime}}
</view>
</picker>
<picker mode="date" start="{{beginTime}}" style="margin-top: 16rpx;" value="{{endTime}}" bindchange="bindDateChange2">
<view class="picker">
结束时间: {{endTime}}
</view>
</picker>
<button style="margin-top: 32rpx;background-color: white;" catchtap="timeclick" data-tu="1">取消</button>
<button style="margin-top: 32rpx;background-color: white;" catchtap="timeclick" data-tu="2">确定</button>
</view>
</l-mask>