Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
zhaocaih5-wanda
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
95a5d81b
authored
Jul 03, 2019
by
mamingqun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cb
parent
dcd9ae05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
16 deletions
+37
-16
src/main.js
+2
-0
src/views/erjiye.vue
+27
-11
src/views/yjml.vue
+8
-5
No files found.
src/main.js
View file @
95a5d81b
...
@@ -5,6 +5,8 @@ import store from './store'
...
@@ -5,6 +5,8 @@ import store from './store'
import
'animate.css'
import
'animate.css'
import
'./assets/js/amfe-flexible'
import
'./assets/js/amfe-flexible'
import
Navigation
from
'vue-navigation'
import
Navigation
from
'vue-navigation'
import
$
from
'jquery'
;
window
.
jquery
=
window
.
$
=
$
;
Vue
.
use
(
Navigation
,
{
router
})
Vue
.
use
(
Navigation
,
{
router
})
...
...
src/views/erjiye.vue
View file @
95a5d81b
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<div
class=
"erjiye"
>
<div
class=
"erjiye"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"title"
></div>
<div
class=
"title"
></div>
<div
class=
"content-box
"
>
<div
id=
"content-box"
class=
"content-box"
ref=
"content
"
>
<ul>
<ul
id=
"1"
>
<li
class=
"main-title"
>
一、集团招采管理制度要点
</li>
<li
class=
"main-title"
>
一、集团招采管理制度要点
</li>
<li
class=
"sub-title"
>
第一节:总则
</li>
<li
class=
"sub-title"
>
第一节:总则
</li>
<li
class=
"sub-title"
>
第二节:供方管理
</li>
<li
class=
"sub-title"
>
第二节:供方管理
</li>
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<li
class=
"sub-title"
>
第五节:直接委托
</li>
<li
class=
"sub-title"
>
第五节:直接委托
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
</ul>
</ul>
<ul>
<ul
id=
"2"
>
<li
class=
"main-title"
>
二、招采常见问题百问百答
</li>
<li
class=
"main-title"
>
二、招采常见问题百问百答
</li>
<li
class=
"sub-title"
>
第一节:总则
</li>
<li
class=
"sub-title"
>
第一节:总则
</li>
<li
class=
"sub-title"
>
第二节:供方管理
</li>
<li
class=
"sub-title"
>
第二节:供方管理
</li>
...
@@ -22,8 +22,14 @@
...
@@ -22,8 +22,14 @@
<li
class=
"sub-title"
>
第四节:集中采购
</li>
<li
class=
"sub-title"
>
第四节:集中采购
</li>
<li
class=
"sub-title"
>
第五节:直接委托
</li>
<li
class=
"sub-title"
>
第五节:直接委托
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
<li
class=
"sub-title"
>
第六节:合同管理
</li>
</ul>
</ul>
<ul>
<ul
id=
"3"
>
<li
class=
"main-title"
>
三、线上线下招采服务指南
</li>
<li
class=
"main-title"
>
三、线上线下招采服务指南
</li>
</ul>
</ul>
</div>
</div>
...
@@ -36,7 +42,23 @@
...
@@ -36,7 +42,23 @@
<
script
>
<
script
>
export
default
{
export
default
{
mounted
()
{
this
.
watchMaodian
()
},
methods
:
{
methods
:
{
watchMaodian
()
{
$eventbus
.
$on
(
'maodian'
,
(
index
)
=>
{
console
.
log
(
'index'
)
console
.
log
(
index
)
this
.
$nextTick
(()
=>
{
var
height
=
$
(
'#'
+
index
).
position
().
top
-
65
;
$
(
'#content-box'
).
scrollTop
(
height
)
})
})
},
handleJump
()
{
handleJump
()
{
$eventbus
.
$emit
(
'jumpPage'
,
'xiangqing'
)
$eventbus
.
$emit
(
'jumpPage'
,
'xiangqing'
)
}
}
...
@@ -47,7 +69,7 @@ export default {
...
@@ -47,7 +69,7 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@r
:
75rem
;
@r
:
75rem
;
.zindex
{
.zindex
{
z-index
:
97
;
z-index
:
97
;
}
}
...
@@ -117,7 +139,6 @@ export default {
...
@@ -117,7 +139,6 @@ export default {
}
}
}
}
//
分割线
//
分割线
//
vue
动画样式
//
vue
动画样式
...
@@ -218,7 +239,6 @@ export default {
...
@@ -218,7 +239,6 @@ export default {
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.flip-animation-1
{
.flip-animation-1
{
animation
:
flipBook1
17s
;
animation
:
flipBook1
17s
;
}
}
...
@@ -229,8 +249,6 @@ export default {
...
@@ -229,8 +249,6 @@ export default {
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.flip-animation-2
{
.flip-animation-2
{
animation
:
flipBook2
13s
2s
;
animation
:
flipBook2
13s
2s
;
}
}
...
@@ -241,8 +259,6 @@ export default {
...
@@ -241,8 +259,6 @@ export default {
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.flip-animation-3
{
.flip-animation-3
{
animation
:
flipBook3
10s
3s
;
animation
:
flipBook3
10s
3s
;
}
}
...
...
src/views/yjml.vue
View file @
95a5d81b
<
template
>
<
template
>
<div
class=
"book-page-box book-page-1 preserve-3d zindex"
@
click=
"handleJump"
>
<div
class=
"book-page-box book-page-1 preserve-3d zindex"
>
<div
class=
"book-page page-front"
>
<div
class=
"book-page page-front"
>
<div
class=
"yjml"
>
<div
class=
"yjml"
>
<div
class=
"cuizi"
></div>
<div
class=
"cuizi"
></div>
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
<div
class=
"stars"
></div>
<div
class=
"stars"
></div>
</div>
</div>
<ul
class=
"list"
>
<ul
class=
"list"
>
<li
class=
"list-item1"
></li>
<li
class=
"list-item1"
@
click=
"handleJump(1)"
></li>
<li
class=
"list-item2"
></li>
<li
class=
"list-item2"
@
click=
"handleJump(2)"
></li>
<li
class=
"list-item3"
></li>
<li
class=
"list-item3"
@
click=
"handleJump(3)"
></li>
</ul>
</ul>
<div
class=
"button01 animated tada"
>
<div
class=
"button01 animated tada"
>
<div
class=
"num-box"
>
<div
class=
"num-box"
>
...
@@ -38,8 +38,11 @@ export default {
...
@@ -38,8 +38,11 @@ export default {
},
},
methods
:
{
methods
:
{
handleJump
()
{
handleJump
(
index
)
{
console
.
log
(
'一级目录的index'
);
console
.
log
(
index
);
$eventbus
.
$emit
(
'jumpPage'
,
'erjiye'
)
$eventbus
.
$emit
(
'jumpPage'
,
'erjiye'
)
$eventbus
.
$emit
(
'maodian'
,
index
)
}
}
},
},
components
:
{
components
:
{
...
...
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