Commit ce13324c947d21d300dd470a3d57816f134a6cad

Authored by shaoshuai
1 parent b01bb48356
Exists in master

婚前检测

Showing 14 changed files with 723 additions and 57 deletions

woman/app.json View file @ ce13324
... ... @@ -10,7 +10,9 @@
10 10 "pages/login/login",
11 11 "pages/logs/logs",
12 12 "pages/folicAcid/folicAcid",
13   - "pages/cancerCheck/cancerCheck"
  13 + "pages/cancerCheck/cancerCheck",
  14 + "pages/report_first/report_first",
  15 + "pages/premaritalCheckup/premaritalCheckup"
14 16 ],
15 17 "window": {
16 18 "backgroundTextStyle": "light",
woman/pages/home/home.js View file @ ce13324
... ... @@ -945,6 +945,11 @@
945 945 index: swiperCurrent
946 946 })
947 947 },
  948 + goMenu1(e) {
  949 + wx.navigateTo({
  950 + url: '../premaritalCheckup/premaritalCheckup',
  951 + })
  952 + },
948 953 goMenu3(e) {
949 954 wx.navigateTo({
950 955 url: '../cancerCheck/cancerCheck',
woman/pages/home/home.wxml View file @ ce13324
... ... @@ -35,7 +35,7 @@
35 35 <view class="font-333-34 menu_title_text" style="font-weight: ;" >信息查询</view>
36 36 </view>
37 37 <view class="i-row i-between margin-t30 margin-lr40">
38   - <view class="i-column">
  38 + <view class="i-column" bindtap="goMenu1">
39 39 <image class="menu" src="../../source/imageSource/menu/hunqianjiancha.png" mode="aspectFill"></image>
40 40 <view class="font-333-26 margin-t12">婚前检查</view>
41 41 </view>
woman/pages/index/hospitalDetail.wxml View file @ ce13324
1   -<!--hospitalDetail.wxml 医院详情介绍-->
2   -<view class="verticalView hospitalDetail">
3   -
4   - <view class="hospitalDetail__top">
5   - <image src="{{hosiptalInfo.logo.medium ? hosiptalInfo.logo.medium : '../../source/imageSource/hospitalIcon.png'}}"></image>
6   - <text>{{hosiptalInfo.title}}</text>
7   - </view>
8   -
9   - <view class="hospitalDetail__view">
10   - <view class="hospitalDetail__view-title">
11   - <image src="../../source/imageSource/page10_icon_yiyuan_n@3x.png"></image>
12   - <text class="hospitalDetail__view-title__text">医院概况</text>
13   - </view>
14   - <view class="hospitalDetail__view-line"></view>
15   - <view class="hospitalDetail__view-content">{{hosiptalInfo.introduction ? hosiptalInfo.introduction : '暂时没有获取到医院描述信息哦!'}}
16   - </view>
17   - </view>
18   -
19   - <view class="hospitalDetail__view" wx:if="{{hosiptalInfo.images.length>0}}">
20   - <view class="hospitalDetail__view-title">
21   - <image src="../../source/imageSource/page10_icon_yiyuan_n@3x.png"></image>
22   - <text class="hospitalDetail__view-title__text">医院图片</text>
23   - </view>
24   - <view class="hospitalDetail__view-line"></view>
25   - <view class="hospitalDetail__view-image">
26   - <scroll-view class="recommend_scroll_x_box" scroll-x="true">
27   - <view class="recommend_hot_box" wx:for="{{hosiptalInfo.images}}">
28   - <image src="{{item.medium}}" class="recommend_hot_image" data-src="{{item.real}}" bindtap="previewImage"></image>
29   - </view>
30   - </scroll-view>
31   - </view>
32   - </view>
33   -
34   - <view class="hospitalDetail__view">
35   - <view class="hospitalDetail__view-title">
36   - <image src="../../source/imageSource/page10_icon_yiyuan_n@3x.png"></image>
37   - <text class="hospitalDetail__view-title__text">联系方式</text>
38   - </view>
39   - <view class="hospitalDetail__view-line"></view>
40   - <view class="hospitalDetail__view-contact">
41   - <view class="hospitalDetail__view-contact-item">
42   - <view>地址:</view>
43   - <text>{{hosiptalInfo.address ? hosiptalInfo.address : '-'}}</text>
44   - </view>
45   - <view class="hospitalDetail__view-contact-item">
46   - <view>电话:</view>
47   - <text>{{hosiptalInfo.mobile ? hosiptalInfo.mobile : '-'}}</text>
48   - </view>
49   - </view>
50   -
51   - </view>
52   -
53   -</view>
woman/pages/index/index.js View file @ ce13324
... ... @@ -52,7 +52,7 @@
52 52 },
53 53 go1(e) {
54 54 wx.navigateTo({
55   - url: '../doctorList/doctorList',
  55 + url: '../report_first/report_first',
56 56 })
57 57 },
58 58 go2(e) {
woman/pages/index/index.wxml View file @ ce13324
... ... @@ -23,10 +23,11 @@
23 23  
24 24 <view class="usermotto">
25 25 <text bindtap="go" >快速建档页面</text>
26   - <text bindtap="go1" >医生列表</text>
  26 + <text bindtap="go1" >测试</text>
27 27 <text bindtap="go2" >医院详情</text>
28 28 <text bindtap="go3" >登录</text>
29 29 <text bindtap="go4" >首页</text>
  30 +
30 31 </view>
31 32  
32 33 </view>
woman/pages/premaritalCheckup/premaritalCheckup.js View file @ ce13324
  1 +// pages/premaritalCheckup/premaritalCheckup.js
  2 +Page({
  3 +
  4 + /**
  5 + * 页面的初始数据
  6 + */
  7 + data: {
  8 +
  9 + },
  10 +
  11 + /**
  12 + * 生命周期函数--监听页面加载
  13 + */
  14 + onLoad(options) {
  15 +
  16 + },
  17 +
  18 + /**
  19 + * 生命周期函数--监听页面初次渲染完成
  20 + */
  21 + onReady() {
  22 +
  23 + },
  24 +
  25 + /**
  26 + * 生命周期函数--监听页面显示
  27 + */
  28 + onShow() {
  29 +
  30 + },
  31 +
  32 + /**
  33 + * 生命周期函数--监听页面隐藏
  34 + */
  35 + onHide() {
  36 +
  37 + },
  38 +
  39 + /**
  40 + * 生命周期函数--监听页面卸载
  41 + */
  42 + onUnload() {
  43 +
  44 + },
  45 +
  46 + /**
  47 + * 页面相关事件处理函数--监听用户下拉动作
  48 + */
  49 + onPullDownRefresh() {
  50 +
  51 + },
  52 +
  53 + /**
  54 + * 页面上拉触底事件的处理函数
  55 + */
  56 + onReachBottom() {
  57 +
  58 + },
  59 +
  60 + /**
  61 + * 用户点击右上角分享
  62 + */
  63 + onShareAppMessage() {
  64 +
  65 + }
  66 +})
woman/pages/premaritalCheckup/premaritalCheckup.json View file @ ce13324
  1 +{
  2 + "navigationBarBackgroundColor": "#ffffff",
  3 + "navigationBarTitleText": "婚前检测",
  4 + "navigationBarTextStyle": "black"
  5 +
  6 +}
woman/pages/premaritalCheckup/premaritalCheckup.wxml View file @ ce13324
  1 +<!--pages/premaritalCheckup/premaritalCheckup.wxml-->
  2 +<view>
  3 + <view>
  4 + <view class = "menuList_title margin-lr40 margin-tb38">婚前报告查询</view>
  5 + <view class="menuList_bg margin-l40 i-column">
  6 + <view class="font-white-40 font-weight-500 margin-l26 margin-t30">婚前医学检查证明</view>
  7 + <view class="i-row i-between i-align-center margin-l34 margin-r12 margin-t50">
  8 + <view class="font-white-30"></view>
  9 + <view class="i-row i-align-center">
  10 + <view class="menuList_text">详细报告</view>
  11 + <view class="menuList_next margin-l5 margin-r12"></view>
  12 + </view>
  13 + </view>
  14 + </view>
  15 + </view>
  16 + <view>
  17 + <view class = "menuList_title margin-lr40 margin-tb38">检验报告查询</view>
  18 + <view class="menuList_bg margin-l40 i-column">
  19 + <view class="font-white-40 font-weight-500 margin-l26 margin-t30">血常规检查</view>
  20 + <view class="i-row i-between i-align-center margin-l34 margin-r12 margin-t50">
  21 + <view class="font-white-30">未见异常</view>
  22 + <view class="i-row i-align-center">
  23 + <view class="menuList_text">详细报告</view>
  24 + <view class="menuList_next margin-l5 margin-r12"></view>
  25 + </view>
  26 + </view>
  27 + </view>
  28 + </view>
  29 +</view>
woman/pages/premaritalCheckup/premaritalCheckup.wxss View file @ ce13324
  1 +/* pages/cancerCheck/cancerCheck.wxss */
  2 +/* pages/folicAcid/folicAcid.wxss */
  3 +.menuList_title {
  4 + font-size: 34rpx;
  5 + font-family: PingFang SC-Medium, PingFang SC;
  6 + font-weight: 600;
  7 + line-height: 34rpx;
  8 + background: linear-gradient(135deg, #FFB4B4 0%, #FF8EA9 100%);
  9 + -webkit-background-clip: text;
  10 + -webkit-text-fill-color: transparent;
  11 +}
  12 +
  13 +.menuList_bg{
  14 + width: 670rpx;
  15 + height: 180rpx;
  16 + background: linear-gradient(134deg, rgba(255,150,171,0.61) 0%, rgba(255,174,178,0.07) 100%);
  17 + box-shadow: 0rpx 4rpx 8rpx 5rpx rgba(245,33,84,0.1);
  18 + border-radius: 20rpx 20rpx 20rpx 20rpx;
  19 + opacity: 1;
  20 +}
  21 +
  22 +.menuList_text {
  23 + font-size: 26rpx;
  24 + font-family: PingFang SC-Medium, PingFang SC;
  25 + font-weight: 500;
  26 + background: linear-gradient(135deg, #FFB4B4 0%, #FF8EA9 100%);
  27 + -webkit-background-clip: text;
  28 + -webkit-text-fill-color: transparent;
  29 + line-height: 26rpx;
  30 +}
  31 +.menuList_next{
  32 + width: 20rpx;
  33 + height: 20rpx;
  34 +
  35 + opacity: 1;
  36 + border: 2rpx solid #FF8EA9;
  37 + display: inline-block;
  38 + width: 18rpx;
  39 + height: 18rpx;
  40 + border-bottom: none;
  41 + border-left: none;
  42 + transform: rotate(45deg);
  43 +}
woman/pages/report_first/report_first.js View file @ ce13324
  1 +//articleLists.js 文章列表
  2 +// 网络请求工具类
  3 +var networkUtil = require('../../utils/network_util.js')
  4 +var api = require('../../utils/apiFile.js')
  5 +var hospital = ''
  6 +
  7 +Page({
  8 +
  9 + data: {
  10 + baseCheck: [{ 'title': '首诊日期', 'word': 'checkTime', value: '' }, { 'title': '末次月经', 'word': 'lastMenses', value: '' }, { 'title': '预产期', 'word': 'dueDate', value: '' }, { 'title': '月经周期', 'word': 'mensDay', value: '' }],
  11 + bodyCheck: [{ title: '身高', word: 'height', value: '' }, { title: '体重', word: 'weight', value: '' }, { title: '心', word: 'heart', value: '' }, { title: '肺', word: 'lungs', value: '' }],
  12 +
  13 + womenCheck: [{ title: '外阴', word: 'vulva', value: '' }, { title: '阴道', word: 'vagina', value: 'vagina' }, { title: '宫颈', word: 'cervical', value: '' }, { title: '宫体', word: 'uterus', value: '' }, { title: '附件', word: 'fujian', value: '' }],
  14 +
  15 + obstetricsCheck: [{ title: '腹围', word: 'fuwei', value: '' }, { title: '宫高', word: 'gongGao', value: '' }, { title: '胎位', word: 'fetalPositionVal', value: '' }, { title: '胎心', word: 'heartRateVal', value: '' }, { title: '先露', word: 'fetalPresentationVal', value: '' }],
  16 +
  17 + assistantCheck: [{ 'top_title': '血常规', content: [{ 'title': '血红蛋白', 'word': 'xhdb', value: '' }, { 'title': '血红蛋白券', 'word': '', value: '' }, { 'title': '白细胞计数', 'word': 'bxbjs', value: '' }, { 'title': '血小板计数', 'word': 'platelet', value: '' }, { 'title': '血常规其他', 'word': 'chgOther', value: '' }] },
  18 +
  19 + { 'top_title': '乙肝五项', content: [{ 'title': '乙肝表面抗原', 'word': 'ygbmky', value: '' }, { 'title': '乙肝表面抗体', 'word': 'ygbmkt', value: '' }, { 'title': '乙肝e抗原', 'word': 'ygeky', value: '' }, { 'title': '乙肝e抗体', 'word': 'ygekt', value: '' }, { 'title': '乙肝核心抗体', 'word': 'yghxkt', value: '' }] },
  20 +
  21 + { 'top_title': '肾功', content: [{ 'title': '血清肌酐', 'word': 'xqjq', value: '' }, { 'title': '血尿素氮', 'word': 'xnsd', value: '' }] },
  22 +
  23 + { 'top_title': '血型', content: [{ 'title': '血型', 'word': 'abo', value: '' }, { 'title': 'RH血型', 'word': 'rh', value: '' }, { 'title': '血糖', 'word': 'bloodSugar', value: '' }] },
  24 +
  25 + { 'top_title': '肝功能', content: [{ 'title': '血清谷丙转氨酶', 'word': 'xqgbzam', value: '' }, { 'title': '血清谷草转氨酶', 'word': 'xqgczam', value: '' }, { 'title': '白蛋白', 'word': 'albumin', value: '' }, { 'title': '总胆红素', 'word': 'totalBilirubin', value: '' }, { 'title': '结合胆红素', 'word': 'jhBilirubin', value: '' }, { 'title': '丙肝', 'word': 'bg', value: '' }] },
  26 +
  27 + { 'top_title': '尿常规', content: [{ 'title': '尿蛋白', 'word': 'ndb', value: '' }, { 'title': '尿糖', 'word': 'nt', value: '' }, { 'title': '尿酮体', 'word': 'urineKetone', value: '' }, { 'title': '尿潜血', 'word': 'bld', value: '' }, { 'title': '尿其他', 'word': 'ncgOther', value: '' }] },],
  28 + // 孕产史
  29 + ycHistory:''
  30 + },
  31 + onLoad: function (options) {
  32 + hospital = options.hospital
  33 + this.requestData(options.id)
  34 + },
  35 + /*---------自定义函数--------*/
  36 + requestData(Id) {
  37 + var self = this
  38 + networkUtil.showLoading()
  39 + // 报告详情
  40 + networkUtil._get(api.pregnancyReports + '/' + Id, {}, function (res) {
  41 + if (res.data.list.length == 0) {
  42 + return
  43 + }
  44 + var data = res.data.list[0].result2
  45 + self.getBaseCheckWith(data)
  46 + self.getbodyCheck(data)
  47 + self.getwomenCheck(data)
  48 + self.getobstetricsCheck(data)
  49 + self.getassistantCheck(data)
  50 + var risk = ''
  51 + for (var key in res.data.list[0].result) {
  52 + if (res.data.list[0].result[key].k == '高危因素') {
  53 + risk = res.data.list[0].result[key].v
  54 + }
  55 + }
  56 + self.setData({
  57 + checkData:data,
  58 + risk:risk
  59 + })
  60 + }, function (res) {
  61 +
  62 + })
  63 + },
  64 + // 检查基础信息
  65 + getBaseCheckWith(data){
  66 + var baseCheck = this.data.baseCheck
  67 + for (var index in this.data.baseCheck) {
  68 + var item = this.data.baseCheck[index]
  69 + if (data[item.word]) {
  70 + item.value = data[item.word]
  71 + }
  72 + }
  73 + this.setData({
  74 + baseCheck: baseCheck
  75 + })
  76 + },
  77 + // 检查基础信息
  78 + getbodyCheck(data) {
  79 + var bodyCheck = this.data.bodyCheck
  80 + for (var index in bodyCheck) {
  81 + var item = bodyCheck[index]
  82 + if (data[item.word]) {
  83 + item.value = data[item.word]
  84 + }
  85 + }
  86 + this.setData({
  87 + bodyCheck: bodyCheck
  88 + })
  89 + },
  90 + // 检查基础信息
  91 + getwomenCheck(data) {
  92 + var womenCheck = this.data.womenCheck
  93 + for (var index in womenCheck) {
  94 + var item = womenCheck[index]
  95 + if (data[item.word]) {
  96 + item.value = data[item.word]
  97 + }
  98 + }
  99 + this.setData({
  100 + womenCheck: womenCheck
  101 + })
  102 + },
  103 + // 检查基础信息
  104 + getobstetricsCheck(data) {
  105 + var obstetricsCheck = this.data.obstetricsCheck
  106 + for (var index in obstetricsCheck) {
  107 + var item = obstetricsCheck[index]
  108 + if (data[item.word]) {
  109 + item.value = data[item.word]
  110 + }
  111 + }
  112 + this.setData({
  113 + obstetricsCheck: obstetricsCheck
  114 + })
  115 + },
  116 + // 检查基础信息
  117 + getassistantCheck(data) {
  118 + var assistantCheck = this.data.assistantCheck
  119 + for (var index in assistantCheck) {
  120 + var item = assistantCheck[index]
  121 + for (var newItem in item.content) {
  122 + if (data[item.content[newItem].word]) {
  123 + item.content[newItem].value = data[item.content[newItem].word]
  124 + }
  125 + }
  126 + }
  127 + this.setData({
  128 + assistantCheck: assistantCheck
  129 + })
  130 + },
  131 + getycHistory(data){
  132 + var str = ''
  133 + if(data.pregnacyTimes){
  134 + str = '孕次:' + data.pregnacyTimes + '次'
  135 + }
  136 + if (data.prodTime) {
  137 + str = '产次:' + data.prodTime + '次'
  138 + }
  139 + if (data.pregnacyTimes) {
  140 + str = '孕次:' + data.pregnacyTimes + '次'
  141 + }
  142 + }
  143 +
  144 +})
woman/pages/report_first/report_first.json View file @ ce13324
  1 +{
  2 + "navigationBarBackgroundColor": "#f4879b",
  3 + "navigationBarTitleText": "初诊详情",
  4 + "navigationBarTextStyle": "white"
  5 +}
woman/pages/report_first/report_first.wxml View file @ ce13324
  1 +<view class='top_title'>
  2 + <view style='width:100%'>产前检查记录</view>
  3 + <view style='display: inline-block;font-size: 14px;color: #888888;'>产检日期:{{checkData.checkTime}}</view>
  4 + <view>产检医生:{{checkData.prodDoctorStr}}</view>
  5 +</view>
  6 +<view style='font-size: 14px;color: #888888;background:white;padding-left:15px;'>高危因素:{{risk}}</view>
  7 +<view class='notice'>提示:该信息只展示产检报告中的部分信息,只用于提醒和检查结果参考,不作为产检诊断依据。最终和完整结果以纸质检查报告结果为准。</view>
  8 +<view class='divider_grey_10'></view>
  9 +
  10 +<view class='section'>
  11 + <view class="report-info-bg">
  12 + <view class="report-info-box">
  13 + <block wx:for="{{baseCheck}}">
  14 + <view class="report-info-item">
  15 + <text class="report-info-text-title">{{item.title}}:</text>
  16 + <text>{{item.value}}</text>
  17 + </view>
  18 + </block>
  19 + </view>
  20 + </view>
  21 +</view>
  22 +
  23 +<view class='section'>
  24 + <view class='health_exam'>
  25 + <view class='health_exam_detail'>{{checkData.bp || '-'}}</view>
  26 + <view class='health_exam_item'>孕前血压(mmHg)</view>
  27 + </view>
  28 + <view class='health_exam'>
  29 + <view class='health_exam_detail'>{{checkData.yqWeight || '-'}}</view>
  30 + <view class='health_exam_item'>孕前体重(kg)</view>
  31 + </view>
  32 + <view class='health_exam'>
  33 + <view class='health_exam_detail'>{{checkData.tzzs || '-'}}</view>
  34 + <view class='health_exam_item'>孕前BMI(kg/m)</view>
  35 + </view>
  36 +</view>
  37 +
  38 +<view class='section'>
  39 + <!-- <view class='medical_history'>
  40 + <text class='medical_history_title'>确诊方法:</text>
  41 + <text class='medical_history_content'>{{checkData}}</text>
  42 + <text class='medical_history_last'>符合月份</text>
  43 + </view> -->
  44 + <view class='medical_history'>
  45 + <view class='medical_history_title'>家族史:</view>
  46 + <view class='medical_history_content'>
  47 + <text>{{checkData.familyHistory}}</text>
  48 + </view>
  49 +
  50 + </view>
  51 + <view class='medical_history'>
  52 + <view class='medical_history_title'>孕产史:</view>
  53 + <view class='medical_history_content'>
  54 + <text>{{checkData.hisGestation}}</text>
  55 + </view>
  56 + </view>
  57 + <view class='medical_history'>
  58 + <view class='medical_history_title'>流产史:</view>
  59 + <view class='medical_history_content'>
  60 + <text>{{checkData.abortion}}</text>
  61 + </view>
  62 + </view>
  63 +</view>
  64 +
  65 +<!-- <view class='section'>
  66 + <view class='report-info-box'>
  67 + <view class="report-info-item">
  68 + <text class="report-info-text-title">分娩时间:</text>
  69 + <text>{{checkData}}</text>
  70 + </view>
  71 + <view class="report-info-item">
  72 + <text class="report-info-text-title">分娩方式:</text>
  73 + <text>{{checkData}}</text>
  74 + </view>
  75 + <view class="report-info-item">
  76 + <text class="report-info-text-title">新生儿体重:</text>
  77 + <text>{{checkData}}</text>
  78 + </view>
  79 + <view class="report-info-item">
  80 + <text class="report-info-text-title">健康状况:</text>
  81 + <text>{{checkData}}</text>
  82 + </view>
  83 + <view class="report-info-item">
  84 + <text class="report-info-text-title">备注:</text>
  85 + <text>{{checkData}}</text>
  86 + </view>
  87 + </view>
  88 +</view> -->
  89 +
  90 +<view class='section'>
  91 + <view class='previous_history'>
  92 + <view class='previous_history_title'>既往史:</view>
  93 + <text>{{checkData.pastHistory}}</text>
  94 + </view>
  95 + <view class='previous_history'>
  96 + <view class='previous_history_title'>孕期情况:</view>
  97 + <text>{{checkData.cestationInfo}}</text>
  98 + </view>
  99 + <!-- <view class='previous_history'>
  100 + <view class='previous_history_title'>目前不适:</view>
  101 + <text>{{checkData}}</text>
  102 + </view> -->
  103 +</view>
  104 +
  105 +<view class='section'>
  106 + <view class='section_title'>
  107 + <view></view>
  108 + <text>全身疾病</text>
  109 + </view>
  110 + <view class="report-info-bg">
  111 + <view class="report-info-box">
  112 + <block wx:for="{{bodyCheck}}">
  113 + <view class="report-info-item">
  114 + <text class="report-info-text-title">{{item.title}}:</text>
  115 + <text>{{item.value || ''}}</text>
  116 + </view>
  117 + </block>
  118 + </view>
  119 + </view>
  120 +</view>
  121 +
  122 +<view class='section'>
  123 + <view class='section_title'>
  124 + <view></view>
  125 + <text>妇科检查</text>
  126 + </view>
  127 + <view class="report-info-bg">
  128 + <view class="report-info-box">
  129 + <block wx:for="{{womenCheck}}">
  130 + <view class="report-info-item">
  131 + <text class="report-info-text-title">{{item.title}}:</text>
  132 + <text>{{item.value || ''}}</text>
  133 + </view>
  134 + </block>
  135 + </view>
  136 + </view>
  137 +</view>
  138 +
  139 +<view class='section'>
  140 + <view class='section_title'>
  141 + <view></view>
  142 + <text>产科检查</text>
  143 + </view>
  144 + <view class="report-info-bg">
  145 + <view class="report-info-box">
  146 + <block wx:for="{{obstetricsCheck}}">
  147 + <view class="report-info-item">
  148 + <text class="report-info-text-title">{{item.title}}:</text>
  149 + <text>{{item.value || ''}}</text>
  150 + </view>
  151 + </block>
  152 + </view>
  153 + </view>
  154 +</view>
  155 +
  156 +<view class='section'>
  157 + <view class='section_title'>
  158 + <view></view>
  159 + <text>辅助检查</text>
  160 + </view>
  161 + <view class="report-info-bg">
  162 + <view class="report-info-box">
  163 + <block wx:for="{{assistantCheck}}">
  164 + <view class='report-item-title'>
  165 + <view class='report-item-title-dot'></view>
  166 + <text class='report-info-text-title'>{{item.top_title}}</text>
  167 + </view>
  168 + <block wx:for="{{item.content}}" wx:for-item="newItem">
  169 + <view class="report-info-item">
  170 + <text class="report-info-text-title">{{newItem.title}}:</text>
  171 + <text>{{newItem.value || ''}}</text>
  172 + </view>
  173 + </block>
  174 + </block>
  175 + </view>
  176 + <view class="report-info-bg">
  177 + <view class="report-info-box">
  178 + <view class="report-info-item">
  179 + <text class="report-info-text-title">HIV:</text>
  180 + <text>{{checkData.hivkt || ''}}</text>
  181 + </view>
  182 + <view class="report-info-item">
  183 + <text class="report-info-text-title">彩超:</text>
  184 + <text>{{checkData.bChao || ''}}</text>
  185 + </view>
  186 + </view>
  187 + </view>
  188 + </view>
  189 +</view>
  190 +
  191 +<view class='section'>
  192 + <view class='section_title'>
  193 + <view></view>
  194 + <text>诊断</text>
  195 + </view>
  196 + <view class='suggestion'>
  197 + {{checkData.diagnosis + ', ' + (checkData.diagnosisOther ? checkData.diagnosisOther : '')}}
  198 + </view>
  199 +</view>
  200 +
  201 +<view class='section'>
  202 + <view class='section_title'>
  203 + <view></view>
  204 + <text>处理意见</text>
  205 + </view>
  206 + <view class='suggestion'>
  207 + {{checkData.treatOpinion}}
  208 + </view>
  209 +</view>
woman/pages/report_first/report_first.wxss View file @ ce13324
  1 +.top_title {
  2 + height: 68px;
  3 + background: white;
  4 + padding-left: 15px;
  5 +}
  6 +
  7 +.notice {
  8 + font-size: 12px;
  9 + color: #888;
  10 + padding: 15px 15px 0px 15px;
  11 + background: white;
  12 +}
  13 +
  14 +.top_title view:first-child {
  15 + font-size: 22px;
  16 + color: #333333;
  17 + font-weight: 555;
  18 + line-height: 22px;
  19 + margin-top: 13px;
  20 + display: inline-block;
  21 +}
  22 +
  23 +.top_title view:last-child {
  24 + font-size: 14px;
  25 + color: #888888;
  26 + margin-top: 3px;
  27 + display: inline-block;
  28 + margin-left: 20px;
  29 +}
  30 +
  31 +
  32 +/* section */
  33 +.section {
  34 + background: white;
  35 + margin-top: 10px;
  36 + width: 100%;
  37 + overflow: hidden
  38 +}
  39 +
  40 +/* 检查内容 */
  41 +report-info-bg {
  42 + border-top: solid 1rpx #d3d6d0;
  43 + border-bottom: solid 1rpx #d3d6d0;
  44 + background: white;
  45 +
  46 +}
  47 +
  48 +.report-info-box {
  49 + display: flex;
  50 + flex-wrap: wrap;
  51 + margin-left: 15px;
  52 + margin-right: 15px;
  53 + padding-top: 15px;
  54 +}
  55 +
  56 +.report-info-item {
  57 + min-width: 50%;
  58 + min-height: 30px;
  59 + font: lighter;
  60 + font-size: 14px;
  61 + color: #888888;
  62 + line-height: 14px;
  63 + overflow: hidden;
  64 + text-overflow: ellipsis;
  65 + display: -webkit-box;
  66 + -webkit-box-orient: vertical;
  67 + -webkit-line-clamp: 2;
  68 +}
  69 +
  70 +.report-info-text-title {
  71 + margin-left:5px;
  72 + font-size: 14px;
  73 + color: #333333;
  74 +}
  75 +
  76 +/* 健康检查 体重 */
  77 +
  78 +.health_exam {
  79 + height: 84px;
  80 + width: 33%;
  81 + background: white;
  82 + display: inline-block;
  83 + overflow: hidden;
  84 +}
  85 +
  86 +.health_exam_detail {
  87 + margin-top: 18px;
  88 + font-size: 22px;
  89 + color: #333333;
  90 + width: 100%;
  91 + text-align: center;
  92 +}
  93 +
  94 +.health_exam_item {
  95 + font-size: 12px;
  96 + color: #888888;
  97 + line-height: 14px;
  98 + width: 100%;
  99 + text-align: center;
  100 +}
  101 +
  102 +
  103 +/* 病史 */
  104 +.medical_history {
  105 + min-height: 44px;
  106 + width: 100%;
  107 + font-size: 14px;
  108 + /* display: flex;
  109 + flex-direction: row;
  110 + align-items: center;
  111 + justify-content: flex-start; */
  112 + padding-left: 15px;
  113 + clear: both;
  114 +}
  115 +
  116 +.medical_history_title {
  117 + float: left;
  118 + width: 66px;
  119 + color: #333333;
  120 + margin-top: 13px;
  121 +}
  122 +
  123 +.medical_history_content {
  124 + float: left;
  125 + width: calc(100% - 85px);
  126 + color: #888888;
  127 + overflow: hidden;
  128 + text-overflow: ellipsis;
  129 + display: -webkit-box;
  130 + -webkit-box-orient: vertical;
  131 + -webkit-line-clamp: 10;
  132 + margin-top: 13px;
  133 +}
  134 +
  135 +.medical_history_last {
  136 + color: #6BB56E;
  137 +}
  138 +
  139 +.previous_history {
  140 + min-height: 44px;
  141 + border-bottom: 0.5px #E8E9DE solid;
  142 + width: calc(100% - 30px);
  143 + margin-left: 15px;
  144 + margin-right: 15px;
  145 +}
  146 +
  147 +.previous_history_title {
  148 + font-size: 14px;
  149 + width: 75px;
  150 + display: inline-block;
  151 + margin-top: 10px;
  152 +}
  153 +
  154 +.previous_history text {
  155 + font-size: 14px;
  156 + color: #888888;
  157 + line-height: 22px;
  158 +}
  159 +
  160 +.section_title {
  161 + height: 40px;
  162 + display: flex;
  163 + flex-direction: row;
  164 + align-items: center;
  165 + justify-content: flex-start;
  166 + border-bottom: 1px #E8E9DE solid;
  167 +}
  168 +
  169 +.section_title view {
  170 + background: #F4879B;
  171 + width: 4px;
  172 + height: 18px;
  173 +}
  174 +
  175 +.section_title text {
  176 + font-size: 14px;
  177 + color: #333333;
  178 + margin-left: 14px;
  179 +}
  180 +
  181 +.suggestion {
  182 + font-size: 14px;
  183 + color: #888888;
  184 + line-height: 22px;
  185 + padding:10px 15px 10px 15px;
  186 +}
  187 +
  188 +
  189 +.report-item-title {
  190 + width: 100%;
  191 + height: 35px;
  192 + display: flex;
  193 + flex-direction: row;
  194 + align-items: center;
  195 + justify-content: flex-start;
  196 +}
  197 +
  198 +.report-item-title-dot {
  199 + width: 6px;
  200 + height: 6px;
  201 + background: #F4879B;
  202 + border-radius: 3px;
  203 + display: inline-block;
  204 +}
  205 +
  206 +.report-item-title-text {
  207 + font-size: 14px;
  208 + color: #333333;
  209 +}