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
8c40b33b
Commit
8c40b33b
authored
Jan 04, 2022
by
林家欣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/gs1-office-web-sit/gs1
parents
8e67aa1d
9db68f51
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
7 deletions
+33
-7
Standard.vue
src/views/Knowledge/Standard.vue
+11
-0
xts.vue
src/views/Knowledge/xts.vue
+11
-2
ECommerce.vue
src/views/News/ECommerce.vue
+5
-3
list.vue
src/views/News/comps/list.vue
+3
-1
list2.vue
src/views/News/comps/list2.vue
+2
-0
msg.vue
src/views/News/msg.vue
+1
-1
No files found.
src/views/Knowledge/Standard.vue
View file @
8c40b33b
...
...
@@ -16,6 +16,7 @@
<
script
>
import
Title
from
"../comps/title.vue"
;
import
pages
from
"../comps/pages2.vue"
;
import
{
mapState
,
mapMutations
}
from
"vuex"
;
export
default
{
components
:
{
Title
,
...
...
@@ -36,6 +37,9 @@ export default {
this
.
ycListFn
(
this
.
policyList
.
currPage
)
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 政策法规列表
async
ycListFn
(
page
,
limit
)
{
const
params
=
{
...
...
@@ -52,6 +56,13 @@ export default {
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"标准文献"
,
path
:
"/Knowledge/Standard"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
src/views/Knowledge/xts.vue
View file @
8c40b33b
...
...
@@ -16,6 +16,7 @@
<
script
>
import
Title
from
"../comps/title.vue"
;
import
pages
from
"../comps/pages2.vue"
;
import
{
mapState
,
mapMutations
}
from
"vuex"
;
export
default
{
components
:
{
Title
,
...
...
@@ -36,6 +37,9 @@ export default {
this
.
initListFn
(
this
.
tableResult
.
currPage
);
},
methods
:{
...
mapMutations
({
setMatche
:
"setMatche"
,
}),
// 小贴士
async
initListFn
(
page
,
limit
)
{
const
params
=
{
...
...
@@ -51,6 +55,13 @@ export default {
}
},
getInfo
(
id
,
directpath
){
const
matche
=
[
{
name
:
"小贴士"
,
path
:
"/Knowledge/xts"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
...
...
@@ -123,8 +134,6 @@ export default {
cursor
:
pointer
;
border-bottom
:
1px
dashed
#C5D8EE
;
font-size
:
14px
;
width
:
100%
;
:hover,:active{
color
:
#F26335
;
...
...
src/views/News/ECommerce.vue
View file @
8c40b33b
...
...
@@ -210,15 +210,17 @@ export default {
},
getInfo
(
id
,
directpath
){
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
const
matche
=
[
{
name
:
"食品安全追溯"
,
path
:
"/News/ECommerce"
,
}
];
this
.
setMatche
(
matche
);
if
(
directpath
&&
directpath
!==
''
&&
directpath
.
length
>
0
){
window
.
open
(
directpath
,
'_blank'
);
}
else
{
let
link
=
this
.
$router
.
resolve
({
path
:
`/News/msg?id=
${
id
}
`
,
});
...
...
src/views/News/comps/list.vue
View file @
8c40b33b
...
...
@@ -31,11 +31,13 @@ export default {
border-bottom
:
1px
dashed
#c5d8ee
;
padding
:
20px
0
;
margin
:
0
;
cursor
:
pointer
;
.list-left
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
@include
ellipsis;
cursor
:
pointer
;
span
{
display
:
inline-block
;
&:nth-child(1)
{
...
...
@@ -48,7 +50,7 @@ export default {
&
:nth-child
(
2
)
{
flex
:
1
;
@include
ellipsis;
cursor
:
pointer
;
}
}
}
...
...
src/views/News/comps/list2.vue
View file @
8c40b33b
...
...
@@ -27,12 +27,14 @@ export default {
justify-content
:
space-between
;
padding
:
10px
0
;
margin
:
0
;
cursor
:
pointer
;
>div
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
@include
ellipsis;
font-size
:
13px
;
span
{
display
:
inline-block
;
&:nth-child(1)
{
...
...
src/views/News/msg.vue
View file @
8c40b33b
...
...
@@ -353,7 +353,7 @@ export default {
justify-content
:
space-between
;
padding
:
10px
0
;
margin
:
0
;
cursor
:
pointer
;
>
div
{
flex
:
1
;
display
:
flex
;
...
...
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