Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
new-sing
h5-base
Commits
54ec955a
Commit
54ec955a
authored
Jan 09, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
7bd38117
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
activity.vue
src/components/buy/activity.vue
+0
-1
activityInvite.vue
src/components/buy/activityInvite.vue
+5
-2
index.vue
src/components/buy/index.vue
+1
-0
No files found.
src/components/buy/activity.vue
View file @
54ec955a
...
...
@@ -376,7 +376,6 @@
limit
:
4
}
getInviteListApi
(
json
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
inviteList
=
res
.
list
});
}
...
...
src/components/buy/activityInvite.vue
View file @
54ec955a
<
template
>
<div
class=
"group-index"
ref=
"index"
v-if=
"groupDetail"
style=
"background-color: #
fda813
;"
>
<div
class=
"group-index"
ref=
"index"
v-if=
"groupDetail"
style=
"background-color: #
59c1f1
;"
>
<div>
<div
class=
"img-cvs"
id=
"capture"
ref=
"imageWrapper"
v-if=
"groupDetail.share_desc.refImg && groupDetail.share_desc.refImg.length > 0"
>
<div
v-if=
"avatar && QRCodeB"
id=
"avatarImg"
>
...
...
@@ -478,7 +478,10 @@
text-align: left;
font-size: 14 * @toVw;
color: #fff;
background: url('../../assets/activity/red-bg.png') no-repeat center;
// background: url('../../assets/activity/red-bg.png') no-repeat center;
background: #f5c10c;
border-radius: 25 * @toVw;
box-shadow: 2px 2px 2px #888888;
background-size: cover;
box-sizing: border-box;
padding: 2px 58/2*@toVw;
...
...
src/components/buy/index.vue
View file @
54ec955a
...
...
@@ -219,6 +219,7 @@
height1
,
width1
}
=
document
.
getElementById
(
'capture'
).
getClientRects
()[
0
];
console
.
log
(
height1
)
html2canvas
(
document
.
getElementById
(
'capture'
),{
async
:
true
,
timeout
:
500
,
...
...
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