Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mohuishou committed Mar 7, 2018
1 parent 5ca4e72 commit a85ccb2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/pages/grade.wpy
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@
box-shadow: 4rpx 4rpx 4rpx #ddd;
.grade-list {
display: flex;
border-bottom: 1px dashed #eee;
color: #666;
font-size: 0.8rem;
padding: 0.2rem 0.5rem;
&.select {
background: @base-color !important;
color: #fff !important;
background: #ddd !important;
}
&:nth-child(2n+1) {
background-color: #f8f8f8;
Expand Down Expand Up @@ -284,8 +282,8 @@
wepy.showModal({
title: "计算结果",
content: `您共选择${grades.length}门课程, 学分共计: ${result.sum.all.credit}; \r
平均分: ${result.avg.all.grade}; \r
平均绩点: ${result.avg.all.gpa}; \r`,
平均分: ${result.avg.all.grade}; \r
平均绩点: ${result.avg.all.gpa}; \r`,
showCancel: false
})
},
Expand Down

0 comments on commit a85ccb2

Please sign in to comment.