Commit b7bc492a by 高淑倩

add: 集点列表

parent 875db221
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
const app = getApp() const app = getApp()
const wxService = require('../../utils/wxService') const wxService = require('../../utils/wxService')
const utils = require('../../utils/util') const utils = require('../../utils/util')
const envInfo = require('../../config/index').envInfo
wxService.page({ wxService.page({
...@@ -10,7 +9,7 @@ wxService.page({ ...@@ -10,7 +9,7 @@ wxService.page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
pointList: []
}, },
/** /**
......
<!--pages/pointList/pointList.wxml--> <!--pages/pointList/pointList.wxml-->
<text>pages/pointList/pointList.wxml</text> <view class="point-list border_box">
<block wx:for="{{4}}" wx:for-item="item">
<view class="point border_box">
<view class="status">status
<image wx:if="{{item}}" class='status-img' src='{{}}' mode="widthFix"/>
</view>
<view class="progress weui-flex df-j--bt">
<view class="rate">进度: <text class="rate-num">1</text>/5</view>
<view class="time-out">距离结束时间: <text class="time">11</text></view>
</view>
</view>
</block>
</view>
\ No newline at end of file
/* pages/pointList/pointList.wxss */ /* pages/pointList/pointList.wxss */
\ No newline at end of file @import './../../base/base.wxss';
page {
background-color: #fff;
}
.point-list {
padding-bottom: 30rpx;
}
.point {
padding: 30rpx 30rpx 0 30rpx;
}
.status {
height: 320rpx;
border-radius: 7rpx;
background-color: rgba(216, 216, 216, 1);
}
.status-img {
height: 320rpx;
}
.progress {
height: 70rpx;
line-height: 70rpx;
border-bottom: 1px solid rgba(151, 151, 151, .3);
}
.rate {
width: 137rpx;
height: 33rpx;
color: rgba(51, 51, 51, 1);
font-size: 24rpx;
text-align: left;
font-family: PingFangSC-Regular;
}
.time-out {
width: 279px;
height: 33px;
color: rgba(120, 120, 120, 1);
font-size: 24rpx;
text-align: right;
font-family: PingFangSC-Regular;
}
.time {
color: #000;
}
.rate-num {
color: rgb(214, 103, 103)
}
\ No newline at end of file
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