单应用项目,可以创建很多独立工具类页面 ,不用登录 初始化的页面
zhangchen
2025-07-23 3519b38f8230634a319d9e97a38092fbb8e402f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<template>
  <div class="under-treatment-container" :style="{ '--height': height + 'px' }">
    <div class="left-box">
      <div class="left-row1">
        <div class="left-row1-col1">
          <el-image
            :src="pageData.patientPhone"
            style="width: 100%; height: 100%"
          >
            <template #placeholder>
              <div class="image-slot">加载中<span class="dot">...</span></div>
            </template>
          </el-image>
        </div>
        <div class="left-row1-col2"></div>
        <div class="left-row1-col3"></div>
      </div>
      <div class="left-row2"></div>
      <div class="left-row3"></div>
      <div class="left-row4"></div>
    </div>
    <div class="right-box"></div>
  </div>
</template>
<script lang="ts" setup name="UnderTreatment">
import { computed } from "vue";
// @ts-ignore
import Card from "../components/Card.vue";
import { useBedsideAuxiliaryScreenStore } from "@/store/bedsideAuxiliaryScreen";
 
interface Props {
  height: number;
}
const props = defineProps<Props>();
 
const bedsideAuxiliaryScreenStore = useBedsideAuxiliaryScreenStore();
 
const pageData = computed(() => {
  return Object.assign(bedsideAuxiliaryScreenStore.deviceData.underTreatment, {
    patientPhone: bedsideAuxiliaryScreenStore.deviceData.patientPhone,
  });
});
</script>
 
<style lang="less" scoped>
* {
  box-sizing: border-box;
}
 
.under-treatment-container {
  display: flex;
  align-items: flex-start;
  height: var(--height);
  gap: 4px;
  padding-bottom: 2px;
  overflow: hidden;
  .left-box {
    flex: 0 0 58.25%;
    height: calc(100% - 12px);
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    div {
      width: 100%;
    }
    .left-row1 {
      flex: 0 0 41.99%;
      // width: calc(100% - 8px);
      gap: 4px;
      display: flex;
      background: blue;
      .left-row1-col1 {
        flex: 0 0 26.94%;
      }
      .left-row1-col2 {
        flex: 0 0 26.42%;
      }
      .left-row1-col3 {
        flex: 0 0 46.63%;
      }
    }
    .left-row2 {
      flex: 0 0 22.65%;
      background: yellow;
    }
    .left-row3 {
      flex: 0 0 22.65%;
      background: orange;
    }
    .left-row4 {
      flex: 0 0 12.71%;
      background: purple;
    }
  }
  .right-box {
    flex: 0 0 41.75%;
    height: 100%;
    background: green;
  }
}
</style>