Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobaominiDemo
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
wildfirecode13
taobaominiDemo
Commits
d6db0394
Commit
d6db0394
authored
Jun 28, 2020
by
lujinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-a
parent
5bc36eea
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
677 additions
and
219 deletions
+677
-219
package.json
client/package.json
+1
-1
index.js
client/pages/index/index.js
+2
-1
output.js
client/pages/index/output.js
+674
-217
No files found.
client/package.json
View file @
d6db0394
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
"@mrkwon/svga-player"
:
"^1.0.3"
,
"@mrkwon/svga-player"
:
"^1.0.3"
,
"@tbminiapp/lottie-miniapp"
:
"0.0.3"
,
"@tbminiapp/lottie-miniapp"
:
"0.0.3"
,
"@tbmp/mp-cloud-sdk"
:
"^1.3.8"
,
"@tbmp/mp-cloud-sdk"
:
"^1.3.8"
,
"fyge-tbmini"
:
"^1.
0.9
"
,
"fyge-tbmini"
:
"^1.
2.0
"
,
"svga-parser"
:
"^1.1.0"
"svga-parser"
:
"^1.1.0"
}
}
}
}
client/pages/index/index.js
View file @
d6db0394
...
@@ -19,6 +19,7 @@ Page({
...
@@ -19,6 +19,7 @@ Page({
console
.
info
(
`Page onLoad with query:
${
JSON
.
stringify
(
query
)}
`
);
console
.
info
(
`Page onLoad with query:
${
JSON
.
stringify
(
query
)}
`
);
//带参数的
//带参数的
if
(
query
.
inviteId
)
this
.
inviteId
=
query
.
inviteId
if
(
query
.
inviteId
)
this
.
inviteId
=
query
.
inviteId
console
.
warn
(
'邀请码'
,
this
.
inviteId
);
},
},
onReady
()
{
onReady
()
{
...
@@ -202,7 +203,7 @@ Page({
...
@@ -202,7 +203,7 @@ Page({
inviteId
:
app
.
inviteId
,
inviteId
:
app
.
inviteId
,
isNewUser
:
app
.
isNewUser
,
isNewUser
:
app
.
isNewUser
,
isFocusShop
:
app
.
isFollow
||
false
,
isFocusShop
:
app
.
isFollow
||
false
,
shareCode
:
this
.
shareCode
,
//判断是否要发助力用
shareCode
:
this
.
inviteId
,
//判断是否要发助力用
}
}
}
}
break
break
...
...
client/pages/index/output.js
View file @
d6db0394
This diff is collapsed.
Click to expand it.
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