From b78436aecf05d489bd72d470368e51f69f708fbf Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Wed, 28 Apr 2021 20:10:32 +0800 Subject: [PATCH] no message --- colorui/main.wxss | 1 - pages/agent/agent-list/index.js | 2 +- utils/util.js | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) 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