Commit 884d7a11 authored by 汪欢's avatar 汪欢

2

parent b183c164
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<!-- bianli --> <!-- bianli -->
<image style="width:100rpx;height:100rpx;display:block;marginLeft:25rpx" src={{item.image}}></image> <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="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> <label style="fontSize:22rpx">{{item.name}}</label>
</view> </view>
......
...@@ -266,7 +266,8 @@ Page({ ...@@ -266,7 +266,8 @@ Page({
textAlign: 'center' textAlign: 'center'
} }
list[i].liststyle = listStyle; 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({ this.setData({
...@@ -289,7 +290,7 @@ Page({ ...@@ -289,7 +290,7 @@ Page({
}, },
countDowning(end) { countDowning(end) {
console.log('执行时间count') // console.log('执行时间count')
if(end.length == 0){ if(end.length == 0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment