From 9239cf020634f700f4bf977c44a1a45fa16e053b Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Thu, 7 Mar 2024 18:54:13 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=99=9A=E6=8B=9F=E5=B8=81---=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=202024.3.07=20sws?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/coin/withdrawal/withdrawal.css | 99 +++++++++ pages/plugins/coin/withdrawal/withdrawal.vue | 221 +++++++++---------- 2 files changed, 205 insertions(+), 115 deletions(-) diff --git a/pages/plugins/coin/withdrawal/withdrawal.css b/pages/plugins/coin/withdrawal/withdrawal.css index e69de29b..bcbd49a8 100644 --- a/pages/plugins/coin/withdrawal/withdrawal.css +++ b/pages/plugins/coin/withdrawal/withdrawal.css @@ -0,0 +1,99 @@ +/* + * 顶部 +*/ +.withdrawal .title { + background: radial-gradient(60% 70% at 90% 79%, rgba(33, 125, 239, 0.85) 0%, #A6C8F3 100%); + padding-top: 130rpx; + /* #ifndef H5 */ + padding-top: calc(var(--status-bar-height) + 5px + 130rpx); + /* #endif */ + padding-bottom: 180rpx; +} + +.coin-dropdown { + --height: 48rpx; + display: inline-block; + height: var(--height); + line-height: var(--height); + padding: 0 64rpx 0 32rpx; + background: rgba(255, 255, 255, 0.23); + border-radius: 12px; +} + +.coin-dropdown-icon { + right: -36rpx; + top: 2rpx; + padding: 0; +} + +.withdrawal .detail { + --height: 64rpx; + height: var(--height); + line-height: var(--height); + background: rgba(255, 255, 255, 0.34); + border-radius: 200rpx 0 0 200rpx; + padding: 0 32rpx; + margin-top: 40rpx; +} + +.withdrawal .text { + color: #EBF3FF; +} + +/* + * 内容 +*/ +.withdrawal .content { + margin-top: -200rpx; + border-radius: 32rpx 32rpx 0 0; + min-height: calc(100vh - 528rpx); + /* #ifndef H5 */ + min-height: calc(100vh - 528rpx - var(--status-bar-height) - 5px); + /* #endif */ +} + +.withdrawal .content-input-bg { + background-color: #fafafc; +} + +.withdrawal .price-item { + --size: -10rpx; + margin-left: var(--size); + margin-right: var(--size); + width: calc(100% - var(--size)); +} + +.withdrawal .price-list { + background: #F5F7F9; + border: 2rpx solid #F5F7F9; + border-radius: 16rpx; + padding: 20rpx 0; + margin: 18rpx 10rpx; + width: calc((100% / 3) - 24rpx); +} + +.withdrawal .price-img { + --size: 36rpx; + width: var(--size); + height: var(--size) !important; +} + +.withdrawal .btn { + background: linear-gradient(107deg, #31B4FC 0%, #0842E2 100%); + transition: all 0.3s ease-in-out; +} + +.withdrawal .btn:active { + background: linear-gradient(107deg, #FC6F31 0%, #E22C08 100%); +} + +.withdrawal .content-tips .item::before { + content: ''; + width: 12rpx; + height: 12rpx; + border-radius: 12rpx; + background: #30B3FC; + position: absolute; + left: 0; + top: 12rpx; +} \ No newline at end of file diff --git a/pages/plugins/coin/withdrawal/withdrawal.vue b/pages/plugins/coin/withdrawal/withdrawal.vue index c5053291..266aa416 100644 --- a/pages/plugins/coin/withdrawal/withdrawal.vue +++ b/pages/plugins/coin/withdrawal/withdrawal.vue @@ -1,39 +1,76 @@