From 4281ac05f957945285ac0efc51ef9aee8915033c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E6=A0=88=E5=B0=8F=E5=AD=A6=E7=94=9F?= <1518079521@qq.com> Date: Sat, 3 Jun 2023 18:28:00 +0800 Subject: [PATCH] uni-app update --- uni-app/api/pay.ts | 4 +- uni-app/components/app-link/app-link.vue | 49 ++++--- uni-app/components/diy/graphic-nav/index.vue | 137 ++++++++++-------- uni-app/components/diy/image-ads/index.vue | 50 ++----- uni-app/components/diy/text/index.vue | 30 ++-- uni-app/locale/language.ts | 16 +- uni-app/locale/zh-Hans.json | 27 +++- uni-app/locale/zh-Hans/common.json | 2 +- .../pages.member.recharge_record_detail.json | 12 +- uni-app/pages/article/detail.vue | 3 + uni-app/pages/index/nosite.vue | 16 ++ uni-app/pages/member/recharge_record.vue | 37 +++-- .../pages/member/recharge_record_detail.vue | 86 ++++------- uni-app/stores/system.ts | 2 +- uni-app/utils/auth.ts | 6 +- uni-app/utils/common.ts | 24 ++- uni-app/utils/interceptor.ts | 14 +- 17 files changed, 279 insertions(+), 236 deletions(-) create mode 100644 uni-app/pages/index/nosite.vue diff --git a/uni-app/api/pay.ts b/uni-app/api/pay.ts index 567f5815c..87d866443 100644 --- a/uni-app/api/pay.ts +++ b/uni-app/api/pay.ts @@ -4,12 +4,12 @@ import request from '@/utils/request' * 支付 */ export function pay(data : AnyObject) { - return request.post(`/pay`, data, { showErrorMessage: true }) + return request.post(`pay`, data, { showErrorMessage: true }) } /** * 获取支付信息 */ export function getPayInfo(outTradeNo : string) { - return request.get(`/pay/info/${outTradeNo}`, {}, { showErrorMessage: true }) + return request.get(`pay/info/${outTradeNo}`, {}, { showErrorMessage: true }) } \ No newline at end of file diff --git a/uni-app/components/app-link/app-link.vue b/uni-app/components/app-link/app-link.vue index deda00442..35b2c9fc5 100644 --- a/uni-app/components/app-link/app-link.vue +++ b/uni-app/components/app-link/app-link.vue @@ -1,29 +1,38 @@ \ No newline at end of file diff --git a/uni-app/components/diy/graphic-nav/index.vue b/uni-app/components/diy/graphic-nav/index.vue index cf481cf13..963fa30ff 100644 --- a/uni-app/components/diy/graphic-nav/index.vue +++ b/uni-app/components/diy/graphic-nav/index.vue @@ -5,28 +5,31 @@ {{diyComponent.navTitle}} - + - - - - - {{ item.label.text }} + + + + + + + {{ item.label.text }} + + + + + {{ item.title }} - + - - {{ item.title }} - - + @@ -38,39 +41,43 @@ v-for="(numItem, numIndex) in Math.ceil(diyComponent.list.length / (diyComponent.pageCount * diyComponent.rowCount))"> - + :style="{ width: 100 / diyComponent.rowCount + '%' }"> - + :style="{ width: 100 / diyComponent.rowCount + '%' }"> - - - + - - {{ item.label.text }} + + + + + + {{ item.label.text }} + + + + + {{ item.title }} - + - - {{ item.title }} - @@ -81,29 +88,31 @@ - - - - - - {{ item.label.text }} + :style="{ width: 100 / diyComponent.rowCount + '%' }"> + + + + + + + {{ item.label.text }} + + + + {{ item.title }} - - - {{ item.title }} - + diff --git a/uni-app/components/diy/image-ads/index.vue b/uni-app/components/diy/image-ads/index.vue index 75803249e..46038a172 100644 --- a/uni-app/components/diy/image-ads/index.vue +++ b/uni-app/components/diy/image-ads/index.vue @@ -1,18 +1,21 @@