Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
3b71b549
Commit
3b71b549
authored
Jun 06, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project9-8' into project9-8
parents
f09a43bd
7e705531
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
38 deletions
+34
-38
graphWatch.vue
src/views/template/graph/graphWatch.vue
+11
-12
planeGraph.vue
src/views/template/planeGraph.vue
+23
-26
No files found.
src/views/template/graph/graphWatch.vue
View file @
3b71b549
<
template
>
<div
style=
"height:
100
%;"
>
<div
style=
"height:
98
%;"
>
<div
class=
"super-flow-demo1"
>
<!-- 最外层,加滚轮监听函数 -->
...
...
@@ -8,12 +8,13 @@
<!-- superflow里面是个弹窗?就点一下出那个悬浮的东西 -->
<div
class=
"super-flow-content"
@
wheel=
"handleScroll"
>
<!-- @wheel="handleScroll" 阻止默认滚轮事件-->
<!-- 这下面删了个v-drag就不能拖动画布了 -->
<div
ref=
"flowContainer"
class=
"flow-container"
style=
"width: 1920px;height: 1080px"
id=
"popSuperBack"
>
<super-flow
...
...
@@ -943,7 +944,7 @@ export default {
/* 让宽度跟父元素(外面的大框相关) */
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
overflow
:
auto
;
background-color
:
#bbb
;
margin
:
10px
;
}
...
...
@@ -951,8 +952,6 @@ export default {
.flow-container
{
float
:
left
;
position
:
absolute
;
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
/* background: url("./R-C.jpg") no-repeat center / cover ; */
background
:
no-repeat
center
/
cover
;
...
...
src/views/template/planeGraph.vue
View file @
3b71b549
...
...
@@ -50,12 +50,13 @@
<!-- superflow里面是个弹窗?就点一下出那个悬浮的东西 -->
<div
class=
"super-flow-content"
@
wheel=
"handleScroll"
>
<!-- @wheel="handleScroll" 阻止默认滚轮事件-->
<!-- 这下面删了个v-drag就不能拖动画布了 -->
<div
ref=
"flowContainer"
class=
"flow-container"
style=
"width: 1920px;height: 1080px"
id=
"mainSuperBack"
>
<super-flow
...
...
@@ -986,7 +987,7 @@ export default {
<
style
>
<
style
scoped
lang=
"scss"
>
/* .shelf {
text-align: center;
width: 100%;
...
...
@@ -1019,13 +1020,12 @@ export default {
</
style
>
<
style
>
<
style
scoped
lang=
"scss"
>
/* 外侧盒子 */
.super-flow-demo1
{
position
:
relative
;
margin-top
:
20px
;
width
:
100%
;
height
:
80
0px
;
height
:
75
0px
;
background-color
:
#f5f5f5
;
}
.watchModeButton
{
...
...
@@ -1059,7 +1059,7 @@ export default {
/* 让宽度跟父元素(外面的大框相关) */
width
:
calc
(
100%
-
220px
);
height
:
100%
;
overflow
:
hidden
;
overflow
:
auto
;
background-color
:
#bbb
;
margin
:
10px
;
}
...
...
@@ -1067,9 +1067,6 @@ export default {
.flow-container
{
float
:
left
;
position
:
absolute
;
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
background-size
:
cover
;
/* 拉伸并填充整个div */
background-repeat
:
no-repeat
;
/* 不重复 */
/* background-image: url('https://pic35.photophoto.cn/20150511/0034034892281415_b.jpg'); */
...
...
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