From a63bd684b5eb7ad996303c7e63f6a5462d28f50b Mon Sep 17 00:00:00 2001 From: "MS-ENEXEYCSUEKE\\Administrator" <2577131060@qq.com> Date: Mon, 24 Nov 2025 17:56:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=85=85=E5=80=BC=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/modules/user.ts | 28 ++ pages.json | 12 + pages/user/index.vue | 643 +++++++++++++++++++++++-------------------- 3 files changed, 386 insertions(+), 297 deletions(-) diff --git a/api/modules/user.ts b/api/modules/user.ts index 0b1fbd8..242e138 100644 --- a/api/modules/user.ts +++ b/api/modules/user.ts @@ -215,3 +215,31 @@ export async function verifyIAP(data: any) { }) return res } + +/** + * 获取充值列表 + * @param type 固定值 point + * @param qudao 支付类型 + */ +export async function getBookBuyConfigList(type: string, qudao: string) { + const res = await mainClient.request({ + url: 'common/bookBuyConfig/getBookBuyConfigList', + method: 'POST', + data: {type, qudao} + }) + return res +} + +/** + * 获取隐私协议 + * @param id 101众妙之门隐私政策 + */ +export async function getAgreement(id: string) { + console.log(id, 'id'); + const res = await mainClient.request({ + url: '/sys/agreement/getAgreement', + method: 'POST', + data: {id} + }) + return res +} \ No newline at end of file diff --git a/pages.json b/pages.json index 98b8be9..a4bdf8c 100644 --- a/pages.json +++ b/pages.json @@ -67,6 +67,18 @@ "navigationBarTitleText": "%user.feedback%", "navigationStyle": "custom" } + }, { + "path": "pages/user/recharge/index", + "style": { + "navigationBarTitleText": "%user.recharge%", + "navigationStyle": "custom" + } + },{ + "path": "pages/user/virtual/index", + "style": { + "navigationBarTitleText": "%user.virtual%", + "navigationStyle": "custom" + } }, { "path": "pages/user/myBook/index", "style": { diff --git a/pages/user/index.vue b/pages/user/index.vue index 5ecd0f6..7823570 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -1,34 +1,30 @@ + .email { + display: block; + font-size: 28rpx; + color: #333; + margin-bottom: 10rpx; + } + + .vip-time { + display: block; + font-size: 28rpx; + color: #333; + } + } + } + + .vip-card-section { + padding: 0 20rpx; + margin-bottom: 20rpx; + } + + .vip-card { + background: #fff; + border-radius: 15rpx; + padding: 40rpx; + display: flex; + align-items: center; + justify-content: space-between; + box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05); + + .vip-info { + text-align: center; + + .label { + display: block; + font-size: 32rpx; + color: #333; + margin-bottom: 10rpx; + } + + .value { + display: block; + font-size: 30rpx; + color: $theme-color; + } + } + } + + .menu-section { + padding: 20rpx 20rpx 0; + } + + .menu-list { + background: #fff; + border-radius: 15rpx; + overflow: hidden; + box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05); + } + + .menu-item { + display: flex; + align-items: center; + justify-content: space-between; + padding: 30rpx; + border-bottom: 1px solid #e0e0e0; + + &:last-child { + border-bottom: none; + } + + &:active { + background-color: #f5f5f5; + } + + .menu-text { + font-size: 30rpx; + color: #333; + line-height: 40rpx; + } + } + + + + .chong_btn { + font-size: 26rpx; + display: block; + border-radius: 50rpx; + color: #fffbf6; + padding: 10rpx 32rpx; + background-image: linear-gradient(90deg, #3ab3ae 0%, #d5ecdd 200%); + } + + .assets { + display: flex; + flex: 1; + justify-content: space-around; + text-align: center; + transform:translateX(-20px); + + .assets_row { + margin-bottom: 20rpx; + } + } + \ No newline at end of file From c444c0340028f9a972a2e1349b52653d85520a7d Mon Sep 17 00:00:00 2001 From: "MS-ENEXEYCSUEKE\\Administrator" <2577131060@qq.com> Date: Tue, 25 Nov 2025 17:26:13 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- androidPrivacy.json | 2 +- api/modules/user.ts | 11 +++++++++++ manifest.json | 18 +++++++++++++++++- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/androidPrivacy.json b/androidPrivacy.json index 12df862..0d726ca 100644 --- a/androidPrivacy.json +++ b/androidPrivacy.json @@ -1,3 +1,3 @@ { - "prompt": "template" + "prompt" : "template" } diff --git a/api/modules/user.ts b/api/modules/user.ts index 5cfb7eb..8aef89d 100644 --- a/api/modules/user.ts +++ b/api/modules/user.ts @@ -242,4 +242,15 @@ export async function getAgreement(id: string) { data: {id} }) return res +} + +/** + * 获取活动说明 + */ +export async function getActivityDescription() { + const res = await mainClient.request({ + url: 'common/bookBuyConfig/getRechargeActivity', + method: 'POST' + }) + return res } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 8ca165c..dda432b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "Amazing Limited", + "name" : "com.amazinglimited", "appid" : "__UNI__1250B39", "description" : "Amazing Limited", "versionName" : "1.0.2", @@ -99,6 +99,22 @@ "splashscreen" : { "useOriginalMsgbox" : true } + }, + "nativePlugins" : { + "sn-googlepay5" : { + "__plugin_info__" : { + "name" : "安卓 google pay v7 v8插件", + "description" : "安卓 google pay v7,v8支付(内购,订阅,更改订阅)插件", + "platforms" : "Android", + "url" : "https://ext.dcloud.net.cn/plugin?id=12608", + "android_package_name" : "com.amazinglimited", + "ios_bundle_id" : "", + "isCloud" : true, + "bought" : 1, + "pid" : "12608", + "parameters" : {} + } + } } }, /* 快应用特有相关 */