Commit c3dfa7c2 authored by 熊东起's avatar 熊东起

优化2

parent f7b4a776
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment