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
d4641233
Commit
d4641233
authored
Nov 30, 2021
by
Tang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
8c183517
0f8027f1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
125 additions
and
42 deletions
+125
-42
topBanner.vue
src/components/layout/topBanner.vue
+1
-1
main.js
src/main.js
+1
-1
Fap.vue
src/views/Business/Fap.vue
+2
-0
Notice.vue
src/views/Business/Notice.vue
+2
-0
list.vue
src/views/Business/copms/list.vue
+2
-0
table.vue
src/views/Business/copms/table.vue
+1
-0
list.vue
src/views/Home/comps/list.vue
+15
-5
index.vue
src/views/Home/index.vue
+98
-33
cate.vue
src/views/comps/cate.vue
+3
-2
No files found.
src/components/layout/topBanner.vue
View file @
d4641233
...
...
@@ -2,7 +2,6 @@
<div
class=
"container d-none d-xl-block d-lg-block"
>
<div
class=
"top-banner"
>
<div>
全球商业语言
</div>
<div
class=
"top-banner-item tb-hover"
>
咨询电话:400-7000-690
</div>
<div
class=
"top-banner-item language"
>
<el-dropdown
class=
"language-dropdown"
>
<span
class=
"el-dropdown-link"
>
...
...
@@ -14,6 +13,7 @@
</el-dropdown-menu>
</el-dropdown>
</div>
<div
class=
"top-banner-item tb-hover"
>
咨询电话:400-7000-690
</div>
<div
class=
"top-banner-item"
>
<img
src=
"../../assets/image/head/wx.png"
alt=
""
/>
<a
class=
"tb-hover"
target=
"_blank"
href=
"/gs1cnweixin"
>
官方微信
</a>
...
...
src/main.js
View file @
d4641233
...
...
@@ -10,7 +10,7 @@ import "./assets/css/layout.scss";
import
"bootstrap/dist/js/bootstrap.min.js"
;
import
"./plugins/element.js"
;
import
"./plugins/qrcode.js"
;
//
import "./assets/css/element-variables.scss";
import
"./assets/css/element-variables.scss"
;
import
GsTable
from
'./components/table/index'
// 百度地图
...
...
src/views/Business/Fap.vue
View file @
d4641233
...
...
@@ -192,10 +192,12 @@ export default {
.nav-link
{
border
:
0
;
color
:
#454545
;
font-size
:
15px
;
&.active,
&:hover
{
border-bottom
:
3px
solid
#f26335
;
color
:
#04408d
;
font-weight
:
bold
;
}
}
}
...
...
src/views/Business/Notice.vue
View file @
d4641233
...
...
@@ -119,10 +119,12 @@ export default {
.nav-link
{
border
:
0
;
color
:
#454545
;
font-size
:
15px
;
&.active,
&:hover
{
border-bottom
:
3px
solid
#f26335
;
color
:
#04408d
;
font-weight
:
bold
;
}
}
}
...
...
src/views/Business/copms/list.vue
View file @
d4641233
...
...
@@ -24,6 +24,8 @@ export default {
border-bottom
:
1px
dashed
#c5d8ee
;
padding
:
20px
0
;
margin
:
0
;
font-size
:
14px
;
color
:
#454545
;
.list-left
{
flex
:
1
;
display
:
flex
;
...
...
src/views/Business/copms/table.vue
View file @
d4641233
...
...
@@ -46,6 +46,7 @@ export default {
padding
:
20px
0
;
margin
:
0
;
border-bottom
:
1px
solid
#E9E9E9
;
font-size
:
13px
;
}
}
}
...
...
src/views/Home/comps/list.vue
View file @
d4641233
<
template
>
<div
class=
"list"
>
<div
v-for=
"(tmp, i) in list"
:key=
"i"
class=
"row"
@
click=
"handelMsg"
>
<div
class=
"col-lg-
8
list-left"
>
<div
class=
"col-lg-
10
list-left"
>
<span></span>
<span>
{{
tmp
.
title
}}
</span>
</div>
<div
class=
"col-lg-
4
list-right"
>
{{
tmp
.
time
}}
</div>
<div
class=
"col-lg-
2
list-right"
>
{{
tmp
.
time
}}
</div>
</div>
<div
class=
"row"
>
<div
class=
"col"
>
...
...
@@ -36,7 +36,7 @@ export default {
.row
{
display
:
flex
;
justify-content
:
space-between
;
padding
:
8
px
0
;
padding
:
11
px
0
;
margin
:
0
;
cursor
:
pointer
;
.list-left
{
...
...
@@ -72,17 +72,27 @@ export default {
height
:
35px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
cursor
:
pointer
;
background
:
#F26335
;
border-radius
:
4px
;
position
:
relative
;
&:hover{
background
:
#A82C04
;
img{
right
:
14px
;
}
}
span
{
color
:
#fff
;
font-size
:
14px
;
margin-left
:
20px
;
//
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
}
img
{
margin-left
:
10px
;
position
:
absolute
;
right
:
20px
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
...
...
src/views/Home/index.vue
View file @
d4641233
...
...
@@ -7,19 +7,19 @@
<div
class=
"banner-item"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-lg-
8
carousel-caption-left"
>
<div
class=
"col-lg-
7
carousel-caption-left"
>
<div
class=
"carousel-title"
>
{{
el
.
title
}}
</div>
<p
class=
"carousel-note"
>
{{
el
.
brief
}}
</p>
<button
class=
"carousel-btn"
@
click=
"learnMore(i)"
>
了解更多
<img
<span>
了解更多
</span>
<img
src=
"../../assets/image/home/more-arrow.png"
alt=
""
/>
</button>
</div>
<div
class=
"col-
4
carousel-caption-right d-lg-block"
>
<div
class=
"col-
5
carousel-caption-right d-lg-block"
>
<img
:src=
"el.picIndexPath"
alt=
""
/>
</div>
</div>
...
...
@@ -29,7 +29,6 @@
<template
#
prevArrow
>
<div
class=
"custom-arrow"
></div>
</
template
>
<
template
#
customPaging
>
<div
class=
"custom-dot"
></div>
</
template
>
...
...
@@ -39,7 +38,7 @@
</VueSlickCarousel>
</div>
<!-- 要闻、中心、地方、国际 -->
<div
class=
"bgWhite
padding40
"
>
<div
class=
"bgWhite
ywzxdfgj
"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-lg-6"
>
...
...
@@ -360,10 +359,10 @@
</div>
</div>
<div
class=
"spqqsfz-cont row"
>
<div
class=
"spqqsfz-cont-left col-lg-
3
"
>
<
img
:src=
"spqqsfz.surl"
alt=
""
/
>
<div
class=
"spqqsfz-cont-left col-lg-
2
"
>
<
div
class=
"spqqsfz-cont-left-tp"
><img
:src=
"spqqsfz.surl"
alt=
""
/></div
>
</div>
<div
class=
"spqqsfz-cont-right col-lg-
9
"
>
<div
class=
"spqqsfz-cont-right col-lg-
10
"
>
<!-- <img src="../../assets/image/home/spqqsfz-bj2.png" alt="" /> -->
<div
class=
"right-cont"
>
<div
class=
"row"
>
...
...
@@ -383,7 +382,7 @@
<div
class=
"row"
>
<div
class=
"col offset-2 offset-lg-3"
>
<button
class=
"spqqsfz-btn"
@
click=
"spqqsfzHandelClick"
>
更多商品信息
<img
<span>
更多商品信息
</span>
<img
src=
"../../assets/image/home/more-arrow.png"
alt=
""
/>
...
...
@@ -1009,12 +1008,14 @@ export default {
},
// 商品全球身份证
async
homeNewGtin
()
{
console
.
log
(
process
.
env
,
'process.env'
);
this
.
$http
.
get
(
`
${
process
.
env
.
VUE_APP_GDS_URL
}
/Data/NewGtin`
).
then
((
res
)
=>
{
res
.
body
.
murl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
murl
}
`
;
res
.
body
.
surl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
surl
}
`
;
this
.
spqqsfz
=
res
.
body
;
});
console
.
log
(
process
.
env
,
"process.env"
);
this
.
$http
.
get
(
`
${
process
.
env
.
VUE_APP_GDS_URL
}
/Data/NewGtin`
)
.
then
((
res
)
=>
{
res
.
body
.
murl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
murl
}
`
;
res
.
body
.
surl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
surl
}
`
;
this
.
spqqsfz
=
res
.
body
;
});
},
// 党建文化新闻列表
async
homeGet4PartyTopNews
()
{
...
...
@@ -1208,12 +1209,18 @@ export default {
.slick-arrow
{
margin
:
0
10px
;
&.slick-prev
{
top
:
auto
;
bottom
:
25px
;
transform
:
translate
(
0
,
0
);
&::before
{
width
:
10px
;
height
:
18px
;
}
}
&
.slick-next
{
top
:
auto
;
bottom
:
25px
;
transform
:
translate
(
0
,
0
);
&::before
{
width
:
10px
;
height
:
18px
;
...
...
@@ -1222,9 +1229,13 @@ export default {
}
.slick-dots
{
bottom
:
25px
!important
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
height
:
20px
;
li
{
width
:
8
px
;
height
:
8
px
;
width
:
10
px
;
height
:
10
px
;
&.slick-active
{
.custom-dot
{
background
:
#ffffff
;
...
...
@@ -1272,6 +1283,8 @@ export default {
}
.smallImages
{
.slick-arrow
{
width
:
24px
;
height
:
50px
;
margin
:
0
10px
;
&.slick-prev
{
&::before
{
...
...
@@ -1291,9 +1304,20 @@ export default {
@media
screen
and
(
min-width
:
992px
)
{
.banner
{
.carousel-title
{
font-size
:
50
px
;
font-size
:
36
px
;
line-height
:
60px
;
}
.slick-arrow
{
&.slick-prev
{
left
:
44%
;
}
&
.slick-next
{
right
:
44%
;
}
}
}
.ywzxdfgj
{
padding
:
30px
0
;
}
.dzfwDialog-width
{
width
:
980px
;
...
...
@@ -1304,16 +1328,22 @@ export default {
width
:
auto
;
}
.newsBanner
{
height
:
450px
!important
;
width
:
90.5%
;
height
:
431px
!important
;
}
.home-bottom-cont
{
>
div
{
width
:
24.4%
;
}
}
.spqqsfz-cont-left
{
.spqqsfz-cont-left-tp{
position
:
absolute
;
}
}
}
@media
screen
and
(
max-width
:
992px
)
{
.banner
{
.banner
{
.carousel-title
{
font-size
:
25px
;
line-height
:
30px
;
...
...
@@ -1344,9 +1374,9 @@ export default {
.banner
{
height
:
420px
;
position
:
relative
;
background
:
#f26335
;
.banner-item
{
height
:
100%
;
background
:
#f26335
;
.container,
.row
{
height
:
100%
;
...
...
@@ -1369,20 +1399,32 @@ export default {
height
:
37px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
background
:
#0e2c6b
;
border-radius
:
4px
;
font-size
:
16px
;
color
:
#ffffff
;
position
:
relative
;
span{
margin-left
:
18px
;
}
&
:hover
{
background
:
#061A4D
;
img{
right
:
10px
;
}
}
img
{
margin-left
:
10px
;
position
:
absolute
;
right
:
15px
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
.carousel-caption-right
{
display
:
none
;
img
{
//
width
:
100%
;
width
:
100%
;
height
:
100%
;
}
}
...
...
@@ -1431,6 +1473,7 @@ export default {
display
:
flex
;
align-items
:
center
;
flex
:
1
;
justify-content
:
center
;
}
}
}
...
...
@@ -1552,8 +1595,12 @@ export default {
text-align
:
center
;
}
.ywdt-tp
{
margin-bottom
:
20
px
;
margin-bottom
:
14
px
;
cursor
:
pointer
;
height
:
38px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.ywdt-bt
{
color
:
#0e2c6b
;
...
...
@@ -1599,17 +1646,23 @@ export default {
.dzfw-border
{
text-align
:
center
;
//
padding
:
25px
0
;
height
:
13
3
px
;
height
:
13
4.8
px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
border-top
:
1px
solid
#f0f5fa
;
}
.dzfw-tp
{
height
:
40px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.dzfw-bt
{
width
:
1
0
0px
;
font-size
:
1
2
px
;
width
:
1
2
0px
;
font-size
:
1
4
px
;
margin
:
0
auto
;
margin-top
:
20
px
;
margin-top
:
14
px
;
//
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
600
;
color
:
#0e2c6b
;
...
...
@@ -1691,7 +1744,7 @@ export default {
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100
%
;
width
:
95.4
%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -1724,13 +1777,25 @@ export default {
height
:
41px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
background
:
#061a4d
;
background
:
#0E2C6B
;
border-radius
:
4px
;
color
:
#fff
;
font-size
:
18px
;
position
:
relative
;
span{
margin-left
:
18px
;
}
&
:hover
{
background
:
#061a4d
;
img{
right
:
10px
;
}
}
img
{
margin-left
:
10px
;
position
:
absolute
;
right
:
14px
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
...
...
src/views/comps/cate.vue
View file @
d4641233
...
...
@@ -17,10 +17,11 @@ export default {
</
script
>
<
style
lang=
"scss"
>
.zxcxgj-cate
{
font-size
:
1
6
px
;
color
:
#
04408d
;
font-size
:
1
8
px
;
color
:
#
454545
;
border-bottom
:
1px
solid
#c5d8ee
;
padding
:
14px
0
;
font-weight
:
bold
;
>div
{
display
:
flex
;
align-items
:
center
;
...
...
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