Commit 840d0e44 by 林家欣

模块的交互效果修改

parent c849cf12
...@@ -102,10 +102,12 @@ export default { ...@@ -102,10 +102,12 @@ export default {
li { li {
width: 363px; width: 363px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
// border-radius: 4px; // border-radius: 4px;
margin-bottom: 30px; margin-bottom: 30px;
border-top: 5px solid #00B6DE; border-top: 5px solid #00B6DE;
&:hover{
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
}
.health-li-tp{ .health-li-tp{
margin-top: -1px; margin-top: -1px;
} }
......
...@@ -96,9 +96,12 @@ export default { ...@@ -96,9 +96,12 @@ export default {
li { li {
width: 216px; width: 216px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
border-radius: 4px; border-radius: 4px;
margin-bottom: 30px; margin-bottom: 30px;
cursor: pointer;
&:hover{
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
}
img { img {
width: 100%; width: 100%;
} }
......
...@@ -356,8 +356,11 @@ export default { ...@@ -356,8 +356,11 @@ export default {
.tpzx-li { .tpzx-li {
width: 216px; width: 216px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
border-radius: 4px; border-radius: 4px;
&:hover{
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
cursor: pointer;
}
img { img {
width: 100%; width: 100%;
} }
...@@ -385,7 +388,9 @@ export default { ...@@ -385,7 +388,9 @@ export default {
padding: 20px 0 40px 0; padding: 20px 0 40px 0;
.two-kj { .two-kj {
background: #ffffff; background: #ffffff;
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08); &:hover{
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
}
} }
.zxhd { .zxhd {
.two-kj { .two-kj {
...@@ -428,8 +433,13 @@ export default { ...@@ -428,8 +433,13 @@ export default {
> li { > li {
display: flex; display: flex;
background: #ffffff; background: #ffffff;
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
margin: 20px 0; margin: 20px 0;
cursor: pointer;
padding: 2px;
box-sizing: border-box;
&:hover{
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
}
.four-li-left { .four-li-left {
background: #f0f0f0; background: #f0f0f0;
display: flex; display: flex;
......
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
<div class="search-tools_s"> <div class="search-tools_s">
<div class="title">条码信息查询</div> <div class="title">条码信息查询</div>
<div class="tools-wrapper clearfix"> <div class="tools-wrapper clearfix">
<div class="tool-card" <div
v-for="item in tool" class="tool-card"
:key="item.name" v-for="item in tool"
@click="$router.push({path:item.path})"> :key="item.name"
@click="$router.push({ path: item.path })"
>
<div class="tool-img"> <div class="tool-img">
<img :src="item.img" alt=""/> <img :src="item.img" alt="" />
</div> </div>
<div class="tool-name"> <div class="tool-name">
{{ item.name }} {{ item.name }}
...@@ -16,11 +18,11 @@ ...@@ -16,11 +18,11 @@
<div class="tool-card" @click="window.open('http://www.chinatrace.org/')"> <div class="tool-card" @click="window.open('http://www.chinatrace.org/')">
<div class="tool-img"> <div class="tool-img">
<img src="./img/pic_tiaomashuisu.png" alt=""/> <img src="./img/pic_tiaomashuisu.png" alt="" />
</div> </div>
<div class="tool-name y-center zs-card"> <div class="tool-name y-center zs-card">
<div><img src="./img/icon_android.png" alt=""/>Android</div> <div><img src="./img/icon_android.png" alt="" />Android</div>
<div><img src="./img/icon_iphone.png" alt=""/>Iphone</div> <div><img src="./img/icon_iphone.png" alt="" />Iphone</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -35,17 +37,17 @@ export default { ...@@ -35,17 +37,17 @@ export default {
{ {
name: "境内商品条码信息查询", name: "境内商品条码信息查询",
img: require("./img/pic_guoneitiaoma.png"), img: require("./img/pic_guoneitiaoma.png"),
path: '/search/internal' path: "/search/internal",
}, },
{ {
name: "缩短码查询", name: "缩短码查询",
img: require("./img/pic_suoduanma.png"), img: require("./img/pic_suoduanma.png"),
path: '/search/shortcode' path: "/search/shortcode",
}, },
{ {
name: "境外商品条码信息查询", name: "境外商品条码信息查询",
img: require("./img/pic_jingwaishangpin.png"), img: require("./img/pic_jingwaishangpin.png"),
path: '/search/external' path: "/search/external",
}, },
// {name:'',img:require('./img/pic_tiaomazhuisu.png')} // {name:'',img:require('./img/pic_tiaomazhuisu.png')}
], ],
...@@ -80,7 +82,9 @@ export default { ...@@ -80,7 +82,9 @@ export default {
float: left; float: left;
margin-right: 30px; margin-right: 30px;
margin-bottom: 30px; margin-bottom: 30px;
&:hover{
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.12);
}
.tool-img { .tool-img {
height: 145px; height: 145px;
...@@ -115,5 +119,4 @@ export default { ...@@ -115,5 +119,4 @@ export default {
} }
} }
} }
</style> </style>
...@@ -127,12 +127,14 @@ export default { ...@@ -127,12 +127,14 @@ export default {
.book-card { .book-card {
display: flex; display: flex;
height: 190px; height: 190px;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 4px 15px 2px rgba(4, 64, 141, 0.08);
border-radius: 2px; border-radius: 2px;
border: 1px solid rgba(197, 216, 238, 0.5); border: 1px solid rgba(197, 216, 238, 0.5);
margin-bottom: 30px; margin-bottom: 30px;
cursor: pointer;
&:hover{
box-shadow: 0 4px 15px 2px rgba(4, 64, 141, 0.08);
}
.book-img { .book-img {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -180,7 +182,10 @@ export default { ...@@ -180,7 +182,10 @@ export default {
border-radius: 2px; border-radius: 2px;
border: 1px solid rgba(197, 216, 238, 0.5); border: 1px solid rgba(197, 216, 238, 0.5);
margin-bottom: 30px; margin-bottom: 30px;
cursor: pointer;
&:hover{
box-shadow: 0px 4px 15px 2px rgba(4, 64, 141, 0.08);
}
.app-img { .app-img {
display: flex; display: flex;
align-items: center; align-items: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment