Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
c40df54d
Commit
c40df54d
authored
Dec 25, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页质检中心列表跳转定位
parent
8f0f2410
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
9 deletions
+55
-9
Guide1.vue
src/views/Business/Guide1.vue
+1
-0
other-list.vue
src/views/Home/comps/other-list.vue
+9
-5
index.vue
src/views/Home/index.vue
+39
-0
Sites.vue
src/views/Org/Sites.vue
+0
-0
title.vue
src/views/comps/title.vue
+6
-4
No files found.
src/views/Business/Guide1.vue
View file @
c40df54d
...
@@ -163,6 +163,7 @@ export default {
...
@@ -163,6 +163,7 @@ export default {
handler
(
val
)
{
handler
(
val
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
Object
.
keys
(
this
.
$refs
).
forEach
((
key
)
=>
{
Object
.
keys
(
this
.
$refs
).
forEach
((
key
)
=>
{
console
.
log
(
this
.
$refs
[
key
],
"this.$refs"
);
this
.
$refs
[
key
].
setAttribute
(
"class"
,
"msg-title"
);
this
.
$refs
[
key
].
setAttribute
(
"class"
,
"msg-title"
);
});
});
const
top
=
this
.
$refs
[
val
.
query
.
id
].
offsetTop
;
const
top
=
this
.
$refs
[
val
.
query
.
id
].
offsetTop
;
...
...
src/views/Home/comps/other-list.vue
View file @
c40df54d
...
@@ -3,20 +3,24 @@
...
@@ -3,20 +3,24 @@
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg(tmp)"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg(tmp)"
>
<div
class=
"col li"
>
<div
class=
"col li"
>
<span></span>
<span></span>
<span
:title=
"tmp.name"
>
{{
tmp
.
name
}}
</span>
<span
:title=
"tmp.name"
>
{{
tmp
.
name
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'list'
],
props
:
[
"list"
],
methods
:
{
methods
:
{
handelMsg
(
obj
)
{
handelMsg
(
obj
)
{
window
.
open
(
obj
.
url
,
'_blank'
);
let
routeData
=
this
.
$router
.
resolve
({
path
:
obj
.
url
,
query
:
obj
.
query
,
});
window
.
open
(
routeData
.
href
,
"_blank"
);
},
},
},
},
}
}
;
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.list
{
.list
{
...
@@ -33,7 +37,7 @@ export default {
...
@@ -33,7 +37,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#7
E8EA
9
;
color
:
#7
e8ea
9
;
@include
ellipsis;
@include
ellipsis;
span
{
span
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/views/Home/index.vue
View file @
c40df54d
...
@@ -923,54 +923,93 @@ export default {
...
@@ -923,54 +923,93 @@ export default {
{
{
name
:
"国家射频识别产品质量检验检测中心"
,
name
:
"国家射频识别产品质量检验检测中心"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-1'
}
},
},
{
{
name
:
"国家条码质量检验检测中心"
,
name
:
"国家条码质量检验检测中心"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-2'
}
},
},
{
{
name
:
"中国自动识别技术协会"
,
name
:
"中国自动识别技术协会"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-3'
}
},
},
{
{
name
:
"中国条码技术与应用协会"
,
name
:
"中国条码技术与应用协会"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-4'
}
},
},
{
{
name
:
"《中国自动识别技术》杂志社电子版"
,
name
:
"《中国自动识别技术》杂志社电子版"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-5'
}
},
},
{
{
name
:
"中国ECR委员会"
,
name
:
"中国ECR委员会"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-6'
}
},
},
{
{
name
:
"全国物品编码标准化技术委员会"
,
name
:
"全国物品编码标准化技术委员会"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-7'
}
},
},
{
{
name
:
"全国物流信息管理标准化技术委员会"
,
name
:
"全国物流信息管理标准化技术委员会"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-8'
}
},
},
{
{
name
:
"全国自动识别与数据采集分委员会"
,
name
:
"全国自动识别与数据采集分委员会"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-9'
}
},
},
{
{
name
:
"物联网标识工作组"
,
name
:
"物联网标识工作组"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-10'
}
},
},
{
{
name
:
"全球产品电子代码中国管理中心"
,
name
:
"全球产品电子代码中国管理中心"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-11'
}
},
},
{
{
name
:
"中国UNSPSC动态维护管理中心"
,
name
:
"中国UNSPSC动态维护管理中心"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-12'
}
},
},
{
{
name
:
"北京东方捷码科技开发中心"
,
name
:
"北京东方捷码科技开发中心"
,
url
:
'/Org/Sites'
,
url
:
'/Org/Sites'
,
query
:
{
id
:
'1-13'
}
},
},
],
],
},
},
...
...
src/views/Org/Sites.vue
View file @
c40df54d
This diff is collapsed.
Click to expand it.
src/views/comps/title.vue
View file @
c40df54d
<
template
>
<
template
>
<div
class=
"zxcxgj-title"
>
<div
class=
"zxcxgj-title"
><span></span>
{{
father
.
name
}}
</div>
<span></span>
{{
father
.
name
}}
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
...
@@ -11,7 +9,7 @@ export default {
...
@@ -11,7 +9,7 @@ export default {
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.zxcxgj-title
{
.zxcxgj-title
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#0
4408
d
;
color
:
#0
08db
d
;
border-bottom
:
1px
solid
#c5d8ee
;
border-bottom
:
1px
solid
#c5d8ee
;
padding
:
14px
0
;
padding
:
14px
0
;
display
:
flex
;
display
:
flex
;
...
@@ -25,5 +23,8 @@ export default {
...
@@ -25,5 +23,8 @@ export default {
border-radius
:
50%
;
border-radius
:
50%
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
&
.actived
{
color
:
#04408d
;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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