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.
165 lines
5.7 KiB
165 lines
5.7 KiB
|
|
<scroll-view wx:if="{{ iniLoaded }}"
|
|
scroll-anchoring="{{ true }}"
|
|
enable-back-to-top="{{ true }}"
|
|
scroll-into-view="{{scrollInto}}"
|
|
bindscrolltolower="bindFilter"
|
|
scroll-y="{{true}}"
|
|
class="g-scroll_page">
|
|
<nav background="#EF3C3D" color="#fff" titleText="党建小助手" bind:back="handleBack" />
|
|
<view class="task-info">
|
|
<view class="task-info-title">{{info.userRealName}}</view>
|
|
<view class="task-info-point">{{partyInfo.partOrgName}}</view>
|
|
|
|
<image class="titel-image" mode="aspectFit" src="../../images/zhushou.png" />
|
|
|
|
</view>
|
|
<view class="task-function">
|
|
|
|
<navigator class="menu" url="/subpages/partyHelper/pages/partyAct/index">
|
|
<view>
|
|
<image mode="aspectFit" src="../../images/elegant.png" />
|
|
<text>党建活动</text>
|
|
</view>
|
|
</navigator>
|
|
<navigator class="menu" url="/subpages/partyHelper/pages/score/index">
|
|
<view>
|
|
<image mode="aspectFit" src="../../images/score.png" />
|
|
<text>党建积分</text>
|
|
</view>
|
|
</navigator>
|
|
<navigator class="menu" url="/subpages/partyHelper/pages/elegant/index">
|
|
<view>
|
|
<image mode="aspectFit" src="../../images/activity.png" />
|
|
<text>党员风采</text>
|
|
</view>
|
|
</navigator>
|
|
</view>
|
|
|
|
|
|
<view class="view-notice" wx:if="{{ noticeList.length>0 }}">
|
|
<view class="view-read" bind:tap="handleReadAll">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="../../images/yidu.png" />
|
|
<text >全部已读</text>
|
|
</view>
|
|
<view class="notice-list">
|
|
<view id="{{ 'index' + index }}"
|
|
data-index="{{index}}"
|
|
data-id="{{ item.targetId }}"
|
|
data-type="{{ item.messageType }}"
|
|
wx:key="id"
|
|
wx:for="{{ noticeList }}"
|
|
bind:tap="selectProject">
|
|
|
|
<view wx:if="{{item.showType==='searchName'}}" class="notice-item-right">
|
|
<view class="left-row2">
|
|
|
|
<view class="right-content">{{item.searchTopic}}</view>
|
|
|
|
<view class="notice-head">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="{{ userHeadPhoto }}" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view wx:elif="{{item.showType==='search'}}" class="notice-item-left">
|
|
<view class="left-row2">
|
|
<view class="notice-head">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="../../images/topuxiang.png" />
|
|
</view>
|
|
<view>
|
|
<view class="notice-content">
|
|
<view class="content-tips">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="../../images/search.png" />
|
|
<view wx:if="{{item.list.length>0}}">为您搜到以下内容</view>
|
|
<view wx:else="{{item.list.length===0}}">未搜索到内容</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.list.length>0}}" class="content-list">
|
|
<view class="act-list-item"
|
|
wx:for-item="actItem"
|
|
wx:for-index="actIndex"
|
|
data-id="{{ actItem.icPartyActId }}"
|
|
wx:key="icPartyActId"
|
|
wx:for="{{ item.list }}"
|
|
catch:tap="selectSearchProject">
|
|
|
|
|
|
<view class="topic">{{actItem.topic}}</view>
|
|
<image mode="aspectFill" class="arrow"
|
|
src="../../images/jinru.png" />
|
|
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="read-state">{{'已读'}}</view>
|
|
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
<view wx:else class="notice-item-left">
|
|
<view class="left-row1">
|
|
<view class="time">{{item.createdTime}}</view>
|
|
|
|
</view>
|
|
<view class="left-row2">
|
|
<view class="notice-head">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="../../images/topuxiang.png" />
|
|
</view>
|
|
<view>
|
|
<view class="notice-content">
|
|
<view class="content-tips">{{item.title}}</view>
|
|
<view class="content-msg"><text>{{item.messageContent}}</text></view>
|
|
</view>
|
|
<view wx:if="{{item.readFlag==='read'}}" class="read-state">{{'已读'}}</view>
|
|
<view wx:else class="read-state unread">{{'未读'}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<view id="item_bottom" class="item_bottom">底部占位符</view>
|
|
|
|
<view wx:if="{{ noticeList.length !=0 && !refresh }}" class="m-more">
|
|
<text wx:if="{{ noMore }}">没有更多了</text>
|
|
<text wx:elif="{{!noMore }}">上拉查看更多</text>
|
|
</view>
|
|
|
|
<view class="m-nothing" wx:if="{{ noticeList.length ==0 && !refresh}}">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="/assets/images/common/nothing.png" />
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
<view class="view-send">
|
|
<view class="send-input">
|
|
<image mode="aspectFill" class="arrow"
|
|
src="../../images/shuru.png" />
|
|
<input placeholder="输入关键字询问小助手"
|
|
placeholder-class="z-placeholder"
|
|
data-name="title"
|
|
bindinput="handleBindinput"
|
|
value="{{ searchTopic }}"
|
|
cursor-spacing="12"
|
|
maxlength="20" />
|
|
</view>
|
|
<view class="send-btn" bind:tap="sendNotice">发送</view>
|
|
|
|
</view>
|
|
|
|
<loading showed="{{!iniLoaded}}"></loading>
|