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