Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mall-webview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
frontend
mall-webview
Commits
e7715141
Commit
e7715141
authored
Apr 12, 2021
by
wykolor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化弹窗样式
parent
b5dd1a3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
11 deletions
+51
-11
close.png
src/assets/images/bonus/close.png
+0
-0
index.vue
src/views/bonus/index.vue
+35
-11
index.vue
src/views/bonus/withdraw/index.vue
+16
-0
No files found.
src/assets/images/bonus/close.png
0 → 100644
View file @
e7715141
1.09 KB
src/views/bonus/index.vue
View file @
e7715141
...
...
@@ -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
;
}
}
...
...
src/views/bonus/withdraw/index.vue
View file @
e7715141
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment