From 2ff7276688aa487ca879abb894edb4716d27c81b Mon Sep 17 00:00:00 2001 From: Zhang Minghan Date: Wed, 30 Aug 2023 18:12:30 +0800 Subject: [PATCH] update payment action --- app/src/components/icons/credit.vue | 3 +++ app/src/views/SettingsView.vue | 23 +++++++++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 app/src/components/icons/credit.vue diff --git a/app/src/components/icons/credit.vue b/app/src/components/icons/credit.vue new file mode 100644 index 0000000..d5bb00c --- /dev/null +++ b/app/src/components/icons/credit.vue @@ -0,0 +1,3 @@ + diff --git a/app/src/views/SettingsView.vue b/app/src/views/SettingsView.vue index a363812..6db1a44 100644 --- a/app/src/views/SettingsView.vue +++ b/app/src/views/SettingsView.vue @@ -123,6 +123,7 @@ function payment() { 余额 {{ info.balance }} + 充值
@@ -157,10 +158,7 @@ function payment() {

{{ count(form.count, form.type) }}

-
- - 购买 -
+
购买
@@ -193,6 +191,7 @@ function payment() { height: 100%; margin: 0; padding: 0; + overflow: hidden; } .wrapper { @@ -217,6 +216,8 @@ function payment() { flex-grow: 1; padding: 24px 36px; height: max-content; + overflow-x: hidden; + touch-action: pan-y; overflow-y: auto; scrollbar-width: thin; } @@ -525,6 +526,19 @@ function payment() { color: #eee; } +.action { + padding: 6px 10px; + border-radius: 4px; + font-size: 14px; + transition: .5s; + cursor: pointer; + color: #fff; + margin-right: -8px; + margin-top: -4px; + background: rgba(0, 0, 0, 0.2); + white-space: nowrap; +} + @media (max-width: 460px) { .body { width: calc(100% - 32px); @@ -532,6 +546,7 @@ function payment() { } .row { + width: calc(100% - 42px); transform: translateX(-8px); }