diff --git a/app.less b/app.less
index ce0184e..1e212f1 100644
--- a/app.less
+++ b/app.less
@@ -28,9 +28,7 @@ page {
button{
margin: 0;
}
- .t-image-viewer {
- top: 0;
- }
+
.t-navbar__content{
background-color: transparent;
}
diff --git a/pages/followUp/index.less b/pages/followUp/index.less
index eabb9d7..6cdc3a9 100644
--- a/pages/followUp/index.less
+++ b/pages/followUp/index.less
@@ -63,6 +63,7 @@
height: 196rpx;
background: #F8F8F8;
border-radius: 16rpx;
+ overflow: hidden;
border: 1rpx solid #EEEEEE;
position: relative;
image{
diff --git a/pages/followUp/index.wxml b/pages/followUp/index.wxml
index 3d5d966..e115872 100644
--- a/pages/followUp/index.wxml
+++ b/pages/followUp/index.wxml
@@ -48,7 +48,7 @@
肝功能
-
+
+ {{detail.liver_function_image.length - 3}}
@@ -95,7 +95,7 @@
-
+
+ {{detail.coagulation_function_image.length - 3}}
@@ -149,7 +149,7 @@
-
+
+ {{detail.blood_routine_image.length - 3}}
@@ -181,7 +181,7 @@
-
+
+ {{detail.b_mode_image.length - 3}}
@@ -255,7 +255,7 @@
-
+
+ {{detail.nutritional_indicator_image.length - 3}}
@@ -293,7 +293,7 @@
-
+
+ {{detail.mdt_image.length - 3}}
@@ -326,7 +326,7 @@
res);
- console.log(info)
+ info.avatar = info.avatar ? info.avatar : 'https://image-fudan.oss-cn-beijing.aliyuncs.com/mini_images/my/baby.png';
this.setData({
userInfo: info
})
@@ -79,7 +79,7 @@ Page({
heightData.push(item.height)
weightData.push(item.weight)
totalBilirubin.push(item.total_bilirubin)
- directBilirubin.push(item.directBilirubin)
+ directBilirubin.push(item.direct_bilirubin)
xAxis.push(item.age)
})
}
@@ -289,7 +289,7 @@ Page({
// 初始化体直接胆红素趋势
initDirectChart() {
-
+
const chartComp = this.selectComponent('#mychart-dom-direct');
if (chartComp) {
chartComp.init((canvas, width, height, dpr) => {
@@ -325,7 +325,6 @@ Page({
// 初始化体间接胆红素趋势
initIndirectChart() {
-
const chartComp = this.selectComponent('#mychart-dom-indirect');
if (chartComp) {
chartComp.init((canvas, width, height, dpr) => {
diff --git a/pages/home/index.less b/pages/home/index.less
index f209386..86151ce 100644
--- a/pages/home/index.less
+++ b/pages/home/index.less
@@ -53,12 +53,16 @@
.box_1 {
border-radius: 100%;
- background-image: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/e2d2f77550f64a02bebd425d1db7d2e3_mergeImage.png);
width: 120rpx;
height: 120rpx;
border: 1px solid rgba(248, 248, 248, 1);
display: flex;
flex-direction: column;
+ overflow: hidden;
+ image{
+ width: 100%;
+ height: 100%;
+ }
}
.text-group_1 {
diff --git a/pages/home/index.wxml b/pages/home/index.wxml
index ecb7c8b..598fd48 100644
--- a/pages/home/index.wxml
+++ b/pages/home/index.wxml
@@ -5,7 +5,9 @@
-
+
+
+
{{userInfo.username}}{{userInfo.sex == 1 ? '男':'女'}} · {{ userInfo.age }}
下次随访时间:{{ userInfo.next_follow_date }}
@@ -68,22 +70,23 @@
{{activeIndex == 0 ? '身高(cm)':'体重(g)'}}
-
+
+
总胆红素趋势
-
+
直接胆红素趋势
-
+
diff --git a/project.private.config.json b/project.private.config.json
index a34928e..d0927cd 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -33,7 +33,7 @@
]
}
},
- "libVersion": "3.8.8",
+ "libVersion": "3.8.10",
"setting": {
"urlCheck": false,
"compileHotReLoad": true,