Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
new_taobao
Commits
4046d519
Commit
4046d519
authored
Oct 10, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口添加
parent
6f9f8772
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10911 additions
and
29 deletions
+10911
-29
api.js
taobao_jn/client/api.js
+28
-21
app.js
taobao_jn/client/app.js
+1
-1
comrulemodal.js
taobao_jn/client/components/comrulemodal/comrulemodal.js
+3
-0
prizeModal.acss
taobao_jn/client/components/prizeModal/prizeModal.acss
+4
-4
myprize.js
taobao_jn/client/pages/myprize/myprize.js
+3
-3
debug.log
taobao_jn/debug.log
+10872
-0
No files found.
taobao_jn/client/api.js
View file @
4046d519
...
...
@@ -23,6 +23,7 @@ const request = tbccRequest({
// api handle 列表
const
apiList
=
{
...
capi
,
/**助力 */
doHelp
:
{
handle
:
'doHelp'
,
method
:
'get'
,
...
...
@@ -73,45 +74,51 @@ const apiList = {
method
:
'get'
,
isShowLoading
:
false
},
/**获取
用户
信息 */
get
User
Info
:
{
handle
:
'get
User
Info'
,
/**获取
游戏
信息 */
get
Game
Info
:
{
handle
:
'get
Game
Info'
,
method
:
'get'
,
isShowLoading
:
false
},
/**
登录
*/
log
in
:
{
handle
:
'
log
in'
,
/**
参与游戏
*/
doJo
in
:
{
handle
:
'
doJo
in'
,
method
:
'get'
,
isShowLoading
:
false
},
/**
领养猫,提交猫咪信息
*/
adoptCat
:
{
handle
:
'
adoptCat
'
,
/**
游戏结束
*/
gameOver
:
{
handle
:
'
gameOver
'
,
method
:
'get'
,
isShowLoading
:
false
},
/**
召回信息
*/
recallInfo
:
{
handle
:
'
recallInfo
'
,
/**
游戏中获取本局奖励的温暖值
*/
getWarmDetailListByCurGame
:
{
handle
:
'
getWarmDetailListByCurGame
'
,
method
:
'get'
,
isShowLoading
:
false
},
/**
召回猫
*/
recallCat
:
{
handle
:
'
recallCat
'
,
/**
获取当前游戏邀请人列表
*/
getInviteListByCurGame
:
{
handle
:
'
getInviteListByCurGame
'
,
method
:
'get'
,
isShowLoading
:
false
},
/**
兑换奖品
*/
exchangeGood
:
{
handle
:
'
exchangeGood
'
,
/**
游戏中发放温暖值
*/
sendWarmsByCurGame
:
{
handle
:
'
sendWarmsByCurGame
'
,
method
:
'get'
,
isShowLoading
:
false
},
/**获取兑换奖品列表 */
exchangeGoodList
:
{
handle
:
'exchangeGoodList'
,
/**获取排行明细列表 */
getUserRankList
:
{
handle
:
'getUserRankList'
,
method
:
'get'
,
isShowLoading
:
false
},
/**获取排行榜奖品列表 */
getRankPrizeList
:
{
handle
:
'getRankPrizeList'
,
method
:
'get'
,
isShowLoading
:
false
}
...
...
taobao_jn/client/app.js
View file @
4046d519
...
...
@@ -10,7 +10,7 @@ App({
env
,
requestType
:
'cloud'
,
// yapi,cloud: 云函数
// requestType: 'local', // yapi,cloud: 云函数
cloudName
:
'
tmallCat
'
,
// 主云函数项目名 tmallCat
cloudName
:
'
jn
'
,
// 主云函数项目名 tmallCat
// cloudName: 'bubbleSurviva', // 主云函数项目名 tmallCat
cloud
,
tbcc
,
...
...
taobao_jn/client/components/comrulemodal/comrulemodal.js
View file @
4046d519
...
...
@@ -2,6 +2,9 @@
import
resList
from
'../../resconfig/resList'
;
import
API
from
'../../api'
;
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
commonToast
,
navigateToOutside
,
getUserAddress
,
setClipboard
}
=
tbcc
.
tb
;
Component
({
props
:
{},
data
:
{
...
...
taobao_jn/client/components/prizeModal/prizeModal.acss
View file @
4046d519
...
...
@@ -17,10 +17,10 @@
}
.my-prize-page .my-prize-label {
width:
286
rpx;
height: 4
9
rpx;
width:
167
rpx;
height: 4
0
rpx;
margin: 140rpx auto 40rpx;
background: url('//yun.duiba.com.cn/
aurora/assets/a15fe07a819f3f6deb271725b37468030523dc05
.png') no-repeat;
background: url('//yun.duiba.com.cn/
spark/assets/myPrizeTitle.ed095f3772339f3920623585c92fc271ac4dc3ea
.png') no-repeat;
background-size: 100% 100%;
}
...
...
@@ -31,7 +31,7 @@
.my-prize-page .my-prize-empty {
text-align: center;
color: #
fff
;
color: #
000
;
margin-top: 30rpx;
}
...
...
taobao_jn/client/pages/myprize/myprize.js
View file @
4046d519
...
...
@@ -16,7 +16,7 @@ Page({
endTime
:
null
,
//到期时间
task
:
{
image
:
{
bg
:
'//yun.duiba.com.cn/
aurora/assets/7283d715cc5c7d13a5f498d15f5f5b9f4d9c29e5
.jpg'
,
//背景图
bg
:
'//yun.duiba.com.cn/
spark/assets/myprizeBg.1f636c459b0a7e272f3cc65c80c7bc2a88bc2833
.jpg'
,
//背景图
copyIcon
:
'//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png'
,
//复制
addressBth
:
'//yun.duiba.com.cn/aurora/assets/82cc3c6d8861334ebaf128c98e3341b687bdc007.png'
,
//填写地址(实物奖品)
getBth
:
'//yun.dui88.com/duiba-components-c-myprizeget_now.png'
,
//立即领取(除实物奖品外)
...
...
@@ -81,9 +81,9 @@ Page({
})
||
{};
if
(
success
&&
data
)
{
this
.
setData
({
myPrizeList
:
data
myPrizeList
:
data
.
list
})
this
.
getEndTime
(
data
)
this
.
getEndTime
(
data
.
list
)
}
if
(
type
!=
'noLoading'
)
{
my
.
hideLoading
();
...
...
taobao_jn/debug.log
View file @
4046d519
This diff is collapsed.
Click to expand it.
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