diff --git a/colorui/main.wxss b/colorui/main.wxss index ee857eb..6ceab6c 100644 --- a/colorui/main.wxss +++ b/colorui/main.wxss @@ -1399,7 +1399,6 @@ swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active { } .list-empty { - margin-top: 10rpx; display: flex; flex-direction: column; align-items: center; diff --git a/pages/agent/agent-list/index.js b/pages/agent/agent-list/index.js index 2fa8c51..f533851 100644 --- a/pages/agent/agent-list/index.js +++ b/pages/agent/agent-list/index.js @@ -13,7 +13,7 @@ Scene({ { index: 0, value: 'focus', name: '关注' }, { index: 1, value: 'factory', name: '全部' } ], - pageIndex: 1, + pageIndex: 0, }, onLoad: function (options) { this.setData({ diff --git a/utils/util.js b/utils/util.js index 345daeb..6586ca7 100644 --- a/utils/util.js +++ b/utils/util.js @@ -1,3 +1,5 @@ +const app = getApp() + const formatTime = date => { const year = date.getFullYear() const month = date.getMonth() + 1