123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <wxs src='../../../utils/formatFuc.wxs' module="utils"></wxs>
- <view>
- <van-tabs active="{{ activeTab }}" color="#1677FF" id="tabs" bind:change="onTabChange">
- <van-tab title="未读" name="1"></van-tab>
- <van-tab title="已读" name="2"></van-tab>
- </van-tabs>
- <view class="drop-block">
- <van-dropdown-menu active-color="#09afff">
- <van-dropdown-item value="{{ type }}" options="{{ typeList }}" bind:change="dropdownChange"/>
-
- </van-dropdown-menu>
- <view class="after-wrapper">
-
- <view class="arrow after-arrow"></view>
- <view class="date-wrapper" bindtap="dateSelect">
- <view>{{date}}
- </view>
- <view class="arrow"></view>
- </view>
- </view>
- </view>
- <view class="message-list">
- <!-- <view class="message-item" wx:for="{{messageList}}" wx:key="index">
- <view class="title">
- <image mode="aspectFit" src="/static/images/upgrade/icon-alert.png"></image>
- <view>{{item.title}}</view>
- </view>
- <view class="{{item.type==8||item.type==9||item.type==10?'warn-text':''}} content">{{item.content}}</view>
- <view class="message-bottom" wx:if="{{activeTab==1}}">
- <image mode="aspectFit" src="/static/images/upgrade/icon-wyzx.png" bindtap="readNotice" data-id="{{item.id}}"></image>
- <view bindtap="readNotice" data-id="{{item.id}}">我已知晓</view>
- </view>
- </view> -->
-
- <!-- <view class="operate" wx:if="{{activeTab==1}}">
- <view>填写反馈</view>
- <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-right.png" bindtap="readNotice" data-id="{{item.id}}"></image>
-
- </view> -->
- </view>
- <view class="message-list">
- <view class="message-item modal-block" wx:for="{{messageList}}" wx:key="index">
- <view class="content">
- <view class="title">
- <view class="left">
- <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-alert.png" class="alert"></image>
- <view>{{item.title}}</view>
- </view>
- <view class="right" style="overflow:hidden;white-space:nowrap;">
- {{utils.formatDate(item.sendTime)}}
- </view>
- </view>
- <view class="line tiket-num">
- 关联单据:<text>{{item.rno}}</text>
- </view>
- <view class="line">
- 问题类型:{{item.noticeType}}
- </view>
- <view class="line-two">
- 提醒内容:{{item.content}}
- </view>
- </view>
- <view class="operate" bindtap="goFeedback" data-feedback="{{item.isFeedback}}" data-path="{{item.pagePath}}" data-id="{{item.id}}">
-
- <view wx:if="{{item.isFeedback==1&&activeTab==1}}">填写反馈</view>
- <view wx:elif="{{item.isFeedback==1&&activeTab==2}}">查看反馈</view>
- <view wx:elif="{{item.isFeedback!=1&&activeTab==1}}">立即处理</view>
- <view wx:else></view>
- <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-right.png" ></image>
- </view>
-
- </view>
- </view>
- <view class="modal-list" wx:if="{{foldList.length>=1&&activeTab==1}}">
-
- <view class="modal-block-bottom modal-block" wx:if="{{foldList.length>1}}">
-
- </view>
- <view class="modal-block-top modal-block {{foldList.length==1?'one-modal':''}}" >
- <view class="content">
- <view class="title">
- <view class="left">
- <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-alert.png" class="alert"></image>
- <view>{{foldMsg.title}}</view>
- </view>
- <view class="right">
- {{utils.formatDate(foldMsg.sendTime)}}
- </view>
- </view>
- <view class="line tiket-num">
- 关联单据:<text>{{foldMsg.rno}}</text>
- </view>
- <view class="line">
- 问题类型:{{foldMsg.noticeType}}
- </view>
- <view class="line-two">
- 提醒内容:{{foldMsg.content}}
- </view>
- </view>
- <view class="operate" bindtap="goFeedback"
- data-feedback="{{foldMsg.isFeedback}}" data-path="{{foldMsg.pagePath}}" data-id="{{foldMsg.id}}">
- <view wx:if="{{foldMsg.isFeedback==1&&activeTab==1}}">填写反馈</view>
- <view wx:elif="{{foldMsg.isFeedback==1&&activeTab==2}}">查看反馈</view>
- <view wx:elif="{{foldMsg.isFeedback!=1&&activeTab==1}}">立即处理</view>
- <view wx:else></view>
- <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-right.png" ></image>
- </view>
-
- </view>
- </view>
- <view class="no-msg" wx:if="{{messageList.length==0&&foldList.length==0}}">暂无内容~</view>
- </view>
- <van-popup
- show="{{ pickerShow }}"
- position="bottom"
-
-
- >
- <van-datetime-picker
- type="year-month"
- value="{{ currentDate }}"
- min-date="{{ minDate }}"
- bind:confirm="onConfirm"
- bind:cancel="onCancel"
- />
- </van-popup>
|