Commit 51a006cdccae659bcffec010949a137f8b3743f3
Exists in
master
and in
2 other branches
Merge branch 'master' of https://git.healthbaby.com.cn/luoye/littleapp_child
# Conflicts: # littleApp_child/app.json # littleApp_child/utils/apiFile.js
Showing 19 changed files
- littleApp_child/app.json
 - littleApp_child/pages/CheckReport/CheckReport.js
 - littleApp_child/pages/CheckReport/CheckReport.json
 - littleApp_child/pages/CheckReport/CheckReport.wxml
 - littleApp_child/pages/CheckReport/CheckReport.wxss
 - littleApp_child/pages/SearchPage/SearchPage.js
 - littleApp_child/pages/SearchPage/SearchPage.wxml
 - littleApp_child/pages/articleDetail/articleDetail.js
 - littleApp_child/pages/articleDetail/articleDetail.json
 - littleApp_child/pages/articleDetail/articleDetail.wxml
 - littleApp_child/pages/articleDetail/articleDetail.wxss
 - littleApp_child/pages/checkTabList/checkTabList.js
 - littleApp_child/pages/home/home.js
 - littleApp_child/pages/home/home.wxml
 - littleApp_child/pages/hospitalDetail/hospitalDetail.js
 - littleApp_child/pages/hospitalDetail/hospitalDetail.wxml
 - littleApp_child/pages/hospitalDetail/hospitalDetail.wxss
 - littleApp_child/source/yuyue.png
 - littleApp_child/utils/apiFile.js
 
littleApp_child/app.json
View file @
51a006c
littleApp_child/pages/CheckReport/CheckReport.js
View file @
51a006c
| 1 | + | |
| 2 | +// 网络请求工具类 | |
| 3 | +var networkUtil = require('../../utils/network_util.js') | |
| 4 | +var api = require('../../utils/apiFile.js') | |
| 5 | +var util = require('../../utils/util.js') | |
| 6 | +var event = require('../../utils/event.js') | |
| 7 | + | |
| 8 | +Page({ | |
| 9 | + data: { | |
| 10 | + dateList: {}, | |
| 11 | + isShowOne: false, | |
| 12 | + isShowTwo: false, | |
| 13 | + isShowThree: false, | |
| 14 | + // 用户信息 | |
| 15 | + userData:{}, | |
| 16 | + // 时间下标 | |
| 17 | + dateIndex:0, | |
| 18 | + monthText:'1月11日', | |
| 19 | + yearText:'2017', | |
| 20 | + todayInfo:'', | |
| 21 | + // 是否建档 | |
| 22 | + subscribe:false, | |
| 23 | + // 问诊信息 | |
| 24 | + wzInfo:'' | |
| 25 | + }, | |
| 26 | + onLoad: function (option) { | |
| 27 | + | |
| 28 | + this.setData({ | |
| 29 | + userData: getApp().globalData.userInfo | |
| 30 | + }) | |
| 31 | + networkUtil.showLoading() | |
| 32 | + this.getCheckList() | |
| 33 | + }, | |
| 34 | + isShowMore: function (e) { | |
| 35 | + var self = this | |
| 36 | + console.log(e) | |
| 37 | + var index = e.currentTarget.dataset.index | |
| 38 | + console.log(index) | |
| 39 | + if (index == 1) { | |
| 40 | + self.setData({ | |
| 41 | + isShowOne: !self.data.isShowOne, | |
| 42 | + isShowTwo: false, | |
| 43 | + isShowThree: false, | |
| 44 | + }) | |
| 45 | + } if (index == 2) { | |
| 46 | + if (!self.data.wzInfo.handl_suggest){ | |
| 47 | + return | |
| 48 | + } | |
| 49 | + self.setData({ | |
| 50 | + isShowOne: false, | |
| 51 | + isShowTwo: !self.data.isShowTwo, | |
| 52 | + isShowThree: false, | |
| 53 | + }) | |
| 54 | + } if (index == 3) { | |
| 55 | + if (!self.data.wzInfo.guide_suggest) { | |
| 56 | + return | |
| 57 | + } | |
| 58 | + self.setData({ | |
| 59 | + isShowOne: false, | |
| 60 | + isShowTwo: false, | |
| 61 | + isShowThree: !self.data.isShowThree, | |
| 62 | + }) | |
| 63 | + } | |
| 64 | + }, | |
| 65 | + toBefore(){ | |
| 66 | + var index = this.data.dateIndex | |
| 67 | + index -- | |
| 68 | + if (index < 0) { | |
| 69 | + index = this.data.dateList.length - 1 | |
| 70 | + } | |
| 71 | + this.changeDateWithIndex(index) | |
| 72 | + }, | |
| 73 | + toAfter() { | |
| 74 | + var index = this.data.dateIndex | |
| 75 | + index++ | |
| 76 | + if (index >= this.data.dateList.length){ | |
| 77 | + index = 0 | |
| 78 | + } | |
| 79 | + this.changeDateWithIndex(index) | |
| 80 | + }, | |
| 81 | + clickDate(e){ | |
| 82 | + this.changeDateWithIndex(e.detail.value) | |
| 83 | + }, | |
| 84 | + // 通过日期列表下标改变日期文字 | |
| 85 | + changeDateWithIndex(index){ | |
| 86 | + var text = this.data.dateList[index] | |
| 87 | + this.setData({ | |
| 88 | + dateIndex: index, | |
| 89 | + yearText: this.setDateYearText(text), | |
| 90 | + monthText: this.setDateMonthText(text) | |
| 91 | + }) | |
| 92 | + networkUtil.showLoading() | |
| 93 | + this.getCheckDetails() | |
| 94 | + this.getWzXinxi() | |
| 95 | + }, | |
| 96 | + getCheckList() { | |
| 97 | + var self = this | |
| 98 | + // 列表 | |
| 99 | + networkUtil._get(api.checkList,{}, function (res) { | |
| 100 | + // console.log('获取时间信息', res.data.data) | |
| 101 | + if (res.data.data[0].checkTime.length > 0){ | |
| 102 | + self.setData({ | |
| 103 | + dateList: res.data.data[0].checkTime | |
| 104 | + }) | |
| 105 | + self.changeDateWithIndex(0) | |
| 106 | + } | |
| 107 | + }, function (res) { | |
| 108 | + wx.stopPullDownRefresh() | |
| 109 | + }) | |
| 110 | + }, | |
| 111 | + getCheckDetails() { | |
| 112 | + var self = this | |
| 113 | + var params = {} | |
| 114 | + // params.patientId = getApp().globalData.userId[0] | |
| 115 | + params.patientId = 88635 | |
| 116 | + params.checkTime = this.data.dateList[this.data.dateIndex] | |
| 117 | + // 获取当天信息 | |
| 118 | + networkUtil._get(api.checkDetails, params, function (res) { | |
| 119 | + console.log('获取当天信息', res) | |
| 120 | + var subscribe = false | |
| 121 | + if (res.data.data.nextcheck && res.data.data.nextcheck.length > 0){ | |
| 122 | + subscribe = true | |
| 123 | + } | |
| 124 | + self.setData({ | |
| 125 | + todayInfo: res.data.data, | |
| 126 | + subscribe: subscribe | |
| 127 | + }) | |
| 128 | + }, function (res) { | |
| 129 | + wx.stopPullDownRefresh() | |
| 130 | + }) | |
| 131 | + }, | |
| 132 | + getWzXinxi() { | |
| 133 | + var self = this | |
| 134 | + var params = {} | |
| 135 | + // params.patientId = getApp().globalData.userId[0] | |
| 136 | + params.patientId = 88635 | |
| 137 | + params.checkTime = this.data.dateList[this.data.dateIndex] | |
| 138 | + params.page = 0 | |
| 139 | + params.limit = 30 | |
| 140 | + // 具体检查信息 | |
| 141 | + networkUtil._get(api.wzXinxi, params, function (res) { | |
| 142 | + console.log('获取详细信息', res) | |
| 143 | + self.setData({ | |
| 144 | + list: res.data.list, | |
| 145 | + wzInfo: res.data | |
| 146 | + }) | |
| 147 | + }, function (res) { | |
| 148 | + | |
| 149 | + }) | |
| 150 | + }, | |
| 151 | + setDateYearText(text){ | |
| 152 | + return text.substr(0, 5) | |
| 153 | + }, | |
| 154 | + setDateMonthText(text) { | |
| 155 | + return text.substring(5, text.length) | |
| 156 | + } | |
| 157 | + | |
| 158 | +}) | 
littleApp_child/pages/CheckReport/CheckReport.json
View file @
51a006c
littleApp_child/pages/CheckReport/CheckReport.wxml
View file @
51a006c
| 1 | +<view class="backgroundView"> | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + <!-- <image class="TopBgImage" src=""></image> --> | |
| 6 | + <!--顶部红色有头像等信息的栏目--> | |
| 7 | + <view class="TopBar"> | |
| 8 | + <!--头像--> | |
| 9 | + <view class="circle_bg"> | |
| 10 | + <image src="{{userData.avatar.medium ? userData.avatar.medium : ''}}" background-size="cover"></image> | |
| 11 | + <text>{{monthText}}</text> | |
| 12 | + <view class="circle_year">{{yearText}}</view> | |
| 13 | + </view> | |
| 14 | + <!--选择器--> | |
| 15 | + <picker range="{{dateList}}" bindchange="clickDate"> | |
| 16 | + <image class="circle_click" src="../../source/more_date.png"></image> | |
| 17 | + </picker> | |
| 18 | + <image class="icon_left" bindtap="toBefore" src="../../source/left.png"></image> | |
| 19 | + <image class="icon_right" bindtap="toAfter" src="../../source/right.png"></image> | |
| 20 | + <image class="subscribe_bg" wx:if="{{subscribe}}" bindtap="" src="../../source/yuyue.png" mode="aspectFill"></image> | |
| 21 | + <!--下方黑色横条--> | |
| 22 | + <view class="infoBar"> | |
| 23 | + <view class="infoView"> | |
| 24 | + <text class="titleText">出生日期</text> | |
| 25 | + <text class="timeText">{{userData.checkhospital}}</text> | |
| 26 | + </view> | |
| 27 | + <view class="infoView"> | |
| 28 | + <text class="titleText">月龄</text> | |
| 29 | + <text class="timeText">{{userData.monthage ? userData.monthage : '0'}}</text> | |
| 30 | + <view class="lineView"></view> | |
| 31 | + </view> | |
| 32 | + <view class="infoView"> | |
| 33 | + <text class="titleText">健康状况</text> | |
| 34 | + <text class="timeText">{{userData.hstatus}}</text> | |
| 35 | + </view> | |
| 36 | + </view> | |
| 37 | + <!--下方黑色横条--> | |
| 38 | + </view> | |
| 39 | + <!--医院名称横条--> | |
| 40 | + <view class="hospitalName" wx:if="{{userData.checkhospital}}">{{userData.checkhospital}}</view> | |
| 41 | + | |
| 42 | + <view class="title_banner">检查项目</view> | |
| 43 | + <view class="report_list_bg"> | |
| 44 | + <scroll-view class="report_list_scroll" scroll-x="true"> | |
| 45 | + <view class="report_list_item_bg"> | |
| 46 | + <navigator class="report_list_item"> | |
| 47 | + <image src="../../source/wenzhenjiancha.png"></image> | |
| 48 | + <!-- <view class="greenColor report_list_item_dot"></view> --> | |
| 49 | + <label>问诊检查</label> | |
| 50 | + </navigator> | |
| 51 | + </view> | |
| 52 | + <view class="report_list_item_bg"> | |
| 53 | + <navigator class="report_list_item"> | |
| 54 | + <image src="../../source/erkejiancha.png"></image> | |
| 55 | + <!-- <view class="greenColor report_list_item_dot"></view> --> | |
| 56 | + <label>儿科检查</label> | |
| 57 | + </navigator> | |
| 58 | + </view> | |
| 59 | + <view class="report_list_item_bg"> | |
| 60 | + <navigator class="report_list_item"> | |
| 61 | + <image src="../../source/yibanjiancha.png"></image> | |
| 62 | + <!-- <view class="greenColor report_list_item_dot"></view> --> | |
| 63 | + <label>一般检查</label> | |
| 64 | + </navigator> | |
| 65 | + </view> | |
| 66 | + <view class="report_list_item_bg"> | |
| 67 | + <navigator class="report_list_item"> | |
| 68 | + <image src="../../source/fuzhujiancha.png"></image> | |
| 69 | + <!-- <view class="greenColor report_list_item_dot"></view> --> | |
| 70 | + <label>辅助检查</label> | |
| 71 | + </navigator> | |
| 72 | + </view> | |
| 73 | + </scroll-view> | |
| 74 | + </view> | |
| 75 | + <view class="title_banner">检查结果</view> | |
| 76 | + <view class="check_result_main"> | |
| 77 | + <view class="check_result_doctoe_line"> | |
| 78 | + <view class="check_result_doctoe_line1"> | |
| 79 | + <label class="docotr_name">{{todayInfo.doctorname ? todayInfo.doctorname : '-'}}</label> | |
| 80 | + <label class="docotr_type">/儿童门诊</label> | |
| 81 | + </view> | |
| 82 | + </view> | |
| 83 | + <view class="check_diagnosis" style="{{isShowOne==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}"> | |
| 84 | + <view style="display:flex;width:100%" bindtap="isShowMore" data-index="1"> | |
| 85 | + <label class="check_diagnosis_name">检查诊断</label> | |
| 86 | + <image class="icon_more" src="{{isShowOne==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image> | |
| 87 | + </view> | |
| 88 | + <label wx:if="{{!isShowOne}}" class="check_diagnosis_content_1_line">{{wzInfo.diagnose[0]}}</label> | |
| 89 | + <view wx:if="{{isShowOne}}" style="display:flex;width:100%"> | |
| 90 | + <label class="check_diagnosis_content_lines">{{wzInfo.diagnose}}</label> | |
| 91 | + <label class="high_risk_bg">高危</label> | |
| 92 | + </view> | |
| 93 | + </view> | |
| 94 | + <view class="check_diagnosis" style="{{isShowTwo==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}"> | |
| 95 | + <view style="display:flex;width:100%" bindtap="isShowMore" data-index="2"> | |
| 96 | + <label class="check_diagnosis_name">处理意见</label> | |
| 97 | + <image class="icon_more" src="{{isShowTwo==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image> | |
| 98 | + </view> | |
| 99 | + <label wx:if="{{!isShowTwo}}" class="check_diagnosis_content_1_line">{{wzInfo.handl_suggest ? wzInfo.handl_suggest : '暂无处理意见'}}</label> | |
| 100 | + <view wx:if="{{isShowTwo}}" style="display:flex;width:100%"> | |
| 101 | + <label class="check_diagnosis_content_lines">{{wzInfo.handl_suggest}}</label> | |
| 102 | + </view> | |
| 103 | + </view> | |
| 104 | + <view class="check_diagnosis" style="{{isShowThree==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}"> | |
| 105 | + <view style="display:flex;width:100%" bindtap="isShowMore" data-index="3"> | |
| 106 | + <label class="check_diagnosis_name">指导意见</label> | |
| 107 | + <image class="icon_more" src="{{isShowThree==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image> | |
| 108 | + </view> | |
| 109 | + <label wx:if="{{!isShowThree}}" class="check_diagnosis_content_1_line">{{wzInfo.guide_suggest}}</label> | |
| 110 | + <view wx:if="{{isShowThree}}" style="display:flex;width:100%"> | |
| 111 | + <label class="check_diagnosis_content_lines">{{wzInfo.guide_suggest}}</label> | |
| 112 | + | |
| 113 | + </view> | |
| 114 | + </view> | |
| 115 | + | |
| 116 | + </view> | |
| 117 | +</view> | 
littleApp_child/pages/CheckReport/CheckReport.wxss
View file @
51a006c
| 1 | +/*顶部模块*/ | |
| 2 | +.TopBar { | |
| 3 | + width:100%; | |
| 4 | + height:202px; | |
| 5 | + background: white; | |
| 6 | + position: relative; | |
| 7 | +} | |
| 8 | + | |
| 9 | +.promptText { | |
| 10 | + background: #f4879b; | |
| 11 | + font: bold; | |
| 12 | + text-align: center; | |
| 13 | + font-size: 10px; | |
| 14 | + color: white; | |
| 15 | +} | |
| 16 | + | |
| 17 | +.circle_bg { | |
| 18 | + width:118px; | |
| 19 | + height:118px; | |
| 20 | + border-radius: 50%; | |
| 21 | + margin-left: 50%; | |
| 22 | + transform: translateX(-50%) translateY(12px); | |
| 23 | + border: 1px solid #ededed; | |
| 24 | + | |
| 25 | + | |
| 26 | + display: flex; | |
| 27 | + flex-direction: column; | |
| 28 | + align-items: center; | |
| 29 | + justify-content: flex-start; | |
| 30 | + box-sizing: border-box; | |
| 31 | + /* box-shadow: 0 2px 4px 0 rgba(186,70,70,0.5); */ | |
| 32 | +} | |
| 33 | + | |
| 34 | +.circle_bg image { | |
| 35 | + height: 42.6px; | |
| 36 | + width: 42.6px; | |
| 37 | + margin-top: 13px; | |
| 38 | + border-radius: 50%; | |
| 39 | +} | |
| 40 | + | |
| 41 | +.circle_bg text{ | |
| 42 | + font-size: 18px; | |
| 43 | + color: #222222; | |
| 44 | + letter-spacing: 0; | |
| 45 | + margin-top: 7.4px; | |
| 46 | + display: inline-block; | |
| 47 | + line-height: 18px; | |
| 48 | + border-bottom: 1px solid #dcdcdc; | |
| 49 | +} | |
| 50 | + | |
| 51 | +.circle_year { | |
| 52 | + font-size: 13px; | |
| 53 | + margin-top: 0px; | |
| 54 | +} | |
| 55 | + | |
| 56 | +.circle_click { | |
| 57 | + height: 27px; | |
| 58 | + width: 27px; | |
| 59 | + margin-left: 50%; | |
| 60 | + transform: translateX(28px) translateY(-13px); | |
| 61 | +} | |
| 62 | + | |
| 63 | +.icon_left { | |
| 64 | + height: 22px; | |
| 65 | + width: 22px; | |
| 66 | + position: absolute; | |
| 67 | + top: 59px; | |
| 68 | + left: 50%; | |
| 69 | + transform: translateX(-84px); | |
| 70 | +} | |
| 71 | + | |
| 72 | +.icon_right { | |
| 73 | + height: 22px; | |
| 74 | + width: 22px; | |
| 75 | + position: absolute; | |
| 76 | + top: 59px; | |
| 77 | + left: 50%; | |
| 78 | + transform: translateX(59px); | |
| 79 | +} | |
| 80 | + | |
| 81 | +.subscribe_bg { | |
| 82 | + height: 32px; | |
| 83 | + width: 75px; | |
| 84 | + position: absolute; | |
| 85 | + top: 15px; | |
| 86 | + right: 0px; | |
| 87 | +} | |
| 88 | + | |
| 89 | +/*上方信息条部分*/ | |
| 90 | +.lineView { | |
| 91 | + width: 100%; | |
| 92 | + border-right: solid rgba(255, 255, 255, 0.7) 0.5px; | |
| 93 | + border-left: solid rgba(255, 255, 255, 0.7) 0.5px; | |
| 94 | + height: 40px; | |
| 95 | + position: absolute; | |
| 96 | + top: 10px; | |
| 97 | +} | |
| 98 | + | |
| 99 | +.infoBar { | |
| 100 | + width: 100%; | |
| 101 | + min-height: 60px; | |
| 102 | + /* top: 142px; */ | |
| 103 | + bottom: 0px; | |
| 104 | + position: absolute; | |
| 105 | + display: flex; | |
| 106 | + justify-content: space-between; | |
| 107 | + background: rgba(255, 255, 255, 0.2); | |
| 108 | + border-top: 0.5px solid #E5E5E5; | |
| 109 | +} | |
| 110 | + | |
| 111 | +.infoView { | |
| 112 | + text-align: center; | |
| 113 | + width: 33.3%; | |
| 114 | + height: 100%; | |
| 115 | + position: relative; | |
| 116 | +} | |
| 117 | + | |
| 118 | +.titleText { | |
| 119 | + margin-top: 12px; | |
| 120 | + display:block; | |
| 121 | + font-size: 11px; | |
| 122 | + color: #787878; | |
| 123 | +} | |
| 124 | + | |
| 125 | +.timeText { | |
| 126 | + font-family: PingFangSC-Medium; | |
| 127 | + font-size: 12px; | |
| 128 | + color: #4a4a4a; | |
| 129 | + display:block; | |
| 130 | + margin-top: 2px; | |
| 131 | + overflow: hidden; | |
| 132 | + text-overflow: ellipsis; | |
| 133 | + display: -webkit-box; | |
| 134 | + -webkit-box-orient: vertical; | |
| 135 | + -webkit-line-clamp: 2; | |
| 136 | +} | |
| 137 | + | |
| 138 | +.hospitalName { | |
| 139 | + width: 100%; | |
| 140 | + height: 30px; | |
| 141 | + background-color: white; | |
| 142 | + color: #ee7289; | |
| 143 | + font-size: 11px; | |
| 144 | + font: medium; | |
| 145 | + text-align: center; | |
| 146 | + line-height: 30px; | |
| 147 | +} | |
| 148 | + | |
| 149 | +.title_banner { | |
| 150 | + height: 23px; | |
| 151 | + width: 80%; | |
| 152 | + color: #999; | |
| 153 | + line-height: 23px; | |
| 154 | + font-size: 12px; | |
| 155 | + margin-left: 15px; | |
| 156 | +} | |
| 157 | + | |
| 158 | +.report_list_bg { | |
| 159 | + height: 97px; | |
| 160 | + width: 100%; | |
| 161 | + background: white; | |
| 162 | +} | |
| 163 | + | |
| 164 | +.report_list_scroll { | |
| 165 | + height: 100%; | |
| 166 | + width: 100%; | |
| 167 | + display: inline-block; | |
| 168 | + /*可以滚动*/ | |
| 169 | + white-space: nowrap; | |
| 170 | +} | |
| 171 | + | |
| 172 | +.report_list_item_bg { | |
| 173 | + width: 25%; | |
| 174 | + height: 100%; | |
| 175 | + display: inline-block; | |
| 176 | +} | |
| 177 | + | |
| 178 | +.report_list_item { | |
| 179 | + | |
| 180 | + display: flex; | |
| 181 | + align-items: center; | |
| 182 | + justify-content: center; | |
| 183 | + flex-direction: column; | |
| 184 | + width: 100%; | |
| 185 | + height: 100%; | |
| 186 | +} | |
| 187 | + | |
| 188 | +.report_list_item image { | |
| 189 | + width: 38px; | |
| 190 | + height: 38px; | |
| 191 | +} | |
| 192 | + | |
| 193 | +.report_list_item label { | |
| 194 | + font-size: 10px; | |
| 195 | + color: #333333; | |
| 196 | + margin-top: 5px; | |
| 197 | +} | |
| 198 | + | |
| 199 | +.report_list_item_dot { | |
| 200 | + width: 8px; | |
| 201 | + height: 8px; | |
| 202 | + border-radius: 4px; | |
| 203 | + transform: translateY(-42px) translateX(30px); | |
| 204 | +} | |
| 205 | + | |
| 206 | +.check_result_main { | |
| 207 | + background: #fff; | |
| 208 | +} | |
| 209 | + | |
| 210 | +.check_result_text { | |
| 211 | + width: 100%; | |
| 212 | + background: #eee; | |
| 213 | + font-family: PingFangSC-Regular; | |
| 214 | + font-size: 12px; | |
| 215 | + color: #999; | |
| 216 | + height: 30px; | |
| 217 | + line-height: 30px; | |
| 218 | + padding-left: 10px; | |
| 219 | + padding-right: 10px; | |
| 220 | +} | |
| 221 | + | |
| 222 | +.check_result_doctoe_line { | |
| 223 | + display: flex; | |
| 224 | + padding-left: 10px; | |
| 225 | + width: 100%; | |
| 226 | + padding-top: 10px; | |
| 227 | +} | |
| 228 | + | |
| 229 | +.check_result_doctoe_line1 { | |
| 230 | + display: flex; | |
| 231 | + width: 70%; | |
| 232 | +} | |
| 233 | + | |
| 234 | +.docotr_name { | |
| 235 | + font-family: PingFangSC-Regular; | |
| 236 | + font-size: 15px; | |
| 237 | + color: #333; | |
| 238 | +} | |
| 239 | + | |
| 240 | +.docotr_type { | |
| 241 | + font-family: PingFangSC-Regular; | |
| 242 | + font-size: 14px; | |
| 243 | + color: #888; | |
| 244 | + margin-left: 3px; | |
| 245 | +} | |
| 246 | + | |
| 247 | +.check_result_time { | |
| 248 | + font-family: PingFangSC-Regular; | |
| 249 | + font-size: 14px; | |
| 250 | + color: #888; | |
| 251 | + width: 30%; | |
| 252 | + text-align: right; | |
| 253 | + margin-right: 20px; | |
| 254 | +} | |
| 255 | + | |
| 256 | +.check_diagnosis { | |
| 257 | + background: #f9fffa; | |
| 258 | + border: 1px solid #cee2d5; | |
| 259 | + border-radius: 4px; | |
| 260 | + width: calc(100% - 20px); | |
| 261 | + margin-left: 10px; | |
| 262 | + margin-right: 10px; | |
| 263 | + min-height: 30px; | |
| 264 | + margin-top: 10px; | |
| 265 | + padding-bottom: 8px; | |
| 266 | +} | |
| 267 | + | |
| 268 | +.check_diagnosis_name { | |
| 269 | + font-family: PingFangSC-Regular; | |
| 270 | + font-size: 15px; | |
| 271 | + margin-left: 10px; | |
| 272 | + margin-top: 5px; | |
| 273 | + color: #222; | |
| 274 | + width: 100%; | |
| 275 | +} | |
| 276 | + | |
| 277 | +.icon_more { | |
| 278 | + width: 10px; | |
| 279 | + height: 10px; | |
| 280 | + float: right; | |
| 281 | + margin-right: 10px; | |
| 282 | + margin-top: 13px; | |
| 283 | +} | |
| 284 | + | |
| 285 | +.check_diagnosis_content_1_line { | |
| 286 | + font-family: PingFangSC-Regular; | |
| 287 | + font-size: 13px; | |
| 288 | + color: #666; | |
| 289 | + margin-left: 10px; | |
| 290 | + padding-right: 10px; | |
| 291 | + line-height: 20px; | |
| 292 | + width: calc(100% - 20px); | |
| 293 | + overflow: hidden; | |
| 294 | + text-overflow: ellipsis; | |
| 295 | + display: -webkit-box; | |
| 296 | + -webkit-line-clamp: 1; | |
| 297 | + | |
| 298 | + -webkit-box-orient: vertical; | |
| 299 | +} | |
| 300 | + | |
| 301 | +.check_diagnosis_content_lines{ | |
| 302 | + font-family: PingFangSC-Regular; | |
| 303 | + font-size: 13px; | |
| 304 | + color: #666; | |
| 305 | + margin-left: 10px; | |
| 306 | + padding-right: 10px; | |
| 307 | + width: calc(100% - 20px); | |
| 308 | +} | |
| 309 | +.high_risk_bg { | |
| 310 | + background: #e36767; | |
| 311 | + border-radius: 4px; | |
| 312 | + font-family: PingFangSC-Regular; | |
| 313 | + font-size: 13px; | |
| 314 | + color: #fff; | |
| 315 | + text-align: center; | |
| 316 | + margin-right: 10px; | |
| 317 | + width: 40px; | |
| 318 | + height: 20px; | |
| 319 | +} | 
littleApp_child/pages/SearchPage/SearchPage.js
View file @
51a006c
| ... | ... | @@ -24,14 +24,11 @@ | 
| 24 | 24 | }, | 
| 25 | 25 | |
| 26 | 26 | onLoad: function () { | 
| 27 | - | |
| 28 | - }, | |
| 29 | - onShow: function () { | |
| 30 | 27 | var getSearch = wx.getStorageSync('searchData'); | 
| 31 | 28 | this.setData({ | 
| 32 | 29 | getSearch: getSearch.reverse(), | 
| 33 | 30 | inputValue: '' | 
| 34 | - }) | |
| 31 | + }) | |
| 35 | 32 | }, | 
| 36 | 33 | /*-------------------- ----------*/ | 
| 37 | 34 | // 设置缓存 | 
littleApp_child/pages/SearchPage/SearchPage.wxml
View file @
51a006c
| ... | ... | @@ -27,7 +27,8 @@ | 
| 27 | 27 | <view class="content_item"> | 
| 28 | 28 | <view style="margin-left:15px;margin-right:75px;"> | 
| 29 | 29 | <view class="content_title">{{item.title}}</view> | 
| 30 | - <view class="content_content">{{item.content}}</view> | |
| 30 | + <view class="content_content">{{item.introduction}}</view> | |
| 31 | + <!-- <view class="content_content">123123,nslkajd;ajsd;jsa;ldjaslkjdlksajdlksjsaklj{{item.content}}</view> --> | |
| 31 | 32 | <view class="zar_box"> | 
| 32 | 33 | <image class="zar_img" src="../../source/zar.png"></image> | 
| 33 | 34 | <view class="content_zar">{{item.likeCount ? item.likeCount : 0}}</view> | 
littleApp_child/pages/articleDetail/articleDetail.js
View file @
51a006c
| 1 | -//articleDetail.js 文章详情 | |
| 2 | -// 网络请求工具类 | |
| 3 | -var networkUtil = require('../../utils/network_util.js') | |
| 4 | -var api = require('../../utils/apiFile.js') | |
| 5 | -var util = require('../../utils/util.js') | |
| 6 | -var event = require('../../utils/event.js') | |
| 7 | - | |
| 8 | -var category = '' | |
| 9 | -var articleId = '' | |
| 10 | -var categoryIndex = '' | |
| 11 | -var articleIdIndex = '' | |
| 12 | -Page({ | |
| 13 | - data: { | |
| 14 | - articleDetail: '', | |
| 15 | - category:'', | |
| 16 | - pageType:'1' // 1是文章 2是高危 | |
| 17 | - }, | |
| 18 | - | |
| 19 | - /*---------生命周期--------*/ | |
| 20 | - onLoad: function (options) { | |
| 21 | - | |
| 22 | - }, | |
| 23 | - /*---------自定义函数--------*/ | |
| 24 | -}) | 
littleApp_child/pages/articleDetail/articleDetail.json
View file @
51a006c
littleApp_child/pages/articleDetail/articleDetail.wxml
View file @
51a006c
| 1 | -<view class="backgroundView"> | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - <!-- <image class="TopBgImage" src=""></image> --> | |
| 6 | - <!--顶部红色有头像等信息的栏目--> | |
| 7 | - <view class="TopBar"> | |
| 8 | - <!--头像--> | |
| 9 | - <view class="circle_bg"> | |
| 10 | - <image src="{{userData.avatar.medium ? userData.avatar.medium : ''}}" background-size="cover"></image> | |
| 11 | - <text>7月1日</text> | |
| 12 | - <view class="circle_year">2017</view> | |
| 13 | - </view> | |
| 14 | - <!--选择器--> | |
| 15 | - <picker> | |
| 16 | - <image class="circle_click" src="../../source/more_date.png"></image> | |
| 17 | - </picker> | |
| 18 | - <image class="icon_left" src="../../source/left.png"></image> | |
| 19 | - <image class="icon_right" src="../../source/right.png"></image> | |
| 20 | - <!--下方黑色横条--> | |
| 21 | - <view class="infoBar"> | |
| 22 | - <view class="infoView"> | |
| 23 | - <text class="titleText">出生日期</text> | |
| 24 | - <text class="timeText">{{userData.checkhospital}}</text> | |
| 25 | - </view> | |
| 26 | - <view class="infoView"> | |
| 27 | - <text class="titleText">月龄</text> | |
| 28 | - <text class="timeText">{{userData.monthage ? userData.monthage : '0'}}</text> | |
| 29 | - <view class="lineView"></view> | |
| 30 | - </view> | |
| 31 | - <view class="infoView"> | |
| 32 | - <text class="titleText">健康状况</text> | |
| 33 | - <text class="timeText">{{userData.hstatus}}</text> | |
| 34 | - </view> | |
| 35 | - </view> | |
| 36 | - <!--下方黑色横条--> | |
| 37 | - </view> | |
| 38 | - <!--医院名称横条--> | |
| 39 | - <view class="hospitalName" wx:if="{{userData.checkhospital}}">{{userData.checkhospital}}</view> | |
| 40 | - | |
| 41 | - <view class="title_banner">检查项目</view> | |
| 42 | - <view class="report_list_bg"> | |
| 43 | - <scroll-view class="report_list_scroll" scroll-x="true"> | |
| 44 | - <view class="report_list_item_bg"> | |
| 45 | - <navigator class="report_list_item"> | |
| 46 | - <image src="../../source/erkejiancha.png"></image> | |
| 47 | - <view class="greenColor report_list_item_dot"></view> | |
| 48 | - <label>儿保检查</label> | |
| 49 | - </navigator> | |
| 50 | - </view> | |
| 51 | - <view class="report_list_item_bg"> | |
| 52 | - <navigator class="report_list_item"> | |
| 53 | - <image src="../../source/erkejiancha.png"></image> | |
| 54 | - <view class="greenColor report_list_item_dot"></view> | |
| 55 | - <label>儿保检查</label> | |
| 56 | - </navigator> | |
| 57 | - </view> | |
| 58 | - <view class="report_list_item_bg"> | |
| 59 | - <navigator class="report_list_item"> | |
| 60 | - <image src="../../source/erkejiancha.png"></image> | |
| 61 | - <view class="greenColor report_list_item_dot"></view> | |
| 62 | - <label>儿保检查</label> | |
| 63 | - </navigator> | |
| 64 | - </view> | |
| 65 | - <view class="report_list_item_bg"> | |
| 66 | - <navigator class="report_list_item"> | |
| 67 | - <image src="../../source/erkejiancha.png"></image> | |
| 68 | - <view class="greenColor report_list_item_dot"></view> | |
| 69 | - <label>儿保检查</label> | |
| 70 | - </navigator> | |
| 71 | - </view> | |
| 72 | - <view class="report_list_item_bg"> | |
| 73 | - <navigator class="report_list_item"> | |
| 74 | - <image src="../../source/erkejiancha.png"></image> | |
| 75 | - <view class="greenColor report_list_item_dot"></view> | |
| 76 | - <label>儿保检查</label> | |
| 77 | - </navigator> | |
| 78 | - </view> | |
| 79 | - </scroll-view> | |
| 80 | - </view> | |
| 81 | - <view class="title_banner">检查结果</view> | |
| 82 | -</view> | 
littleApp_child/pages/articleDetail/articleDetail.wxss
View file @
51a006c
| 1 | -/*顶部模块*/ | |
| 2 | -.TopBar { | |
| 3 | - width:100%; | |
| 4 | - height:202px; | |
| 5 | - background: white; | |
| 6 | - position: relative; | |
| 7 | -} | |
| 8 | - | |
| 9 | -.promptText { | |
| 10 | - background: #f4879b; | |
| 11 | - font: bold; | |
| 12 | - text-align: center; | |
| 13 | - font-size: 10px; | |
| 14 | - color: white; | |
| 15 | -} | |
| 16 | - | |
| 17 | -.circle_bg { | |
| 18 | - width:118px; | |
| 19 | - height:118px; | |
| 20 | - border-radius: 50%; | |
| 21 | - | |
| 22 | - margin-left: 50%; | |
| 23 | - transform: translateX(-50%) translateY(12px); | |
| 24 | - border: 1px solid #ededed; | |
| 25 | - | |
| 26 | - | |
| 27 | - display: flex; | |
| 28 | - flex-direction: column; | |
| 29 | - align-items: center; | |
| 30 | - justify-content: flex-start; | |
| 31 | - box-sizing: border-box; | |
| 32 | - /* box-shadow: 0 2px 4px 0 rgba(186,70,70,0.5); */ | |
| 33 | -} | |
| 34 | - | |
| 35 | -.circle_bg image { | |
| 36 | - height: 42.6px; | |
| 37 | - width: 42.6px; | |
| 38 | - background: rebeccapurple; | |
| 39 | - margin-top: 13px; | |
| 40 | -} | |
| 41 | - | |
| 42 | -.circle_bg text{ | |
| 43 | - font-size: 18px; | |
| 44 | - color: #222222; | |
| 45 | - letter-spacing: 0; | |
| 46 | - margin-top: 7.4px; | |
| 47 | - display: inline-block; | |
| 48 | - line-height: 18px; | |
| 49 | - border-bottom: 1px solid #dcdcdc; | |
| 50 | -} | |
| 51 | - | |
| 52 | -.circle_year { | |
| 53 | - font-size: 13px; | |
| 54 | - margin-top: 0px; | |
| 55 | -} | |
| 56 | - | |
| 57 | -.circle_click { | |
| 58 | - height: 27px; | |
| 59 | - width: 27px; | |
| 60 | - margin-left: 50%; | |
| 61 | - transform: translateX(28px) translateY(-13px); | |
| 62 | -} | |
| 63 | - | |
| 64 | -.icon_left { | |
| 65 | - height: 22px; | |
| 66 | - width: 22px; | |
| 67 | - position: absolute; | |
| 68 | - top: 59px; | |
| 69 | - left: 50%; | |
| 70 | - transform: translateX(-84px); | |
| 71 | -} | |
| 72 | - | |
| 73 | -.icon_right { | |
| 74 | - height: 22px; | |
| 75 | - width: 22px; | |
| 76 | - position: absolute; | |
| 77 | - top: 59px; | |
| 78 | - left: 50%; | |
| 79 | - transform: translateX(59px); | |
| 80 | -} | |
| 81 | - | |
| 82 | -/*上方信息条部分*/ | |
| 83 | -.lineView { | |
| 84 | - width: 100%; | |
| 85 | - border-right: solid rgba(255, 255, 255, 0.7) 0.5px; | |
| 86 | - border-left: solid rgba(255, 255, 255, 0.7) 0.5px; | |
| 87 | - height: 40px; | |
| 88 | - position: absolute; | |
| 89 | - top: 10px; | |
| 90 | -} | |
| 91 | - | |
| 92 | -.infoBar { | |
| 93 | - width: 100%; | |
| 94 | - min-height: 60px; | |
| 95 | - /* top: 142px; */ | |
| 96 | - bottom: 0px; | |
| 97 | - position: absolute; | |
| 98 | - display: flex; | |
| 99 | - justify-content: space-between; | |
| 100 | - background: rgba(255, 255, 255, 0.2); | |
| 101 | - border-top: 0.5px solid #E5E5E5; | |
| 102 | -} | |
| 103 | - | |
| 104 | -.infoView { | |
| 105 | - text-align: center; | |
| 106 | - width: 33.3%; | |
| 107 | - height: 100%; | |
| 108 | - position: relative; | |
| 109 | -} | |
| 110 | - | |
| 111 | -.titleText { | |
| 112 | - margin-top: 12px; | |
| 113 | - display:block; | |
| 114 | - font-size: 11px; | |
| 115 | - color: #787878; | |
| 116 | -} | |
| 117 | - | |
| 118 | -.timeText { | |
| 119 | - font-family: PingFangSC-Medium; | |
| 120 | - font-size: 12px; | |
| 121 | - color: #4a4a4a; | |
| 122 | - display:block; | |
| 123 | - margin-top: 2px; | |
| 124 | - overflow: hidden; | |
| 125 | - text-overflow: ellipsis; | |
| 126 | - display: -webkit-box; | |
| 127 | - -webkit-box-orient: vertical; | |
| 128 | - -webkit-line-clamp: 2; | |
| 129 | -} | |
| 130 | - | |
| 131 | -.hospitalName { | |
| 132 | - width: 100%; | |
| 133 | - height: 30px; | |
| 134 | - background-color: white; | |
| 135 | - color: #ee7289; | |
| 136 | - font-size: 11px; | |
| 137 | - font: medium; | |
| 138 | - text-align: center; | |
| 139 | - line-height: 30px; | |
| 140 | -} | |
| 141 | - | |
| 142 | -.title_banner { | |
| 143 | - height: 23px; | |
| 144 | - width: 80%; | |
| 145 | - color: #999; | |
| 146 | - line-height: 23px; | |
| 147 | - font-size: 12px; | |
| 148 | - margin-left: 15px; | |
| 149 | -} | |
| 150 | - | |
| 151 | -.report_list_bg { | |
| 152 | - height: 97px; | |
| 153 | - width: 100%; | |
| 154 | - background: white; | |
| 155 | -} | |
| 156 | - | |
| 157 | -.report_list_scroll { | |
| 158 | - height: 100%; | |
| 159 | - width: 100%; | |
| 160 | - display: inline-block; | |
| 161 | - /*可以滚动*/ | |
| 162 | - white-space: nowrap; | |
| 163 | -} | |
| 164 | - | |
| 165 | -.report_list_item_bg { | |
| 166 | - width: 25%; | |
| 167 | - height: 100%; | |
| 168 | - display: inline-block; | |
| 169 | -} | |
| 170 | - | |
| 171 | -.report_list_item { | |
| 172 | - | |
| 173 | - display: flex; | |
| 174 | - align-items: center; | |
| 175 | - justify-content: center; | |
| 176 | - flex-direction: column; | |
| 177 | - width: 100%; | |
| 178 | - height: 100%; | |
| 179 | -} | |
| 180 | - | |
| 181 | -.report_list_item image { | |
| 182 | - width: 38px; | |
| 183 | - height: 38px; | |
| 184 | -} | |
| 185 | - | |
| 186 | -.report_list_item label { | |
| 187 | - font-size: 10px; | |
| 188 | - color: #333333; | |
| 189 | -} | |
| 190 | - | |
| 191 | -.report_list_item_dot { | |
| 192 | - width: 8px; | |
| 193 | - height: 8px; | |
| 194 | - border-radius: 4px; | |
| 195 | - transform: translateY(-42px) translateX(30px); | |
| 196 | -} | 
littleApp_child/pages/checkTabList/checkTabList.js
View file @
51a006c
| ... | ... | @@ -89,7 +89,7 @@ | 
| 89 | 89 | networkUtil.showLoading() | 
| 90 | 90 | var param = { page: 10, limit: 100, patientId: patientId, checkTime: checkTime} | 
| 91 | 91 | // console.log(param) | 
| 92 | - networkUtil._get(api.checkwz,param,function(res){ | |
| 92 | + networkUtil._get(api.wzXinxi,param,function(res){ | |
| 93 | 93 | console.log(res) | 
| 94 | 94 | isRefresh = false | 
| 95 | 95 | var arr = [] | 
littleApp_child/pages/home/home.js
View file @
51a006c
| ... | ... | @@ -41,9 +41,7 @@ | 
| 41 | 41 | } else { | 
| 42 | 42 | if (app.globalData.token == null || app.globalData.token == '') { | 
| 43 | 43 | this.toLogin() | 
| 44 | - console.log('登录页面--') | |
| 45 | 44 | } else { | 
| 46 | - console.log('shouye页面--') | |
| 47 | 45 | networkUtil.showLoading() | 
| 48 | 46 | this.homePage() | 
| 49 | 47 | // 监听事件 | 
| 50 | 48 | |
| ... | ... | @@ -141,12 +139,13 @@ | 
| 141 | 139 | }, | 
| 142 | 140 | // 获取用户信息 | 
| 143 | 141 | getUserInfo() { | 
| 144 | - | |
| 142 | + console.log(app.globalData.userId) | |
| 145 | 143 | var self = this | 
| 146 | 144 | var param = { 'token': app.globalData.token } | 
| 147 | 145 | networkUtil._get(api.userInfo + app.globalData.userId[0], {}, function (res) { | 
| 148 | 146 | console.log('获取用户信息',res) | 
| 149 | 147 | app.globalData.days = res.data.data.days | 
| 148 | + app.globalData.userInfo = res.data.data | |
| 150 | 149 | self.getArticleInfo(res.data.data.days) | 
| 151 | 150 | self.setData({ | 
| 152 | 151 | userData: res.data.data | 
littleApp_child/pages/home/home.wxml
View file @
51a006c
| ... | ... | @@ -34,10 +34,10 @@ | 
| 34 | 34 | <view class="hospitalName" wx:if="{{userData.checkhospital}}">{{userData.checkhospital}}</view> | 
| 35 | 35 | <!--功能模块--> | 
| 36 | 36 | <view class="foundation_BG" style="{{item_big_height}}"> | 
| 37 | - <!-- <navigator class="foundation_item_small" url="../inspectionReport/inspectionReport"> | |
| 37 | + <navigator class="foundation_item_small" url="../CheckReport/CheckReport"> | |
| 38 | 38 | <image src="../../source/jianchajilu.png" style="{{item_small}}" class="foundation_item_small_image"></image> | 
| 39 | 39 | <view class="foundation_item_small_text">儿保检查记录</view> | 
| 40 | - </navigator> --> | |
| 40 | + </navigator> | |
| 41 | 41 | <navigator class="foundation_item_small" url="../childcare_knowledge/childcare_knowledge"> | 
| 42 | 42 | <image src="../../source/yuerzhishi.png" style="{{item_small}}" class="foundation_item_small_image"></image> | 
| 43 | 43 | <view class="foundation_item_small_text">育儿知识</view> | 
littleApp_child/pages/hospitalDetail/hospitalDetail.js
View file @
51a006c
| ... | ... | @@ -38,7 +38,20 @@ | 
| 38 | 38 | isShowThree: !self.data.isShowThree, | 
| 39 | 39 | }) | 
| 40 | 40 | } | 
| 41 | - } | |
| 41 | + }, | |
| 42 | + getArticleInfo(days) { | |
| 43 | + var self = this | |
| 44 | + // 文章列表 | |
| 45 | + networkUtil._get(api.homeArtList, { page: 0, limit: 100, days: days }, function (res) { | |
| 46 | + console.log('获取文章信息', res.data.list) | |
| 47 | + app.globalData.artList = res.data.list | |
| 48 | + self.setData({ | |
| 49 | + list: res.data.list | |
| 50 | + }) | |
| 51 | + }, function (res) { | |
| 52 | + wx.stopPullDownRefresh() | |
| 53 | + }) | |
| 54 | + }, | |
| 42 | 55 | |
| 43 | 56 | |
| 44 | 57 | }) | 
littleApp_child/pages/hospitalDetail/hospitalDetail.wxml
View file @
51a006c
| 1 | 1 | <!--hospitalDetail.wxml 医院详情介绍--> | 
| 2 | - | |
| 3 | -<view class="check_result_main"> | |
| 4 | - <view class="check_result_text">检查结果</view> | |
| 5 | - <view class="check_result_doctoe_line"> | |
| 6 | - <view class="check_result_doctoe_line1"> | |
| 7 | - <label class="docotr_name">李医生</label> | |
| 8 | - <label class="docotr_type">/儿童门诊</label> | |
| 9 | - </view> | |
| 10 | - | |
| 11 | - <label class="check_result_time">1995-09</label> | |
| 12 | - </view> | |
| 13 | - <view class="check_diagnosis" style="{{isShowOne==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}"> | |
| 14 | - <view style="display:flex;width:100%" bindtap="isShowMore" data-index="1"> | |
| 15 | - <label class="check_diagnosis_name">检查诊断</label> | |
| 16 | - <image class="icon_more" src="{{isShowOne==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image> | |
| 17 | - </view> | |
| 18 | - <label wx:if="{{!isShowOne}}" class="check_diagnosis_content_1_line">检查诊断检查诊断检查诊断检断</label> | |
| 19 | - <view wx:if="{{isShowOne}}" style="display:flex;width:100%"> | |
| 20 | - <label class="check_diagnosis_content_lines">检查诊断检查诊断检查诊断检断检查诊断检查诊断检查诊断检断检查诊断检查诊断检查诊断检断</label> | |
| 21 | - <label class="high_risk_bg">高危</label> | |
| 22 | - </view> | |
| 23 | - </view> | |
| 24 | - <view class="check_diagnosis" style="{{isShowTwo==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}"> | |
| 25 | - <view style="display:flex;width:100%" bindtap="isShowMore" data-index="2"> | |
| 26 | - <label class="check_diagnosis_name">处理意见</label> | |
| 27 | - <image class="icon_more" src="{{isShowTwo==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image> | |
| 28 | - </view> | |
| 29 | - <label wx:if="{{!isShowTwo}}" class="check_diagnosis_content_1_line">检查诊断检查诊断检查诊断检断</label> | |
| 30 | - <view wx:if="{{isShowTwo}}" style="display:flex;width:100%"> | |
| 31 | - <label class="check_diagnosis_content_lines">检查诊断检查诊断检查诊断检断检查诊断检查诊断检查诊断检断检查诊断检查诊断检查诊断检断</label> | |
| 32 | - | |
| 33 | - </view> | |
| 34 | - </view> | |
| 35 | - <view class="check_diagnosis" style="{{isShowThree==false ? 'background: #ffffff;border: 1px solid #E6E6E6;': 'background: #f9fffa;border: 1px solid #CEE2D5;'}}"> | |
| 36 | - <view style="display:flex;width:100%" bindtap="isShowMore" data-index="3"> | |
| 37 | - <label class="check_diagnosis_name">指导意见</label> | |
| 38 | - <image class="icon_more" src="{{isShowThree==false ? '../../source/more_bottom.png': '../../source/more_top.png'}}"></image> | |
| 39 | - </view> | |
| 40 | - <label wx:if="{{!isShowThree}}" class="check_diagnosis_content_1_line">检查诊断检查诊断检查诊断检断</label> | |
| 41 | - <view wx:if="{{isShowThree}}" style="display:flex;width:100%"> | |
| 42 | - <label class="check_diagnosis_content_lines">检查诊断检查诊断检查诊断检断检查诊断检查诊断检查诊断检断检查诊断检查诊断检查诊断检断</label> | |
| 43 | - | |
| 44 | - </view> | |
| 45 | - </view> | |
| 46 | - | |
| 47 | -</view> | 
littleApp_child/pages/hospitalDetail/hospitalDetail.wxss
View file @
51a006c
littleApp_child/source/yuyue.png
View file @
51a006c
12.6 KB
littleApp_child/utils/apiFile.js
View file @
51a006c
| ... | ... | @@ -18,8 +18,12 @@ | 
| 18 | 18 | messageTab:'/baby/messtab', | 
| 19 | 19 | //消息列表 | 
| 20 | 20 | messageList: '/baby/mess?typeid=', | 
| 21 | - //问诊接口 | |
| 22 | - checkwz: '/baby/check/wz', | |
| 21 | + //儿童检查时间列表 | |
| 22 | + checkList: '/baby/check/list', | |
| 23 | + //儿童本次检查的信息patientId&checkTime | |
| 24 | + checkDetails: '/baby/check/info', | |
| 25 | + //问诊列表?patientId checkTime page limit | |
| 26 | + wzXinxi: '/baby/check/wz', | |
| 23 | 27 | //儿科检查 | 
| 24 | 28 | checkeb: '/baby/check/eb', | 
| 25 | 29 | //辅助检查 |