Commit d8ca7263e422feb92cd3851d01c6a37f6dc7080a
1 parent
bfcb6d0feb
Exists in
master
and in
2 other branches
no message
Showing 3 changed files with 6 additions and 7 deletions
littleApp_child/pages/childcare_knowledge/childcare_knowledge.js
View file @
d8ca726
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | // 'http://img06.tooopen.com/images/20160818/tooopen_sy_175866434296.jpg', |
| 26 | 26 | 'http://img06.tooopen.com/images/20160818/tooopen_sy_175833047715.jpg' |
| 27 | 27 | ], |
| 28 | - titles: ["日常护理", "营养美食", "疾病护理", "亲子互动", "言传qq"], | |
| 28 | + titles: ["日常护理", "营养美食", "疾病护理", "亲子互动", "言传身教"], | |
| 29 | 29 | id:0, |
| 30 | 30 | category:'', |
| 31 | 31 | current_index:0, |
| 32 | 32 | |
| ... | ... | @@ -86,11 +86,11 @@ |
| 86 | 86 | }) |
| 87 | 87 | }, |
| 88 | 88 | /*---------自定义函数--------*/ |
| 89 | - requestData(id){ | |
| 89 | + requestData(){ | |
| 90 | 90 | var self = this |
| 91 | 91 | isRefresh = true |
| 92 | 92 | networkUtil.showLoading() |
| 93 | - var param = {page:page,limit:15,type:getApp().globalData.userInfo.status,categoryId:self.data.id} | |
| 93 | + var param = {page:page,limit:15} | |
| 94 | 94 | networkUtil._get(api.articleList,param,function(res){ |
| 95 | 95 | |
| 96 | 96 | isRefresh = false |
littleApp_child/pages/childcare_knowledge/childcare_knowledge.wxml
View file @
d8ca726
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | <image class="search_img" src="../../source/ic_search.png" bindtap="toSearch"></image> |
| 4 | 4 | <scroll-view class="title_scroll" scroll-x="true" scroll-y="false"> |
| 5 | 5 | <label class="scroll_title_label " wx:for="{{titles}}"> |
| 6 | - <label style="{{current_index == index? 'border-bottom: 2px solid #f4879b;' : 'border-bottom:0px solid #f4879b;'}}" class="title_text" bindtap="titleClick" data-index="{{index}}">{{item}}</label> | |
| 6 | + <label style="{{current_index == index? 'border-bottom: 2px solid #48C17B;' : 'border-bottom:0px solid #f4879b;'}}" class="title_text" bindtap="titleClick" data-index="{{index}}">{{item}}</label> | |
| 7 | 7 | |
| 8 | 8 | </label> |
| 9 | 9 | </scroll-view> |
littleApp_child/pages/childcare_knowledge/childcare_knowledge.wxss
View file @
d8ca726
| ... | ... | @@ -72,14 +72,14 @@ |
| 72 | 72 | |
| 73 | 73 | .content_item { |
| 74 | 74 | width: 100%; |
| 75 | - height: 75px; | |
| 75 | + height: 85px; | |
| 76 | 76 | right: 75px; |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | .content_title { |
| 80 | 80 | font-family: PingFangSC-Regular; |
| 81 | 81 | font-size: 14px; |
| 82 | - margin-top: 10px; | |
| 82 | + padding-top: 7px; | |
| 83 | 83 | color: #222; |
| 84 | 84 | display: -webkit-box; |
| 85 | 85 | -webkit-box-orient: vertical; |
| ... | ... | @@ -129,7 +129,6 @@ |
| 129 | 129 | .home__list-item__bottom { |
| 130 | 130 | height: 2px; |
| 131 | 131 | background: #d8dbd4; |
| 132 | - margin-bottom: 5px; | |
| 133 | 132 | margin-top: 5px; |
| 134 | 133 | left: 15px; |
| 135 | 134 | right: 15px; |