Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
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
高淑倩
7-Eleven
Commits
01abfa11
Commit
01abfa11
authored
Oct 12, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug-ZYW' into 'dev_7.1.0'
邀请好友海报优化 See merge request
!171
parents
d678cf36
cd93901e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
inviteFriends.js
src/palette/inviteFriends.js
+2
-3
share.js
src/subPackage/page/pages/share/share.js
+3
-0
No files found.
src/palette/inviteFriends.js
View file @
01abfa11
...
...
@@ -10,13 +10,12 @@ export default class InviteFriends {
posterImgWidth
=
options
.
posterImgWidth
?
options
.
posterImgWidth
:
0
;
posterImgHeight
=
options
.
posterImgHeight
?
options
.
posterImgHeight
:
0
;
if
(
posterImgHeight
>
windowHeight
){
posterImgHeight
=
windowHeight
-
9
0
;
posterImgHeight
=
windowHeight
-
20
0
;
}
}
return
({
width
:
'750rpx'
,
height
:
windowHeight
+
'px'
,
height
:
windowHeight
-
100
+
'px'
,
background
:
'#fff'
,
views
:
[
{
...
...
src/subPackage/page/pages/share/share.js
View file @
01abfa11
...
...
@@ -67,6 +67,7 @@ wxService.page({
//生成海报
generatePoster
(){
const
{
member
}
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
const
{
avatarUrl
}
=
wx
.
getStorageSync
(
'_userInfo'
)
let
_this
=
this
;
wx
.
getSystemInfo
({
success
:
function
(
system
)
{
...
...
@@ -126,6 +127,8 @@ wxService.page({
// codeImg: "https://hwimagecdn.ihotwind.cn/usr/201908/miniQrCode-f00c5051fef7479395efb193431762c4.jpg"
},()
=>
{
const
{
member
}
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
const
{
avatarUrl
}
=
wx
.
getStorageSync
(
'_userInfo'
)
console
.
log
(
'0000'
,
avatarUrl
)
wx
.
getSystemInfo
({
success
:
function
(
system
)
{
wx
.
getImageInfo
({
...
...
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