样式优化;修改视力测试结果bug

This commit is contained in:
阿怪 2024-01-17 00:09:29 +08:00
parent 2e387bc71f
commit 26f57ccf5e
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"style": { "style": {
"navigationBar":"custom", "navigationBar":"custom",
"navigationBarTitleText":"", "navigationBarTitleText":"",
"navigationBarBackgroundImage":"/static/style/bg.png" "navigationStyle":"custom"
} }
}, },
{ {

View File

@ -31,7 +31,7 @@
const show_ = ref(false) const show_ = ref(false)
// //
function randomFunc() { function randomFunc() {
bg_index.value = parseInt((Math.random()*3)) bg_index.value = parseInt((Math.random()*store.bgList.length))
uni.getImageInfo({ uni.getImageInfo({
// src:bg_imgs.value[bg_index.value], // src:bg_imgs.value[bg_index.value],
src:bg_imgs.value[bg_index.value].url, src:bg_imgs.value[bg_index.value].url,