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
57030a90
Commit
57030a90
authored
Sep 24, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
83f7fe43
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
15 additions
and
427 deletions
+15
-427
babycare.completeTask.json
...ct/src/canvas/game/mock/miniTb/babycare.completeTask.json
+0
-6
babycare.consumerTools.json
...t/src/canvas/game/mock/miniTb/babycare.consumerTools.json
+0
-12
babycare.dojoin.json
project/src/canvas/game/mock/miniTb/babycare.dojoin.json
+0
-8
babycare.exchange.json
project/src/canvas/game/mock/miniTb/babycare.exchange.json
+0
-15
babycare.gameOver.json
project/src/canvas/game/mock/miniTb/babycare.gameOver.json
+0
-15
babycare.getGameInfo.json
...ect/src/canvas/game/mock/miniTb/babycare.getGameInfo.json
+0
-63
babycare.getIndex.json
project/src/canvas/game/mock/miniTb/babycare.getIndex.json
+0
-132
babycare.getPrizesByLevel.json
...rc/canvas/game/mock/miniTb/babycare.getPrizesByLevel.json
+0
-49
babycare.getTaskList.json
...ect/src/canvas/game/mock/miniTb/babycare.getTaskList.json
+0
-38
babycare.queryCredits.json
...ct/src/canvas/game/mock/miniTb/babycare.queryCredits.json
+0
-9
babycare.receiveTaskRewards.json
.../canvas/game/mock/miniTb/babycare.receiveTaskRewards.json
+0
-6
bubbleSurviva.getActivityBaseInfoById.json
...me/mock/miniTb/bubbleSurviva.getActivityBaseInfoById.json
+0
-61
tmallCat.exchangeGood.json
...ct/src/canvas/game/mock/miniTb/tmallCat.exchangeGood.json
+1
-1
app.acss
taobao_mini/client/app.acss
+1
-1
comexchanged.acss
taobao_mini/client/components/comexchanged/comexchanged.acss
+2
-1
comexchanged.axml
taobao_mini/client/components/comexchanged/comexchanged.axml
+2
-2
comexchanged.js
taobao_mini/client/components/comexchanged/comexchanged.js
+4
-4
pageshop.axml
taobao_mini/client/pages/pageshop/pageshop.axml
+1
-1
pageshop.js
taobao_mini/client/pages/pageshop/pageshop.js
+4
-3
No files found.
project/src/canvas/game/mock/miniTb/babycare.completeTask.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
1
,
"success"
:
true
,
"message"
:
"成功"
}
\ No newline at end of file
project/src/canvas/game/mock/miniTb/babycare.consumerTools.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
{
"tools"
:
{
"HAMMERS"
:
1
,
"STEPS"
:
0
,
"BOOMS"
:
0
}
},
"success"
:
true
,
"message"
:
"成功"
}
\ No newline at end of file
project/src/canvas/game/mock/miniTb/babycare.dojoin.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
{
"power"
:
3
},
"success"
:
true
,
"message"
:
"成功"
}
\ No newline at end of file
project/src/canvas/game/mock/miniTb/babycare.exchange.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"530001"
,
"data"
:
{
"power"
:
231
,
"tools"
:
{
"STEPS"
:
3
,
"BOOMS"
:
4
,
"HAMMERS"
:
5
},
"isvip"
:
false
,
"url"
:
"//market.m.taobao.com/apps/market/shopmember/index.html?wh_weex=true&sellerId=2207623078795&extraInfo=%7B%22source%22%3A%22isvapp%22%2C%22entrance%22%3A%22duiba%22%7D"
},
"success"
:
true
,
"message"
:
"需要成为会员"
}
project/src/canvas/game/mock/miniTb/babycare.gameOver.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
{
"currentLevel"
:
11
,
"isPrizeLevel"
:
false
,
"tool"
:
{
"type"
:
"HAMMERS"
},
"prize"
:
{
"image"
:
"https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png"
}
},
"success"
:
true
,
"message"
:
"成功"
}
project/src/canvas/game/mock/miniTb/babycare.getGameInfo.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
{
"currentLevel"
:
1
,
"visitors"
:
[
{
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"score"
:
10000
,
"level"
:
120
,
"createTime"
:
1594370024407
,
"openId"
:
"AAHuCvE-ALiIWXYsJuTb5S4W"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1594370024407
,
"_id"
:
"5f0827e89da67191b6b29261"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"score"
:
10000
,
"level"
:
10
,
"createTime"
:
1594370106090
,
"openId"
:
"AAHuCvE-ALiIWXYsJuTb5S4W"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1594370106090
,
"_id"
:
"5f08283a75cfb693ea1b3d5b"
,
"stars"
:
3
,
"isPrizeLevel"
:
true
,
"sendAwardType"
:
"prize"
},
{
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"score"
:
10000
,
"level"
:
1
,
"createTime"
:
1594369315957
,
"openId"
:
"AAHuCvE-ALiIWXYsJuTb5S4W"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1594369868256
,
"_id"
:
"5f082523c3ad3494b92036bf"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
}
],
"prizes"
:
[
{
"receiveTime"
:
""
,
"level"
:
120
,
"isReceive"
:
false
}
],
"power"
:
3
,
"tools"
:
{
"HAMMERS"
:
1
,
"STEPS"
:
0
,
"BOOMS"
:
0
},
"topAward"
:
""
},
"success"
:
true
,
"message"
:
"成功"
}
project/src/canvas/game/mock/miniTb/babycare.getIndex.json
deleted
100644 → 0
View file @
83f7fe43
{
"success"
:
true
,
"code"
:
"1111"
,
"message"
:
"OK"
,
"data"
:
{
"power"
:
0
,
"currentLevel"
:
120
,
"tools"
:
{
"STEPS"
:
1
,
"BOOMS"
:
2
,
"HAMMERS"
:
3
},
"prizes"
:
[
{
"receiveTime"
:
""
,
"level"
:
120
,
"isReceive"
:
false
},
{
"receiveTime"
:
""
,
"level"
:
90
,
"isReceive"
:
false
},
{
"receiveTime"
:
""
,
"level"
:
60
,
"isReceive"
:
false
},
{
"receiveTime"
:
""
,
"level"
:
30
,
"isReceive"
:
false
},
{
"receiveTime"
:
""
,
"level"
:
10
,
"isReceive"
:
false
}
],
"visitors"
:
[
{
"level"
:
1
,
"scores"
:
11111
,
"stars"
:
1
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
2
,
"scores"
:
22222
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
3
,
"scores"
:
3333
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
4
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
5
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
6
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
7
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
4
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
8
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
9
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
10
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
}
],
"isFristLogin"
:
false
}
}
project/src/canvas/game/mock/miniTb/babycare.getPrizesByLevel.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
[
{
"switchStock"
:
1
,
"image"
:
"https://img.alicdn.com/imgextra/i2/2275046294/O1CN01c4rCs11wMhRrsjEep_!!2275046294-2-miniprogram.png"
,
"isBackUp"
:
false
,
"properiodto"
:
1600
,
"level"
:
1
,
"probability"
:
"16"
,
"openId"
:
"AAFwCvE-ALiIWXYsJuTQVRpH"
,
"prizeType"
:
60
,
"updateTime"
:
1594623032191
,
"type"
:
3
,
"properiodfrom"
:
1
,
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"ename"
:
""
,
"lockStatus"
:
1
,
"credits"
:
""
,
"createTime"
:
1594361933509
,
"deleteStatus"
:
1
,
"name"
:
"60关奖品3"
,
"useStock"
:
1
,
"rank"
:
""
,
"_id"
:
"5f08084e0cb7338a0a377c8e"
,
"id"
:
""
,
"stock"
:
200
},
{
"isBackUp"
:
true
,
"properiodto"
:
10000
,
"level"
:
2
,
"probability"
:
"84"
,
"prizeType"
:
60
,
"updateTime"
:
1594623032197
,
"type"
:
5
,
"properiodfrom"
:
1601
,
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"lockStatus"
:
1
,
"createTime"
:
1594623032197
,
"deleteStatus"
:
1
,
"name"
:
"谢谢参与"
,
"useStock"
:
0
,
"_id"
:
"5f0c043852bbde91d1ca5682"
}
],
"success"
:
true
,
"message"
:
"成功"
}
\ No newline at end of file
project/src/canvas/game/mock/miniTb/babycare.getTaskList.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
[
{
"taskType"
:
"browseGoods"
,
"times"
:
3
,
"todayCompleteTimes"
:
0
,
"waitReceive"
:
0
,
"value"
:
""
,
"rewards"
:
10
},
{
"taskType"
:
"invites"
,
"times"
:
3
,
"todayCompleteTimes"
:
0
,
"waitReceive"
:
0
,
"value"
:
""
,
"rewards"
:
10
},
{
"taskType"
:
"follow"
,
"times"
:
1
,
"todayCompleteTimes"
:
0
,
"waitReceive"
:
0
,
"value"
:
""
,
"rewards"
:
7
},
{
"taskType"
:
"member"
,
"times"
:
1
,
"todayCompleteTimes"
:
1
,
"waitReceive"
:
0
,
"rewards"
:
65
}
],
"success"
:
true
,
"message"
:
"成功"
}
project/src/canvas/game/mock/miniTb/babycare.queryCredits.json
deleted
100644 → 0
View file @
83f7fe43
{
"success"
:
true
,
"message"
:
"您还不是会员"
,
"data"
:
{
"isvip"
:
false
,
"url"
:
"xxx"
,
"credits"
:
471
}
}
project/src/canvas/game/mock/miniTb/babycare.receiveTaskRewards.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
1
,
"success"
:
true
,
"message"
:
"成功"
}
\ No newline at end of file
project/src/canvas/game/mock/miniTb/bubbleSurviva.getActivityBaseInfoById.json
deleted
100644 → 0
View file @
83f7fe43
{
"code"
:
"000000"
,
"data"
:
{
"inviteFriends"
:
{
"type"
:
2
,
"value"
:
10
,
"taskNum"
:
3
},
"openId"
:
"AAFwCvE-ALiIWXYsJuTQVRpH"
,
"rule"
:
"测试规则4455334354"
,
"updateTime"
:
1594627802429
,
"title"
:
"测试活动"
,
"toolsProbability"
:
{
"HAMMERS"
:
{
"properiodfrom"
:
1
,
"properiodto"
:
500
,
"probability"
:
5
},
"STEPS"
:
{
"properiodfrom"
:
1001
,
"properiodto"
:
1400
,
"probability"
:
4
},
"BOOMS"
:
{
"properiodfrom"
:
501
,
"properiodto"
:
1000
,
"probability"
:
5
}
},
"levelPrize"
:
{
"level_60"
:
"https://img.alicdn.com/imgextra/i3/2275046294/O1CN01Llkz1U1wMhRqE4D0f_!!2275046294-2-miniprogram.png"
,
"level_90"
:
"https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png"
,
"level_120"
:
"https://img.alicdn.com/imgextra/i1/2275046294/O1CN01WvSfpG1wMhRrsjqFq_!!2275046294-2-miniprogram.png"
,
"level_30"
:
"https://img.alicdn.com/imgextra/i3/2275046294/O1CN01Mf9wLi1wMhRoCuoOs_!!2275046294-2-miniprogram.png"
,
"level_10"
:
"https://img.alicdn.com/imgextra/i3/2275046294/O1CN01bsypJm1wMhRsRMjh1_!!2275046294-2-miniprogram.png"
},
"buyCredits"
:
{
"HAMMERS"
:
"8"
,
"POWERS"
:
"9"
,
"BOOMS"
:
"6"
,
"STEPS"
:
"7"
},
"beMembership"
:
65
,
"openPrizeMsg"
:
""
,
"createTime"
:
1594361933457
,
"deleteStatus"
:
1
,
"browseGoods"
:
{
"itemIds"
:
"32223"
,
"type"
:
1
,
"value"
:
10
,
"taskNum"
:
3
},
"startTime"
:
1592448580000
,
"_id"
:
"5f08084ec3ad3494b9201c0e"
,
"endTime"
:
1594966980000
,
"attentionStore"
:
7
,
"openPrizeStatus"
:
3
},
"success"
:
true
,
"message"
:
"成功"
}
project/src/canvas/game/mock/miniTb/tmallCat.exchangeGood.json
View file @
57030a90
{
{
"success"
:
0
,
"success"
:
1
,
"data"
:
{
"data"
:
{
"channel"
:
"aliqua sint fugiat non do"
,
"channel"
:
"aliqua sint fugiat non do"
,
"strategyCode"
:
"anim"
,
"strategyCode"
:
"anim"
,
...
...
taobao_mini/client/app.acss
View file @
57030a90
...
@@ -27,7 +27,7 @@ page {
...
@@ -27,7 +27,7 @@ page {
left: 50%;
left: 50%;
margin-left:-375rpx;
margin-left:-375rpx;
margin-top:-812rpx;
margin-top:-812rpx;
background: rgba(0, 0, 0, 0.
7
);
background: rgba(0, 0, 0, 0.
5
);
}
}
.btn:active {
.btn:active {
...
...
taobao_mini/client/components/comexchanged/comexchanged.acss
View file @
57030a90
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
width: 750rpx;
width: 750rpx;
height: 1093rpx;
height: 1093rpx;
opacity: 1;
opacity: 1;
top: 221rpx;
top: 50%;
margin-top: -550rpx;
position: absolute;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
}
...
...
taobao_mini/client/components/comexchanged/comexchanged.axml
View file @
57030a90
<view class="exchanged
">
<view class="exchanged">
<image class="exchanged_bg " src={{resList['65d97f17-4b35-4ba7-b21b-7ec0bfac6639'].url}} />
<image class="exchanged_bg " src={{resList['65d97f17-4b35-4ba7-b21b-7ec0bfac6639'].url}} />
<image class="exchanged_imgbg " src={{resList['e0ce2abf-64d3-40f3-a016-c7fb7772b3f6'].url}} />
<image class="exchanged_imgbg " src={{resList['e0ce2abf-64d3-40f3-a016-c7fb7772b3f6'].url}} />
<image class="exchanged_close " onTap="onModalClose" src={{resList['06f8e9d0-f0bf-41d3-bbc2-8a782eacae59'].url}} />
<image class="exchanged_close " onTap="onModalClose" src={{resList['06f8e9d0-f0bf-41d3-bbc2-8a782eacae59'].url}} />
<
span class="exchanged_title ">获得 XXXX</span
>
<
label class="exchanged_title ">{{mydata.name}}</label
>
<image class="exchanged_btn " onTap="onModalClose" src={{resList['923ae629-84ed-406d-b3cb-258742ffa2ba'].url}} />
<image class="exchanged_btn " onTap="onModalClose" src={{resList['923ae629-84ed-406d-b3cb-258742ffa2ba'].url}} />
</view>
</view>
\ No newline at end of file
taobao_mini/client/components/comexchanged/comexchanged.js
View file @
57030a90
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
Component
({
Component
({
props
:
{},
props
:
{
mydata
:
null
},
data
:
{
resList
:
resList
},
data
:
{
methods
:
{}
,
resList
:
resList
,
},
methods
:
{
methods
:
{
// onBtnClick() {
// onBtnClick() {
// console.log('onBtnClick');
// console.log('onBtnClick');
...
...
taobao_mini/client/pages/pageshop/pageshop.axml
View file @
57030a90
...
@@ -5,4 +5,4 @@
...
@@ -5,4 +5,4 @@
onHandleClick="handleClick" />
onHandleClick="handleClick" />
</view>
</view>
<
exchanged-modal a:if="{{exchangedModalVisible}}" mydata="{{exchangedModalData}}" onModalClose="closeExchangedModal"></message-modal
>
<
view class="popcontainer" a:if="{{exchangedModalVisible}}"><exchanged-modal mydata="{{exchangedModalData}}" onModalClose="closeExchangedModal"></message-modal></view
>
taobao_mini/client/pages/pageshop/pageshop.js
View file @
57030a90
...
@@ -12,7 +12,7 @@ const { commonToast } = tbcc.tb;
...
@@ -12,7 +12,7 @@ const { commonToast } = tbcc.tb;
let
flag
=
0
;
let
flag
=
0
;
Page
({
Page
({
data
:
{
data
:
{
exchangedModalVisible
:
tru
e
,
exchangedModalVisible
:
fals
e
,
exchangedModalData
:
null
,
exchangedModalData
:
null
,
list
:
[],
list
:
[],
happyCoin
:
null
happyCoin
:
null
...
@@ -29,13 +29,14 @@ Page({
...
@@ -29,13 +29,14 @@ Page({
async
handleClick
(
e
)
{
async
handleClick
(
e
)
{
if
(
flag
)
return
;
if
(
flag
)
return
;
flag
=
1
;
flag
=
1
;
const
{
item
:
{
_id
}
}
=
e
.
target
.
dataset
;
const
{
item
}
=
e
.
target
.
dataset
;
const
{
_id
}
=
item
;
const
{
success
,
data
,
message
}
=
await
API
.
exchangeGood
({
_id
}).
catch
(
res
=>
{
const
{
success
,
data
,
message
}
=
await
API
.
exchangeGood
({
_id
}).
catch
(
res
=>
{
commonToast
(
res
&&
res
.
message
);
commonToast
(
res
&&
res
.
message
);
})
||
{};
})
||
{};
if
(
success
&&
data
)
{
if
(
success
&&
data
)
{
commonToast
(
'兑换成功'
)
this
.
setData
({
exchangedModalVisible
:
1
,
exchangedModalData
:
item
}
)
}
}
await
this
.
getExchangeGoodList
();
await
this
.
getExchangeGoodList
();
flag
=
0
;
flag
=
0
;
...
...
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