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.
115 lines
3.8 KiB
115 lines
3.8 KiB
<view wx:if="{{ iniLoading }}" class="guide-container">
|
|
|
|
|
|
<view class="select">
|
|
|
|
<view class="search-wrapper">
|
|
<view class="search-left">
|
|
<image src="../../images/searchs.png" />
|
|
<input value="{{guideTitle}}" bindinput="handleInput"
|
|
confirm-type="search" bindconfirm="handleSearch"
|
|
placeholder="搜索" placeholder-class="input-placeholder" bindfocus="handleFocus" />
|
|
</view>
|
|
<view class="search-right">
|
|
<view wx:if="{{isFocus}}" class="" bind:tap="handleCancle">取消</view>
|
|
<navigator wx:else class="search-collect" url="/subpages/index/pages/workguide/collect">
|
|
<image src="../../images/collect.png" />
|
|
<view class="">收藏</view>
|
|
</navigator>
|
|
|
|
</view>
|
|
</view>
|
|
|
|
<!-- <view class="m-crumbs">
|
|
<text>当前组织:{{ agencyName }}</text>
|
|
</view> -->
|
|
<view class="m-filter" bind:tap="selectAgency">
|
|
<text >{{gridShowName || agencyName}}</text>
|
|
<image src="/assets/images/common/arrow4-down.png" mode="aspectFit"></image>
|
|
</view>
|
|
|
|
<view class="filter-wrapper {{showMask && 'show-wrapper'}}">
|
|
<view class="filter-arrow">
|
|
<view bind:tap="handleDown">
|
|
<image src="../../images/arrow-up.png" />
|
|
</view>
|
|
|
|
</view>
|
|
<view class="filter-list">
|
|
<view class="filter-item" wx:for="{{tabsList}}" data-id="{{item.categoryCode}}"
|
|
wx:key="categoryCode" data-index="{{index}}" bind:tap="handleDownFilter">
|
|
{{item.categoryName}}
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="tabs-wrapper {{ showMask && 'tabs-no'}}">
|
|
<scroll-view class="tabs" scroll-x="{{true}}" enhanced="{{true}}"
|
|
show-scrollbar="{{false}}" scroll-into-view="{{toTabs}}">
|
|
<view class="tabs-list">
|
|
|
|
<view wx:for="{{tabsList}}" wx:key="categoryId" id="{{ 'index' + index }}"
|
|
class="tabs-item {{tabsCurrent === index && 'tabs-on'}}"
|
|
data-id="{{item.categoryCode}}" data-index="{{index}}" bind:tap="handleTabs">
|
|
{{item.categoryName}}
|
|
</view>
|
|
|
|
</view>
|
|
</scroll-view>
|
|
<view class="tabs-down" bind:tap="handleDown">
|
|
<image src="../../images/arrow-down3.png" mode="aspectFit"></image>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
<view class="tabs-mask {{showMask && 'show-mask'}}"></view>
|
|
<scroll-view
|
|
class="list-view"
|
|
refresher-enabled="{{true}}" refresher-triggered="{{triggered}}"
|
|
scroll-anchoring="{{ true }}"
|
|
enable-back-to-top="{{ true }}"
|
|
bindrefresherrefresh="onRefreshs"
|
|
bindrefresherrestore="onRestore"
|
|
bindscrolltolower="getGuideList"
|
|
scroll-y="{{true}}"
|
|
>
|
|
<view wx:if="{{ guideList.length>0 }}">
|
|
|
|
<view class="m-list">
|
|
<view class="item"
|
|
data-aid="{{ item.issueApplicationId }}"
|
|
data-gid="{{ item.gridId }}"
|
|
data-id="{{ item.guideId }}"
|
|
wx:key="issueId"
|
|
wx:for="{{ guideList }}"
|
|
bind:tap="selectIssue">
|
|
<view class="row row1">
|
|
<text class="title" >{{ item.title }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="m-more">
|
|
<text wx:if="{{ noMore }}">没有更多了</text>
|
|
<text wx:elif="{{!noMore }}">上拉查看更多</text>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="m-nothing" wx:if="{{ guideList.length ==0}}">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="/assets/images/common/nothing.png" />
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
</view>
|
|
|
|
<loading showed="{{!iniLoading}}" />
|
|
<selectGrid id="selectGrid"
|
|
wx:if="{{iniLoading}}"
|
|
url="gov/org/customeragency/agencylist"
|
|
grid-id-list="{{gridIdList}}" />
|