|
|
@@ -480,6 +480,13 @@ async function toggleAutoTrade() {
|
|
|
return
|
|
|
}
|
|
|
try {
|
|
|
+ await showConfirmDialog({
|
|
|
+ title: t('common.alert'),
|
|
|
+ message: t('vip.togglePrompt', {
|
|
|
+ status: userVip.value.autoTradeEnabled ? t('common.close') : t('common.open')
|
|
|
+ }),
|
|
|
+ confirmButtonText: t('common.yes')
|
|
|
+ })
|
|
|
Toast.loading({
|
|
|
message: t('common.loading') + '...',
|
|
|
forbidClick: true
|
|
|
@@ -491,6 +498,7 @@ async function toggleAutoTrade() {
|
|
|
Toast.success(userVip.value.autoTradeEnabled ? t('vip.closed') : t('vip.opened'))
|
|
|
getMineVip()
|
|
|
} catch (e) {
|
|
|
+ if (e == 'cancel') return
|
|
|
Toast.error(e?.error || t('common.error'))
|
|
|
}
|
|
|
}
|
|
|
@@ -819,7 +827,7 @@ ion-content {
|
|
|
overflow: hidden;
|
|
|
.text1 {
|
|
|
font-size: 14px;
|
|
|
- font-family: AlimamaShuHeiTi;
|
|
|
+ font-family: TsangerYuMo;
|
|
|
color: #0044b4;
|
|
|
line-height: 24px;
|
|
|
overflow: hidden;
|
|
|
@@ -846,7 +854,7 @@ ion-content {
|
|
|
}
|
|
|
span {
|
|
|
font-size: 12px;
|
|
|
- font-family: AlimamaShuHeiTi;
|
|
|
+ font-family: TsangerYuMo;
|
|
|
color: #0044b4;
|
|
|
line-height: 24px;
|
|
|
position: absolute;
|
|
|
@@ -915,7 +923,6 @@ ion-content {
|
|
|
padding-top: 2px;
|
|
|
overflow: hidden;
|
|
|
height: 100%;
|
|
|
-
|
|
|
.bg {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
@@ -947,12 +954,10 @@ ion-content {
|
|
|
.title {
|
|
|
.text1 {
|
|
|
font-size: 18px;
|
|
|
- font-family: AlimamaShuHeiTi;
|
|
|
+ font-family: TsangerYuMo;
|
|
|
color: #ffffff;
|
|
|
line-height: 24px;
|
|
|
- background: linear-gradient(135deg, #deffce 0%, #85f9c4 51%, #3df3bc 100%);
|
|
|
- -webkit-background-clip: text;
|
|
|
- -webkit-text-fill-color: transparent;
|
|
|
+ .gt();
|
|
|
}
|
|
|
|
|
|
.text2 {
|
|
|
@@ -978,11 +983,9 @@ ion-content {
|
|
|
.van-tab {
|
|
|
color: #ffffff;
|
|
|
line-height: 24px;
|
|
|
- background: linear-gradient(135deg, #deffce 0%, #85f9c4 51%, #3df3bc 100%);
|
|
|
- -webkit-background-clip: text;
|
|
|
- -webkit-text-fill-color: transparent;
|
|
|
font-size: 18px;
|
|
|
- font-family: AlimamaShuHeiTi;
|
|
|
+ font-family: TsangerYuMo;
|
|
|
+ .gt();
|
|
|
}
|
|
|
.van-tabs__line {
|
|
|
background: #d8d8d8 linear-gradient(135deg, #deffce 0%, #85f9c4 51%, #3df3bc 100%);
|
|
|
@@ -1041,10 +1044,7 @@ ion-content {
|
|
|
color: #c5f2ac;
|
|
|
line-height: 30px;
|
|
|
margin-top: 4px;
|
|
|
- background: linear-gradient(180deg, #dcff91 0%, #5ff6c0 100%),
|
|
|
- linear-gradient(135deg, #deffce 0%, #85f9c4 51%, #3df3bc 100%);
|
|
|
- -webkit-background-clip: text;
|
|
|
- -webkit-text-fill-color: transparent;
|
|
|
+ .gt();
|
|
|
small {
|
|
|
font-size: 16px;
|
|
|
margin-top: 5px;
|