Commit f13bce05d48ce28a85db2a0e3923404c46db492a
1 parent
b4aeb3345e
Exists in
master
and in
2 other branches
消息通知顶部平分
Showing 2 changed files with 14 additions and 9 deletions
littleApp_child/pages/system_notifacations/system_notifacations.wxml
View file @
f13bce0
| 1 | 1 | <view class="title_top_view"> |
| 2 | - <scroll-view class="title_scroll" scroll-x="true" scroll-y="false"> | |
| 3 | - <label class="scroll_title_label " wx:for="{{titles}}"> | |
| 2 | + <!-- <scroll-view class="title_scroll" scroll-x="true" scroll-y="false"> --> | |
| 3 | + <label class="scroll_title_label " wx:for="{{titles}}"> | |
| 4 | 4 | <label style="{{current_index == index? 'border-bottom: 2px solid #48C17B;' : 'border-bottom:0px solid #f4879b;'}}" class="title_text" bindtap="titleClick" data-categoryid="{{item.id}}" data-index="{{index}}">{{item.title}}</label> |
| 5 | 5 | </label> |
| 6 | - </scroll-view> | |
| 6 | + <!-- </scroll-view> --> | |
| 7 | 7 | </view> |
| 8 | 8 | <view style="height:100%;background:#eee" wx:if="{{isVisitor==false && noData != true}}"> |
| 9 | 9 |
littleApp_child/pages/system_notifacations/system_notifacations.wxss
View file @
f13bce0
| ... | ... | @@ -16,8 +16,9 @@ |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | .title_scroll { |
| 19 | - width: 90%; | |
| 20 | - margin-left: 10px; | |
| 19 | + | |
| 20 | + width: 100%; | |
| 21 | + /* margin-left: 10px; */ | |
| 21 | 22 | /*可以滚动 */ |
| 22 | 23 | white-space: nowrap; |
| 23 | 24 | display: inline-block; |
| 24 | 25 | |
| 25 | 26 | |
| ... | ... | @@ -33,19 +34,23 @@ |
| 33 | 34 | |
| 34 | 35 | .scroll_title_label { |
| 35 | 36 | height: 40px; |
| 36 | - margin-right: 30px; | |
| 37 | - text-align: left; | |
| 37 | + /* margin-right: 30px; */ | |
| 38 | + /* text-align: left; */ | |
| 39 | + width: 30%; | |
| 40 | + text-align: center; | |
| 38 | 41 | line-height: 40px; |
| 39 | 42 | border: 1px; |
| 40 | 43 | font-size: 13px; |
| 41 | 44 | color: #494949; |
| 42 | 45 | border-bottom: 2px; |
| 43 | 46 | border-color: #ff5e5e; |
| 47 | + | |
| 48 | + | |
| 44 | 49 | } |
| 45 | 50 | |
| 46 | 51 | .title_text { |
| 47 | - line-height: 40px; | |
| 48 | - height: 40px; | |
| 52 | + /* line-height: 40px; | |
| 53 | + height: 40px; */ | |
| 49 | 54 | font-size: 13px; |
| 50 | 55 | padding-top: 10px; |
| 51 | 56 | padding-bottom: 7px; |