Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yq-ui
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaopanyu
yq-ui
Commits
34b4614a
Commit
34b4614a
authored
Oct 29, 2024
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy
parent
c17fe362
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
src/assets/images/newsj.png
+0
-0
src/views/zyyq/index.vue
+23
-6
No files found.
src/assets/images/newsj.png
0 → 100644
View file @
34b4614a
1.4 KB
src/views/zyyq/index.vue
View file @
34b4614a
...
@@ -37,14 +37,19 @@
...
@@ -37,14 +37,19 @@
<div
v-for=
"outerItem3 in outerItem2.children2"
:key=
"outerItem3.mc"
>
<div
v-for=
"outerItem3 in outerItem2.children2"
:key=
"outerItem3.mc"
>
<el-menu-item
:index=
"outerItem3.name + '-' + outerItem3.mc"
<el-menu-item
:index=
"outerItem3.name + '-' + outerItem3.mc"
@
click
.
native=
"handleInnerClick(outerItem2.name, outerItem3.mc, outerItem3.id, outerItem3.remark, outerItem.cplx)"
@
click
.
native=
"handleInnerClick(outerItem2.name, outerItem3.mc, outerItem3.id, outerItem3.remark, outerItem.cplx)"
:class=
"{ 'menu-item-active': activeNameInner === outerItem3.name + '-' + outerItem3.mc }"
>
:class=
"{ 'menu-item-active': activeNameInner === outerItem3.name + '-' + outerItem3.mc }"
:style=
"{
display: 'block',
overflowWrap: 'break-word',
wordWrap: 'break-word',
whiteSpace: 'normal'
}"
>
<img
v-if=
"outerItem3.zx === '1'"
src=
"../../assets/images/new.png"
alt=
"new"
<img
v-if=
"outerItem3.zx === '1'"
src=
"../../assets/images/new.png"
alt=
"new"
style=
"width: 20px; height: 20px; margin-left: -20px; vertical-align: middle;"
/>
style=
"width: 20px; height: 20px; margin-left: -20px; vertical-align: middle;"
/>
<span
<span
:style=
"{ width: '6px', height: '6px', background: '#165BFF', borderRadius: '50%', display: 'inline-block', marginLeft: '6px' }"
></span>
:style=
"{ width: '6px', height: '6px', background: '#165BFF', borderRadius: '50%', display: 'inline-block', marginLeft: '6px' }"
></span>
<span
:style=
"{
<span
:style=
"{
fontFamily: 'PingFang SC',
fontFamily: 'PingFang SC',
fontWeight: '500',
fontWeight: '500',
fontSize: '15px',
fontSize: '15px',
...
@@ -53,7 +58,6 @@
...
@@ -53,7 +58,6 @@
textDecorationColor: activeNameInner === outerItem3.name + '-' + outerItem3.mc ? '#165BFF' : 'transparent',
textDecorationColor: activeNameInner === outerItem3.name + '-' + outerItem3.mc ? '#165BFF' : 'transparent',
textUnderlineOffset: activeNameInner === outerItem3.name + '-' + outerItem3.mc ? '8px' : '0',
textUnderlineOffset: activeNameInner === outerItem3.name + '-' + outerItem3.mc ? '8px' : '0',
}"
>
}"
>
{{ outerItem3.mc }}
<span
v-if=
"outerItem3.remark"
>
({{ outerItem3.remark }})
</span>
{{ outerItem3.mc }}
<span
v-if=
"outerItem3.remark"
>
({{ outerItem3.remark }})
</span>
</span>
</span>
...
@@ -406,11 +410,24 @@ export default {
...
@@ -406,11 +410,24 @@ export default {
/* 其他可能需要的样式 */
/* 其他可能需要的样式 */
}
}
::v-deep
.el-submenu
.el-menu-item
{
::v-deep
.el-submenu
.el-menu-item
{
height
:
39px
;
height
:
auto
;
line-height
:
50px
;
/* 默认高度 */
line-height
:
30px
;
padding
:
0
45px
;
padding
:
0
45px
;
min-width
:
200px
;
min-width
:
200px
;
margin
:
10px
0
;
}
@media
(
max-width
:
600px
)
{
/* 根据需要调整最大宽度 */
::v-deep
.el-submenu
.el-menu-item
{
height
:
auto
;
/* 换行时自动高度 */
margin
:
5px
0
;
/* 换行时间隔小一点 */
}
}
}
::v-deep
.el-submenu
.el-submenu__title
{
::v-deep
.el-submenu
.el-submenu__title
{
...
...
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