Commit 5232080e authored by hewenhao's avatar hewenhao

Merge branch 'feature/2021_03_12_bonus' of dev.jiuaoedu.com:wykolor/mall-webview…

Merge branch 'feature/2021_03_12_bonus' of dev.jiuaoedu.com:wykolor/mall-webview into feature/2021_03_12_bonus
parents a660c6f3 e7715141
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
<meta name="format-detection" content="telephone=yes"> <meta name="format-detection" content="telephone=yes">
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="stylesheet" href="//at.alicdn.com/t/font_2425189_lvk0clvlo2.css"> <link rel="stylesheet" href="//at.alicdn.com/t/font_2425189_lvk0clvlo2.css">
......
...@@ -224,9 +224,10 @@ export default BonusDetail; ...@@ -224,9 +224,10 @@ export default BonusDetail;
.bonus-detail-pay-item, .bonus-detail-pay-item,
.bonus-detail-income-item { .bonus-detail-income-item {
background: #fff; background: #fff;
margin-bottom: 30px; margin-bottom: 26px;
padding: 20px; padding: 20px;
border-radius: 20px; border-radius: 10px;
box-shadow: 0px 10px 20px 0px rgba(221, 221, 221, 0.3);
ul { ul {
li { li {
line-height: 47px; line-height: 47px;
...@@ -243,7 +244,6 @@ export default BonusDetail; ...@@ -243,7 +244,6 @@ export default BonusDetail;
.bonus-detail-pay-item-desc { .bonus-detail-pay-item-desc {
background: #f5faff; background: #f5faff;
padding: 20px; padding: 20px;
border-radius: 15px;
color: #606263; color: #606263;
} }
.bonus-detail-pay-item-desc-money { .bonus-detail-pay-item-desc-money {
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
center center
:title="`微信(${bonusAccount?.withdrawAccount || '未绑定'})`" :title="`微信(${bonusAccount?.withdrawAccount || '未绑定'})`"
size="large" size="large"
style="border-radius: 0.3rem; margin-bottom: 0.3rem" class="bind-wechat"
:border="false" :border="false"
> >
<van-button <van-button
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
round round
size="small" size="small"
@click="bindWeiChatOrUnbind" @click="bindWeiChatOrUnbind"
style="width: 70%"
>{{ bonusAccount?.withdrawAccount ? "换绑微信" : "绑定微信" }}</van-button >{{ bonusAccount?.withdrawAccount ? "换绑微信" : "绑定微信" }}</van-button
> >
</van-cell> </van-cell>
...@@ -67,12 +66,10 @@ ...@@ -67,12 +66,10 @@
center center
:title="`可提现金额:¥${bonusAccount?.withdrawableTotal || 0}`" :title="`可提现金额:¥${bonusAccount?.withdrawableTotal || 0}`"
size="large" size="large"
style="border-radius: 0.3rem;" class="withdrawable-money"
:border="false" :border="false"
> >
<van-button color="#F1551E" round size="small" @click="withdraw" style="width: 50%" <van-button color="#F1551E" round size="small" @click="withdraw">提现</van-button>
>提现</van-button
>
</van-cell> </van-cell>
<div class="bouns-record"> <div class="bouns-record">
<van-row> <van-row>
...@@ -149,6 +146,7 @@ ...@@ -149,6 +146,7 @@
:show-confirm-button="false" :show-confirm-button="false"
class="bunus-rule-dialog" class="bunus-rule-dialog"
> >
<i class="close" @click="showWithdrawRules = false"></i>
<ul class="bonus-rule-list"> <ul class="bonus-rule-list">
<li>1.当前只有转介绍收入可以在线提现;</li> <li>1.当前只有转介绍收入可以在线提现;</li>
<li>2.提现前,确保已经绑定了微信,且微信已经实名认证;</li> <li>2.提现前,确保已经绑定了微信,且微信已经实名认证;</li>
...@@ -166,12 +164,17 @@ ...@@ -166,12 +164,17 @@
v-model:show="showBindWx" v-model:show="showBindWx"
:show-cancel-button="false" :show-cancel-button="false"
:show-confirm-button="false" :show-confirm-button="false"
:title=" :title="bonusAccount?.withdrawAccount ? '确认换绑微信' : '绑定微信'"
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"> <div class="dialog-handle-btns">
<van-button type="default" round @click="showBindWx = false">取消</van-button <van-button type="default" round @click="showBindWx = false">取消</van-button
><van-button ><van-button
...@@ -190,7 +193,7 @@ ...@@ -190,7 +193,7 @@
:show-cancel-button="false" :show-cancel-button="false"
:show-confirm-button="false" :show-confirm-button="false"
> >
<p class="dangerous-dialog-tip" style="text-align: center"> <p class="dangerous-dialog-tip">
{{ formatBonusTipTxt(bonusAccount?.errCode) }} {{ formatBonusTipTxt(bonusAccount?.errCode) }}
</p> </p>
<div class="dialog-handle-btns"> <div class="dialog-handle-btns">
...@@ -389,7 +392,7 @@ export default Bonus; ...@@ -389,7 +392,7 @@ export default Bonus;
color: #fff; color: #fff;
background: url("~@/assets/images/bonus/account-bg.png") no-repeat; background: url("~@/assets/images/bonus/account-bg.png") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: 30px; margin-bottom: 16px;
.bonus-account-money { .bonus-account-money {
margin: 28px 0 70px; margin: 28px 0 70px;
.money-desc { .money-desc {
...@@ -425,12 +428,27 @@ export default Bonus; ...@@ -425,12 +428,27 @@ export default Bonus;
} }
} }
} }
.bind-wechat {
margin-bottom: 16px;
border-radius: 9px;
.van-button {
height: 56px;
width: 160px;
}
}
.withdrawable-money {
border-radius: 9px;
.van-button {
height: 56px;
width: 120px;
}
}
.bouns-record { .bouns-record {
margin-top: 30px; margin-top: 40px;
color: #484c4f; color: #484c4f;
.van-row { .van-row {
padding: 0 20px; padding: 0 20px;
margin-bottom: 40px; margin-bottom: 24px;
color: #141414; color: #141414;
.tip { .tip {
position: relative; position: relative;
...@@ -455,9 +473,10 @@ export default Bonus; ...@@ -455,9 +473,10 @@ export default Bonus;
} }
.bonus-record-item { .bonus-record-item {
background: #fff; background: #fff;
margin-bottom: 20px; margin-bottom: 16px;
padding: 20px 19px; padding: 20px 19px;
border-radius: 30px; border-radius: 10px;
box-shadow: 0px 10px 20px 0px rgba(221, 221, 221, 0.3);
.bonus-record-item-header { .bonus-record-item-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
...@@ -487,7 +506,7 @@ export default Bonus; ...@@ -487,7 +506,7 @@ export default Bonus;
background: #f5faff; background: #f5faff;
opacity: 0.9; opacity: 0.9;
padding: 20px; padding: 20px;
border-radius: 30px; border-radius: 10px;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #484c4f; color: #484c4f;
...@@ -497,17 +516,34 @@ export default Bonus; ...@@ -497,17 +516,34 @@ export default Bonus;
} }
} }
} }
::v-deep .bunus-rule-dialog { ::v-deep .bunus-rule-dialog,
&.van-dialog { ::v-deep .bind-wechat-dialog {
top: 50%; overflow: initial;
width: 622px; .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 { .van-dialog__header {
background: linear-gradient(213deg, #05b2ff 0%, #027aff 100%); background: linear-gradient(213deg, #05b2ff 0%, #027aff 100%);
padding: 23px 0; padding: 23px 0;
color: #fff; color: #fff;
font-weight: bold; font-weight: bold;
font-size: 36px; 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 { .bonus-rule-list {
padding: 42px 51px 0 51px; padding: 42px 51px 0 51px;
...@@ -521,6 +557,7 @@ export default Bonus; ...@@ -521,6 +557,7 @@ export default Bonus;
} }
.dialog-handle-btns { .dialog-handle-btns {
display: flex; display: flex;
margin-top: 48px;
padding: 30px; padding: 30px;
margin-bottom: 30px; margin-bottom: 30px;
justify-content: space-between; justify-content: space-between;
...@@ -530,7 +567,8 @@ export default Bonus; ...@@ -530,7 +567,8 @@ export default Bonus;
} }
} }
.dangerous-dialog-tip { .dangerous-dialog-tip {
padding: 48px; padding: 0 48px;
text-align: center;
line-height: 44px; line-height: 44px;
} }
} }
......
This diff is collapsed.
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