diff --git a/littleApp_child/pages/articleDetail/articleDetail.wxml b/littleApp_child/pages/articleDetail/articleDetail.wxml
index dc6c709..92887a6 100644
--- a/littleApp_child/pages/articleDetail/articleDetail.wxml
+++ b/littleApp_child/pages/articleDetail/articleDetail.wxml
@@ -1,4 +1,7 @@
+
+
+
@@ -30,4 +33,10 @@
{{userData.checkhospital}}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/littleApp_child/pages/hospitalDetail/hospitalDetail.js b/littleApp_child/pages/hospitalDetail/hospitalDetail.js
index 45eba01..f50e68b 100644
--- a/littleApp_child/pages/hospitalDetail/hospitalDetail.js
+++ b/littleApp_child/pages/hospitalDetail/hospitalDetail.js
@@ -4,41 +4,15 @@
var networkUtil = require('../../utils/network_util.js')
var api = require('../../utils/apiFile.js')
-//获取应用实例
-var hosipitalImgs = []
Page({
data: {
hosiptalInfo: {},
},
onLoad: function (option) {
- console.log(option.hosipitalId)
- this.requestDataWithId(option.hosipitalId)
+
},
- // 预览图片
- previewImage: function (e) {
- var current = e.target.dataset.src
- wx.previewImage({
- current: current,
- urls: hosipitalImgs
- })
- },
- /*---------自定义函数--------*/
- // 获取信息
- requestDataWithId(hosipitalId){
- var self = this
- networkUtil._get(api.hospitalDetail + hosipitalId,{},function(res){
- console.log(res)
- res.data.images.map(function(item){
- hosipitalImgs.push(item.real)
- return item
- })
- self.setData({
- hosiptalInfo : res.data
- })
- },function(res){
- console.log(res)
- })
- }
+
+
})
diff --git a/littleApp_child/pages/hospitalDetail/hospitalDetail.wxml b/littleApp_child/pages/hospitalDetail/hospitalDetail.wxml
index 9d363f4..3129520 100644
--- a/littleApp_child/pages/hospitalDetail/hospitalDetail.wxml
+++ b/littleApp_child/pages/hospitalDetail/hospitalDetail.wxml
@@ -1,53 +1,47 @@
-
-
-
- {{hosiptalInfo.title}}
-
-
-
-
-
- 医院概况
-
-
- {{hosiptalInfo.introduction ? hosiptalInfo.introduction : '暂时没有获取到医院描述信息哦!'}}
-
-
+
+ 检查结果
+
+
+
+
+
-
-
-
- 医院图片
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- 联系方式
+
+
+
+
+
+
+
+
+
+
-
-
-
- 地址:
- {{hosiptalInfo.address ? hosiptalInfo.address : '-'}}
-
-
- 电话:
- {{hosiptalInfo.mobile ? hosiptalInfo.mobile : '-'}}
-
+
+
+
+
+
+
+
+
+
+
-
-
-
+
\ No newline at end of file
diff --git a/littleApp_child/pages/hospitalDetail/hospitalDetail.wxss b/littleApp_child/pages/hospitalDetail/hospitalDetail.wxss
index da5a64d..c00e5ee 100644
--- a/littleApp_child/pages/hospitalDetail/hospitalDetail.wxss
+++ b/littleApp_child/pages/hospitalDetail/hospitalDetail.wxss
@@ -1,123 +1,114 @@
-/**hospitalDetail.wxss 医院详情介绍**/
-.hospitalDetail{
- background: #d8dbd4;
-}
-.hospitalDetail__top {
- display: flex;
- flex-direction: column;
- align-items: center;
- background: white;
-}
-
-.hospitalDetail__top image {
- width: 70px;
- height: 70px;
- margin-top: 15px;
- margin-bottom: 10px;
- border-radius: 50%;
-}
-
-.hospitalDetail__top text {
- color: #5e5e5e;
- font: medium;
- font-size: 15px;
- margin-bottom: 20px;
+.check_result_main {
+ background: #fff;
}
-.hospitalDetail__view{
- background: white;
- margin-top: 3px;
- position: relative;
+.check_result_text {
+ width: 100%;
+ background: #eee;
+ font-family: PingFangSC-Regular;
+ font-size: 12px;
+ color: #999;
+ height: 30px;
+ line-height: 30px;
+ padding-left: 10px;
+ padding-right: 10px;
}
-.hospitalDetail__view-title {
- height: 40px;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- flex-direction: row;
+.check_result_doctoe_line {
+ display: flex;
+ padding-left: 10px;
+ width: 100%;
+ padding-top: 10px;
}
-.hospitalDetail__view-title image{
- width: 15px;
- height: 15px;
- line-height: 40px;
- margin-left: 15px;
+.check_result_doctoe_line1 {
+ display: flex;
+ width: 70%;
}
-.hospitalDetail__view-title text{
- color: #ee7289;
- font: medium;
- font-size: 14px;
- line-height: 40px;
- margin-left: 5px;
+.docotr_name {
+ font-family: PingFangSC-Regular;
+ font-size: 15px;
+ color: #333;
}
-.hospitalDetail__view-line{
- position: absolute;
- height: 1rpx;
- top: 40px;
- left: 15px;
- right: 15px;
- background: #d8dbd4
+.docotr_type {
+ font-family: PingFangSC-Regular;
+ font-size: 14px;
+ color: #888;
+ margin-left: 3px;
}
-.hospitalDetail__view-content{
- margin: 10px 15px 17px 15px;
- font: lighter;
- font-size: 12px;
- line-height: 17px;
- color: #5e5e5e;
-}
-.hospitalDetail__view-contact{
- margin: 5px 15px 20px 15px;
+.check_result_time {
+ font-family: PingFangSC-Regular;
+ font-size: 14px;
+ color: #888;
+ width: 30%;
+ text-align: right;
+ margin-right: 20px;
}
-.hospitalDetail__view-contact-item{
- display: flex;
- flex-direction: row;
- margin-top: 10px;
-}
-.hospitalDetail__view-contact-item view{
- font: normal;
- color: #5e5e5e;
- font-size: 12px;
- line-height: 12px;
- min-width: 30px;
+.check_diagnosis {
+ background: #f9fffa;
+ border: 1px solid #cee2d5;
+ border-radius: 4px;
+ width: calc(100% - 20px);
+ margin-left: 10px;
+ margin-right: 10px;
+ min-height: 30px;
+ margin-top: 10px;
+ padding-bottom: 8px;
}
-.hospitalDetail__view-contact-item text{
- font: lighter;
- color: #5e5e5e;
- font-size: 12px;
- line-height: 110%;
-}
-
-/*------------------------滑动选择图片start-----------------------*/
-.hospitalDetail__view-image{
- margin: 10px 15px 15px 15px;
-}
-.recommend_scroll_x_box {
- height: 75px;
- white-space: nowrap;
- display: flex;
+.check_diagnosis_name {
+ font-family: PingFangSC-Regular;
+ font-size: 15px;
+ margin-left: 10px;
+ margin-top: 5px;
+ color: #222;
+ width: 100%;
}
-::-webkit-scrollbar {
- width: 0;
- height: 0;
- color: transparent;
+.icon_more {
+ width: 10px;
+ height: 10px;
+ float: right;
+ margin-right: 10px;
+ margin-top: 13px;
}
-.recommend_hot_box {
- width: 110px;
- height: 50px;
- margin-right: 15rpx;
- display: inline-block;
+.check_diagnosis_content_1_line {
+ font-family: PingFangSC-Regular;
+ font-size: 13px;
+ color: #666;
+ margin-left: 10px;
+ padding-right: 10px;
+ line-height: 20px;
+ width: calc(100% - 20px);
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+
+ -webkit-box-orient: vertical;
}
-.recommend_hot_image {
- width: 110px;
- height: 75px;
+.check_diagnosis_content_lines{
+ font-family: PingFangSC-Regular;
+ font-size: 13px;
+ color: #666;
+ margin-left: 10px;
+ padding-right: 10px;
+ width: calc(100% - 20px);
+}
+.high_risk_bg {
+ background: #e36767;
+ border-radius: 4px;
+ font-family: PingFangSC-Regular;
+ font-size: 13px;
+ color: #fff;
+ text-align: center;
+ margin-right: 10px;
+ width: 40px;
+ height: 20px;
}
-/*--------------------滑动选择图片end-----------------------*/
\ No newline at end of file
diff --git a/littleApp_child/source/more_bottom.png b/littleApp_child/source/more_bottom.png
new file mode 100644
index 0000000000000000000000000000000000000000..29ae5eb4283e05729c14aa0f3b885797b463879f
GIT binary patch
literal 489
zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0e(qDK~y+T?UJ!d
z13?gmXE!-X6EGHnos~qal*?T%SVlrXM1x=_7CuAp5qt$Tgt>+cF5+91hhwpYcs%|X
zNL~28AAP9TkFePQ&U2<|mIA5UknkL5wk72;n%+dE%uc0J_kpCiw(XH8fKz;)i4bG+
zdNO$tNQzH}geSyI3!sE=Q)A)qoM9L>mG`_cyyh8(qg>N6iA178`S(f9|7Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0dPq~K~y+T?U27p
z13?hRXU-&AD45FFneHqj;VuVJ8$r^D#uu;=ECgF0!P>^g7qE$vMg&P9NcJvwB6g`H
zopuS>#N=}8%(d2*w6J
z2(i?W@>U|w@EfIU#}GGCmemLaL(tSc08OU90o-vt4Upx-HUHfUvCQ=_h6cK>o9cBs
z6`H6u6^pI%M0_w3$LtSEUO1A(4xX9M3aQ`wjWSo^*+!!TaxZ(RaB^#Dq&
zRjp6@cIY_HCImr&47K@qd`s8$SJmpHUa!x!n$04a4bZf_X__~x^);bu+q)E21S!i4
zi9~Kx7{fi*kha90(5naoYeMYxg5ZKCyQH1%B$LT@*c}6FNSh~5fxVo;|L9b!hk$rW
zjdL@TIY7i9bo>x0rRE56M!tP|9-%G7Bkkhaw5;O~$?u@h6B;U~o)i8t0PpNEk-BNs
RGzb6y002ovPDHLkV1f)%%EkZy
literal 0
HcmV?d00001