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
153c6283
Commit
153c6283
authored
Jun 26, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
60c1f102
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7550 additions
and
1135 deletions
+7550
-1135
app.js
client/app.js
+1
-0
index.js
client/pages/index/index.js
+5
-3
output.js
client/pages/index/output.js
+7544
-1132
No files found.
client/app.js
View file @
153c6283
...
...
@@ -6,6 +6,7 @@ cloud.init({
App
({
cloud
,
cloudName
:
"filaStar"
,
//待修改
cloudName2
:
"filaStar"
,
onLaunch
(
options
)
{
// 第一次打开
// options.query == {number:1}///"enableSkia": "true"
...
...
client/pages/index/index.js
View file @
153c6283
...
...
@@ -229,9 +229,11 @@ Page({
this
.
postMessage
(
netName
,
data
)
}
else
{
//获取后端接口
const
{
function
:
fc
}
=
app
.
cloud
const
{
function
:
fc
}
=
app
.
cloud
;
const
[
myCloudName
,
handler
]
=
netName
.
split
(
"."
);
fc
.
invoke
(
app
.
cloudName
,
parameter
,
netName
.
split
(
"."
)[
1
])
fc
.
invoke
(
myCloudName
,
parameter
,
handler
)
// fc.invoke(app.cloudName, parameter, netName.split(".")[1])
.
then
(
res
=>
{
// console.log("返回数据" + JSON.stringify(res));
//发送消息
...
...
client/pages/index/output.js
View file @
153c6283
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