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
0e364517
Commit
0e364517
authored
Jun 23, 2020
by
lujinlei
Browse files
Options
Browse Files
Download
Plain Diff
-a
parents
ced2802e
637c6fe1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2855 additions
and
17 deletions
+2855
-17
app.js
client/app.js
+16
-16
output.js
client/pages/index/output.js
+2839
-1
No files found.
client/app.js
View file @
0e364517
import
cloud
from
'@tbmp/mp-cloud-sdk'
;
cloud
.
init
({
env
:
'test'
//'online' test
env
:
'test'
//'online' test
});
App
({
cloud
,
cloudName
:
"aaaa"
,
//待修改
onLaunch
(
options
)
{
// 第一次打开
// options.query == {number:1}///"enableSkia": "true"
console
.
info
(
'App onLaunch'
);
const
{
activityId
}
=
options
.
query
||
{};
console
.
log
(
activityId
)
this
.
activityId
=
activityId
||
'5ec5f960f5d6906095de717e'
;
},
onShow
(
options
)
{
// 从后台被 scheme 重新打开
// options.query == {number:1}
},
});
cloud
,
cloudName
:
"filaStar"
,
//待修改
onLaunch
(
options
)
{
// 第一次打开
// options.query == {number:1}///"enableSkia": "true"
console
.
info
(
'App onLaunch'
);
const
{
activityId
}
=
options
.
query
||
{};
console
.
log
(
activityId
)
this
.
activityId
=
activityId
||
'5ec5f960f5d6906095de717e'
;
},
onShow
(
options
)
{
// 从后台被 scheme 重新打开
// options.query == {number:1}
},
});
\ No newline at end of file
client/pages/index/output.js
100755 → 100644
View file @
0e364517
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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