|
|
@@ -1,5 +1,8 @@
|
|
|
<template>
|
|
|
<div id="home">
|
|
|
+ <div class="navLogo">
|
|
|
+ <img src="../../../public/static/images/logo.png">
|
|
|
+ </div>
|
|
|
<Nav :title="$t('home.title')" :iconType="false"></Nav>
|
|
|
<div class="search">
|
|
|
<van-search v-model="searchValue" @search="onSearch" shape="round" :placeholder="$t('home.searchPlaceholder')" />
|
|
|
@@ -39,9 +42,9 @@
|
|
|
<div class="cell" @click="getSpecialArea('island',item)" v-for="item,index in classificationList" :key="index" :style="{background:'url('+requestUrl+item.typeImg+') no-repeat'}">
|
|
|
<div>
|
|
|
<span>{{item.typeName}}</span>
|
|
|
- <span>
|
|
|
+ <!--span>
|
|
|
<van-icon name="arrow" />
|
|
|
- </span>
|
|
|
+ </span-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -58,7 +61,7 @@
|
|
|
<div class="content">
|
|
|
<div class="rankBox">
|
|
|
<div class="rankitem" v-for="item,index in rankList" :key="index" @click="getCommodity(item)">
|
|
|
- <div class="tagBox">
|
|
|
+ <div class="tagBox mybkkd">
|
|
|
<span>{{index+1}}</span>
|
|
|
</div>
|
|
|
<div class="ranktit center">
|
|
|
@@ -333,8 +336,8 @@ export default {
|
|
|
font-size: 0.16rem /* 16/100 */;
|
|
|
color: #333333;
|
|
|
font-weight:600;
|
|
|
- border-left: 0.04rem solid #38d0c9;
|
|
|
- padding-left: 0.09333rem;
|
|
|
+ /*border-left: 0.04rem solid #38d0c9;
|
|
|
+ padding-left: 0.09333rem;*/
|
|
|
}
|
|
|
.right {
|
|
|
font-size: 0.13rem /* 13/100 */;
|
|
|
@@ -360,7 +363,7 @@ export default {
|
|
|
padding: 0.1rem /* 10/100 */ 0;
|
|
|
.cell {
|
|
|
width: 47%;
|
|
|
- margin-left: 3%;
|
|
|
+ margin: 0 0 3% 3%;
|
|
|
// height: 1.5rem /* 124/100 */;
|
|
|
overflow: hidden;
|
|
|
background: #fff;
|
|
|
@@ -401,8 +404,8 @@ export default {
|
|
|
font-size: 0.16rem /* 16/100 */;
|
|
|
color: #333333;
|
|
|
font-weight:600;
|
|
|
- border-left:0.04rem solid #38d0c9;
|
|
|
- padding-left:.09333rem;
|
|
|
+ /*border-left:0.04rem solid #38d0c9;
|
|
|
+ padding-left:.09333rem;*/
|
|
|
|
|
|
}
|
|
|
.right {
|
|
|
@@ -422,30 +425,38 @@ export default {
|
|
|
padding: 0.05rem /* 15/100 */;
|
|
|
font-size: 0.14rem /* 15/100 */;
|
|
|
.cell {
|
|
|
- width: 31%;
|
|
|
+ width: 48%;
|
|
|
height: 1.2rem /* 120/100 */;
|
|
|
display: flex;
|
|
|
align-items: flex-end;
|
|
|
|
|
|
|
|
|
- border-radius: 0.05rem;
|
|
|
+ border-radius: 0.08rem;
|
|
|
aspect-ratio: 6/8 !important;
|
|
|
box-shadow: 0px 0px 5px #e9e9e9;
|
|
|
> div {
|
|
|
width: 100%;
|
|
|
- height: 36px;
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 0.08rem;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
+ text-align:center;
|
|
|
padding: 0.1rem /* 10/100 */;
|
|
|
box-sizing: border-box;
|
|
|
- background-color:#fff;
|
|
|
- opacity:.8;
|
|
|
+ background-color:rgba(0,0,0,0.5);
|
|
|
+
|
|
|
> span:nth-child(1) {
|
|
|
- color: #333;
|
|
|
+ color: #fff;
|
|
|
+ width:100%;
|
|
|
+ font-weight:600;
|
|
|
+ font-size:0.15rem;
|
|
|
+ opacity:1;
|
|
|
+
|
|
|
}
|
|
|
> span:nth-child(2) {
|
|
|
display: block;
|
|
|
+ display:none;
|
|
|
/* height: 0.2rem 20/100 ;*/
|
|
|
width: 0.2rem /* 20/100 */;
|
|
|
border-radius: 50%;
|
|
|
@@ -512,25 +523,24 @@ export default {
|
|
|
position:relative;
|
|
|
margin-bottom: 0.1rem;
|
|
|
.tagBox {
|
|
|
- width: .2533rem;
|
|
|
- height: .3133rem;
|
|
|
- line-height: .2133rem;
|
|
|
+
|
|
|
+ line-height: .07rem;
|
|
|
/*background: url("../../../public/static/images/tagBg.png");*/
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
z-index: 1;
|
|
|
font-size: 0.16rem /* 16/100 */;
|
|
|
- text-align: left;
|
|
|
+ text-align: center;
|
|
|
font-weight:600;
|
|
|
- background-color:#38d0c9;
|
|
|
+ /*background-color:#38d0c9;
|
|
|
border-color:#38d0c9;
|
|
|
- border-bottom-right-radius:.14667rem;
|
|
|
+ border-bottom-right-radius:.14667rem;*/
|
|
|
|
|
|
|
|
|
span {
|
|
|
margin-top: 0rem /* 5/100 */;
|
|
|
- margin-left: .08rem /* 5/100 */;
|
|
|
+ margin-left: .0rem /* 5/100 */;
|
|
|
display: inline-block;
|
|
|
font-family:PingFangSC-Regular;
|
|
|
color: #fff;
|
|
|
@@ -544,10 +554,12 @@ export default {
|
|
|
font-weight:600;
|
|
|
padding-left:0.4533rem;
|
|
|
text-align:left;
|
|
|
+ padding-right:0.1rem;
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
|
.cell {
|
|
|
width: 100%;
|
|
|
- height: 1.39rem /* 139/100 */;
|
|
|
+ /*height: 1.39rem 139/100 */;
|
|
|
|
|
|
display: flex;
|
|
|
padding: 0.12rem /* 12/100 */;
|
|
|
@@ -598,8 +610,8 @@ export default {
|
|
|
display: -webkit-box; /*盒子模型微弹性伸缩模型*/
|
|
|
-webkit-box-orient: vertical; /*伸缩盒子的子元素垂直排列*/
|
|
|
-webkit-line-clamp: 3; /*文本显示3行*/
|
|
|
- color:#bb271a;
|
|
|
- font-size:0.23rem;
|
|
|
+ color:#e94225;
|
|
|
+ font-size:0.20rem;
|
|
|
}
|
|
|
> div:nth-child(2) {
|
|
|
color: #e94225;
|
|
|
@@ -657,4 +669,44 @@ export default {
|
|
|
width:100%;
|
|
|
display:block;
|
|
|
}
|
|
|
+
|
|
|
+.mybkkd
|
|
|
+{
|
|
|
+ width: 0.26rem;
|
|
|
+ height: 0.2233rem;
|
|
|
+ box-sizing: content-box;
|
|
|
+ padding-top: 13px;
|
|
|
+ position: relative;
|
|
|
+ /*background: #38d0c9;*/
|
|
|
+ background-image: linear-gradient(#adebc3,#38d0c9);
|
|
|
+ color: white;
|
|
|
+ text-transform: uppercase;
|
|
|
+}
|
|
|
+.mybkkd:after {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ border-bottom: 7px solid #fff;
|
|
|
+ border-left: 0.13rem solid transparent;
|
|
|
+ border-right: 0.13rem solid transparent;
|
|
|
+}
|
|
|
+.navLogo {
|
|
|
+ font-size: 0.17rem /* 16/100 */;
|
|
|
+ font-weight:500;
|
|
|
+ text-align: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 0.40rem /* 44/100 */;
|
|
|
+ position:absolute;
|
|
|
+ left: 0;
|
|
|
+ background-color:#fff;
|
|
|
+ z-index: 999999999999;
|
|
|
+}
|
|
|
+.navLogo img{
|
|
|
+ max-height: 0.40rem;
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
</style>
|