From 2cf5b995a169939f27046ce198d9df0fcad83978 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Fri, 19 Jan 2024 18:14:25 +0800 Subject: [PATCH] change relative 750 --- uniapp_project_code/.hbuilderx/launch.json | 16 ++++++++++++ .../src/components/login/button.vue | 9 ++++--- uniapp_project_code/src/components/login/form.vue | 18 ++++++------- uniapp_project_code/src/components/login/logo.vue | 4 +-- .../src/components/login/pads_picker.vue | 19 +++++++------- .../src/components/login/setting_mask.vue | 30 +++++++++++----------- uniapp_project_code/src/pages.json | 4 +-- uniapp_project_code/src/pages/login/index.vue | 18 ++++++------- uniapp_project_code/src/pages/login/success.vue | 20 +++++++-------- uniapp_project_code/src/uni.scss | 2 +- 10 files changed, 79 insertions(+), 61 deletions(-) create mode 100644 uniapp_project_code/.hbuilderx/launch.json diff --git a/uniapp_project_code/.hbuilderx/launch.json b/uniapp_project_code/.hbuilderx/launch.json new file mode 100644 index 0000000..582561b --- /dev/null +++ b/uniapp_project_code/.hbuilderx/launch.json @@ -0,0 +1,16 @@ +{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version": "0.0", + "configurations": [{ + "app-plus" : + { + "launchtype" : "local" + }, + "default" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" + } + ] +} diff --git a/uniapp_project_code/src/components/login/button.vue b/uniapp_project_code/src/components/login/button.vue index 69bee73..7f48e8f 100644 --- a/uniapp_project_code/src/components/login/button.vue +++ b/uniapp_project_code/src/components/login/button.vue @@ -10,15 +10,16 @@ \ No newline at end of file diff --git a/uniapp_project_code/src/components/login/form.vue b/uniapp_project_code/src/components/login/form.vue index 8d4dac8..a919c6b 100644 --- a/uniapp_project_code/src/components/login/form.vue +++ b/uniapp_project_code/src/components/login/form.vue @@ -23,25 +23,25 @@ @include ctf(center); } .login-form{ - width: 1230upx; - border-radius: 11upx; + width: 420upx; + border-radius: 3.75upx; background: #fff; .lf-item{ - padding: 0 50upx; - height: 200upx; + padding: 0 16.88upx; + height: 68.62upx; @include ctf; &.lf-item{ - border-top: 2px solid #F2F2F7; + border-top: 1px solid #F2F2F7; } .li-icon{ - margin-right: 50upx; - width: 76upx; - height: 76upx; + margin-right: 18.6upx; + width: 26.4upx; + height: 26.4upx; } .li-ipt{ flex-grow: 1; height: 100%; - @include flcw; + @include flcw(16.67upx, 21upx); } } } diff --git a/uniapp_project_code/src/components/login/logo.vue b/uniapp_project_code/src/components/login/logo.vue index 5b36337..80054e9 100644 --- a/uniapp_project_code/src/components/login/logo.vue +++ b/uniapp_project_code/src/components/login/logo.vue @@ -14,8 +14,8 @@ export default { .logo-box{ @include ctf(center); .lb-img{ - width: 486upx; - height: 486upx; + width: 168.75upx; + height: 168.75upx; border-radius: 50%; background: skyblue; } diff --git a/uniapp_project_code/src/components/login/pads_picker.vue b/uniapp_project_code/src/components/login/pads_picker.vue index f6f369a..b78e6da 100644 --- a/uniapp_project_code/src/components/login/pads_picker.vue +++ b/uniapp_project_code/src/components/login/pads_picker.vue @@ -23,28 +23,29 @@ export default { \ No newline at end of file diff --git a/uniapp_project_code/src/pages/login/success.vue b/uniapp_project_code/src/pages/login/success.vue index 7dd62e1..14764c1 100644 --- a/uniapp_project_code/src/pages/login/success.vue +++ b/uniapp_project_code/src/pages/login/success.vue @@ -17,7 +17,7 @@ 设置 - + @@ -31,32 +31,32 @@ import settingMask from '@/components/login/setting_mask.vue'; \ No newline at end of file diff --git a/uniapp_project_code/src/uni.scss b/uniapp_project_code/src/uni.scss index 5ea3cd5..11598ca 100644 --- a/uniapp_project_code/src/uni.scss +++ b/uniapp_project_code/src/uni.scss @@ -23,7 +23,7 @@ $mColor: #009874; } /* 文字样式 */ -@mixin flcw($size: 48upx, $height: 66upx, $color: #333, $weight: 400){ +@mixin flcw($size: 16.67upx, $height: 22.92upx, $color: #333, $weight: 400){ font-size: $size; line-height: $height; color: $color;