Commit e7715141 authored by wykolor's avatar wykolor

feat: 优化弹窗样式

parent b5dd1a3d
......@@ -146,6 +146,7 @@
:show-confirm-button="false"
class="bunus-rule-dialog"
>
<i class="close" @click="showWithdrawRules = false"></i>
<ul class="bonus-rule-list">
<li>1.当前只有转介绍收入可以在线提现;</li>
<li>2.提现前,确保已经绑定了微信,且微信已经实名认证;</li>
......@@ -163,12 +164,17 @@
v-model:show="showBindWx"
:show-cancel-button="false"
:show-confirm-button="false"
:title="
bonusAccount?.withdrawAccount
? '换绑后,将提现到新绑定的微信零钱中!'
: '绑定微信后,才可进行提现!'
"
:title="bonusAccount?.withdrawAccount ? '确认换绑微信' : '绑定微信'"
class="bind-wechat-dialog"
>
<i class="close" @click="showBindWx = false"></i>
<p class="dangerous-dialog-tip">
{{
bonusAccount?.withdrawAccount
? "换绑后,将提现到新绑定的微信零钱中!"
: "绑定微信后,才可进行提现!"
}}
</p>
<div class="dialog-handle-btns">
<van-button type="default" round @click="showBindWx = false">取消</van-button
><van-button
......@@ -187,7 +193,7 @@
:show-cancel-button="false"
:show-confirm-button="false"
>
<p class="dangerous-dialog-tip" style="text-align: center">
<p class="dangerous-dialog-tip">
{{ formatBonusTipTxt(bonusAccount?.errCode) }}
</p>
<div class="dialog-handle-btns">
......@@ -510,17 +516,34 @@ export default Bonus;
}
}
}
::v-deep .bunus-rule-dialog {
&.van-dialog {
top: 50%;
width: 622px;
::v-deep .bunus-rule-dialog,
::v-deep .bind-wechat-dialog {
overflow: initial;
.close {
width: 44px;
height: 44px;
display: inline-block;
background: url("~@/assets/images/bonus/close.png") no-repeat;
background-size: 100% 100%;
position: absolute;
right: 2px;
top: -78px;
}
.van-dialog__header {
background: linear-gradient(213deg, #05b2ff 0%, #027aff 100%);
padding: 23px 0;
color: #fff;
font-weight: bold;
font-size: 36px;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
}
}
::v-deep .bunus-rule-dialog {
&.van-dialog {
top: 50%;
width: 622px;
}
.bonus-rule-list {
padding: 42px 51px 0 51px;
......@@ -544,7 +567,8 @@ export default Bonus;
}
}
.dangerous-dialog-tip {
padding: 48px;
padding: 0 48px;
text-align: center;
line-height: 44px;
}
}
......
......@@ -49,6 +49,7 @@
:show-confirm-button="false"
class="withdraw-dialog"
>
<i class="close" @click="showWithdraw = false"></i>
<ul class="withdraw-dialog-header">
<li>提现至微信账户:{{ withdrawAccount }}</li>
<li class="withdraw-dialog-header-money van-ellipsis">¥{{ withdrawAmount }}</li>
......@@ -108,6 +109,7 @@
:show-confirm-button="false"
class="withdraw-success-dialog"
>
<i class="close" @click="showWithdrawSuccess = false"></i>
<ul class="withdraw-success-dialog-text">
<li>提现申请成功!</li>
<li>提现金额:</li>
......@@ -428,6 +430,20 @@ export default Withdraw;
border-radius: 51px;
}
}
::v-deep .withdraw-dialog,
::v-deep .withdraw-success-dialog {
overflow: initial;
.close {
width: 44px;
height: 44px;
display: inline-block;
background: url("~@/assets/images/bonus/close.png") no-repeat;
background-size: 100% 100%;
position: absolute;
right: 2px;
top: -78px;
}
}
::v-deep .withdraw-dialog {
padding: 48px;
color: #fff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment