Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
zhiliang-light-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
af0665de
authored
2019-11-04 13:06:19 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
77cbd926
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
src/config.js
src/pages/my-qrcode/my-qrcode.js
src/config.js
View file @
af0665d
...
...
@@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index');
const
APPID
=
''
/** ====每次发布版本记得修改此环境配置==== */
const
ENV
=
'
Dev
'
;
// Dev Prod
const
ENV
=
'
Prod
'
;
// Dev Prod
const
NET_CONFIG
=
ENV_CONFIG
[
ENV
];
const
MOCKAPI
=
ENV_CONFIG
.
mockApi
;
...
...
src/pages/my-qrcode/my-qrcode.js
View file @
af0665d
...
...
@@ -60,7 +60,7 @@ Page({
// 获取海报数据
getPosterConfig
()
{
let
qrCodeWid
=
3
00
;
let
qrCodeWid
=
3
12
;
let
avatarSpace
=
5
;
let
avatarWidBlock
=
300
*
0.3
;
let
avatarWid
=
avatarWidBlock
-
(
avatarSpace
*
2
);
...
...
@@ -111,24 +111,24 @@ Page({
let
lines
=
[];
let
texts
=
[{
x
:
690
/
2
,
y
:
7
00
,
width
:
6
88
,
y
:
7
16
,
width
:
6
90
,
fontSize
:
26
,
color
:
"#000000"
,
textAlign
:
"center"
,
zIndex
:
11
,
text
:
userInfo
.
nickname
,
},
{
x
:
690
/
2
,
y
:
732
,
width
:
690
,
fontSize
:
18
,
color
:
"#666666"
,
textAlign
:
"center"
,
zIndex
:
11
,
text
:
userInfo
.
memberCode
,
}
//
{
//
x: 690 / 2,
//
y: 732,
//
width: 690,
//
fontSize: 18,
//
color: "#666666",
//
textAlign: "center",
//
zIndex: 11,
//
text: userInfo.memberCode,
//
}
];
let
posterData
=
{
...
...
Please
register
or
sign in
to post a comment