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 @@
<head>
<meta charset="utf-8">
<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">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="stylesheet" href="//at.alicdn.com/t/font_2425189_lvk0clvlo2.css">
......
......@@ -224,9 +224,10 @@ export default BonusDetail;
.bonus-detail-pay-item,
.bonus-detail-income-item {
background: #fff;
margin-bottom: 30px;
margin-bottom: 26px;
padding: 20px;
border-radius: 20px;
border-radius: 10px;
box-shadow: 0px 10px 20px 0px rgba(221, 221, 221, 0.3);
ul {
li {
line-height: 47px;
......@@ -243,7 +244,6 @@ export default BonusDetail;
.bonus-detail-pay-item-desc {
background: #f5faff;
padding: 20px;
border-radius: 15px;
color: #606263;
}
.bonus-detail-pay-item-desc-money {
......
......@@ -50,7 +50,7 @@
center
:title="`微信(${bonusAccount?.withdrawAccount || '未绑定'})`"
size="large"
style="border-radius: 0.3rem; margin-bottom: 0.3rem"
class="bind-wechat"
:border="false"
>
<van-button
......@@ -59,7 +59,6 @@
round
size="small"
@click="bindWeiChatOrUnbind"
style="width: 70%"
>{{ bonusAccount?.withdrawAccount ? "换绑微信" : "绑定微信" }}</van-button
>
</van-cell>
......@@ -67,12 +66,10 @@
center
:title="`可提现金额:¥${bonusAccount?.withdrawableTotal || 0}`"
size="large"
style="border-radius: 0.3rem;"
class="withdrawable-money"
:border="false"
>
<van-button color="#F1551E" round size="small" @click="withdraw" style="width: 50%"
>提现</van-button
>
<van-button color="#F1551E" round size="small" @click="withdraw">提现</van-button>
</van-cell>
<div class="bouns-record">
<van-row>
......@@ -149,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>
......@@ -166,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
......@@ -190,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">
......@@ -389,7 +392,7 @@ export default Bonus;
color: #fff;
background: url("~@/assets/images/bonus/account-bg.png") no-repeat;
background-size: 100% 100%;
margin-bottom: 30px;
margin-bottom: 16px;
.bonus-account-money {
margin: 28px 0 70px;
.money-desc {
......@@ -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 {
margin-top: 30px;
margin-top: 40px;
color: #484c4f;
.van-row {
padding: 0 20px;
margin-bottom: 40px;
margin-bottom: 24px;
color: #141414;
.tip {
position: relative;
......@@ -455,9 +473,10 @@ export default Bonus;
}
.bonus-record-item {
background: #fff;
margin-bottom: 20px;
margin-bottom: 16px;
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 {
display: flex;
justify-content: space-between;
......@@ -487,7 +506,7 @@ export default Bonus;
background: #f5faff;
opacity: 0.9;
padding: 20px;
border-radius: 30px;
border-radius: 10px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #484c4f;
......@@ -497,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;
......@@ -521,6 +557,7 @@ export default Bonus;
}
.dialog-handle-btns {
display: flex;
margin-top: 48px;
padding: 30px;
margin-bottom: 30px;
justify-content: space-between;
......@@ -530,7 +567,8 @@ export default Bonus;
}
}
.dangerous-dialog-tip {
padding: 48px;
padding: 0 48px;
text-align: center;
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