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
3c45be53
Commit
3c45be53
authored
Jul 02, 2020
by
lujinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-a
parent
fce28fa1
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
26 deletions
+73
-26
index.acss
client/pages/index/index.acss
+2
-0
index.js
client/pages/index/index.js
+5
-4
output.js
client/pages/index/output.js
+60
-22
utils.js
client/utils/utils.js
+6
-0
No files found.
client/pages/index/index.acss
View file @
3c45be53
...
...
@@ -9,6 +9,8 @@
bottom: 0;
right: 0;
min-height: 100vh; */
width:100%;
height:100vh;
flex: 1;
display: flex;
flex-direction: column;
...
...
client/pages/index/index.js
View file @
3c45be53
import
{
Main
,
GDispatcher
}
from
'./output'
;
import
{
getUserAddress
,
favorShop
,
getAuthUserInfo
,
checkShopFavoredStatus
}
from
'../../utils/utils'
;
import
{
getUserAddress
,
favorShop
,
getAuthUserInfo
,
checkShopFavoredStatus
,
getCaixukunName
}
from
'../../utils/utils'
;
const
app
=
getApp
()
const
descString
=
`玩游戏赢
${
getCaixukunName
()}
同款老爹鞋`
;
const
SHARE_CONFIG
=
{
//待写
title
:
'
斐乐打星球分享标题
'
,
desc
:
'斐乐打星球分享副标题!'
,
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/
feil
e.png"
,
title
:
'
致锋尚者
'
,
desc
:
descString
,
imageUrl
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/
shar
e.png"
,
path
:
'pages/index/index'
}
...
...
client/pages/index/output.js
View file @
3c45be53
This diff is collapsed.
Click to expand it.
client/utils/utils.js
View file @
3c45be53
...
...
@@ -175,6 +175,12 @@ export const checkGoodsCollectedStatus = (id) => {
});
};
export
const
getCaixukunName
=
()
=>
{
var
time
=
1594178400000
;
let
nowDate
=+
new
Date
();
//return getServerTime() > time ? '蔡徐坤' : '代言人';
return
nowDate
>
time
?
'蔡徐坤'
:
'代言人'
;
}
/**
* 获取淘宝用户收货地址
*/
...
...
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