diff --git a/subpages/home/pages/noticeNew/noticeNew.js b/subpages/home/pages/noticeNew/noticeNew.js index 8c315aa..2308345 100644 --- a/subpages/home/pages/noticeNew/noticeNew.js +++ b/subpages/home/pages/noticeNew/noticeNew.js @@ -68,9 +68,12 @@ Page({ } this.setData({ selectTab: e.currentTarget.dataset.tab, + pageIndex: 1, + pageSize: 10, noticelist: [], loadMoreType: 'loading', loadMoreVisible: true, + nodata: false, }) this.noticelist(); @@ -123,7 +126,7 @@ Page({ pageIndex: this.data.pageIndex + 1, pageSize: this.data.pageSize, }) - this.deptinfolist(); + this.noticelist(); } }, diff --git a/subpages/integralCentre/pages/index/index.js b/subpages/integralCentre/pages/index/index.js index b5b0c36..e48561f 100644 --- a/subpages/integralCentre/pages/index/index.js +++ b/subpages/integralCentre/pages/index/index.js @@ -97,7 +97,7 @@ Page({ let that = this const para = { pageIndex: 1, - pageSize: 10, + pageSize: 20, timestamp: this.data.timestamp, rankingType: this.data.rankingType, //排名方式:0-周,1-月 } diff --git a/subpages/integralCentre/pages/index/index.wxml b/subpages/integralCentre/pages/index/index.wxml index 34a1657..a69f7e4 100644 --- a/subpages/integralCentre/pages/index/index.wxml +++ b/subpages/integralCentre/pages/index/index.wxml @@ -17,11 +17,11 @@ {{item.name}} - + - {{pointsRankingUser.rank}} + {{pointsRankingUser.rank}} {{pointsRankingUser.realName}} @@ -34,12 +34,13 @@ - + - {{item.rank}} - {{item.rank}} + + + {{item.rank}} {{item.realName}} diff --git a/subpages/integralCentre/pages/index/index.wxss b/subpages/integralCentre/pages/index/index.wxss index 1a72390..6b09a26 100644 --- a/subpages/integralCentre/pages/index/index.wxss +++ b/subpages/integralCentre/pages/index/index.wxss @@ -263,7 +263,30 @@ button::after { margin-top: 3rpx; margin-left: 1rpx; } - +.list-number_frist{ + position: relative; + z-index: 100; + width: 100%; + height: 38rpx; + line-height: 38rpx; + text-align: center; + font-size:38rpx; + font-weight:bold; + font-style:italic; + color:rgba(51,51,51,1); +} +.color1_{ + color:#d42e31; + text-align: center; +} +.color2_{ + color:#dd5800; + text-align: center; +} +.color3_{ + color:#ffa800; + text-align: center; +} .list-number_ { position: relative; z-index: 100;