From 668017ff03150857d1a9f789ad57a56cede3380a Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Thu, 4 Jun 2020 16:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- subpages/home/pages/noticeNew/noticeNew.js | 8 ++++---- subpages/integralCentre/pages/index/index.js | 2 +- subpages/understandJs/pages/delicious/delicious.wxml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/subpages/home/pages/noticeNew/noticeNew.js b/subpages/home/pages/noticeNew/noticeNew.js index def5922..8c315aa 100644 --- a/subpages/home/pages/noticeNew/noticeNew.js +++ b/subpages/home/pages/noticeNew/noticeNew.js @@ -8,7 +8,7 @@ Page({ data: { pageIndex: 1, pageSize: 10, - noticeCategory: '5',//模块编码(1-印象,2-味道,5-政策导航最新,6-政策导航最热) + noticeCategory: 'notice_navigation_hot',//模块编码(1-印象,2-味道,5-政策导航最新,6-政策导航最热) noticelist: [], selectTab: 'tab1', nodata: false, @@ -58,12 +58,12 @@ Page({ // tab 切换 onTabChange(e) { if (e.currentTarget.dataset.tab == 'tab1') {//最新政策 - this.setData({//模块编码(1-印象,2-味道,5-政策导航最新,6-政策导航最热) - noticeCategory: '5', + this.setData({//模块编码(政策导航-最热政策:notice_navigation_hot、了解锦水-印象:notice_impression、了解锦水-味道:notice_taste、政策导航-最新通知: notice_navigation_new、了解锦水-警示:notice_warning) + noticeCategory: 'notice_navigation_hot', }) } else {//最新通知 this.setData({ - noticeCategory: '6', + noticeCategory: 'notice_navigation_new', }) } this.setData({ diff --git a/subpages/integralCentre/pages/index/index.js b/subpages/integralCentre/pages/index/index.js index 0729b8e..b5b0c36 100644 --- a/subpages/integralCentre/pages/index/index.js +++ b/subpages/integralCentre/pages/index/index.js @@ -24,7 +24,7 @@ Page({ selectTab: 'tab1', typeList: [{ //排名方式:0-周,1-月 type: '0', - name: '网络排名', + name: '网格排名', select: true }, { diff --git a/subpages/understandJs/pages/delicious/delicious.wxml b/subpages/understandJs/pages/delicious/delicious.wxml index 0b140fc..f5387a1 100644 --- a/subpages/understandJs/pages/delicious/delicious.wxml +++ b/subpages/understandJs/pages/delicious/delicious.wxml @@ -6,7 +6,7 @@ wx:for="{{noticelist}}" bindtap="toDetail" data-id="{{item.id}}"> - + {{item.noticeTitle}}