From 3d84491382cee0d89d7df3e2c6345d44a6d7decf Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Tue, 2 Apr 2019 14:36:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=B8=93=E9=A2=98=E6=98=BE=E7=A4=BA=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3][=E4=BF=AE=E6=94=B9]:[=E4=B8=93=E9=A2=98=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=8E=A5=E5=8F=A3]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/main/index.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/main/index.js b/pages/main/index.js index ee49677..5a8c53e 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -320,6 +320,7 @@ Page({ // that.checkUserCarStatus(); that.getUserInfo(); that.getBannerlist(); + that.topicShow(); if (app.couponChannelListCallback) { app.couponChannelListCallback(app.globalData.token); } @@ -437,6 +438,21 @@ Page({ }) ; }, + // 专题显示 + topicShow: function () { + let that = this; + Http.get({ + url: config.api.topicShow, + data: { + token: app.globalData.token + } + }).then(res => { + console.log(res); + }) + .catch(err => { + console.log(err); + }) + }, /** * 检查用户是否有车