From 26245f1099ca1cc41786e596aae5388a1f5bfb86 Mon Sep 17 00:00:00 2001 From: Vinjor Date: Wed, 2 Apr 2025 15:17:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- config.js | 47 ++++---- pages/mine/member/member-card.vue | 174 +++++++++++++++++++++++++++--- 3 files changed, 185 insertions(+), 38 deletions(-) diff --git a/App.vue b/App.vue index 3a5b10d..fb062d6 100644 --- a/App.vue +++ b/App.vue @@ -32,5 +32,5 @@ \ No newline at end of file diff --git a/config.js b/config.js index 491a990..b9e4484 100644 --- a/config.js +++ b/config.js @@ -1,24 +1,27 @@ // 应用全局配置 module.exports = { - baseUrl: 'http://192.168.1.17:8080', - // baseUrl: 'http://localhost:8080', - // 应用信息 - appInfo: { - // 应用名称 - name: "多点通告", - // 应用版本 - version: "1.1.0", - // 应用logo - logo: "/static/logo.png", - // 政策协议 - agreements: [{ - title: "隐私协议", - code: "privacy_agreement" - }, - { - title: "用户服务协议", - code: "privacy_agreement" - } - ] - } -} + baseUrl: 'http://192.168.1.17:8080', + // baseUrl: 'http://localhost:8080', + // 应用信息 + appInfo: { + // 应用名称 + name: "多点通告", + // 应用版本 + version: "1.1.0", + // 应用logo + logo: "/static/logo.png", + // 政策协议 + agreements: [{ + title: "隐私协议", + code: "privacy_agreement" + }, + { + title: "用户服务协议", + code: "privacy_agreement" + }, { + title: "会员协议", + code: "member_agreement" + }, + ] + } +} \ No newline at end of file diff --git a/pages/mine/member/member-card.vue b/pages/mine/member/member-card.vue index c15d805..3f24744 100644 --- a/pages/mine/member/member-card.vue +++ b/pages/mine/member/member-card.vue @@ -6,7 +6,7 @@ + :class="index==chooseCardIndex?'dl-menu click':'dl-menu'"> {{item.cardName}} @@ -15,12 +15,24 @@ - - 年付会员 - ¥228 - 折合0.82 + + + + {{item.title}} + ¥{{item.price}} + 折合{{item.dayPrice}}元/天 + + 立即开通 + + + 开通即代表您已阅读并同意《{{globalConfig.appInfo.agreements[2].title}}》 + @@ -62,31 +74,60 @@