From 5800a0c76c9e76f5012f75fe97fd96be1c521f0c Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Fri, 8 May 2026 17:21:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=94=AF=E4=BB=98=E5=AE=9D=E6=94=AF?= =?UTF-8?q?=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 8 + src/pages.json | 7 + src/pages/setting/index.vue | 9 +- src/pages/tabbar/canteen.vue | 17 + src/pages/tabbar/my.vue | 12 +- src/pages/wallet/recharge-done.vue | 143 + src/pages/wallet/recharge.vue | 23 +- src/sheep/api/pay.ts | 9 + .../components/common/app-lottie-player.vue | 207 + .../components/common/copyright-text.vue | 6 + src/sheep/constant/service-enum.ts | 20 + src/static/icon/service_12.png | Bin 0 -> 3929 bytes src/static/lottie-json/fail.json | 1 + src/static/lottie-json/loading.json | 1 + src/static/lottie-json/success.json | 3866 +++++++++++++++++ 16 files changed, 4319 insertions(+), 11 deletions(-) create mode 100644 src/pages/wallet/recharge-done.vue create mode 100644 src/sheep/components/common/app-lottie-player.vue create mode 100644 src/sheep/components/common/copyright-text.vue create mode 100644 src/static/icon/service_12.png create mode 100644 src/static/lottie-json/fail.json create mode 100644 src/static/lottie-json/loading.json create mode 100644 src/static/lottie-json/success.json diff --git a/package.json b/package.json index 00297aa..97347e3 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "base64-utf8": "^1.0.0", "crypto-js": "^4.2.0", "dayjs": "^1.11.19", + "lottie-web": "^5.13.0", "luch-request": "^3.1.1", "pinia": "^3.0.4", "radash": "^12.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fee9291..026e88d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,6 +71,9 @@ importers: dayjs: specifier: ^1.11.19 version: 1.11.19 + lottie-web: + specifier: ^5.13.0 + version: 5.13.0 luch-request: specifier: ^3.1.1 version: 3.1.1 @@ -3074,6 +3077,9 @@ packages: lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + lottie-web@5.13.0: + resolution: {integrity: sha512-+gfBXl6sxXMPe8tKQm7qzLnUy5DUPJPKIyRHwtpCpyUEYjHYRJC/5gjUvdkuO2c3JllrPtHXH5UJJK8LRYl5yQ==} + lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -8373,6 +8379,8 @@ snapshots: lodash@4.17.21: {} + lottie-web@5.13.0: {} + lru-cache@5.1.1: dependencies: yallist: 3.1.1 diff --git a/src/pages.json b/src/pages.json index 2e8f412..7a17b81 100644 --- a/src/pages.json +++ b/src/pages.json @@ -173,6 +173,13 @@ "navigationBarTitleText": "", "disableScroll": true } + }, + { + "path": "recharge-done", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } } ] }, diff --git a/src/pages/setting/index.vue b/src/pages/setting/index.vue index 7a313b9..2f2ab30 100644 --- a/src/pages/setting/index.vue +++ b/src/pages/setting/index.vue @@ -22,8 +22,9 @@ - + + - {{ v }} + {{ + v + }} @@ -71,6 +75,7 @@ import { getAppVersionCode } from "@@/utils/appTool" import AffirmText from "@/sheep/components/common/affirm-text.vue" import AppHotUpdate from "@/sheep/components/app-version/app-hot-update.vue" +import CopyrightText from "@/sheep/components/common/copyright-text.vue" const dynamicMenuList = computed(() => { return state.menuList.filter(item => item.visible) diff --git a/src/pages/tabbar/canteen.vue b/src/pages/tabbar/canteen.vue index 0251cc1..b78680b 100644 --- a/src/pages/tabbar/canteen.vue +++ b/src/pages/tabbar/canteen.vue @@ -13,6 +13,7 @@ const state = reactive({ pa: { pagesize: 10, type: "1", + name: '', }, }) @@ -63,6 +64,12 @@ const reportPageAccess = async (pageCode: string) => { osVersion: systemInfo?.system || "", }) } +const search = () => { + pageRef.value && pageRef.value.reload(false) +} +const inputClear = () => { + pageRef.value && pageRef.value.reload(false) +}