|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div id="home">
|
|
<div id="home">
|
|
|
- <Nav :title="$t('home.title')" :iconType="false"></Nav>
|
|
|
|
|
|
|
+ <Nav :title="$t('home.title')" :iconType="false"><img src="../../../public/static/images/logo.png" width="30%" class="logotop"></Nav>
|
|
|
<div class="search">
|
|
<div class="search">
|
|
|
- <van-search v-model="searchValue" @search="onSearch" shape="round" background="#F9F9F9" :placeholder="$t('home.searchPlaceholder')" />
|
|
|
|
|
|
|
+ <van-search v-model="searchValue" @search="onSearch" shape="round" :placeholder="$t('home.searchPlaceholder')" />
|
|
|
</div>
|
|
</div>
|
|
|
<div class="excellent">
|
|
<div class="excellent">
|
|
|
<div class="title">
|
|
<div class="title">
|
|
@@ -47,7 +47,7 @@
|
|
|
<div class="rank">
|
|
<div class="rank">
|
|
|
<div class="title">
|
|
<div class="title">
|
|
|
<div class="left">
|
|
<div class="left">
|
|
|
- <van-icon color="#38D0C9" class="iconfont" class-prefix="icon" name="fill" />
|
|
|
|
|
|
|
+ <van-icon class="iconfont" class-prefix="icon" name="fill" />
|
|
|
{{$t('home.recommend')}}
|
|
{{$t('home.recommend')}}
|
|
|
</div>
|
|
</div>
|
|
|
<div class="right"></div>
|
|
<div class="right"></div>
|
|
@@ -306,11 +306,14 @@ export default {
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
#home {
|
|
#home {
|
|
|
- background: #f9f9f9;
|
|
|
|
|
|
|
+ background: #f6f6f6;
|
|
|
.excellent {
|
|
.excellent {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
padding: 0.12rem /* 12/100 */;
|
|
padding: 0.12rem /* 12/100 */;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
+ background-color:#fff;
|
|
|
|
|
+ padding-bottom:.06667rem;
|
|
|
|
|
+ margin-bottom:.10667rem;
|
|
|
.title {
|
|
.title {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -321,14 +324,24 @@ export default {
|
|
|
.left {
|
|
.left {
|
|
|
font-size: 0.16rem /* 16/100 */;
|
|
font-size: 0.16rem /* 16/100 */;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
|
|
+ font-weight:600;
|
|
|
|
|
+ border-left: 0.04rem solid #38d0c9;
|
|
|
|
|
+ padding-left: 0.09333rem;
|
|
|
}
|
|
}
|
|
|
.right {
|
|
.right {
|
|
|
font-size: 0.13rem /* 13/100 */;
|
|
font-size: 0.13rem /* 13/100 */;
|
|
|
color: #999999;
|
|
color: #999999;
|
|
|
|
|
+
|
|
|
span:nth-child(1) {
|
|
span:nth-child(1) {
|
|
|
margin-right: 0.02rem /* 5/100 */;
|
|
margin-right: 0.02rem /* 5/100 */;
|
|
|
margin-top: 0.1rem;
|
|
margin-top: 0.1rem;
|
|
|
|
|
+ color: #878787;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ .right .van-icon{
|
|
|
|
|
+ font-size: 14px ;
|
|
|
|
|
+ color: #878787;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.content {
|
|
.content {
|
|
@@ -364,6 +377,9 @@ export default {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
padding: 0.12rem /* 12/100 */;
|
|
padding: 0.12rem /* 12/100 */;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
+ background-color:#fff;
|
|
|
|
|
+ padding-bottom:.06667rem;
|
|
|
|
|
+ margin-bottom:.10667rem;
|
|
|
.title {
|
|
.title {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -371,9 +387,14 @@ export default {
|
|
|
padding: 0.05rem /* 10/100 */ 0;
|
|
padding: 0.05rem /* 10/100 */ 0;
|
|
|
margin-bottom: 0.1rem /* 12/100 */;
|
|
margin-bottom: 0.1rem /* 12/100 */;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|
+
|
|
|
.left {
|
|
.left {
|
|
|
font-size: 0.16rem /* 16/100 */;
|
|
font-size: 0.16rem /* 16/100 */;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
|
|
+ font-weight:600;
|
|
|
|
|
+ border-left:0.04rem solid #38d0c9;
|
|
|
|
|
+ padding-left:.09333rem;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
.right {
|
|
.right {
|
|
|
font-size: 0.13rem /* 13/100 */;
|
|
font-size: 0.13rem /* 13/100 */;
|
|
@@ -390,33 +411,42 @@ export default {
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
|
padding: 0.05rem /* 15/100 */;
|
|
padding: 0.05rem /* 15/100 */;
|
|
|
- font-size: 0.15rem /* 15/100 */;
|
|
|
|
|
|
|
+ font-size: 0.14rem /* 15/100 */;
|
|
|
.cell {
|
|
.cell {
|
|
|
width: 48%;
|
|
width: 48%;
|
|
|
height: 1.2rem /* 120/100 */;
|
|
height: 1.2rem /* 120/100 */;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: flex-end;
|
|
align-items: flex-end;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ border-radius: 0.05rem;
|
|
|
|
|
+ aspect-ratio: 6/8 !important;
|
|
|
|
|
+ box-shadow: 0px 0px 5px #e9e9e9;
|
|
|
> div {
|
|
> div {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 44px;
|
|
|
|
|
|
|
+ height: 36px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
padding: 0.1rem /* 10/100 */;
|
|
padding: 0.1rem /* 10/100 */;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
+ background-color:#fff;
|
|
|
|
|
+ opacity:.8;
|
|
|
> span:nth-child(1) {
|
|
> span:nth-child(1) {
|
|
|
- color: #fff;
|
|
|
|
|
|
|
+ color: #333;
|
|
|
}
|
|
}
|
|
|
> span:nth-child(2) {
|
|
> span:nth-child(2) {
|
|
|
- color: #38d0c9;
|
|
|
|
|
display: block;
|
|
display: block;
|
|
|
- height: 0.2rem /* 20/100 */;
|
|
|
|
|
|
|
+ /* height: 0.2rem 20/100 ;*/
|
|
|
width: 0.2rem /* 20/100 */;
|
|
width: 0.2rem /* 20/100 */;
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
+ > span:nth-child(2) .van-icon{
|
|
|
|
|
+ font-size:18px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.cell {
|
|
.cell {
|
|
@@ -432,6 +462,9 @@ export default {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
padding: 0 0.12rem 0.12rem 0.12rem /* 12/100 */;
|
|
padding: 0 0.12rem 0.12rem 0.12rem /* 12/100 */;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
+ background-color:#fff;
|
|
|
|
|
+ padding:.06667rem 0;
|
|
|
|
|
+ margin-bottom:.10667rem;
|
|
|
.title {
|
|
.title {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -442,7 +475,13 @@ export default {
|
|
|
.left {
|
|
.left {
|
|
|
font-size: 0.16rem /* 16/100 */;
|
|
font-size: 0.16rem /* 16/100 */;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
|
|
+ font-weight:600;
|
|
|
|
|
+ .iconfont {
|
|
|
|
|
+ font-size:26px;
|
|
|
|
|
+ color:#38d0c9;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.right {
|
|
.right {
|
|
|
font-size: 0.13rem /* 13/100 */;
|
|
font-size: 0.13rem /* 13/100 */;
|
|
|
color: #999999;
|
|
color: #999999;
|
|
@@ -477,19 +516,27 @@ export default {
|
|
|
object-fit: cover;
|
|
object-fit: cover;
|
|
|
}
|
|
}
|
|
|
.tagBox {
|
|
.tagBox {
|
|
|
- width: 32px;
|
|
|
|
|
- height: 32px;
|
|
|
|
|
- background: url("../../../public/static/images/tagBg.png");
|
|
|
|
|
|
|
+ width: .3533rem;
|
|
|
|
|
+ height: .2133rem;
|
|
|
|
|
+ line-height: .2133rem;
|
|
|
|
|
+ /*background: url("../../../public/static/images/tagBg.png");*/
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
top: 0;
|
|
top: 0;
|
|
|
z-index: 1;
|
|
z-index: 1;
|
|
|
- font-size: 0.14rem /* 16/100 */;
|
|
|
|
|
|
|
+ font-size: 0.16rem /* 16/100 */;
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
|
|
+ font-weight:600;
|
|
|
|
|
+ background-color:#38d0c9;
|
|
|
|
|
+ border-color:#38d0c9;
|
|
|
|
|
+ border-bottom-right-radius:.14667rem;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
span {
|
|
span {
|
|
|
- margin-top: 0.05rem /* 5/100 */;
|
|
|
|
|
- margin-left: 0.05rem /* 5/100 */;
|
|
|
|
|
|
|
+ margin-top: 0rem /* 5/100 */;
|
|
|
|
|
+ margin-left: .08rem /* 5/100 */;
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
|
|
+ font-family:PingFangSC-Regular;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -497,7 +544,7 @@ export default {
|
|
|
.right {
|
|
.right {
|
|
|
padding-top: 0.03rem /* 3/100 */;
|
|
padding-top: 0.03rem /* 3/100 */;
|
|
|
width: 72%;
|
|
width: 72%;
|
|
|
- font-size: 0.15rem /* 15/100 */;
|
|
|
|
|
|
|
+ font-size: 0.14rem /* 15/100 */;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -511,7 +558,7 @@ export default {
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
> div:nth-child(1) {
|
|
> div:nth-child(1) {
|
|
|
text-align: justify;
|
|
text-align: justify;
|
|
|
- color: #38d0c9;
|
|
|
|
|
|
|
+ /*color: #38d0c9;*/
|
|
|
width: 55%;
|
|
width: 55%;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
display: -webkit-box; /*盒子模型微弹性伸缩模型*/
|
|
display: -webkit-box; /*盒子模型微弹性伸缩模型*/
|
|
@@ -539,6 +586,7 @@ export default {
|
|
|
display: -webkit-box; /*盒子模型微弹性伸缩模型*/
|
|
display: -webkit-box; /*盒子模型微弹性伸缩模型*/
|
|
|
-webkit-box-orient: vertical; /*伸缩盒子的子元素垂直排列*/
|
|
-webkit-box-orient: vertical; /*伸缩盒子的子元素垂直排列*/
|
|
|
-webkit-line-clamp: 2; /*文本显示3行*/
|
|
-webkit-line-clamp: 2; /*文本显示3行*/
|
|
|
|
|
+ font-size: 0.12rem /* 15/100 */;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -549,12 +597,23 @@ export default {
|
|
|
</style>
|
|
</style>
|
|
|
<style>
|
|
<style>
|
|
|
#home .van-search__content {
|
|
#home .van-search__content {
|
|
|
- border: 1px solid #6acdc8;
|
|
|
|
|
|
|
+ /*border: 1px solid #6acdc8;*/
|
|
|
|
|
+ background-color:#f6f6f6;
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
#home .van-field__left-icon {
|
|
#home .van-field__left-icon {
|
|
|
- color: #6acdc8;
|
|
|
|
|
|
|
+ color: #ccc;
|
|
|
}
|
|
}
|
|
|
#home .van-image {
|
|
#home .van-image {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
+.logotop{
|
|
|
|
|
+position:absolute;
|
|
|
|
|
+top: 5px;
|
|
|
|
|
+left:35%;
|
|
|
|
|
+justify-content:center;
|
|
|
|
|
+z-index:99999;
|
|
|
|
|
+
|
|
|
|
|
+background-color:#fff;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|