Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
walk_daka_wx
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
穆启卓
walk_daka_wx
Commits
d0d98f67
Commit
d0d98f67
authored
Apr 04, 2019
by
穆启卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
44820500
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
index.less
pages/index/index.less
+6
-1
index.wxml
pages/index/index.wxml
+1
-1
index.wxss
pages/index/index.wxss
+6
-1
No files found.
pages/index/index.less
View file @
d0d98f67
...
@@ -91,9 +91,14 @@ page {
...
@@ -91,9 +91,14 @@ page {
font-size: 22rpx;
font-size: 22rpx;
line-height: 34rpx;
line-height: 34rpx;
color: #fff;
color: #fff;
background: #948cc9;
border-radius: 6rpx;
border-radius: 6rpx;
padding: 0 8rpx;
padding: 0 8rpx;
&.color1 {
background: #948cc9;
}
&.color2 {
background: #ffa0d1;
}
}
}
.today-progress {
.today-progress {
font-size: 26rpx;
font-size: 26rpx;
...
...
pages/index/index.wxml
View file @
d0d98f67
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</view>
</view>
<view class="get-info-btn" bindtap="clickStepData">{{unionAuth&&stepAuth?'提交步数打卡':'获取步数记录'}}</view>
<view class="get-info-btn" bindtap="clickStepData">{{unionAuth&&stepAuth?'提交步数打卡':'获取步数记录'}}</view>
<view class="step-progress-container" wx:if="{{targetSteps}}">
<view class="step-progress-container" wx:if="{{targetSteps}}">
<view class="today-status
">进行中
</view>
<view class="today-status
{{currentSteps>=targetSteps?'color2':'color1'}}">{{currentSteps>=targetSteps?'已达标':'进行中'}}
</view>
<view class="today-progress">{{currentSteps}}/{{targetSteps}}<text>步</text></view>
<view class="today-progress">{{currentSteps}}/{{targetSteps}}<text>步</text></view>
</view>
</view>
<view class="other-step-title" wx:if="{{stepRecordList.length}}">步数明细</view>
<view class="other-step-title" wx:if="{{stepRecordList.length}}">步数明细</view>
...
...
pages/index/index.wxss
View file @
d0d98f67
...
@@ -94,10 +94,15 @@ page {
...
@@ -94,10 +94,15 @@ page {
font-size: 22rpx;
font-size: 22rpx;
line-height: 34rpx;
line-height: 34rpx;
color: #fff;
color: #fff;
background: #948cc9;
border-radius: 6rpx;
border-radius: 6rpx;
padding: 0 8rpx;
padding: 0 8rpx;
}
}
.page-container .today-step-container .step-progress-container .today-status.color1 {
background: #948cc9;
}
.page-container .today-step-container .step-progress-container .today-status.color2 {
background: #ffa0d1;
}
.page-container .today-step-container .step-progress-container .today-progress {
.page-container .today-step-container .step-progress-container .today-progress {
font-size: 26rpx;
font-size: 26rpx;
line-height: 1;
line-height: 1;
...
...
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