From d9cc96fb2d4c133724c0e880c7d5e93720cd5441 Mon Sep 17 00:00:00 2001 From: helming Date: Wed, 22 Feb 2023 00:19:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- pages.json | 10 ++- pages/login/login.vue | 138 ++++++++++++++++++++++++++++++++++++++---- uni.scss | 2 +- 4 files changed, 135 insertions(+), 17 deletions(-) diff --git a/main.js b/main.js index 733a615..5a7210f 100644 --- a/main.js +++ b/main.js @@ -6,7 +6,7 @@ import common from './utils/common.js' // const baseURL = 'http://localhost:7010' //const baseURL = 'http://81.69.47.31:7010' // const baseURL = 'http://bnyer.vaiwan.com' -const baseURL = 'http://i5s7bh.natappfree.cc' +const baseURL = 'http://aipdbt.natappfree.cc' Vue.prototype.$baseURL = baseURL; diff --git a/pages.json b/pages.json index d670165..a03fd67 100644 --- a/pages.json +++ b/pages.json @@ -38,8 +38,9 @@ },{ "path": "pages/login/login", "style": { - "navigationBarTitleText": "登录", - "enablePullDownRefresh": false + "navigationBarTitleText": " ", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#22343C" } }, { @@ -211,7 +212,10 @@ "navigationBarTextStyle": "black", "navigationBarTitleText": "bnyer", "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" + "backgroundColor": "#F8F8F8", + "rpxCalcMaxDeviceWidth": 750, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960 + "rpxCalcBaseDeviceWidth": 375, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375 + "rpxCalcIncludeWidth": 750 // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750 }, //底部跳转tab "tabBar": { diff --git a/pages/login/login.vue b/pages/login/login.vue index a150b44..1a80806 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -1,14 +1,40 @@ @@ -27,7 +53,7 @@ phone: '', password: '' }, - + rules: { password: { rules: [{ @@ -141,6 +167,94 @@ } - diff --git a/uni.scss b/uni.scss index c24ca6b..ae4674b 100644 --- a/uni.scss +++ b/uni.scss @@ -1 +1 @@ -@import '@/uni_modules/uni-scss/variables.scss'; \ No newline at end of file +@import '@/uni_modules/uni-scss/variables.scss';