From 00daf49b94c849b2b797c8404f08d94a8c582564 Mon Sep 17 00:00:00 2001 From: luoye <397379429@qq.com> Date: Thu, 10 Aug 2017 16:56:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=91=8A=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/articleDetail/articleDetail.wxml | 38 ++++++++++++++++++++-- .../pages/articleDetail/articleDetail.wxss | 37 ++++++++++++++++++--- littleApp_child/utils/util_UI.wxss | 8 +++++ 3 files changed, 76 insertions(+), 7 deletions(-) diff --git a/littleApp_child/pages/articleDetail/articleDetail.wxml b/littleApp_child/pages/articleDetail/articleDetail.wxml index 48e2b1f..a8cf6a9 100644 --- a/littleApp_child/pages/articleDetail/articleDetail.wxml +++ b/littleApp_child/pages/articleDetail/articleDetail.wxml @@ -36,9 +36,41 @@ {{userData.checkhospital}} 检查项目 - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/littleApp_child/pages/articleDetail/articleDetail.wxss b/littleApp_child/pages/articleDetail/articleDetail.wxss index 6157be6..f707cc4 100644 --- a/littleApp_child/pages/articleDetail/articleDetail.wxss +++ b/littleApp_child/pages/articleDetail/articleDetail.wxss @@ -141,7 +141,7 @@ .title_banner { height: 23px; - width: 100%; + width: 80%; color: #999; line-height: 23px; font-size: 12px; @@ -157,11 +157,40 @@ .report_list_scroll { height: 100%; width: 100%; - background: yellowgreen; + display: inline-block; + /*可以滚动*/ + white-space: nowrap; } -.report_list_item { - background: red; +.report_list_item_bg { width: 25%; height: 100%; + display: inline-block; +} + +.report_list_item { + + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + width: 100%; + height: 100%; +} + +.report_list_item image { + width: 38px; + height: 38px; +} + +.report_list_item label { + font-size: 10px; + color: #333333; +} + +.report_list_item_dot { + width: 8px; + height: 8px; + border-radius: 4px; + transform: translateY(-42px) translateX(30px); } \ No newline at end of file diff --git a/littleApp_child/utils/util_UI.wxss b/littleApp_child/utils/util_UI.wxss index b3b5ab6..53d30b3 100644 --- a/littleApp_child/utils/util_UI.wxss +++ b/littleApp_child/utils/util_UI.wxss @@ -57,4 +57,12 @@ .whiteColor { background: white; +} + +.greenColor { + background: #48C17B; +} + +.redColor { + background: #E85858; } \ No newline at end of file -- 1.8.3.1