Commit e1e241a9c4e2d226c2bbc15dcb687f8292f1ddcc
1 parent
a42fe477
chore: style
Showing
3 changed files
with
8 additions
and
5 deletions
pages/index/index.wxml
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | </view> | 18 | </view> |
| 19 | <view class="type-view"> | 19 | <view class="type-view"> |
| 20 | <button | 20 | <button |
| 21 | - wx:for="{{type}}" | 21 | + wx:for="{{typeList}}" |
| 22 | wx:key="desc" | 22 | wx:key="desc" |
| 23 | bindtap="selectIndex" | 23 | bindtap="selectIndex" |
| 24 | class="button" | 24 | class="button" |
pages/result/result.wxml
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | {{item.text}} | 9 | {{item.text}} |
| 10 | </view> | 10 | </view> |
| 11 | <view class="btn-view"> | 11 | <view class="btn-view"> |
| 12 | - <view class="text-time">{{item.date}}</view> | 12 | + <view class="text-time"><text class="text-type">{{item.type}}</text> - {{item.date}}</view> |
| 13 | <button class="button" type="warn" size="mini" data-path="{{item.path}}" bindtap="delete">删除</button> | 13 | <button class="button" type="warn" size="mini" data-path="{{item.path}}" bindtap="delete">删除</button> |
| 14 | <button class="button" type="primary" size="mini" data-path="{{item.path}}" bindtap="play">播放</button> | 14 | <button class="button" type="primary" size="mini" data-path="{{item.path}}" bindtap="play">播放</button> |
| 15 | <button class="button" type="primary" size="mini" data-path="{{item.path}}" bindtap="download">下载</button> | 15 | <button class="button" type="primary" size="mini" data-path="{{item.path}}" bindtap="download">下载</button> |
pages/result/result.wxss
| @@ -24,7 +24,10 @@ | @@ -24,7 +24,10 @@ | ||
| 24 | } | 24 | } |
| 25 | .text-time{ | 25 | .text-time{ |
| 26 | float: left; | 26 | float: left; |
| 27 | - font-size: 13px; | ||
| 28 | - line-height: 2.3; | ||
| 29 | - color: #bababa; | 27 | + font-size: 11px; |
| 28 | + line-height: 2.6; | ||
| 29 | + color: #999; | ||
| 30 | +} | ||
| 31 | +.text-type{ | ||
| 32 | + color: #999; | ||
| 30 | } | 33 | } |
| 31 | \ No newline at end of file | 34 | \ No newline at end of file |