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
ab5e6cef
Commit
ab5e6cef
authored
Sep 22, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
543cf295
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
125 additions
and
5 deletions
+125
-5
app.json
taobao_mini/client/app.json
+2
-2
comlevelup.acss
taobao_mini/client/components/comlevelup1/comlevelup.acss
+81
-0
comlevelup.axml
taobao_mini/client/components/comlevelup1/comlevelup.axml
+10
-0
comlevelup.js
taobao_mini/client/components/comlevelup1/comlevelup.js
+17
-0
comlevelup.json
taobao_mini/client/components/comlevelup1/comlevelup.json
+4
-0
pagecanvas.axml
taobao_mini/client/pages/pagecanvas/pagecanvas.axml
+2
-1
pagecanvas.js
taobao_mini/client/pages/pagecanvas/pagecanvas.js
+7
-1
pagecanvas.json
taobao_mini/client/pages/pagecanvas/pagecanvas.json
+2
-1
No files found.
taobao_mini/client/app.json
View file @
ab5e6cef
{
"pages"
:
[
"pages/pageshop/pageshop"
,
"pages/index/index"
,
"pages/pagecanvas/pagecanvas"
,
"pages/index/index"
,
"pages/pageshop/pageshop"
,
"pages/myprize/myprize"
],
"window"
:
{
...
...
taobao_mini/client/components/comlevelup1/comlevelup.acss
0 → 100644
View file @
ab5e6cef
.levelup {
width: 1116rpx;
height: 1093rpx;
opacity: 1;
left: -183rpx;
top: 221rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.levelup .levelup_light {
width: 1116rpx;
height: 1093rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.levelup .levelup_bg {
width: 584rpx;
height: 715rpx;
opacity: 1;
left: 268rpx;
top: 200rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.levelup .levelup_closebtn {
width: 45rpx;
height: 45rpx;
opacity: 1;
left: 767rpx;
top: 236rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.levelup .levelup_bg2 {
width: 651rpx;
height: 784rpx;
opacity: 1;
left: 235rpx;
top: 182rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.levelup .levelup_txt {
width: 371rpx;
height: 26rpx;
opacity: 1;
left: 374rpx;
top: 711rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 26rpx;
color: #574738;
}
.levelup .levelup_title {
width: 206rpx;
height: 35rpx;
opacity: 1;
left: 457rpx;
top: 314rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.levelup .levelup_imgbg {
width: 360rpx;
height: 299rpx;
opacity: 1;
left: 380rpx;
top: 377rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.levelup .levelup_btn {
width: 351rpx;
height: 105rpx;
opacity: 1;
left: 384rpx;
top: 773rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
taobao_mini/client/components/comlevelup1/comlevelup.axml
0 → 100644
View file @
ab5e6cef
<view class="levelup ">
<image class="levelup_light " src={{resList['137b39ef-0c25-4991-a57e-0308daaec2dd'].url}} />
<image class="levelup_bg " src={{resList['bca418af-89d1-4fe0-90a8-ae8581ad328c'].url}} />
<image onTap="onModalClose" class="levelup_closebtn " src={{resList['c2adf081-7720-4814-ad9e-e28d13522ee0'].url}} />
<image class="levelup_bg2 " src={{resList['9de58772-9830-4e72-aba8-b07802266b5d'].url}} />
<label class="levelup_txt ">精力上限1200 → 精力上限1500</label>
<image class="levelup_title " src={{resList['be93e436-d2eb-4c29-922c-577810ed6571'].url}} />
<image class="levelup_imgbg " src={{resList['b1c40894-4d50-45e6-8fc8-118ef6d9d598'].url}} />
<image class="levelup_btn " src={{resList['8da5fe13-41a3-4b5b-b079-938e0c7eef5a'].url}} />
</view>
\ No newline at end of file
taobao_mini/client/components/comlevelup1/comlevelup.js
0 → 100644
View file @
ab5e6cef
'use strict'
;
import
resList
from
'../../resconfig/resList'
;
Component
({
props
:
{},
data
:
{
resList
:
resList
},
methods
:
{
onModalClose
()
{
const
{
onModalClose
}
=
this
.
props
;
onModalClose
&&
onModalClose
();
console
.
log
(
'onModalClose'
)
}
}
});
\ No newline at end of file
taobao_mini/client/components/comlevelup1/comlevelup.json
0 → 100644
View file @
ab5e6cef
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
taobao_mini/client/pages/pagecanvas/pagecanvas.axml
View file @
ab5e6cef
...
...
@@ -4,4 +4,5 @@
</canvas>
</view>
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal>
\ No newline at end of file
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal>
<levelup-modal a:if="{{levelupModalVisible}}" onModalClose="closeLevelupModal"></levelup-modal>
\ No newline at end of file
taobao_mini/client/pages/pagecanvas/pagecanvas.js
View file @
ab5e6cef
...
...
@@ -25,7 +25,8 @@ const checkSystem = async () => {
Page
({
data
:
{
ruleModalVisible
:
false
ruleModalVisible
:
false
,
levelupModalVisible
:
true
},
onLoad
(
props
)
{
...
...
@@ -224,6 +225,11 @@ Page({
this
.
init
();
}
},
closeLevelupModal
()
{
this
.
setData
({
levelupModalVisible
:
false
});
},
closeRuleModal
()
{
this
.
setData
({
ruleModalVisible
:
false
...
...
taobao_mini/client/pages/pagecanvas/pagecanvas.json
View file @
ab5e6cef
{
"usingComponents"
:
{
"rule-modal"
:
"/components/ruleModal/ruleModal"
"rule-modal"
:
"/components/ruleModal/ruleModal"
,
"levelup-modal"
:
"/components/comlevelup/comlevelup"
}
}
\ No newline at end of file
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