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
65827e46
Commit
65827e46
authored
Jan 07, 2025
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
诊断详情
parent
01dd7a6c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
4 deletions
+55
-4
Doctor.vue
src/doctor/Doctor.vue
+36
-0
DocImage.vue
src/doctor/components/docImageUpload/DocImage.vue
+3
-2
imagePreview.vue
src/doctor/components/imagePreview/imagePreview.vue
+16
-2
DiagnoseDtail.vue
src/doctor/diagnose/detail/DiagnoseDtail.vue
+0
-0
No files found.
src/doctor/Doctor.vue
View file @
65827e46
...
@@ -263,4 +263,40 @@ export default {
...
@@ -263,4 +263,40 @@ export default {
flex-grow: 1;
flex-grow: 1;
}
}
}
}
// 折叠面板
.doc-collapse {
margin-top: .1rem;
&::after {
display: none;
}
.van-cell {
padding: .1rem 0;
color: #8C8C8C;
font-weight: 600;
background: transparent;
&::after {
display: none;
}
.svg-icon {
font-size: .12rem;
transition: all .2s;
}
}
.van-collapse-item {
.van-collapse-item__content {
padding: 0;
color: #262626;
}
&::after {
display: none;
}
}
// 展开
.van-collapse-item__title--expanded {
.svg-icon {
transform: rotate(-180deg);
}
}
}
</
style
>
</
style
>
src/doctor/components/docImageUpload/DocImage.vue
View file @
65827e46
...
@@ -105,8 +105,9 @@ export default {
...
@@ -105,8 +105,9 @@ export default {
width: 100%;
width: 100%;
height: 100%;
height: 100%;
min-height: 90px;
min-height: 90px;
border: 1px dashed #d9d9d9;
// border: 1px dashed #d9d9d9;
background: #fafafa;
// background: #fafafa;
background: #EFF2F7;
img {
img {
width: 100%;
width: 100%;
height: 90px;
height: 90px;
...
...
src/doctor/components/imagePreview/imagePreview.vue
View file @
65827e46
<
template
>
<
template
>
<div>
<div>
<div
class=
'list gap-x-2.5 gap-y-1 flex items-center flex-wrap'
>
<div
class=
'list gap-x-2.5 gap-y-1 flex items-center flex-wrap'
>
<div
v-for=
"(url, index) in imgList"
:key=
"index"
@
click=
'toPreview(index)'
>
<div
v-for=
"(url, index) in imgList"
:key=
"index"
@
click=
'toPreview(index)'
<img
style=
'width: 1.47rem;height: 2.04rem'
:src=
"url.trueDownloadUrl"
/>
class=
"flex gap-x-2.5"
>
<!--
<img
:style=
"
{width: imgSize.width, height: imgSize.height}" :src="url.trueDownloadUrl" /> -->
<DocImage
:style=
"
{width: imgSize.width, height: imgSize.height}" :src="url.trueDownloadUrl"/>
</div>
</div>
</div>
</div>
<van-overlay
:show=
'imgShow'
@
click=
'imgShow = false'
>
<van-overlay
:show=
'imgShow'
@
click=
'imgShow = false'
>
...
@@ -18,10 +20,22 @@
...
@@ -18,10 +20,22 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
DocImage
from
'../docImageUpload/DocImage.vue'
export
default
{
export
default
{
name
:
'imagePreview'
,
name
:
'imagePreview'
,
components
:
{
DocImage
},
props
:
{
props
:
{
imgList
:
Array
,
imgList
:
Array
,
imgSize
:
{
default
:
()
=>
{
return
{
width
:
'.97rem'
,
height
:
'.97rem'
}
}}
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/doctor/diagnose/detail/DiagnoseDtail.vue
View file @
65827e46
This diff is collapsed.
Click to expand it.
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