Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
9380b987
Commit
9380b987
authored
Feb 28, 2025
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运动强度tip
parent
17e980ff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
1 deletion
+84
-1
Doctor.vue
src/doctor/Doctor.vue
+1
-1
MovementTip.vue
src/doctor/components/movementTip/MovementTip.vue
+83
-0
No files found.
src/doctor/Doctor.vue
View file @
9380b987
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
87476f6c-66a6-46cf-aa95-f4dd7c98567d
'
token
=
'
9eb16a0d-0bd6-4d38-835d-cc08e18e76d1
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/components/movementTip/MovementTip.vue
0 → 100644
View file @
9380b987
<
template
>
<div
class=
"movement-tip"
>
<!-- 运动强度说明 -->
<span
@
click=
"visible = !visible"
>
<slot>
<doc-icon
type=
"doc-info-circle"
/>
</slot>
</span>
<van-popup
v-model:show=
"visible"
closeable
>
<div
class=
"p-3 panel"
>
<div
class=
"title mb-2"
>
确定有氧运动强度的常用方法
</div>
<table>
<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>
</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;
.title {
color: #262626;
font-size: 16px;
font-weight: 600;
text-align: center;
}
}
table {
border-right: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
td, th{
border-left: 1px solid #f0f0f0;
border-top: 1px solid #f0f0f0;
padding: 8px 12px 8px 16px;
}
th {
background-color: #fafafa;
font-weight: 600;
text-align: left;
}
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment