From 1b9c79c1b50c5ec221e7f462634474f882478a8b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 6 Jan 2021 10:34:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/main/main.js | 4 ++-- pages/main/main.wxml | 3 +-- project.config.json | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pages/main/main.js b/pages/main/main.js index 72371d5..ffbb094 100644 --- a/pages/main/main.js +++ b/pages/main/main.js @@ -36,6 +36,8 @@ Page({ previousMargin: 0, // 后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值 nextMargin: 0, + msgList: [ + { title: "欢迎使用安全生产管理工具!" },{title:"每晚10-11点不定期更新,请尽量不在此时间使用"}] }, /** @@ -59,8 +61,6 @@ Page({ this.setData({ isGjjt: true, user__name:getApp().globalData.userInfo.name, - msgList: [ - { title: "知识竞赛火热进行中!" },] }) } // let openid = getApp().globalData.userInfo.openid; diff --git a/pages/main/main.wxml b/pages/main/main.wxml index 554c0c5..9828cf5 100644 --- a/pages/main/main.wxml +++ b/pages/main/main.wxml @@ -10,7 +10,7 @@ - + {{item.title}} @@ -18,7 +18,6 @@ - diff --git a/project.config.json b/project.config.json index d05200c..6ebef3d 100644 --- a/project.config.json +++ b/project.config.json @@ -25,14 +25,14 @@ "disablePlugins": [], "outputPath": "" }, + "bundle": false, "useIsolateContext": true, "useCompilerModule": false, "userConfirmedUseCompilerModuleSwitch": false, "userConfirmedBundleSwitch": false, "packNpmManually": false, "packNpmRelationList": [], - "minifyWXSS": true, - "bundle": false + "minifyWXSS": true }, "compileType": "miniprogram", "libVersion": "2.9.4",