From 24374f44e215e6fd4078d7f5d7052f32ca302063 Mon Sep 17 00:00:00 2001
From: ZhaoTongYao <531131322@qq.com>
Date: Wed, 19 Aug 2020 13:33:32 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BF=97=E6=84=BF=E8=80=85=E6=B3=A8=E5=86=8C?=
=?UTF-8?q?=E7=AD=BE=E5=90=8D=E6=94=B9=E4=B8=BA=E6=A0=BC=E8=A8=80=EF=BC=9B?=
=?UTF-8?q?=E7=A7=AF=E5=88=86=E7=81=AB=E7=81=ABbanner=E4=BF=AE=E5=A4=8D?=
=?UTF-8?q?=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
project.config.json | 9 +--------
subpages/heart/pages/leaderboardNew/leaderboardNew.js | 5 ++++-
subpages/heart/pages/volunteer/volunteer.wxml | 8 ++++----
3 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/project.config.json b/project.config.json
index fb18f29..97977e3 100644
--- a/project.config.json
+++ b/project.config.json
@@ -17,22 +17,15 @@
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
- "compileHotReLoad": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
-<<<<<<< HEAD
- "useCompilerModule": true,
+ "useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false,
"compileHotReLoad": false,
"useIsolateContext": true
-=======
- "useIsolateContext": true,
- "useCompilerModule": false,
- "userConfirmedUseCompilerModuleSwitch": false
->>>>>>> 5f77a3de8685061a23d87e7003a24ef1037572cf
},
"compileType": "miniprogram",
"libVersion": "2.8.2",
diff --git a/subpages/heart/pages/leaderboardNew/leaderboardNew.js b/subpages/heart/pages/leaderboardNew/leaderboardNew.js
index 3053a54..63b17df 100644
--- a/subpages/heart/pages/leaderboardNew/leaderboardNew.js
+++ b/subpages/heart/pages/leaderboardNew/leaderboardNew.js
@@ -88,7 +88,10 @@ Page({
preViewImage (e) {
let list = [];
list.push(this.data.banner[e.currentTarget.dataset.listIndex].bannerImg)
- list.push(this.data.banner[e.currentTarget.dataset.listIndex+1].bannerImg)
+ console.log(list)
+ if (e.currentTarget.dataset.listIndex+1 < this.data.banner.length) {
+ list.push(this.data.banner[e.currentTarget.dataset.listIndex+1].bannerImg)
+ }
wx.previewImage({
urls: list,
current: e.currentTarget.dataset.src
diff --git a/subpages/heart/pages/volunteer/volunteer.wxml b/subpages/heart/pages/volunteer/volunteer.wxml
index e5fe5ca..96dc13d 100644
--- a/subpages/heart/pages/volunteer/volunteer.wxml
+++ b/subpages/heart/pages/volunteer/volunteer.wxml
@@ -79,11 +79,11 @@
- 签名
+ 格言
-
+
@@ -128,7 +128,7 @@
-
+