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
c3dfa7c2
Commit
c3dfa7c2
authored
Aug 28, 2020
by
熊东起
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化2
parent
f7b4a776
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
index.js
client/pages/index/index.js
+7
-4
No files found.
client/pages/index/index.js
View file @
c3dfa7c2
...
@@ -7,6 +7,7 @@ const SHARE_CONFIG = { //待写
...
@@ -7,6 +7,7 @@ const SHARE_CONFIG = { //待写
title
:
'星耀力紧缺!'
,
title
:
'星耀力紧缺!'
,
desc
:
descString
,
desc
:
descString
,
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/share.png"
,
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/share.png"
,
// imageUrl: "https://isv.alibabausercontent.com/00000000/imgextra/i3/676606897/O1CN01O5y5e020osHijFG6s_!!676606897-2-isvtu-00000000.png",
path
:
'pages/index/index'
path
:
'pages/index/index'
}
}
...
@@ -22,8 +23,10 @@ Page({
...
@@ -22,8 +23,10 @@ Page({
if
(
query
.
inviteId
)
this
.
inviteId
=
query
.
inviteId
if
(
query
.
inviteId
)
this
.
inviteId
=
query
.
inviteId
console
.
warn
(
'邀请码'
,
this
.
inviteId
);
console
.
warn
(
'邀请码'
,
this
.
inviteId
);
},
},
onReady
()
{
async
onReady
()
{
const
result1
=
await
getApp
().
cloud
.
file
.
getTempFileURL
({
fileId
:
'cloud://BDF4A7D4EEAECE7D6AD2A0B73E32FE82//share.png'
});
console
.
log
(
"ghhdhsbckdsbcdcvnjdkhd"
,
result1
);
if
(
result1
[
0
])
SHARE_CONFIG
.
imageUrl
=
result1
[
0
].
url
;
},
},
onCanvasReady
()
{
onCanvasReady
()
{
...
@@ -77,7 +80,7 @@ Page({
...
@@ -77,7 +80,7 @@ Page({
if
(
this
.
inviteId
!==
undefined
)
{
if
(
this
.
inviteId
!==
undefined
)
{
loginParams
.
inviteId
=
this
.
inviteId
loginParams
.
inviteId
=
this
.
inviteId
}
}
+
console
.
warn
(
'发送接口filaStar login,发送参数为'
,
JSON
.
stringify
(
loginParams
),
loginParams
);
console
.
warn
(
'发送接口filaStar login,发送参数为'
,
JSON
.
stringify
(
loginParams
),
loginParams
);
fc
.
invoke
(
fc
.
invoke
(
"filaStar"
,
loginParams
,
"filaStar"
,
loginParams
,
...
@@ -315,7 +318,7 @@ Page({
...
@@ -315,7 +318,7 @@ Page({
// path = path + "&isTaskShare=" + (this.shareStatus == 1 ? 'true' : 'false')
// path = path + "&isTaskShare=" + (this.shareStatus == 1 ? 'true' : 'false')
// this.shareStatus = null//用完清掉
// this.shareStatus = null//用完清掉
// }
// }
console
.
log
(
'分享链接'
,
path
)
console
.
log
(
'分享链接'
,
path
,{...
rest
}
)
return
{
return
{
...
rest
,
...
rest
,
path
path
...
...
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