From 0a8512f9e2e4246aa9d2db650add0a95d54e690d Mon Sep 17 00:00:00 2001
From: loser <690927457@qq.com>
Date: Tue, 30 Jan 2024 23:36:29 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E6=84=8F=E4=BA=8B=E9=A1=B9=E5=9B=BE?=
=?UTF-8?q?=E7=89=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 2 +-
pages/index/note_list.vue | 44 ++++++++++++++++++++++++---------------
pages/index/result.vue | 2 +-
3 files changed, 29 insertions(+), 19 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/note_list.vue b/pages/index/note_list.vue
index 5af80ce..3f1d82e 100644
--- a/pages/index/note_list.vue
+++ b/pages/index/note_list.vue
@@ -154,9 +154,9 @@
const handle_info = ref(null)
const handle_info_index = ref(0)
function handle_func(item,i) {
- handle_info.value = item
- handle_info_index.value = i
- inputDialog.value.open()
+ // handle_info.value = item
+ // handle_info_index.value = i
+ // inputDialog.value.open()
}
function finishFunc() {
// api.todoFinished
@@ -185,23 +185,33 @@
}
}
})
- }
-
+ }
+
-
+
-
-
- {{item.content}}
-
-
- {{util.timestampToDate(item.CreatedAt)}}
+
+
+
+
+
+
+
+ {{util.timestampToDate(item.CreatedAt)}}
+
-
-
+
+
+
+
+
@@ -226,8 +236,8 @@
-
-
+
+
\ No newline at end of file
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,