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
<template>
<div class="movement-tip">
<!-- 运动强度说明 -->
<span @click="visible = !visible">
<slot>
<doc-icon type="doc-question-circle" />
</slot>
</span>
<!-- <van-popup v-model:show="visible" round style="height: 70%;"> -->
<van-overlay :show="visible" @click="visible = false"
class="flex items-center justify-center">
<div class="py-3 px-2 panel" @click.stop>
<div class="title mb-2">确定有氧运动强度的常用方法</div>
<table class="w-full">
<tr>
<th>强度分级</th>
<th>PRE(0-10分)</th>
<th>谈话实验</th>
</tr>
<tr>
<td>低</td>
<td>很轻松(<3)</td>
<td rowspan="2">能说话也能唱歌</td>
</tr>
<tr>
<td>较低</td>
<td>很轻松到轻松(3-4)</td>
</tr>
<tr>
<td>中等</td>
<td>轻松到有些吃力(5-6)</td>
<td>能说话不能唱歌</td>
</tr>
<tr>
<td>较大</td>
<td>有些吃力到很吃力(7-8)</td>
<td rowspan="2">不能说出完整句子</td>
</tr>
<tr>
<td>次最大到最大</td>
<td>很吃力(≥9)</td>
</tr>
</table>
</div>
<doc-icon type="close-circle" class="close-btn" @click="visible = false"/>
</van-overlay>
<!-- </van-popup> -->
</div>
</template>
<script>
export default {
data() {
return {
visible: false
}
}
}
</script>
<style lang="less" scoped>
.panel {
background-color: #fff;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
color: #262626;
max-height: 80%;
overflow-y: auto;
border-radius: 8px;
.title {
color: #000;
font-size: 14px;
// font-weight: 600;
text-align: center;
}
}
table {
border-collapse: collapse;
border-right: 1px solid #768092;
border-bottom: 1px solid #768092;
font-size: 12px;
text-align: center;
td, th{
border-left: 1px solid #768092;
border-top: 1px solid #768092;
padding: 8px 4px;
}
th {
font-weight: 600;
}
}
.close-btn {
position: absolute;
top: 24px;
right: 24px;
font-size: 24px;
}
</style>