Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewSite
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
Sergey Serov
NewSite
Commits
f290fbe1
Commit
f290fbe1
authored
Jul 15, 2019
by
Sergey Serov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Site
parent
fa7e66b7
Pipeline
#90
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
20 deletions
+46
-20
Main.vue
src/Main.vue
+34
-14
svgMain.vue
src/svgMain.vue
+12
-6
No files found.
src/Main.vue
View file @
f290fbe1
<
template
>
<div
id=
"app"
>
<!--
<nav
id=
"fp-nav"
>
<ul
id=
"testing"
>
<li><a>
&
nbsp
</a></li>
<li><a>
АО "АНЦ"
</a></li>
<li><a>
ПРИМЕРЫ РАБОТ
</a></li>
<li><a>
ЭОП-1
</a></li>
<li><a>
ЭОП-2
</a></li>
<li><a>
ПРИМЕР РАБОТЫ
</a></li>
<li><a>
ЭКСПЕРИМЕНТАЛЬНАЯ БАЗА
</a></li>
</ul>
</nav>
-->
<full-page
ref=
"fullpage"
:options=
"options"
id=
"fullpage"
>
<ol
class=
"carousel-indicators"
>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"0"
class=
"active"
></li>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"1"
></li>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"2"
></li>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"3"
></li>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"4"
></li>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"5"
></li>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"6"
></li>
<li
data-target=
"#carousel-example-generic1"
data-slide-to=
"7"
></li>
</ol>
<div
class=
"section"
>
<div>
<ololo
/>
<!-- sdfsdfsd -->
<ololo
:item=
"item"
@
move=
"move"
/>
</div>
</div>
...
...
@@ -336,11 +344,16 @@
font-weight: normal;
} */
ul
#testing
{
position
:
absolute
;
/* position: absolute; */
color
:
red
;
font-weight
:
800
;
font-size
:
3
0px
;
font-size
:
2
0px
;
z-index
:
50
;
height
:
30px
;
}
ul
#testing
li
{
min-width
:
201px
;
height
:
20px
;
}
#app
{
font-family
:
'Avenir'
,
Helvetica
,
Arial
,
sans-serif
;
...
...
@@ -689,9 +702,16 @@ export default {
return
{
options
:
{
/* navigation: true, */
menu
:
'#testing'
,
/* menu: '#testing', */
},
msg
:
'Main'
,
item
:
[],
}
},
methods
:{
move
:
function
(
section
){
/* alert(section); */
this
.
$refs
.
fullpage
.
api
.
moveTo
(
section
)
}
}
}
...
...
src/svgMain.vue
View file @
f290fbe1
...
...
@@ -60,7 +60,7 @@
<foreignObject
style=
"overflow:visible;"
pointer-events=
"all"
width=
"103"
height=
"12"
requiredFeatures=
"http://www.w3.org/TR/SVG11/feature#Extensibility"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display:inline-block;text-align:inherit;text-decoration:inherit;"
>
<text
color=
"#ffffff"
>
РАСПОЛОЖЕНИЕ
</text><br/>
<text
@
click=
"test(6)"
color=
"#ffffff"
>
РАСПОЛОЖЕНИЕ
</text><br/>
</div>
</div>
</foreignObject>
...
...
@@ -71,7 +71,7 @@
<foreignObject
style=
"overflow:visible;"
pointer-events=
"all"
width=
"37"
height=
"12"
requiredFeatures=
"http://www.w3.org/TR/SVG11/feature#Extensibility"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display:inline-block;text-align:inherit;text-decoration:inherit;"
>
<text
color=
"#ffffff"
>
ЭОП-2
</text><br
/>
<text
@
click=
"test(5)"
color=
"#ffffff"
>
ЭОП-2
</text><br
/>
</div>
</div>
</foreignObject>
...
...
@@ -82,7 +82,7 @@
<foreignObject
style=
"overflow:visible;"
pointer-events=
"all"
width=
"174"
height=
"12"
requiredFeatures=
"http://www.w3.org/TR/SVG11/feature#Extensibility"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display:inline-block;text-align:inherit;text-decoration:inherit;"
>
<text
class=
"TextExp"
>
ЭКСПЕРИМЕНТАЛЬНАЯ БАЗА
</text><br
/>
<text
@
click=
"test(7)"
class=
"TextExp"
>
ЭКСПЕРИМЕНТАЛЬНАЯ БАЗА
</text><br
/>
</div>
</div>
</foreignObject>
...
...
@@ -93,7 +93,7 @@
<foreignObject
style=
"overflow:visible;"
pointer-events=
"all"
width=
"105"
height=
"12"
requiredFeatures=
"http://www.w3.org/TR/SVG11/feature#Extensibility"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display:inline-block;text-align:inherit;text-decoration:inherit;"
>
<text
color=
"#ffffff"
>
ПРИМЕРЫ РАБОТ
</text><br
/>
<text
@
click=
"test(3)"
color=
"#ffffff"
>
ПРИМЕРЫ РАБОТ
</text><br
/>
</div>
</div>
</foreignObject>
...
...
@@ -104,7 +104,7 @@
<foreignObject
style=
"overflow:visible;"
pointer-events=
"all"
width=
"37"
height=
"12"
requiredFeatures=
"http://www.w3.org/TR/SVG11/feature#Extensibility"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display:inline-block;text-align:inherit;text-decoration:inherit;"
>
<text
color=
"#ffffff"
>
ЭОП-1
</text><br
/>
<text
@
click=
"test(4)"
color=
"#ffffff"
>
ЭОП-1
</text><br
/>
</div>
</div>
</foreignObject>
...
...
@@ -115,7 +115,7 @@
<foreignObject
style=
"overflow:visible;"
pointer-events=
"all"
width=
"54"
height=
"12"
requiredFeatures=
"http://www.w3.org/TR/SVG11/feature#Extensibility"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap;"
>
<div
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"display:inline-block;text-align:inherit;text-decoration:inherit;"
>
<text
color=
"#ffffff"
>
АО "АНЦ"
</text><br
/>
<text
@
click=
"test(2)"
color=
"#ffffff"
>
АО "АНЦ"
</text><br
/>
</div>
</div>
</foreignObject>
...
...
@@ -134,6 +134,12 @@ export default {
return
{
msg
:
'Product'
,
}
},
methods
:{
test
:
function
(
section
){
// alert(section);
this
.
$emit
(
'move'
,
section
)
}
}
}
</
script
>
...
...
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