bug修改
This commit is contained in:
+2
-1
@@ -11,7 +11,7 @@ Page({
|
||||
date: '',
|
||||
list: [], // 消息列表
|
||||
selectArr: [
|
||||
{ path: '../../assets/images/laikuan.png', text: '来款项目' },
|
||||
{ path: '../../assets/images/laikuan.png', text: '项目' },
|
||||
{ path: '../../assets/images/gongzuozu.png', text: '工作组' },
|
||||
{ path: '../../assets/images/fenbiaowei.png', text: '分标委' },
|
||||
{ path: '../../assets/images/huiyi.png', text: '会议活动' },
|
||||
@@ -98,6 +98,7 @@ Page({
|
||||
const templateCode = e.currentTarget.dataset.message.templateCode
|
||||
if(readFlag == 0) { // 标记已读
|
||||
UserApi.messageStatus({anntId: e.currentTarget.dataset.message.anntId}).then(res=>{
|
||||
this.loadData()
|
||||
wx.showToast({
|
||||
title: '已读成功',
|
||||
icon: 'none'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "首页",
|
||||
"usingComponents": {},
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</picker>
|
||||
</view>
|
||||
<view class="select-item">
|
||||
<picker mode="date" value="{{searchParams.startTime}}" start="2021-01-01" end="2030-12-31" bindchange="bindDateChange">
|
||||
<picker mode="date" value="{{searchParams.startTime}}" start="2000-01-01" end="2050-12-31" bindchange="bindDateChange">
|
||||
<view class="picker">
|
||||
<text wx:if="{{!searchParams.startTime}}">时间</text>
|
||||
<text wx:if="{{searchParams.startTime}}">{{searchParams.startTime}}</text>
|
||||
@@ -58,7 +58,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{list.length === 0}}" class="no-data">
|
||||
<text>暂无数据</text>
|
||||
<text>暂无消息通知!</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -67,12 +67,14 @@ page{
|
||||
border-radius: 10px;
|
||||
}
|
||||
.list-content .list-content-item{
|
||||
height: 60px;
|
||||
min-height: 50px;
|
||||
padding: 5px 0;
|
||||
border-bottom: 0.5px solid #f5f5f5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
.list-content-item:last-child{
|
||||
border: 0;
|
||||
@@ -104,9 +106,13 @@ page{
|
||||
.content-bottom{
|
||||
color: #555;
|
||||
font-size: 13px;
|
||||
white-space: nowrap;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
line-height: 20px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.status{
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user