up
chenyc
2022-07-22 37d74dab314e02332d4d5b77ec4ec0e494c512df
up
3个文件已修改
467 ■■■■■ 已修改文件
src/views/home/css/common.css 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/css/index.css 395 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue 70 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/css/common.css
@@ -1,5 +1,4 @@
body * {
    margin: 0 auto;
    box-sizing: border-box;
    flex-shrink: 0;
  }
@@ -63,4 +62,3 @@
    display: flex;
    align-items: flex-end;
  }
src/views/home/css/index.css
@@ -1,434 +1,389 @@
.page {
    position: relative;
    width: 1440px;
    height: 920px;
    background-color: rgba(243, 246, 254, 1);
  position: relative;
  width: 1920px;
  height: 1080px;
    overflow: hidden;
  }
  
  .box_7 {
    width: 1440px;
    height: 886px;
  }
  .header {
    height: 72px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 1px 3px 5px 0px rgba(233, 233, 233, 1);
    width: 1440px;
  }
  .box_8 {
    width: 1364px;
    height: 40px;
    margin: 16px 0 0 36px;
  background-color: rgba(255, 255, 255, 1);
  width: 1920px;
  height: 72px;
  }
  
  .image_1 {
    width: 102px;
    height: 40px;
  margin: 16px 0 0 36px;
  }
  
  .text_1 {
    width: 115px;
    height: 38px;
    display: inline-block;
    color: rgba(51, 51, 51, 1);
    font-size: 27px;
    letter-spacing: 1.6875px;
    font-family: PingFangSC-Medium;
  text-align: center;
    white-space: nowrap;
    line-height: 38px;
    text-align: left;
    margin: 1px 0 0 525px;
  margin: 17px 0 0 765px;
  }
  
  .text_2 {
    width: 36px;
    height: 38px;
    display: inline-block;
  width: 43px;
  height: 45px;
    color: rgba(255, 116, 114, 1);
    font-size: 27px;
    letter-spacing: 1.6875px;
  font-size: 32px;
  letter-spacing: 2px;
    font-family: PingFangSC-Medium;
    white-space: nowrap;
    line-height: 38px;
    text-align: left;
    margin: 1px 0 0 586px;
  white-space: nowrap;
  line-height: 45px;
  margin: 13px 53px 0 806px;
  }
  
  .grid_3 {
    width: 1360px;
    height: 790px;
.body {
  width: 1838px;
  height: 952px;
  overflow-y: auto;
  margin: 28px 0 28px 42px;
}
.grid_6 {
  width: 1838px;
  height: 952px;
    flex-wrap: wrap;
    margin: 24px 0 0 40px;
  }
  
  .section_1 {
    height: 385px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
.box_1 {
    box-shadow: 1px 2px 4px 0px rgba(201, 223, 246, 0.5);
    width: 670px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 20px;
  width: 909px;
  height: 466px;
    margin: 0 20px 20px 0;
  }
  
  .block_2 {
    width: 539px;
    height: 315px;
    margin: 35px 0 0 45px;
  }
  .image-wrapper_1 {
    z-index: 28;
    position: relative;
    width: 227px;
    height: 315px;
    border-radius: 4px;
    overflow: hidden;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng105e855e48547de664df1d81f3a13e3f87ec4517208a338998c46a58f9f74774)
      100% no-repeat;
  }
  .image_2 {
    z-index: 29;
    position: absolute;
    left: 0;
    top: 0;
    width: 227px;
    height: 315px;
  width: 270px;
  height: 376px;
  margin: 45px 0 0 45px;
  }
  
  .group_6 {
    width: 277px;
    height: 147px;
    margin-top: 84px;
.group_9 {
  width: 410px;
  height: 191px;
  margin: 135px 112px 0 72px;
  }
  
  .text-wrapper_13 {
    width: 277px;
    height: 42px;
.text-wrapper_31 {
  width: 410px;
  height: 55px;
  }
  
  .text_3 {
    width: 77px;
    height: 42px;
    display: inline-block;
  width: 89px;
  height: 48px;
    color: rgba(119, 119, 119, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 35px;
  letter-spacing: 2.1875px;
    font-family: AlibabaPuHuiTi-Regular;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
  white-space: nowrap;
  line-height: 48px;
  margin-top: 5px;
  }
  
  .text_4 {
    width: 95px;
    height: 42px;
    display: inline-block;
  width: 126px;
  height: 55px;
    color: rgba(118, 154, 255, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 40px;
  letter-spacing: 2.5px;
    font-family: AlibabaPuHuiTi-Medium;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
  white-space: nowrap;
  line-height: 55px;
  }
  
  .block_1 {
    width: 277px;
    height: 2px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngc3dfe3234ccde964ffe168da1d8ce284992f4694b4c162c911b029ffa594b42b)
      100% no-repeat;
    margin-top: 30px;
.group_1 {
  width: 410px;
  height: 1px;
  background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngd675f5bd8a2e658e28ea132149191bb26b4d0d72afc7f50cefcc04a4725895f8) -1px
    0px no-repeat;
  background-size: 412px 2px;
  margin-top: 42px;
  }
  
  .text-wrapper_14 {
    width: 277px;
.text-wrapper_32 {
  width: 410px;
    height: 48px;
    margin-top: 25px;
  margin-top: 45px;
  }
  
  .text_5 {
    width: 108px;
    height: 42px;
    display: inline-block;
  width: 126px;
  height: 48px;
    color: rgba(119, 119, 119, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 35px;
  letter-spacing: 2.1875px;
    font-family: AlibabaPuHuiTi-Regular;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
    margin-top: 6px;
  white-space: nowrap;
  line-height: 48px;
  }
  
  .text_6 {
    width: 131px;
    height: 47px;
    display: inline-block;
    color: rgba(118, 154, 255, 1);
    font-size: 40px;
    letter-spacing: 2.5px;
    font-family: DINAlternate-Bold;
  text-align: left;
    white-space: nowrap;
    line-height: 47px;
    text-align: left;
  margin-top: 1px;
  }
  
  .section_4 {
    height: 385px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
.box_2 {
    box-shadow: 1px 2px 4px 0px rgba(201, 223, 246, 0.5);
  background-color: rgba(255, 255, 255, 1);
  border-radius: 10px;
  height: 466px;
    margin-bottom: 20px;
    width: 670px;
  width: 909px;
  }
  
  .group_7 {
    width: 600px;
.block_11 {
  width: 819px;
    height: 60px;
    margin: 21px 0 0 40px;
  }
  
  .text_7 {
    width: 205px;
    height: 42px;
    display: inline-block;
  width: 239px;
  height: 48px;
    color: rgba(51, 51, 51, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 35px;
  letter-spacing: 2.1875px;
    font-family: AlibabaPuHuiTi-Regular;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
  white-space: nowrap;
  line-height: 48px;
    margin-top: 9px;
  }
  
  .box_2 {
.image_3 {
    width: 60px;
    height: 60px;
  }
  
  .text-wrapper_15 {
    width: 373px;
    height: 140px;
    margin: 42px 0 122px 149px;
.text-wrapper_33 {
  width: 560px;
  height: 210px;
  margin: 47px 0 128px 175px;
  }
  
  .text_8 {
    width: 373px;
    height: 140px;
    display: inline-block;
  width: 560px;
  height: 210px;
    color: rgba(118, 154, 255, 1);
    font-size: 120px;
    letter-spacing: 7.5px;
  font-size: 180px;
  letter-spacing: 11.25px;
    font-family: DINAlternate-Bold;
    white-space: nowrap;
    line-height: 140px;
    text-align: center;
  white-space: nowrap;
  line-height: 210px;
  }
  
  .section_5 {
    height: 385px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
.box_3 {
    box-shadow: 1px 2px 4px 0px rgba(201, 223, 246, 0.5);
    width: 670px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 20px;
  width: 909px;
  height: 466px;
  justify-content: flex-center;
    margin: 0 20px 20px 0;
  }
  
  .box_9 {
    width: 498px;
    height: 284px;
    margin: 49px 0 0 86px;
  }
  .text-wrapper_16 {
    width: 498px;
    height: 47px;
.text-wrapper_34 {
  width: 685px;
  height: 48px;
  margin: 73px 0 0 112px;
  }
  
  .text_9 {
    width: 77px;
    height: 42px;
    display: inline-block;
  width: 89px;
  height: 48px;
    color: rgba(119, 119, 119, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 35px;
  letter-spacing: 2.1875px;
    font-family: AlibabaPuHuiTi-Regular;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
    margin-top: 3px;
  white-space: nowrap;
  line-height: 48px;
  }
  
  .text_10 {
    width: 66px;
    height: 47px;
    display: inline-block;
    color: rgba(118, 154, 255, 1);
    font-size: 40px;
    letter-spacing: 2.5px;
    font-family: DINAlternate-Bold;
  text-align: right;
    white-space: nowrap;
    line-height: 47px;
    text-align: left;
  margin-top: 1px;
  }
  
  .box_3 {
    width: 498px;
.block_1 {
  width: 685px;
    height: 1px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng1ca95e12a3501f2e670de7c0c91df99f32447793ecff31fdb3de7069e28e3dad) -1px
  background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng9c155ff9c90ee8a468e03a0cf93cc8cbe7421ad7a23f166e1ea4c56ec02ad3ca) -1px
      0px no-repeat;
    background-size: 500px 2px;
    margin-top: 32px;
  background-size: 687px 2px;
  margin: 33px 0 0 112px;
  }
  
  .text-wrapper_17 {
    width: 498px;
    height: 47px;
    margin-top: 39px;
.text-wrapper_35 {
  width: 685px;
  height: 48px;
  margin: 54px 0 0 112px;
  }
  
  .text_11 {
    width: 171px;
    height: 42px;
    display: inline-block;
  width: 199px;
  height: 48px;
    color: rgba(119, 119, 119, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 35px;
  letter-spacing: 2.1875px;
    font-family: AlibabaPuHuiTi-Regular;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
    margin-top: 2px;
  white-space: nowrap;
  line-height: 48px;
  }
  
  .text_12 {
    width: 99px;
    height: 47px;
    display: inline-block;
    color: rgba(118, 154, 255, 1);
    font-size: 40px;
    letter-spacing: 2.5px;
    font-family: DINAlternate-Bold;
  text-align: right;
    white-space: nowrap;
    line-height: 47px;
    text-align: left;
  margin-top: 1px;
  }
  
  .box_4 {
    width: 498px;
.block_2 {
  width: 685px;
    height: 1px;
    background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng1ca95e12a3501f2e670de7c0c91df99f32447793ecff31fdb3de7069e28e3dad) -1px
  background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng9c155ff9c90ee8a468e03a0cf93cc8cbe7421ad7a23f166e1ea4c56ec02ad3ca) -1px
      0px no-repeat;
    background-size: 500px 2px;
    margin-top: 40px;
  background-size: 687px 2px;
  margin: 53px 0 0 112px;
  }
  
  .text-wrapper_18 {
    width: 498px;
    height: 47px;
    margin-top: 30px;
.text-wrapper_36 {
  width: 685px;
  height: 48px;
  margin: 34px 0 73px 112px;
  }
  
  .text_13 {
    width: 213px;
    height: 42px;
    display: inline-block;
  width: 248px;
  height: 48px;
    color: rgba(119, 119, 119, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 35px;
  letter-spacing: 2.1875px;
    font-family: AlibabaPuHuiTi-Regular;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
    margin-top: 3px;
  white-space: nowrap;
  line-height: 48px;
  }
  
  .text_14 {
    width: 78px;
    height: 47px;
    display: inline-block;
    color: rgba(118, 154, 255, 1);
    font-size: 40px;
    letter-spacing: 2.5px;
    font-family: DINAlternate-Bold;
  text-align: right;
    white-space: nowrap;
    line-height: 47px;
    text-align: left;
  }
  
  .section_6 {
    height: 385px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
.box_4 {
    box-shadow: 1px 2px 4px 0px rgba(201, 223, 246, 0.5);
  background-color: rgba(255, 255, 255, 1);
  border-radius: 10px;
  height: 466px;
    margin-bottom: 20px;
    width: 670px;
  width: 909px;
  }
  
  .section_12 {
    width: 600px;
.section_10 {
  width: 819px;
    height: 60px;
    margin: 21px 0 0 40px;
  }
  
  .text_15 {
    width: 202px;
    height: 42px;
    display: inline-block;
  width: 236px;
  height: 48px;
    color: rgba(51, 51, 51, 1);
    font-size: 30px;
    letter-spacing: 1.875px;
  font-size: 35px;
  letter-spacing: 2.1875px;
    font-family: AlibabaPuHuiTi-Regular;
    white-space: nowrap;
    line-height: 42px;
    text-align: left;
  white-space: nowrap;
  line-height: 48px;
    margin-top: 9px;
  }
  
  .group_1 {
.image_4 {
    width: 60px;
    height: 60px;
  }
  
  .section_13 {
    width: 374px;
    height: 149px;
    margin: 42px 0 113px 149px;
    text-align: center;
.section_11 {
  width: 502px;
  height: 210px;
  margin: 47px 0 128px 357px;
  }
  
  .text_16 {
    width: 100%;
    height: 140px;
    display: inline-block;
  width: 196px;
  height: 210px;
    color: rgba(118, 154, 255, 1);
    font-size: 120px;
    letter-spacing: 7.5px;
  font-size: 180px;
  letter-spacing: 11.25px;
    font-family: DINAlternate-Bold;
    white-space: nowrap;
    line-height: 140px;
    text-align: center;
  white-space: nowrap;
  line-height: 210px;
  }
  
  .image-wrapper_2 {
.image-wrapper_1 {
    width: 60px;
    height: 139px;
    margin-top: 10px;
  margin-top: 5px;
  }
  
  .section_9 {
.image_5 {
    width: 60px;
    height: 60px;
  }
  
  .section_10 {
.image_6 {
    width: 60px;
    height: 60px;
    margin-top: 19px;
  }
src/views/home/index.vue
@@ -239,9 +239,7 @@
        <el-dialog title="提示" v-model="isLink" width="30%">
            <span>sockte连接失败正在重连。。。。。。</span>
        </el-dialog>
      <div class="box_7 flex-col justify-between">
        <div class="header flex-col">
          <div class="box_8 flex-row">
      <div class="header flex-row">
            <img
              class="image_1"
              referrerpolicy="no-referrer"
@@ -249,107 +247,105 @@
            />
            <span class="text_1">自助签到</span> <span class="text_2">{{clockNum}}</span>
          </div>
        </div>
        <div class="grid_3 flex-row">
          <div class="section_1 flex-col">
            <div class="block_2 flex-row justify-between">
              <div class="image-wrapper_1 flex-col">
      <div class="body flex-col">
        <div class="grid_6 flex-row">
          <div class="box_1 flex-row">
                <img
                  class="image_2"
                  referrerpolicy="no-referrer"
                  :src="patientInfo.patientAvatarIcon"
                />
              </div>
              <div class="group_6 flex-col">
                <div class="text-wrapper_13 flex-row justify-between">
            <div class="group_9 flex-col">
              <div class="text-wrapper_31 flex-row justify-between">
                  <span class="text_3">姓名:</span>
                  <span class="text_4">{{patientInfo.name}}</span>
                </div>
                <div class="block_1 flex-col"></div>
                <div class="text-wrapper_14 flex-row justify-between">
              <div class="group_1 flex-col"></div>
              <div class="text-wrapper_32 flex-row justify-between">
                  <span class="text_5">透析号:</span>
                  <span class="text_6">{{patientInfo.hemoCode}}</span>
                </div>
              </div>
            </div>
          </div>
          <div class="section_4 flex-col">
            <div class="group_7 flex-row justify-between">
          <div class="box_2 flex-col">
            <div class="block_11 flex-row justify-between">
              <span class="text_7">血压(mmHg):</span>
              <img
                class="image_3"
                v-if="xyjInfo.state === 2"
                class="group_1"
                referrerpolicy="no-referrer"
                :src="state1"
              />
              <img
                class="image_3"
               v-if="xyjInfo.state === 1"
                class="group_1"
                referrerpolicy="no-referrer"
                :src="state2"
              />
              <img
                class="image_3"
              v-if="xyjInfo.state === 0"
                class="group_1"
                referrerpolicy="no-referrer"
                :src="state3"
              />
            </div>
            <div class="text-wrapper_15 flex-row">
            <div class="text-wrapper_33 flex-row">
              <span class="text_8">{{ gao_ya }}/{{ di_ya }}</span>
            </div>
          </div>
          <div class="section_5 flex-col">
            <div class="box_9 flex-col">
              <div class="text-wrapper_16 flex-row justify-between">
                <span class="text_9">机号:</span>
                <span class="text_10">{{patientInfo.deviceCode}}</span>
          <div class="box_3 flex-col">
            <div class="text-wrapper_34 flex-row justify-between">
              <span class="text_9">机号:</span> <span class="text_10">{{patientInfo.deviceCode}}</span>
              </div>
              <div class="box_3 flex-col"></div>
              <div class="text-wrapper_17 flex-row justify-between">
            <div class="block_1 flex-col"></div>
            <div class="text-wrapper_35 flex-row justify-between">
                <span class="text_11">干体重(kg):</span>
                <span class="text_12">{{ patientInfo.pureWeight }}</span>
              </div>
              <div class="box_4 flex-col"></div>
              <div class="text-wrapper_18 flex-row justify-between">
            <div class="block_2 flex-col"></div>
            <div class="text-wrapper_36 flex-row justify-between">
                <span class="text_13">目标脱水量(L):</span>
                <span class="text_14">{{aimTSL}}</span>
              </div>
            </div>
          </div>
          <div class="section_6 flex-col">
            <div class="section_12 flex-row justify-between">
          <div class="box_4 flex-col">
            <div class="section_10 flex-row justify-between">
              <span class="text_15">透前体重(kg):</span>
              <img
                v-if="weightInfo.state === 2"
                class="group_1"
                class="image_4"
                referrerpolicy="no-referrer"
                :src="state1"
              />
              <img
               v-if="weightInfo.state === 1"
                class="group_1"
                class="image_4"
                referrerpolicy="no-referrer"
                :src="state2"
              />
              <img
              v-if="weightInfo.state === 0"
                class="group_1"
                class="image_4"
                referrerpolicy="no-referrer"
                :src="state3"
              />
            </div>
            <div class="section_13 flex-row justify-between">
            <div class="section_11 flex-row justify-between">
              <span class="text_16">{{ weightInfo.result }}</span>
            </div>
          </div>
        </div>
      </div>
      <el-input id="inputCode" style="width:50px"  @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" />
      <div class="inputDeep" style="display:none;">1
        <input id="inputCode" style="border-style: none;" type="text" @change="inputChabge" ref="inputRef" :value="inputCode">
        <!-- <input  @change="inputChabge" v-model="inputCode" ref="inputRef" placeholder="" /> -->
      </div>
    </div>
</template>
<style>
@import './css/common.css';
@import './css/index.css';
</style>