From f6f5793e41759e43455380d6c9494e2cfba46d79 Mon Sep 17 00:00:00 2001 From: kron Date: Tue, 13 Jan 2026 11:35:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E9=A6=96=E9=A1=B5UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AppFooter.vue | 16 ++- src/components/LiveItem.vue | 142 +++++++++++++++++++++ src/components/MyRank.vue | 176 +++++++++++++++++++++++++ src/components/NoticeBar.vue | 98 ++++++++++++++ src/components/TopRank.vue | 197 ++++++++++++++++++++++++++++ src/pages/index.vue | 240 ++++++++++++++++++++++++++++++++++- src/static/announce.png | Bin 0 -> 3656 bytes src/static/dashen.png | Bin 0 -> 655 bytes src/static/first-try.png | Bin 4260 -> 0 bytes src/static/friend-battle.png | Bin 19326 -> 0 bytes src/static/juezhanbang.png | Bin 6900 -> 0 bytes src/static/my-growth.png | Bin 6980 -> 0 bytes src/static/my-practise.png | Bin 21120 -> 0 bytes src/static/nvshen.png | Bin 0 -> 691 bytes src/static/race-title-bg.png | Bin 0 -> 5089 bytes src/static/rank-title.png | Bin 0 -> 2088 bytes src/static/trophy-bg.png | Bin 0 -> 2600 bytes src/static/xinren.png | Bin 0 -> 707 bytes 18 files changed, 862 insertions(+), 7 deletions(-) create mode 100644 src/components/LiveItem.vue create mode 100644 src/components/MyRank.vue create mode 100644 src/components/NoticeBar.vue create mode 100644 src/components/TopRank.vue create mode 100644 src/static/announce.png create mode 100644 src/static/dashen.png delete mode 100644 src/static/first-try.png delete mode 100644 src/static/friend-battle.png delete mode 100644 src/static/juezhanbang.png delete mode 100644 src/static/my-growth.png delete mode 100644 src/static/my-practise.png create mode 100644 src/static/nvshen.png create mode 100644 src/static/race-title-bg.png create mode 100644 src/static/rank-title.png create mode 100644 src/static/trophy-bg.png create mode 100644 src/static/xinren.png diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index a5fe5bc..f40a7b0 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -1,11 +1,19 @@ diff --git a/src/components/LiveItem.vue b/src/components/LiveItem.vue new file mode 100644 index 0000000..7a8e906 --- /dev/null +++ b/src/components/LiveItem.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/src/components/MyRank.vue b/src/components/MyRank.vue new file mode 100644 index 0000000..088018f --- /dev/null +++ b/src/components/MyRank.vue @@ -0,0 +1,176 @@ + + + + + diff --git a/src/components/NoticeBar.vue b/src/components/NoticeBar.vue new file mode 100644 index 0000000..10ed4e5 --- /dev/null +++ b/src/components/NoticeBar.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/components/TopRank.vue b/src/components/TopRank.vue new file mode 100644 index 0000000..d6ca869 --- /dev/null +++ b/src/components/TopRank.vue @@ -0,0 +1,197 @@ + + + + + diff --git a/src/pages/index.vue b/src/pages/index.vue index a3ede65..187de0f 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -3,6 +3,10 @@ import { ref, onMounted } from "vue"; import { onShow, onShareAppMessage, onShareTimeline } from "@dcloudio/uni-app"; import AppFooter from "@/components/AppFooter.vue"; import Signin from "@/components/Signin.vue"; +import NoticeBar from "@/components/NoticeBar.vue"; +import TopRank from "@/components/TopRank.vue"; +import MyRank from "@/components/MyRank.vue"; +import LiveItem from "@/components/LiveItem.vue"; import { getAppConfig, @@ -27,9 +31,16 @@ const { } = store; const { user, device, rankData, online, game } = storeToRefs(store); +const isIOS = uni.getDeviceInfo().osName === "ios"; const showModal = ref(false); const showGuide = ref(false); const selected = ref(0); +const liveType = ref(0); +const liveTypes = { + 大神赛: "../static/dashen.png", + 新人王: "../static/xinren.png", + 女神赛: "../static/nvshen.png", +}; const toPage = async (path) => { if (!user.value.id) { @@ -129,7 +140,7 @@ onShareTimeline(() => { height: 'calc(100vh - ' + capsuleHeight + 'px)', }" > - + { mode="widthFix" /> - + + + + + + 绑定我的智能弓 + 设备离线 + 设备在线 + + + + + + + + + + + + + + + + + + + + + + + + + + 星球榜 + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -