Commit 855b868467ae73a393a0588ddcbdd8f0391b6606

Authored by luoye
1 parent 51083e8e79

检查时间传 id

Showing 4 changed files with 9 additions and 6 deletions

littleApp_child/pages/CheckReport/CheckReport.js View file @ 855b868
... ... @@ -143,7 +143,7 @@
143 143 getCheckList() {
144 144 var self = this
145 145 // 列表
146   - networkUtil._get(api.checkList,{}, function (res) {
  146 + networkUtil._get(api.checkList, { patientId: getApp().globalData.userId[0]}, function (res) {
147 147 console.log('获取时间信息', res)
148 148 var showLeft = true
149 149 if (res.data.data.length > 0 && res.data.data[0].checkTime.length > 0){
littleApp_child/pages/CheckReport/CheckReport.wxml View file @ 855b868
1 1 <import src="../../utils/util_template.wxml" />
2 2  
3 3  
4   -<view class="backgroundView" wx:if="{{!noData}}">
  4 +<view class="" wx:if="{{!noData}}">
5 5 <!-- <image class="TopBgImage" src=""></image> -->
6 6 <!--顶部红色有头像等信息的栏目-->
7 7 <view class="TopBar">
littleApp_child/pages/CheckReport/CheckReport.wxss View file @ 855b868
  1 +page {
  2 + background: white;
  3 +}
1 4 /*顶部模块*/
2 5 .TopBar {
3 6 width:100%;
... ... @@ -14,7 +17,6 @@
14 17 transform: translateX(-50%) translateY(12px);
15 18 border: 1px solid #ededed;
16 19  
17   -
18 20 display: flex;
19 21 flex-direction: column;
20 22 align-items: center;
21 23  
... ... @@ -141,11 +143,12 @@
141 143  
142 144 .title_banner {
143 145 height: 23px;
144   - width: 30%;
145 146 color: #999;
146 147 line-height: 23px;
147 148 font-size: 12px;
148   - margin-left: 15px;
  149 + width: 100%;
  150 + padding-left: 15px;
  151 + background: rgb(244, 244, 244);
149 152 }
150 153  
151 154 .report_list_bg {
littleApp_child/pages/childcare_knowledge/childcare_knowledge.wxss View file @ 855b868
... ... @@ -82,7 +82,7 @@
82 82 color: #222;
83 83 display: -webkit-box;
84 84 -webkit-box-orient: vertical;
85   - -webkit-line-clamp: 2;
  85 + -webkit-line-clamp: 1;
86 86 overflow: hidden;
87 87 }
88 88