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

master
阿怪 8 months ago
parent 2e387bc71f
commit 26f57ccf5e

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

@ -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,

Loading…
Cancel
Save