@import "../../utils/util_UI.wxss"; /*通用*/ text { font-size: 11px; color: #ffffff; } /*顶部模块*/ .TopBar { width:100%; height:202px; } .promptText { background: #f4879b; font: bold; text-align: center; font-size: 10px; color: white; } .TopBgImage { width:100%; height:202px; position: absolute; background: #48C17B; } .avatar { width:70px; height:70px; border-radius: 50%; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); border: 3px solid white; box-shadow: 0 2px 4px 0 rgba(186,70,70,0.50); } .userName { font-size: 14px; font-weight: bold; display: block; top: 100px; position: absolute; /*居中*/ left: 50%; transform: translateX(-50%); } .documentView { position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; } /*上方信息条部分*/ .infoBar { width: 100%; height: 60px; top: 142px; position: absolute; } .infoView { text-align: center; width: 33.3%; height: 100%; display:inline-block; box-sizing: border-box; position: relative; background-color: rgba(255, 255, 255, 0.1); } .lineView { width: 100%; border-right: solid rgba(255, 255, 255, 0.7) 0.5px; border-left: solid rgba(255, 255, 255, 0.7) 0.5px; height: 40px; position: absolute; top: 10px; } .titleText { margin-top: 12px; display:block; font-size: 11px; color: #D8FCE7; } .timeText { font-family: PingFangSC-Medium; font-size: 12px; color: #FFFFFF; display:block; margin-top: 2px; } .hospitalName { width: 100%; height: 30px; background-color: white; color: #ee7289; font-size: 11px; font: medium; text-align: center; line-height: 30px; } /*---------foundation---------*/ .foundation_BG { width: 100%; display: flex; flex-wrap: nowrap; background: white; } .foundation_item_big { width: 50%; background: white; /* display: inline-block; */ float: left; } .foundation_item_small { /* margin-top: 5px; margin-left: 5px; */ width: 25%; display: flex; flex-direction: column; align-items: center; justify-content: center; } .foundation_item_small_image { height: 45%; width: 45%; margin-top: 3px; } .foundation_item_small_text { display: inline-block; margin-top: 10px; font-size: 12px; color: #333; } /*---------文章列表---------*/ .article_list { border-radius: 4px; background: white; margin-left: 5px; margin-right: 5px; margin-top: 11px; } .article_bg { margin-bottom: 10px; } /* 栏目标题前面图 */ .article_title_image { width: 2px; height: 14px; margin-left: 15px; transform: translateY(2px); background: #48C17B } /* 栏目标题文字 */ .article_title { height: 34px; display: inline-block; line-height: 34px; font-size: 14px; color: #979797; margin-left: 5px; } /* 箭头 */ .article_title_indicator { width: 5.5px; height: 10.2px; float: right; margin-right: 10px; margin-top: 12px; } /* 文章ne内容背景 */ .article_content { height: 115px; } /* 内容标题 */ .article_content_title { font-size: 14px; color: #222222; margin-left: 15px; margin-top: 0px; } /* 内容文字 */ .article_content_text { font-size: 12px; color: #888888; line-height: 18px; margin-left: 15px; margin-right: 109px; margin-top: 5px; height: 54px; display: inline-block; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } /* 内容图 */ .article_content_image { float: right; margin-right: 11px; width: 74px; height: 74px; transform: translateY(-74px); } /* 点赞 */ .article_content_bottomBar { height: 28px; } .article_content_bottomBar_labels { float: left; height: 100%; width: 50px; } .article_content_bottomBar_likes { float: left; width: 50px; margin-left: 10px; } .article_content_bottomBar_likes_icon { height: 22px; width: 22px; margin-right: 4px; } /* 点赞文字 */ .article_content_bottomBar_likes_text { font-size: 10px; color: #C8C6C6; transform: translateY(-7px); display: inline-block; } .navigator_class { width: 100%; }