Commit cd63287b authored by lujinlei's avatar lujinlei

-a

parent 412e8dce
......@@ -8,6 +8,7 @@ App({
cloudName: "filaStar", //待修改
cloudName2:"filaStar",
cloudName3:"filaStar2",
sellerId :676606897,
onLaunch(options) {
// 第一次打开
// options.query == {number:1}///"enableSkia": "true"
......
......@@ -5,7 +5,7 @@ const app = getApp()
const SHARE_CONFIG = { //待写
title: '斐乐打星球分享标题',
desc: '斐乐打星球分享副标题!',
imageUrl: "https://yun.duiba.com.cn/db_games/activity/pacman/pacman.jpg",
imageUrl: "https://yun.duiba.com.cn/db_games/activity/kickball-feile/feile.png",
path: 'pages/index/index'
}
......@@ -61,12 +61,12 @@ Page({
const { nickName, avatar } = userInfo
app.nickName = nickName
app.avatar = avatar
//下面是自定义的,获取授权信息后发登录接口,也可自行处理
const { function: fc } = app.cloud
const isFollow = await checkShopFavoredStatus(app.sellerId).catch(() => {})
//登录的接口,到时用
const loginParams = {
"avatar": avatar,
"userNick": nickName,
......
......@@ -671,6 +671,10 @@ var initToast = function () {
}
};
exports.showToast = function (msg) {
if (!msg) {
console.log('msg为空');
return;
}
initToast();
_toast.show(msg);
_parent.addChild(_toast);
......@@ -10856,7 +10860,9 @@ var StartScene = (function (_super) {
var result;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4, getGameInfo_1.default()];
case 0:
console.log('任务完成更新游戏数据');
return [4, getGameInfo_1.default()];
case 1:
result = _a.sent();
this.updateGameInfo(result);
......
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