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
1f8ce75f
Commit
1f8ce75f
authored
Nov 08, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页样式调试修改
parent
f7dd0be5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
117 additions
and
40 deletions
+117
-40
nextArrow-hover1.png
src/assets/image/home/nextArrow-hover1.png
+0
-0
prevArrow-hover1.png
src/assets/image/home/prevArrow-hover1.png
+0
-0
index.vue
src/views/Home/index.vue
+110
-38
msg.vue
src/views/News/msg.vue
+1
-1
msgVideo.vue
src/views/News/msgVideo.vue
+1
-1
external.vue
src/views/Search/external.vue
+5
-0
No files found.
src/assets/image/home/nextArrow-hover1.png
0 → 100644
View file @
1f8ce75f
14.9 KB
src/assets/image/home/prevArrow-hover1.png
0 → 100644
View file @
1f8ce75f
403 Bytes
src/views/Home/index.vue
View file @
1f8ce75f
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--
<div
class=
"d-none d-lg-block banner-tp"
>
--
>
<!--
<div
class=
"d-none d-lg-block banner-tp"
>
<!--
<img
:src=
"el.picIndexPath"
alt=
""
class=
"container"
/>
--
>
<img
:src=
"el.picIndexPath"
alt=
""
class=
"container"
/
>
<!--
</div>
-->
</div>
-->
<div
class=
"banner-bg"
>
<div
class=
"banner-bg"
>
<img
:src=
"el.picIndexPath"
alt=
""
/>
<img
:src=
"el.picIndexPath"
alt=
""
/>
</div>
</div>
...
@@ -235,6 +235,11 @@
...
@@ -235,6 +235,11 @@
<span>
产品信息
</span>
<span>
产品信息
</span>
</button>
</button>
</li>
</li>
<li
class=
"nav-item col-lg-2"
role=
"presentation"
>
<button
class=
"nav-link"
href=
"#external-tab"
data-toggle=
"pill"
>
<span>
境外条码查询
</span>
</button>
</li>
</ul>
</ul>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-pane fade show active"
id=
"home-tab"
>
<div
class=
"tab-pane fade show active"
id=
"home-tab"
>
...
@@ -302,6 +307,31 @@
...
@@ -302,6 +307,31 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"tab-pane fade"
id=
"external-tab"
>
<div
class=
"chaxun"
>
<div
class=
"chaxun-kj"
>
<div
class=
"row"
>
<div
class=
"col-lg-9 chaxun-middle"
>
<el-input
placeholder=
"请输入正确的境外商品条码"
v-model=
"chaxun2.keywords"
clearable
>
</el-input>
</div>
<div
class=
"col-lg-3 chaxun-right"
>
<button
@
click=
"
tojwSearch(chaxun2.keywords)
"
>
境外条码查询
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -380,7 +410,7 @@
...
@@ -380,7 +410,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
-->
</div>
<!-- 商品全球身份证 -->
<!-- 商品全球身份证 -->
<div
class=
"spqqsfz"
>
<div
class=
"spqqsfz"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -425,6 +455,7 @@
...
@@ -425,6 +455,7 @@
</button>
</button>
</div>
</div>
</div>
</div>
<div
class=
"row"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -693,6 +724,9 @@ export default {
...
@@ -693,6 +724,9 @@ export default {
options2
:
[],
options2
:
[],
keywords
:
""
,
keywords
:
""
,
},
},
chaxun2
:{
keywords
:
""
,
},
whbsxtcy
:
[
whbsxtcy
:
[
{
{
ico
:
require
(
"../../assets/image/home/wbsxtcy-ico1.png"
),
ico
:
require
(
"../../assets/image/home/wbsxtcy-ico1.png"
),
...
@@ -1099,6 +1133,14 @@ export default {
...
@@ -1099,6 +1133,14 @@ export default {
},
},
});
});
},
},
tojwSearch
(
keyword
)
{
this
.
$router
.
push
({
path
:
"/search/external"
,
query
:
{
keyword
,
},
});
},
getCustomService
()
{
getCustomService
()
{
let
service
=
localStorage
.
getItem
(
"gs-custom-service"
)
||
""
;
let
service
=
localStorage
.
getItem
(
"gs-custom-service"
)
||
""
;
// console.log("getCustomService-----------", service);
// console.log("getCustomService-----------", service);
...
@@ -1552,31 +1594,49 @@ export default {
...
@@ -1552,31 +1594,49 @@ export default {
.banner
{
.banner
{
.slick-arrow
{
.slick-arrow
{
margin
:
0
10px
;
//
margin
:
0
10px
;
width
:
48px
;
height
:
48px
;
border-radius
:
50%
;
background
:
#fff
;
&:hover{
border
:
1.5px
solid
#0E2C6B
;
box-shadow
:
0px
3px
6px
0px
rgba
(
14
,
44
,
107
,
0.21
);
}
&
.slick-prev
{
&
.slick-prev
{
justify-content
:
center
;
top
:
auto
;
top
:
auto
;
bottom
:
25
px
;
bottom
:
31
px
;
transform
:
translate
(
0
,
0
);
transform
:
translate
(
0
,
0
);
//
left
:
76%
!important
;
left
:
auto
!important
;
right
:
22%
!important
;
&::before
{
&::before
{
width
:
10
px
;
width
:
24
px
;
height
:
18
px
;
height
:
24
px
;
background
:
url("../../assets/image/home/prevArrow-hover.png")
background
:
url("../../assets/image/home/prevArrow-hover
1
.png")
no-repeat
;
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
}
}
&
.slick-next
{
&
.slick-next
{
justify-content
:
center
;
top
:
auto
;
top
:
auto
;
bottom
:
25px
;
bottom
:
25px
;
transform
:
translate
(
0
,
0
);
transform
:
translate
(
0
,
0
);
right
:
17.1%
!important
;
@media
screen
and
(
max-width
:
1200px
)
{
right
:
15%
!important
;
}
@media
screen
and
(
max-width
:
920px
)
{
right
:
10%
!important
;
}
&
::before
{
&
::before
{
width
:
10
px
;
width
:
24
px
;
height
:
18
px
;
height
:
24
px
;
background
:
url("../../assets/image/home/nextArrow-hover.png")
background
:
url("../../assets/image/home/nextArrow-hover
1
.png")
no-repeat
;
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
...
@@ -1584,6 +1644,7 @@ export default {
...
@@ -1584,6 +1644,7 @@ export default {
}
}
.slick-dots
{
.slick-dots
{
display
:
none
!important
;
bottom
:
25px
!important
;
bottom
:
25px
!important
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -1655,22 +1716,31 @@ export default {
...
@@ -1655,22 +1716,31 @@ export default {
}
}
.newsBannerB
{
.newsBannerB
{
background
:
linear-gradient
(
180deg
,
rgba
(
0
,
0
,
0
,
0.01
)
0%
,
#000000
100%
);
//
background
:
linear-gradient
(
180deg
,
rgba
(
0
,
0
,
0
,
0.01
)
0%
,
#000000
100%
);
background
:
linear-gradient
(
180deg
,
rgba
(
0
,
0
,
0
,
0.01
)
0%
,
#000000
100%
);
}
}
}
}
.smallPCImages
{
.smallPCImages
{
.slick-arrow
{
.slick-arrow
{
width
:
2
4
px
;
width
:
2
8
px
;
height
:
50
px
;
height
:
28
px
;
margin
:
0
10px
;
margin
:
0
10px
;
background
:
#fff
;
border-radius
:
50%
;
justify-content
:
center
;
&:hover{
border
:
1.5px
solid
#0E2C6B
;
box-shadow
:
0px
3px
6px
0px
rgba
(
14
,
44
,
107
,
0.21
);
}
&
.slick-prev
{
&
.slick-prev
{
//
position
:
relative
;
//
position
:
relative
;
&::before
{
&::before
{
width
:
24
px
;
width
:
16
px
;
height
:
50
px
;
height
:
16
px
;
background
:
url("../../assets/image/home/prevArrow-hover
2
.png")
background
:
url("../../assets/image/home/prevArrow-hover
1
.png")
no-repeat
;
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
...
@@ -1679,9 +1749,9 @@ export default {
...
@@ -1679,9 +1749,9 @@ export default {
&
.slick-next
{
&
.slick-next
{
//
position
:
relative
;
//
position
:
relative
;
&::before
{
&::before
{
width
:
24
px
;
width
:
16
px
;
height
:
50
px
;
height
:
16
px
;
background
:
url("../../assets/image/home/nextArrow-hover
2
.png")
background
:
url("../../assets/image/home/nextArrow-hover
1
.png")
no-repeat
;
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
...
@@ -1747,11 +1817,11 @@ export default {
...
@@ -1747,11 +1817,11 @@ export default {
.slick-arrow
{
.slick-arrow
{
&.slick-prev
{
&.slick-prev
{
left
:
38
%
;
left
:
22
%
;
}
}
&
.slick-next
{
&
.slick-next
{
right
:
38
%
;
right
:
17.1
%
;
}
}
}
}
}
}
...
@@ -1860,7 +1930,7 @@ export default {
...
@@ -1860,7 +1930,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.home
{
.home
{
.banner
{
.banner
{
height
:
42
0px
;
height
:
36
0px
;
position
:
relative
;
position
:
relative
;
//
background
:
#f26335
;
//
background
:
#f26335
;
.banner-item
{
.banner-item
{
...
@@ -2411,7 +2481,7 @@ export default {
...
@@ -2411,7 +2481,7 @@ export default {
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
color
:
#ffffff
;
color
:
#ffffff
;
font-size
:
18px
;
font-size
:
18px
;
margin-bottom
:
3
0px
;
margin-bottom
:
2
0px
;
@media
screen
and
(
max-width
:
765px
)
{
@media
screen
and
(
max-width
:
765px
)
{
margin-bottom
:
15px
;
margin-bottom
:
15px
;
}
}
...
@@ -2434,7 +2504,7 @@ export default {
...
@@ -2434,7 +2504,7 @@ export default {
}
}
>
*
{
>
*
{
height
:
30
0px
;
height
:
24
0px
;
@media
screen
and
(
max-width
:
992px
)
{
@media
screen
and
(
max-width
:
992px
)
{
height
:
240px
;
height
:
240px
;
}
}
...
@@ -2457,7 +2527,7 @@ export default {
...
@@ -2457,7 +2527,7 @@ export default {
position
:
relative
;
position
:
relative
;
background
:
url("../../assets/image/home/spqqsfz-bj2.png")
no-repeat
;
background
:
url("../../assets/image/home/spqqsfz-bj2.png")
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
padding
:
30px
0
38px
;
.right-cont
{
.right-cont
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
@@ -2466,7 +2536,7 @@ export default {
...
@@ -2466,7 +2536,7 @@ export default {
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
space-
around
;
justify-content
:
space-
evenly
;
.row
{
.row
{
color
:
#ffffff
;
color
:
#ffffff
;
...
@@ -2546,6 +2616,11 @@ export default {
...
@@ -2546,6 +2616,11 @@ export default {
border
:
1px
solid
rgba
(
197
,
216
,
238
,
0.5000
);
border
:
1px
solid
rgba
(
197
,
216
,
238
,
0.5000
);
margin-top
:
30px
;
margin-top
:
30px
;
border-radius
:
8px
;
border-radius
:
8px
;
&:hover{
transform
:
translateY
(
-4px
);
box-shadow
:
0
10px
30px
0
rgba
(
165
,
165
,
167
,
0.6
);
cursor
:
pointer
;
}
.top-p
{
.top-p
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -2589,10 +2664,7 @@ export default {
...
@@ -2589,10 +2664,7 @@ export default {
margin
:
0
20px
0
20px
;
margin
:
0
20px
0
20px
;
}
}
}
}
&
:hover
{
box-shadow
:
0px
4px
15px
2px
rgba
(
4
,
64
,
141
,
0.14
);
cursor
:
pointer
;
}
}
}
...
@@ -2612,7 +2684,7 @@ export default {
...
@@ -2612,7 +2684,7 @@ export default {
}
}
img
{
img
{
height
:
1
66
px
;
height
:
1
30
px
;
}
}
.home-bottom-cont
{
.home-bottom-cont
{
...
@@ -2639,7 +2711,7 @@ export default {
...
@@ -2639,7 +2711,7 @@ export default {
}
}
.smallPCImages
{
.smallPCImages
{
margin
:
40px
0
;
margin
:
20px
0
30px
;
.smallPCImages-item
{
.smallPCImages-item
{
img
{
img
{
...
...
src/views/News/msg.vue
View file @
1f8ce75f
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<div
class=
"xglj"
>
<div
class=
"xglj"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"cate"
>
<div
class=
"cate"
>
<span>
相关
连
接
</span>
<span>
相关
链
接
</span>
<!--
<span>
更多>>
</span>
-->
<!--
<span>
更多>>
</span>
-->
</div>
</div>
<list
:list=
"xgljListArr"
@
getInfo=
"getInfo"
/>
<list
:list=
"xgljListArr"
@
getInfo=
"getInfo"
/>
...
...
src/views/News/msgVideo.vue
View file @
1f8ce75f
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<div
class=
"xglj"
>
<div
class=
"xglj"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"cate"
>
<div
class=
"cate"
>
<span>
相关
连
接
</span>
<span>
相关
链
接
</span>
<!--
<span>
更多>>
</span>
-->
<!--
<span>
更多>>
</span>
-->
</div>
</div>
<list
:list=
"xgljListArr"
@
getInfo=
"getInfo"
/>
<list
:list=
"xgljListArr"
@
getInfo=
"getInfo"
/>
...
...
src/views/Search/external.vue
View file @
1f8ce75f
...
@@ -96,6 +96,11 @@ export default {
...
@@ -96,6 +96,11 @@ export default {
file
:
''
,
file
:
''
,
};
};
},
},
created
()
{
if
(
this
.
$route
.
query
.
keyword
)
{
this
.
search
.
code
=
this
.
$route
.
query
.
keyword
}
},
computed
:
{
computed
:
{
...
mapState
([
"urls"
]),
...
mapState
([
"urls"
]),
},
},
...
...
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