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
106e728b
Commit
106e728b
authored
Oct 14, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d3dfabf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
comranknoprizemodal.axml
...t/components/comranknoprizemodal/comranknoprizemodal.axml
+3
-3
comranknoprizemodal.js
...ent/components/comranknoprizemodal/comranknoprizemodal.js
+7
-2
No files found.
taobao_jn/client/components/comranknoprizemodal/comranknoprizemodal.axml
View file @
106e728b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
<image class="ranknoprizebg " src={{resList['ae93d0a2-7c8b-48a5-96a2-49b819e5b2bf'].url}} />
<image class="ranknoprizebg " src={{resList['ae93d0a2-7c8b-48a5-96a2-49b819e5b2bf'].url}} />
<!-- <label class="ranknoprizeindex ">500+</label> -->
<!-- <label class="ranknoprizeindex ">500+</label> -->
<image class="ranknoprize500 " a:if="{{myRank>500}}" src={{resList['14fbf7c8-43e2-4bb9-81c8-d1392455cf39'].url}} />
<image class="ranknoprize500 " a:if="{{myRank>500}}" src={{resList['14fbf7c8-43e2-4bb9-81c8-d1392455cf39'].url}} />
<image class="rankNoPirzeHundred " a:if="{{myRank<=500}}" src={{resList['55fd44df-0153-4a6b-aa5c-b1aea201cdb8-'+(myRankHundred)].url}} />
<image class="rankNoPirzeHundred " a:if="{{myRank<=500
&&myRankHundred>0
}}" src={{resList['55fd44df-0153-4a6b-aa5c-b1aea201cdb8-'+(myRankHundred)].url}} />
<image class="rankNoPirzeTen " a:if="{{myRank<=500}}" src={{resList['55fd44df-0153-4a6b-aa5c-b1aea201cdb8-'+(myRankTen)].url}} />
<image class="rankNoPirzeTen " a:if="{{myRank<=500
&&myRankTen>0}}" style="{{{'left':tenLeft+'rpx'}
}}" src={{resList['55fd44df-0153-4a6b-aa5c-b1aea201cdb8-'+(myRankTen)].url}} />
<image class="rankNoPirzeOne " a:if="{{myRank<=500
}}" style="{{{'left':oneLeft
}}}" src={{resList['55fd44df-0153-4a6b-aa5c-b1aea201cdb8-'+(myRankOne)].url}} />
<image class="rankNoPirzeOne " a:if="{{myRank<=500
&&myRankOne>0}}" style="{{{'left':oneLeft+'rpx'
}}}" src={{resList['55fd44df-0153-4a6b-aa5c-b1aea201cdb8-'+(myRankOne)].url}} />
<image class="ranknoprizebtn btn" onTap="onCloseModal" src={{resList['d0c616aa-c606-40dd-b6f1-e9d370f3d053'].url}} />
<image class="ranknoprizebtn btn" onTap="onCloseModal" src={{resList['d0c616aa-c606-40dd-b6f1-e9d370f3d053'].url}} />
<image class="ranknoprizeclose btn" onTap="onCloseModal" src={{resList['843f7959-252d-403d-8287-e212b46b1fc1'].url}} />
<image class="ranknoprizeclose btn" onTap="onCloseModal" src={{resList['843f7959-252d-403d-8287-e212b46b1fc1'].url}} />
</view>
</view>
\ No newline at end of file
taobao_jn/client/components/comranknoprizemodal/comranknoprizemodal.js
View file @
106e728b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
Component
({
Component
({
props
:
{
props
:
{
gameInfo
:{
rank
:
15
6
}
gameInfo
:{
rank
:
6
}
},
},
data
:
{
data
:
{
resList
:
resList
,
resList
:
resList
,
...
@@ -31,7 +31,12 @@ Component({
...
@@ -31,7 +31,12 @@ Component({
console
.
log
(
"排名"
,
hundred
,
ten
,
one
)
console
.
log
(
"排名"
,
hundred
,
ten
,
one
)
if
(
ten
<=
0
){
if
(
ten
<=
0
){
this
.
setData
({
this
.
setData
({
oneLeft
:
'222rpx'
oneLeft
:
222
})
}
else
if
(
hundred
<=
0
&&
ten
>
0
){
this
.
setData
({
oneLeft
:
260
,
tenLeft
:
164
})
})
}
}
this
.
setData
({
this
.
setData
({
...
...
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