样式优化;修改视力测试结果bug
This commit is contained in:
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…
Reference in New Issue
Block a user