69 lines
4.0 KiB
Plaintext
69 lines
4.0 KiB
Plaintext
<view class="page-container">
|
|
<view class="page-title-box">
|
|
<view class="search-container-fixed">
|
|
<view class="search-box">
|
|
<icon class="mr-10" type="search" size="20"></icon>
|
|
<input type="text" bindconfirm="doSearch" class="search-input" bindinput="inputKeywords" value="{{keywords}}" placeholder="请输入软著名称" />
|
|
<view bind:tap="doSearch">搜索</view>
|
|
</view>
|
|
</view>
|
|
<view class="header">
|
|
<view class="condition-box">
|
|
<view class="condition-item">
|
|
<view class="condition-item-title">软著分类</view>
|
|
<scroll-view scroll-x style="width: 80vw;padding-left: 20rpx;">
|
|
<view class="list-tabs">
|
|
<block wx:for="{{typeList}}" wx:key="index">
|
|
<view class="{{tools.includes(selType,item.dataId)? 'tab-select':'tab-normal' }} item-margin" bind:tap="bindChooseType" data-item="{{item}}">
|
|
<text>{{item.dataName}}</text>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
<view class="condition-item mt-20">
|
|
<view class="condition-item-title">价格排序</view>
|
|
<scroll-view scroll-x style="flex:1;">
|
|
<view class="list-tabs ml-20">
|
|
<block wx:for="{{ownerList}}" wx:key="index">
|
|
<view class="{{selOwner==item.dataId? 'tab-select':'tab-normal' }} item-margin" bind:tap="bindChooseOwner" data-item="{{item}}">
|
|
<text>{{item.dataName}}</text>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="container-box">
|
|
<container-loading loadingState="{{listLoading}}" style="height: 80vh;" bindrefresh="doRefreshList">
|
|
<scroll-view scroll-y="{{true}}" style="height: 80vh;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='80'>
|
|
<view style="display: flex;flex-direction: column;">
|
|
<view class="content-box">
|
|
<block wx:for="{{goodsList}}" wx:key="index">
|
|
<view class="content-item" bind:tap="doDetail" data-value="{{item.goodsId}}">
|
|
<view class="content-item-img-box">
|
|
<image src="{{item.preImg}}" class="content-item-img" mode="aspectFill"></image>
|
|
</view>
|
|
<view class="content-item-txt">{{item.goodsName}}</view>
|
|
<view class="content-item-bottom">
|
|
<rich-text class="content-item-price" nodes="{{tools.moneyTxt(8,item.goodsOpenPrice)}}"></rich-text>
|
|
<view class="content-item-time">截止:{{item.goodsLastTime}}</view>
|
|
</view>
|
|
<view class="special-tag" wx:if="{{tools.includes(item.goodsFlag,'特价')}}">特价</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
|
<view wx:if="{{!hasMore}}" class="no-more">
|
|
<view class="no-more-dot"></view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</container-loading>
|
|
</view>
|
|
|
|
</view>
|
|
<mp-toptips delay="2000" msg="{{msgHint}}" type="{{msgType}}" show="{{msgShow}}"></mp-toptips>
|
|
<wxs src="../../../utils/comm.wxs" module="tools"></wxs> |