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
85ff3002
Commit
85ff3002
authored
Aug 05, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: progress
parent
80c20cb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
3 deletions
+75
-3
pointDetail.wxml
src/pages/pointDetail/pointDetail.wxml
+31
-1
pointDetail.wxss
src/pages/pointDetail/pointDetail.wxss
+44
-2
No files found.
src/pages/pointDetail/pointDetail.wxml
View file @
85ff3002
<!--pages/pointDetail/pointDetail.wxml-->
<status-img imgHeight="{{imgHeight}}"></status-img>
<status-img imgHeight="{{imgHeight}}" />
<view class="detail-info border_box">
<view class="info-top weui-flex df-j--bt">
<view class="info-num">
进度:
<text class="rate-num">1</text>
/ 5
</view>
<view class="info-ready-num">
已达成 1 次
</view>
</view>
<view class="info-progress border_box">
<progress
percent="100"
activeColor="#C09A74"
stroke-width="10"
active
border-radius="{{20}}"
/>
</view>
<view class="info-status-btn available border_box">
可领取奖励 1 次
</view>
<!-- <view class="info-status-btn unacommpolished border_box">
还未达成,继续加油呀
</view>-->
</view>
<view class="detail-desc" />
src/pages/pointDetail/pointDetail.wxss
View file @
85ff3002
/* pages/pointDetail/pointDetail.wxss */
@import './../../base/base.wxss';
\ No newline at end of file
@import './../../base/base.wxss';
.detail-info{
height: 350rpx;
background-color: #fff;
padding: 44rpx 51rpx;
}
.info-num {
height: 45rpx;
color: rgba(51, 51, 51, 1);
font-size: 32rpx;
text-align: left;
font-family: PingFangSC-Regular;
}
.info-ready-num {
left: 563rpx;
height: 40rpx;
color: rgba(117, 117, 117, 1);
font-size: 28rpx;
text-align: right;
font-family: PingFangSC-Regular;
}
.info-progress{
padding: 31rpx 0 56rpx 0;
}
.info-status-btn {
margin: 0 50rpx;
text-align: center;
height: 88rpx;
line-height: 88rpx;
border-radius: 44rpx;
background-color: #FFFFFF;
}
.available{
box-shadow: 0px 2rpx 14rpx -3rpx rgba(255, 51, 51, 1);
background:linear-gradient(to bottom, #FF3333,#F85B5B);/*设置按钮为渐变颜色*/
color: #fff;
}
.unacommpolished {
border: 1px solid rgba(204, 204, 204, 1);
color: rgba(204, 204, 204, 1);
font-size: 32rpx;
font-family: PingFangSC-Medium;
}
\ 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