Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_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
hello_taobao
Commits
884d7a11
Commit
884d7a11
authored
Sep 11, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
b183c164
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
pagehuo_dong_ye.axml
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.axml
+1
-1
pagehuo_dong_ye.js
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.js
+3
-2
No files found.
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.axml
View file @
884d7a11
...
...
@@ -32,7 +32,7 @@
<!-- bianli -->
<image style="width:100rpx;height:100rpx;display:block;marginLeft:25rpx" src={{item.image}}></image>
<!-- <view style="width:100rpx;height:100rpx;background:white;marginLeft:25rpx"></view> -->
<view style="fontSize:22rpx">{{
item.floors
}}楼层</view>
<view style="fontSize:22rpx">{{
totalFloor}}*{{item.probability
}}楼层</view>
<label style="fontSize:22rpx">{{item.name}}</label>
</view>
...
...
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.js
View file @
884d7a11
...
...
@@ -266,7 +266,8 @@ Page({
textAlign
:
'center'
}
list
[
i
].
liststyle
=
listStyle
;
list
[
i
].
floors
=
Math
.
round
(
list
.
probability
*
totalFloor
*
0.01
);
list
[
i
].
probability
=
list
[
i
].
probability
+
'%'
// list[i].floors = Math.round(list.probability* totalFloor * 0.01);
}
this
.
setData
({
...
...
@@ -289,7 +290,7 @@ Page({
},
countDowning
(
end
)
{
console
.
log
(
'执行时间count'
)
//
console.log('执行时间count')
if
(
end
.
length
==
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