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';