Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
7263f7cb
Commit
7263f7cb
authored
Oct 09, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改支付成功页面样式
parent
fd1e0d8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
9 deletions
+33
-9
payResult.vue
src/views/pay/payResult.vue
+33
-9
No files found.
src/views/pay/payResult.vue
View file @
7263f7cb
<
template
>
<div>
<div
class=
"pay-result"
>
<div
v-if=
"isSuccess"
class=
"card"
>
<div
class=
"info"
>
<cr-image
...
...
@@ -18,11 +18,21 @@
拼团成功即可退款0元拿,拼团失败立即退款
</p>
<div
class=
"actions"
>
<cr-button
shape=
"circle"
type=
"default"
@
click=
"goPage(1)"
>
我的拼团
</cr-button>
<cr-button
shape=
"circle"
class=
"actions__back"
:plain=
"true"
type=
"primary"
@
click=
"share"
<cr-button
shape=
"circle"
class=
"actions__share"
type=
"primary"
@
click=
"share"
>
邀请好友
</cr-button
>
</div>
<div
class=
"actions"
>
<cr-button
shape=
"circle"
type=
"default"
@
click=
"goGroupList"
>
返回活动列表
</cr-button>
<cr-button
shape=
"circle"
class=
"actions__back"
:plain=
"true"
type=
"primary"
@
click=
"goPage(1)"
>
查看我的拼团
</cr-button
>
</div>
</div>
<div
v-else
class=
"card"
>
<div
class=
"info"
>
...
...
@@ -135,6 +145,10 @@ export default {
this
.
shareInfo
=
res
;
firstGroupShare
(
res
,
3
);
},
goGroupList
()
{
const
{
activityId
}
=
this
.
shareInfo
;
this
.
$router
.
push
(
`/groupBuy/list?activityId=
${
activityId
}
`
);
},
goPage
(
type
)
{
if
(
type
==
1
)
{
this
.
$router
.
replace
({
path
:
'
/orderList/0
'
});
...
...
@@ -170,25 +184,31 @@ export default {
};
</
script
>
<
style
lang=
"less"
scoped
>
.pay-result {
height: 100%;
}
.card {
margin: @padding-sm;
// margin: @padding-sm;
height: 100%;
background-color: @white;
border-radius: @border-radius-sm;
//
border-radius: @border-radius-sm;
padding: 28px @padding-sm @padding-sm @padding-sm;
box-sizing: border-box;
.info {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
&__image {
width: 100px;
height: 100px;
margin: @padding-xl 0;
}
&__text {
.text-16;
margin-left: @padding-md;
//
margin-left: @padding-md;
}
&__desc {
...
...
@@ -200,6 +220,7 @@ export default {
margin-top: @padding-xs;
}
&__free {
text-align: center;
.text-13;
margin-top: @padding-xs;
color: @font-color-light;
...
...
@@ -209,7 +230,7 @@ export default {
.tips {
.text-12;
text-align: center;
margin-top: @padding-
lg
;
margin-top: @padding-
xs
;
color: @font-color-light;
}
...
...
@@ -231,7 +252,10 @@ export default {
button {
// flex: 1;
.text-16;
width: 161px;
width: 170px;
}
&__share {
width: 100% !important;
}
}
.info_button {
...
...
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