From 014c61afa998a085b6c3c93fc372d69cf422cca1 Mon Sep 17 00:00:00 2001 From: congzc Date: Tue, 8 Aug 2023 11:17:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/closeStyle/goCreatePhoto.vue | 19 ++++---- src/pages/createing/index.vue | 33 +++++++++----- src/pages/index/index.vue | 19 ++++---- src/pages/lookPhoto/index.vue | 63 +++++++++++++++----------- src/pages/uploadPhoto/uploadPhoto.vue | 19 +++++--- 5 files changed, 92 insertions(+), 61 deletions(-) diff --git a/src/pages/closeStyle/goCreatePhoto.vue b/src/pages/closeStyle/goCreatePhoto.vue index 81307fd..03473bd 100644 --- a/src/pages/closeStyle/goCreatePhoto.vue +++ b/src/pages/closeStyle/goCreatePhoto.vue @@ -4,12 +4,14 @@ > 风格名称 - + + + 金币余额:  30 @@ -48,9 +50,10 @@ function createing() { margin-top: 30rpx; margin-bottom: 50rpx; } -button { - width: 60% !important; +.buttonBox { + width: 60%; } + .balance { margin-top: 30rpx; font-size: 40rpx; diff --git a/src/pages/createing/index.vue b/src/pages/createing/index.vue index 946ec73..82676cb 100644 --- a/src/pages/createing/index.vue +++ b/src/pages/createing/index.vue @@ -12,7 +12,12 @@ > - + @@ -31,13 +36,15 @@ 点击查看高清写真 - + + + @@ -58,7 +65,11 @@ function changeStyle() { url: "/pages/closeStyle/closeStyle", }); } - +function goLookPhoto() { + uni.redirectTo({ + url: "/pages/lookPhoto/index", + }); +} //#endregion --------------------- //#region @@ -129,8 +140,8 @@ function changeStyle() { margin-top: 20rpx; margin-bottom: 30rpx; } - button { - width: 70% !important; + .buttonBox { + width: 50%; } } diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index e70e4ce..6c36c2d 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -9,12 +9,14 @@ :controls="false" /> - + + + 金币余额:  30 - - - - + + + + + + + + + + + + @@ -143,16 +151,17 @@ function bueCoin() { font-size: 40rpx; margin-bottom: 50rpx; } - button { - width: 60% !important; + .buttonBox { + width: 60%; } + .btnBox { margin-top: 90rpx; width: 100%; display: flex; justify-content: space-between; - button { - width: 30% !important; + .buttonBox { + width: 30%; } } } diff --git a/src/pages/uploadPhoto/uploadPhoto.vue b/src/pages/uploadPhoto/uploadPhoto.vue index 65ddb70..ff1949e 100644 --- a/src/pages/uploadPhoto/uploadPhoto.vue +++ b/src/pages/uploadPhoto/uploadPhoto.vue @@ -32,12 +32,14 @@ mode="aspectFit" /> - + + + 请按照样片上传您五官清晰的正面照片 @@ -152,9 +154,12 @@ function toCloseStyle() { } } } +.buttonBox { + width: 50%; +} // 上传 .u-button { - width: 70% !important; + // width: 70% !important; } .tips { margin-top: 20rpx;