From 70e3d531329b800bd885100c8a5ceb6d51f517f8 Mon Sep 17 00:00:00 2001 From: lqq Date: Fri, 18 Oct 2019 10:34:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/billboards/firm/index.wxml | 1 + pages/billboards/firm/index.wxss | 9 +++++++++ pages/user/myFavorite/index.js | 30 +----------------------------- utils/http.js | 2 +- 4 files changed, 12 insertions(+), 30 deletions(-) diff --git a/pages/billboards/firm/index.wxml b/pages/billboards/firm/index.wxml index 6bfc840..44ff699 100644 --- a/pages/billboards/firm/index.wxml +++ b/pages/billboards/firm/index.wxml @@ -13,4 +13,5 @@ bind:clickCardItem="clickCardItem"/> + 暂无数据 diff --git a/pages/billboards/firm/index.wxss b/pages/billboards/firm/index.wxss index 665f520..b4629ac 100644 --- a/pages/billboards/firm/index.wxss +++ b/pages/billboards/firm/index.wxss @@ -23,4 +23,13 @@ .e_card { width: 45vw; margin-bottom: 13px; +} + +.page_empty { + width: 100%; + height: 100px; + margin-top: 20px; + font-size: 14px; + color: #aaa; + text-align: center; } \ No newline at end of file diff --git a/pages/user/myFavorite/index.js b/pages/user/myFavorite/index.js index b4ab7e0..47ffd16 100644 --- a/pages/user/myFavorite/index.js +++ b/pages/user/myFavorite/index.js @@ -10,35 +10,7 @@ Page({ * 页面的初始数据 */ data: { - list: [ - { - topicId: '1', - title: "市北区举行国际航运贸易金融创新中心核心区产业建设", - topicImg: "asdsad", - userIcon: "", - userName: "用户名", - time: "刚刚", - commentNum: "33", - }, - { - topicId: "2", - title: "《大众日报》市北区举行国际航运贸易金融创新中心核心区产业建设", - topicImg: "", - userIcon: "", - userName: "用户名", - time: "1分钟前", - commentNum: "33", - }, - { - topicId: "3", - title: "青岛医疗人工智能科技创新中心落户市北", - topicImg: "asdsadad", - userIcon: "", - userName: "用户名", - time: "1分钟前", - commentNum: "33", - } - ], + list: [], currentPage:1 }, diff --git a/utils/http.js b/utils/http.js index 2af182e..d0b8552 100644 --- a/utils/http.js +++ b/utils/http.js @@ -25,7 +25,7 @@ class HTTP { } // token 拼接到 请求体中 let data = params.data - console.log('请求参数:') + console.log('请求Header和Body参数:') console.log({token: token, ...data}) wx.request({ url: url,