From 20552f4050288486e5cf3f05b113d41cf6547ab7 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Wed, 22 May 2024 19:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=98=B2=E4=BC=AA=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +- lang/en.json | 3 +- lang/zh.json | 3 +- pages.json | 12 ++ pages/plugins/antifakecode/index/index.css | 19 +++ pages/plugins/antifakecode/index/index.vue | 140 +++++++++++++++++++++ 6 files changed, 177 insertions(+), 4 deletions(-) create mode 100644 pages/plugins/antifakecode/index/index.css create mode 100644 pages/plugins/antifakecode/index/index.vue diff --git a/App.vue b/App.vue index e62e022c..d749cb82 100644 --- a/App.vue +++ b/App.vue @@ -7,10 +7,10 @@ data: { // 基础配置 // 数据接口请求地址 - request_url: 'https://d1.shopxo.vip/', + request_url: 'http://shopxo.com/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - static_url: 'https://d1.shopxo.vip/', + static_url: 'http://shopxo.com/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/lang/en.json b/lang/en.json index 17d53b63..690f73d2 100644 --- a/lang/en.json +++ b/lang/en.json @@ -202,7 +202,8 @@ "plugins-coin-transaction-list": "Transaction details", "plugins-coin-cash-list": "Withdrawal details", "plugins-coin-convert-list": "Conversion details", - "plugins-coin-recharge-list": "Recharge details" + "plugins-coin-recharge-list": "Recharge details", + "plugins-antifakecode-index": "Authentic inquiry" }, "login": { "login": { diff --git a/lang/zh.json b/lang/zh.json index 45970850..1bd18b5f 100644 --- a/lang/zh.json +++ b/lang/zh.json @@ -201,7 +201,8 @@ "plugins-coin-cash-list": "提现明细", "plugins-coin-convert-list": "转换明细", "plugins-coin-recharge-list": "充值明细", - "plugins-coin-collection": "收款" + "plugins-coin-collection": "收款", + "plugins-antifakecode-index": "正品查询" }, "login": { "login": { diff --git a/pages.json b/pages.json index bc128df2..d47a662a 100644 --- a/pages.json +++ b/pages.json @@ -1564,6 +1564,18 @@ } } ] + }, + { + "root": "pages/plugins/antifakecode", + "pages": [ + { + "path": "index/index", + "style": { + "enablePullDownRefresh": false, + "navigationBarTitleText": "" + } + } + ] } ], "preloadRule": { diff --git a/pages/plugins/antifakecode/index/index.css b/pages/plugins/antifakecode/index/index.css new file mode 100644 index 00000000..7d7a51ff --- /dev/null +++ b/pages/plugins/antifakecode/index/index.css @@ -0,0 +1,19 @@ +/** + * 基础 + */ +.page-content { + background: #fff; +} +.scan-button { + background: linear-gradient( 270deg, #F1E6C1 0%, #DBC583 100%); + max-width: 300rpx; +} +.scan-button text { + color: #CC2121; +} +/** + * 扫码按钮增加页面底部间距 + */ +.page-bottom-fixed { + padding-bottom: 100rpx !important; +} \ No newline at end of file diff --git a/pages/plugins/antifakecode/index/index.vue b/pages/plugins/antifakecode/index/index.vue new file mode 100644 index 00000000..2b099993 --- /dev/null +++ b/pages/plugins/antifakecode/index/index.vue @@ -0,0 +1,140 @@ + + + \ No newline at end of file