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
cd63287b
Commit
cd63287b
authored
Jun 30, 2020
by
lujinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-a
parent
412e8dce
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
app.js
client/app.js
+1
-0
index.js
client/pages/index/index.js
+2
-2
output.js
client/pages/index/output.js
+7
-1
No files found.
client/app.js
View file @
cd63287b
...
...
@@ -8,6 +8,7 @@ App({
cloudName
:
"filaStar"
,
//待修改
cloudName2
:
"filaStar"
,
cloudName3
:
"filaStar2"
,
sellerId
:
676606897
,
onLaunch
(
options
)
{
// 第一次打开
// options.query == {number:1}///"enableSkia": "true"
...
...
client/pages/index/index.js
View file @
cd63287b
...
...
@@ -5,7 +5,7 @@ const app = getApp()
const
SHARE_CONFIG
=
{
//待写
title
:
'斐乐打星球分享标题'
,
desc
:
'斐乐打星球分享副标题!'
,
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/
pacman/pacman.jp
g"
,
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/
kickball-feile/feile.pn
g"
,
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
,
...
...
client/pages/index/output.js
View file @
cd63287b
...
...
@@ -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
);
...
...
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