From 26f57ccf5ea9e01faaa8d40194767f2523d43737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=80=AA?= <690927457@qq.com> Date: Wed, 17 Jan 2024 00:09:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96=EF=BC=9B?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=86=E5=8A=9B=E6=B5=8B=E8=AF=95=E7=BB=93?= =?UTF-8?q?=E6=9E=9Cbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- pages/index/result.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages.json b/pages.json index d137194..6a0f929 100644 --- a/pages.json +++ b/pages.json @@ -5,7 +5,7 @@ "style": { "navigationBar":"custom", "navigationBarTitleText":"", - "navigationBarBackgroundImage":"/static/style/bg.png" + "navigationStyle":"custom" } }, { diff --git a/pages/index/result.vue b/pages/index/result.vue index 9f53841..4518324 100644 --- a/pages/index/result.vue +++ b/pages/index/result.vue @@ -31,7 +31,7 @@ const show_ = ref(false) // 函数 function randomFunc() { - bg_index.value = parseInt((Math.random()*3)) + bg_index.value = parseInt((Math.random()*store.bgList.length)) uni.getImageInfo({ // src:bg_imgs.value[bg_index.value], src:bg_imgs.value[bg_index.value].url,