Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5a6e1be1
authored
2023-04-04 14:08:05 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:导航切换
1 parent
4f63a148
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
src/components/EditDialog/index.vue
src/layout1/components/TagsView/index.vue
src/styles/sbPublic.scss
src/components/EditDialog/index.vue
View file @
5a6e1be
...
...
@@ -118,11 +118,11 @@
</div>
</div>
</div>
<div
class=
"d-center"
v-
if
=
"!$store.state.business.Edit && titleName == 'sjmx'"
>
<div
class=
"d-center"
v-
show
=
"!$store.state.business.Edit && titleName == 'sjmx'"
>
<btn
nativeType=
"cz"
@
click=
"dialogVisible = false"
>
取 消
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
保 存
</btn>
</div>
<div
class=
"d-center"
v-
if
=
"!$store.state.business.Edit && titleName == 'xml'"
>
<div
class=
"d-center"
v-
show
=
"!$store.state.business.Edit && titleName == 'xml'"
>
<btn
nativeType=
"cx"
@
click=
"handleResubmit"
>
重新上报
</btn>
</div>
</el-dialog>
...
...
src/layout1/components/TagsView/index.vue
View file @
5a6e1be
...
...
@@ -10,10 +10,9 @@
</router-link>
</scroll-pane>
<ul
v-show=
"visible"
:style=
"
{ left: left + 'px', top: top + 'px' }" class="contextmenu">
<li
@
click=
"refreshSelectedTag(selectedTag)"
>
Refresh
</li>
<li
v-if=
"!isAffix(selectedTag)"
@
click=
"closeSelectedTag(selectedTag)"
>
Close
</li>
<li
@
click=
"closeOthersTags"
>
Close Others
</li>
<li
@
click=
"closeAllTags(selectedTag)"
>
Close All
</li>
<li
v-if=
"!isAffix(selectedTag)"
@
click=
"closeSelectedTag(selectedTag)"
>
关闭
</li>
<li
@
click=
"closeOthersTags"
>
关闭其他
</li>
<li
@
click=
"closeAllTags(selectedTag)"
>
关闭全部
</li>
</ul>
</div>
</
template
>
...
...
@@ -165,7 +164,7 @@ export default {
},
openMenu
(
tag
,
e
)
{
const
menuMinWidth
=
105
const
offsetLeft
=
this
.
$el
.
getBoundingClientRect
().
left
// container margin left
const
offsetLeft
=
this
.
$el
.
getBoundingClientRect
().
left
-
210
// container margin left
const
offsetWidth
=
this
.
$el
.
offsetWidth
// container width
const
maxLeft
=
offsetWidth
-
menuMinWidth
// left boundary
const
left
=
e
.
clientX
-
offsetLeft
+
15
// 15: margin right
...
...
src/styles/sbPublic.scss
View file @
5a6e1be
...
...
@@ -320,7 +320,7 @@
// 响应结果
.xyjg
{
height
:
78
vh
;
height
:
80
vh
;
.result-con
{
height
:
49%
;
...
...
Please
register
or
sign in
to post a comment