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
7bd38117
Commit
7bd38117
authored
Jan 08, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海报
parent
8ffc7eda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
activity.vue
src/components/buy/activity.vue
+0
-1
activityInvite.vue
src/components/buy/activityInvite.vue
+3
-7
No files found.
src/components/buy/activity.vue
View file @
7bd38117
...
...
@@ -168,7 +168,6 @@
if
(
this
.
groupId
&&
this
.
groupId
!==
'null'
){
URL
+=
`&groupId=
${
this
.
groupId
}
`
}
console
.
log
(
URL
);
this
.
qrcode
(
URL
);
this
.
refVisible
=
true
;
this
.
$nextTick
(()
=>
{
...
...
src/components/buy/activityInvite.vue
View file @
7bd38117
...
...
@@ -186,10 +186,6 @@
}
=
document
.
getElementById
(
'capture'
).
getClientRects
()[
0
];
// document.getElementById('capture').style.width = width + 'px';
let
o
=
this
.
getOffsetRect
(
this
.
$refs
.
imageWrapper
);
let
{
height1
,
width1
}
=
document
.
getElementById
(
'capture'
).
getClientRects
()[
0
];
console
.
log
(
'document.getElementById'
,
document
.
getElementById
(
'capture'
).
getClientRects
()[
0
]);
document
.
getElementById
(
'inviteBtn'
).
style
.
top
=
height
+
top
+
20
+
'px'
;
document
.
getElementById
(
'inviteBtn'
).
style
.
opacity
=
1
;
...
...
@@ -197,9 +193,9 @@
async
:
true
,
timeout
:
500
,
scrollX
:
1
,
scale
:
4
,
width
:
width
1
,
height
:
height
1
,
scale
:
2
,
width
:
width
,
height
:
height
,
letterRendering
:
true
,
}).
then
((
canvas
)
=>
{
let
dataURL
=
canvas
.
toDataURL
(
"image/jpg"
);
...
...
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