Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
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
高淑倩
7-Eleven
Commits
b7bc492a
Commit
b7bc492a
authored
Aug 05, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 集点列表
parent
875db221
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
5 deletions
+62
-5
pointList.js
src/pages/pointList/pointList.js
+1
-2
pointList.wxml
src/pages/pointList/pointList.wxml
+14
-1
pointList.wxss
src/pages/pointList/pointList.wxss
+47
-2
No files found.
src/pages/pointList/pointList.js
View file @
b7bc492a
...
@@ -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
:
[]
},
},
/**
/**
...
...
src/pages/pointList/pointList.wxml
View file @
b7bc492a
<!--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
src/pages/pointList/pointList.wxss
View file @
b7bc492a
/* 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
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