From c5bf3cfc953f9865bd70f109363c2ea4e45c0c96 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 15 五月 2025 17:05:34 +0800
Subject: [PATCH] fix: 修改首页ui
---
packages/components/src/styles/components.scss | 166 ++++++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 126 insertions(+), 40 deletions(-)
diff --git a/packages/components/src/styles/components.scss b/packages/components/src/styles/components.scss
index 14cffc3..0a06f6d 100644
--- a/packages/components/src/styles/components.scss
+++ b/packages/components/src/styles/components.scss
@@ -1,48 +1,47 @@
-/*postcss-pxtransform disable*/
@use './common.scss' as *;
.recharge-tips-view {
- padding: 16px;
- border-radius: 12px;
+ padding: 32px;
+ border-radius: 24px;
background: linear-gradient(0deg, rgba(10, 90, 255, 0.04), rgba(10, 90, 255, 0.04)), #fff;
.recharge-tips-title {
color: #1f2229;
- font-size: 14px;
+ font-size: 24px;
font-weight: 700;
- line-height: 18px;
- padding: 4px 0 12px 0;
+ line-height: 36px;
+ padding: 8px 0 24px 0;
border-bottom: 1px solid boleGetCssVar('color', 'primary');
}
.recharge-tips-content {
color: boleGetCssVar('text-color', 'regular');
- font-size: 13px;
+ font-size: 26px;
font-weight: 400;
- line-height: 21px;
- padding-top: 16px;
+ line-height: 42px;
+ padding-top: 32px;
.recharge-tips-top {
color: #e03e2d;
- font-size: 18px;
+ font-size: 36px;
}
}
}
.confirm-dialog-content {
.confirm-dialog-content-tips {
- margin-bottom: 16px;
+ margin-bottom: 32px;
}
.confirm-dialog-content-info {
- padding: 12px;
- border-radius: 8px;
+ padding: 24px;
+ border-radius: 16px;
background: #f0f3fa;
- margin-bottom: 8px;
+ margin-bottom: 16px;
.confirm-dialog-content-info-item {
display: flex;
- margin-bottom: 10px;
+ margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
@@ -50,7 +49,8 @@
.confirm-dialog-content-info-item-label {
color: boleGetCssVar('text-color', 'regular');
- margin-right: 6px;
+ margin-right: 12px;
+ text-align: left;
}
.confirm-dialog-content-info-item-content {
@@ -72,29 +72,29 @@
.confirm-dialog-content-warning {
color: boleGetCssVar('color', 'danger');
text-align: left;
- font-size: 16px;
- line-height: 20px;
+ font-size: 32px;
+ line-height: 40px;
}
}
.select-pay-type-view {
.select-pay-type-view-item-icon {
- width: 32px;
- height: 32px;
- margin-right: 12px;
+ width: 64px;
+ height: 64px;
+ margin-right: 24px;
}
.select-pay-type-view-item {
- padding-left: 20px;
+ padding-left: 40px;
display: flex;
align-items: center;
- height: 80px;
+ height: 160px;
border: 1px solid #e2e5eb;
- border-radius: 8px;
+ border-radius: 16px;
background-color: #fff;
- margin-bottom: 16px;
+ margin-bottom: 32px;
cursor: pointer;
- font-size: 16px;
+ font-size: 32px;
color: boleGetCssVar('text-color', 'primary');
}
}
@@ -103,26 +103,49 @@
// padding:;
.recharge-result-view-title {
- font-size: 18px;
+ font-size: 36px;
color: boleGetCssVar('text-color', 'primary');
font-weight: 600;
- margin-bottom: 12px;
+ margin-bottom: 24px;
text-align: center;
- line-height: 24px;
+ line-height: 48px;
+ }
+
+ .recharge-result-view-subtitle {
+ font-size: 28px;
+ color: boleGetCssVar('text-color', 'primary');
+ margin-bottom: 24px;
+ text-align: center;
+ line-height: 32px;
}
.recharge-result-view-tips {
- margin-bottom: 12px;
- font-size: 16px;
+ margin-bottom: 24px;
+ font-size: 32px;
color: boleGetCssVar('color', 'danger');
- line-height: 20px;
+ line-height: 40px;
}
.recharge-result-view-warning {
- margin-bottom: 20px;
- font-size: 12px;
+ margin-bottom: 24px;
+ font-size: 24px;
color: boleGetCssVar('color', 'warning');
- line-height: 16px;
+ line-height: 32px;
+ }
+
+ .recharge-result-view-customerService {
+ margin-bottom: 40px;
+ font-size: 24px;
+ color: boleGetCssVar('text-color', 'primary');
+ line-height: 32px;
+ }
+
+ .recharge-result-view-remark {
+ margin-bottom: 40px;
+ font-size: 24px;
+ color: boleGetCssVar('text-color', 'primary');
+ line-height: 32px;
+ text-align: center;
}
.recharge-result-view-btn-wrapper {
@@ -130,14 +153,13 @@
justify-content: center;
.recharge-result-view-btn {
- padding: 0 20px;
- font-size: 16px;
+ padding: 0 40px;
+ font-size: 32px;
color: boleGetCssVar('color', 'primary');
- line-height: 16px;
+ line-height: 32px;
}
}
}
-
.loading-more-tips {
color: boleGetCssVar('text-color', 'primary');
@@ -203,4 +225,68 @@
// height: 23px;
margin-left: 18px;
color: boleGetCssVar('text-color', 'primary');
-}
\ No newline at end of file
+}
+
+.select-pay-type-view-form-item-radio {
+ .nut-radio__button--active {
+ // &::after {
+ // background-color: transparent;
+ // }
+ }
+
+ .select-pay-type-view-form-item {
+ display: flex;
+ align-items: center;
+ color: #1d1e1e !important;
+ .select-pay-type-view-form-item-icon {
+ width: 32px;
+ height: 32px;
+ margin-right: 8px;
+ }
+ }
+}
+
+.preview-image-wrapper {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+}
+
+.auto-width-image-wrapper {
+ width: auto !important;
+ height: auto !important;
+}
+
+.rich-edit-content {
+ .rich-content-item {
+ margin-bottom: 10px;
+
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ .rich-content-image-item {
+ display: block;
+ }
+
+ .rich-content-text-item {
+ word-break: break-all;
+ white-space: pre-line;
+ font-size: 30px;
+ line-height: 50px;
+ color: boleGetCssVar('text-color', 'primary');
+ }
+
+ .rich-content-video-item {
+ width: 100%;
+ height: 300px;
+ }
+
+ &.small {
+ .rich-content-text-item {
+ font-size: 24px;
+ line-height: 36px;
+ }
+ }
+}
--
Gitblit v1.9.1