From 94a4b5e1df037b17a7e6a1792f123f7999db4f5d Mon Sep 17 00:00:00 2001 From: Huakk <1751826683@qq.com> Date: Mon, 20 May 2024 18:18:16 +0800 Subject: [PATCH] feat(custom): --- config/index.ts | 2 +- src/app.config.ts | 16 +- src/pages/admin/verify/index.vue | 2 +- src/pages/admin/verify/verify_list/index.vue | 4 +- src/pages/admin/withdrawal/index.vue | 8 +- src/pages/index/index.scss | 6 +- src/pages/index/index.vue | 24 +- src/pages/user/index.scss | 141 +++++++ src/pages/user/index.vue | 363 ++++++------------- src/pages/users/account/index.vue | 90 +++-- src/pages/users/order_list/index.vue | 19 +- src/static/tabbar/1-0.png | Bin 0 -> 1002 bytes src/static/tabbar/1-01.png | Bin 2329 -> 0 bytes src/static/tabbar/1-02.png | Bin 3289 -> 0 bytes src/static/tabbar/1-1.png | Bin 0 -> 919 bytes src/static/tabbar/2-0.png | Bin 0 -> 1635 bytes src/static/tabbar/2-01.png | Bin 813 -> 0 bytes src/static/tabbar/{2-02.png => 2-1.png} | Bin src/static/tabbar/3-0.png | Bin 0 -> 1075 bytes src/static/tabbar/3-01.png | Bin 541 -> 0 bytes src/static/tabbar/3-02.png | Bin 899 -> 0 bytes src/static/tabbar/3-1.png | Bin 0 -> 986 bytes src/static/tabbar/4-0.png | Bin 0 -> 1288 bytes src/static/tabbar/4-01.png | Bin 590 -> 0 bytes src/static/tabbar/{4-02.png => 4-1.png} | Bin 25 files changed, 330 insertions(+), 345 deletions(-) create mode 100644 src/pages/user/index.scss create mode 100644 src/static/tabbar/1-0.png delete mode 100644 src/static/tabbar/1-01.png delete mode 100644 src/static/tabbar/1-02.png create mode 100644 src/static/tabbar/1-1.png create mode 100644 src/static/tabbar/2-0.png delete mode 100644 src/static/tabbar/2-01.png rename src/static/tabbar/{2-02.png => 2-1.png} (100%) create mode 100644 src/static/tabbar/3-0.png delete mode 100644 src/static/tabbar/3-01.png delete mode 100644 src/static/tabbar/3-02.png create mode 100644 src/static/tabbar/3-1.png create mode 100644 src/static/tabbar/4-0.png delete mode 100644 src/static/tabbar/4-01.png rename src/static/tabbar/{4-02.png => 4-1.png} (100%) diff --git a/config/index.ts b/config/index.ts index d1a5dd9..2f6adf0 100644 --- a/config/index.ts +++ b/config/index.ts @@ -51,7 +51,7 @@ const config = { prebundle: {enable: false}, }, cache: { - enable: false, // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache + enable: true, // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache }, sass: { data: `@import "@nutui/nutui-taro/dist/styles/variables.scss";`, diff --git a/src/app.config.ts b/src/app.config.ts index 3073d08..80d70a7 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -92,26 +92,26 @@ export default defineAppConfig({ list: [ { pagePath: 'pages/index/index', - iconPath: 'static/tabbar/1-01.png', - selectedIconPath: 'static/tabbar/1-02.png', + iconPath: 'static/tabbar/1-0.png', + selectedIconPath: 'static/tabbar/1-1.png', text: '首页', }, { pagePath: 'pages/game/gamehome/index', - iconPath: 'static/tabbar/2-01.png', - selectedIconPath: 'static/tabbar/2-02.png', + iconPath: 'static/tabbar/2-0.png', + selectedIconPath: 'static/tabbar/2-1.png', text: '游戏', }, { pagePath: 'pages/cart/index', - iconPath: 'static/tabbar/3-01.png', - selectedIconPath: 'static/tabbar/3-02.png', + iconPath: 'static/tabbar/3-0.png', + selectedIconPath: 'static/tabbar/3-1.png', text: '购物车', }, { pagePath: 'pages/user/index', - iconPath: 'static/tabbar/4-01.png', - selectedIconPath: 'static/tabbar/4-02.png', + iconPath: 'static/tabbar/4-0.png', + selectedIconPath: 'static/tabbar/4-1.png', text: '我的', }, ], diff --git a/src/pages/admin/verify/index.vue b/src/pages/admin/verify/index.vue index 44848ab..19c41ae 100644 --- a/src/pages/admin/verify/index.vue +++ b/src/pages/admin/verify/index.vue @@ -58,7 +58,7 @@ page { } .card { - width: 80%; + width: 690px; height: 300px; box-sizing: border-box; background-color: #fff; diff --git a/src/pages/admin/verify/verify_list/index.vue b/src/pages/admin/verify/verify_list/index.vue index 35ee3ed..658382d 100644 --- a/src/pages/admin/verify/verify_list/index.vue +++ b/src/pages/admin/verify/verify_list/index.vue @@ -73,10 +73,10 @@ Taro.useLoad(options => { const goodInfo = ref({}); const getData = async (options: any) => { - const merInfo = Taro.getStorageSync('mer_info'); + const merInfo = Taro.getStorageSync("userInfo"); const res = await getActiveVerifyList({ oid: options.oid, - bid: merInfo.bid, + bid: merInfo.data.bid, }); if (!res.data.data.oid) { Taro.showToast({ diff --git a/src/pages/admin/withdrawal/index.vue b/src/pages/admin/withdrawal/index.vue index c89ab69..a6a691c 100644 --- a/src/pages/admin/withdrawal/index.vue +++ b/src/pages/admin/withdrawal/index.vue @@ -164,13 +164,13 @@ Taro.useReachBottom(() => { - + 积分提现 - 提现疑问 + 提现疑问 @@ -182,7 +182,7 @@ Taro.useReachBottom(() => { type="text">