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
5b13b6fb
Commit
5b13b6fb
authored
Sep 27, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1234
parent
62f5a0d7
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9634 additions
and
10 deletions
+9634
-10
tmallCat.getUserEnergy.json
...t/src/canvas/game/mock/miniTb/tmallCat.getUserEnergy.json
+1
-1
comcatrule.axml
taobao_mini/client/components/comcatrule/comcatrule.axml
+2
-2
comcatrule.js
taobao_mini/client/components/comcatrule/comcatrule.js
+9
-1
comlevelup.acss
taobao_mini/client/components/comlevelup/comlevelup.acss
+4
-4
pagecanvas.axml
taobao_mini/client/pages/pagecanvas/pagecanvas.axml
+1
-1
pagecanvas.js
taobao_mini/client/pages/pagecanvas/pagecanvas.js
+17
-1
debug.log
taobao_mini/debug.log
+9600
-0
No files found.
project/src/canvas/game/mock/miniTb/tmallCat.getUserEnergy.json
View file @
5b13b6fb
{
"success"
:
true
,
"data"
:
15
00
,
"data"
:
20
00
,
"code"
:
"culpa eu Ut"
}
\ No newline at end of file
taobao_mini/client/components/comcatrule/comcatrule.axml
View file @
5b13b6fb
<view class="catrule modal-animate-zoom-in">
<image class="catrulebg" src={{resList['716ced79-de7f-40ca-ac98-46a5adf13db0'].url}} />
<
image class="catrulep" src={{resList['617927a2-2dd6-456a-9d92-1f607a137dbc'].url}} /
>
<
!-- <image class="catrulep" src={{resList['617927a2-2dd6-456a-9d92-1f607a137dbc'].url}} /> --
>
<view class="catrulelabel" onTouchMove="touchMove" >
<label class="catruleText"
>游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则游戏规则
</label>
<label class="catruleText"
>{{rule}}
</label>
</view>
<image class="catrulebtnclose" onTap="onModalClose" src={{resList['29e80fbb-98ed-40fb-a11b-e14b45fee158'].url}} />
...
...
taobao_mini/client/components/comcatrule/comcatrule.js
View file @
5b13b6fb
...
...
@@ -4,7 +4,8 @@ import resList from '../../resconfig/resList';
Component
({
props
:
{},
data
:
{
resList
:
resList
resList
:
resList
,
rule
:
''
},
methods
:
{
onModalClose
()
{
...
...
@@ -20,4 +21,11 @@ Component({
}
},
didMount
(){
const
{
rule
}
=
this
.
props
;
console
.
log
(
"规则"
,
rule
);
this
.
setData
({
rule
:
rule
.
rule
})
}
});
\ No newline at end of file
taobao_mini/client/components/comlevelup/comlevelup.acss
View file @
5b13b6fb
...
...
@@ -97,11 +97,11 @@
}
.levelup .levelup_prizeImg {
width: 3
52
rpx;
height: 2
91
rpx;
width: 3
49
rpx;
height: 2
88
rpx;
opacity: 1;
left: 20
1
rpx;
top: 38
1
rpx;
left: 20
3
rpx;
top: 38
2
rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
...
...
taobao_mini/client/pages/pagecanvas/pagecanvas.axml
View file @
5b13b6fb
...
...
@@ -13,4 +13,4 @@
<view class="popcontainer" a:if="{{getcatModalVisible}}"><getcat-modal selectType="{{catType}}" catName="{{catName}}" onPostSelectCat="postSelectCat" onModalClose="closeGetcatModal"></getcat-modal></view>
<view class="popcontainer" a:if="{{catbackbedModalVisible}}"><catbackbed-modal mydata="{{recallcatModalData}}" recallCatInfo="{{recallCatInfo}}" onUpdateUserInfo="updateUserInfo" onModalClose="closeCatbackModal"></catbackbed-modal></view>
<task-modal a:if="{{taskModalVisible}}" onModalClose="closeTaskModal"></task-modal>
<view class="popcontainer" a:if="{{catruleModalVisible}}"><catrule-modal onModalClose="closeCatruleModal"></catrule-modal></view>
<view class="popcontainer" a:if="{{catruleModalVisible}}"><catrule-modal
rule="{{activityBaseInfo}}"
onModalClose="closeCatruleModal"></catrule-modal></view>
taobao_mini/client/pages/pagecanvas/pagecanvas.js
View file @
5b13b6fb
...
...
@@ -35,6 +35,7 @@ Page({
data
:
{
catType
:
1
,
catName
:
''
,
activityBaseInfo
:
null
,
recallCatInfo
:
{},
taskModalVisible
:
0
,
messageModalVisible
:
false
,
...
...
@@ -332,10 +333,25 @@ Page({
})
||
{};
if
(
success
)
{
this
.
initCanvas
();
this
.
getActivityBaseInfoById
();
}
},
/**
* 获取活动信息
*/
async
getActivityBaseInfoById
(){
const
{
success
,
data
}
=
await
API
.
getActivityBaseInfoById
().
catch
(
r
=>
{
commonToast
(
r
&&
r
.
message
)
})
||
{};
if
(
success
){
this
.
setData
({
activityBaseInfo
:
data
})
this
.
initCanvas
();
}
},
/**刷新用户信息 */
updateUserInfo
()
{
console
.
log
(
"通知canvas刷新用户信息"
)
...
...
taobao_mini/debug.log
View file @
5b13b6fb
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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