|
|
@@ -24,7 +24,7 @@
|
|
|
{{ int2zh(idx + 1) }} {{ item.label }}
|
|
|
</button>
|
|
|
</div>
|
|
|
- <div class="splitter" />
|
|
|
+ <!-- <div class="splitter" /> -->
|
|
|
<ul
|
|
|
ref="relicListEl"
|
|
|
class="relic-ul"
|
|
|
@@ -53,9 +53,9 @@
|
|
|
</h3>
|
|
|
<div
|
|
|
class="desc"
|
|
|
- :title="item.subtitle"
|
|
|
+ :title="item.author"
|
|
|
>
|
|
|
- {{ item.subtitle }}
|
|
|
+ {{ item.author }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
@@ -107,9 +107,9 @@ function int2zh(idx) {
|
|
|
.relic-list{
|
|
|
height: 100%;
|
|
|
position: relative;
|
|
|
- background-image: url(@/assets/images/relic-list-bg.jpg);
|
|
|
- background-size: cover;
|
|
|
- background-repeat: no-repeat;
|
|
|
+ background-image: url(@/assets/images/unit-list-bg.jpg);
|
|
|
+ background-size: 100% auto;
|
|
|
+ background-repeat: no-repeat repeat;
|
|
|
background-position: center center;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
@@ -117,10 +117,10 @@ function int2zh(idx) {
|
|
|
align-items: center;
|
|
|
>button.return{
|
|
|
position: absolute;
|
|
|
- top: 40px;
|
|
|
- left: 53px;
|
|
|
- width: 92px;
|
|
|
- height: 92px;
|
|
|
+ top: 46px;
|
|
|
+ left: 54px;
|
|
|
+ width: 70px;
|
|
|
+ height: 70px;
|
|
|
background-image: url(@/assets/images/btn-return.png);
|
|
|
background-size: contain;
|
|
|
background-repeat: no-repeat;
|
|
|
@@ -128,7 +128,7 @@ function int2zh(idx) {
|
|
|
}
|
|
|
>.tabbar{
|
|
|
padding-left: 110px;
|
|
|
- padding-right: 110px;
|
|
|
+ padding-right: 40px;
|
|
|
flex: 0 0 auto;
|
|
|
max-width: 100%;
|
|
|
display: flex;
|
|
|
@@ -136,103 +136,88 @@ function int2zh(idx) {
|
|
|
gap: 93px;
|
|
|
overflow: auto;
|
|
|
&::-webkit-scrollbar { height: 0; } /*宽度是对垂直滚动条而言,高度是对水平滚动条而言*/
|
|
|
-
|
|
|
>button{
|
|
|
-
|
|
|
+ width: 262px;
|
|
|
+ height: 55px;
|
|
|
+ padding-right: 70px;
|
|
|
position: relative;
|
|
|
flex: 0 0 auto;
|
|
|
font-size: 24px;
|
|
|
- font-family: KingHwa_OldSong-Regular, KingHwa_OldSong;
|
|
|
+ font-family: Source Han Sans CN-Light, Source Han Sans CN;
|
|
|
font-weight: 400;
|
|
|
- color: #48768D;
|
|
|
+ color: #515151;
|
|
|
line-height: 28px;
|
|
|
}
|
|
|
>button.active{
|
|
|
- &::before{
|
|
|
- content: '';
|
|
|
- display: inline-block;
|
|
|
- position: absolute;
|
|
|
- left: -6px;
|
|
|
- top: 50%;
|
|
|
- transform: translate(-100%, -60%);
|
|
|
- width: 50px;
|
|
|
- height: 18px;
|
|
|
- background-image: url(@/assets/images/tab-deco-left.png);
|
|
|
- background-size: contain;
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-position: center center;
|
|
|
- }
|
|
|
- &::after{
|
|
|
- content: '';
|
|
|
- display: inline-block;
|
|
|
- position: absolute;
|
|
|
- right: -6px;
|
|
|
- top: 50%;
|
|
|
- transform: translate(100%, -60%);
|
|
|
- width: 50px;
|
|
|
- height: 18px;
|
|
|
- background-image: url(@/assets/images/tab-deco-right.png);
|
|
|
- background-size: contain;
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-position: center center;
|
|
|
- }
|
|
|
+ color: #fff;
|
|
|
+ background-image: url(@/assets/images/tab-deco.png);
|
|
|
+ background-size: contain;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: center center;
|
|
|
}
|
|
|
}
|
|
|
- >.splitter{
|
|
|
- display: initial;
|
|
|
- width: calc(1794 / 1920 * 100vw);
|
|
|
- height: 0;
|
|
|
- border-top: 1px dashed rgba(72, 118, 141, 1);
|
|
|
- }
|
|
|
+ // >.splitter{
|
|
|
+ // display: initial;
|
|
|
+ // width: calc(1794 / 1920 * 100vw);
|
|
|
+ // height: 0;
|
|
|
+ // border-top: 1px dashed rgba(72, 118, 141, 1);
|
|
|
+ // }
|
|
|
>ul.relic-ul{
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 70px;
|
|
|
+ gap: 45px;
|
|
|
overflow: auto;
|
|
|
padding-bottom: 40px;
|
|
|
- padding-left: 95px;
|
|
|
- padding-right: 95px;
|
|
|
+ padding-left: 70px;
|
|
|
+ padding-right: 70px;
|
|
|
&::-webkit-scrollbar { height: 8px;}
|
|
|
&::-webkit-scrollbar-thumb { background: rgba(138, 168, 204, 1); border-radius: 4px; }
|
|
|
>li{
|
|
|
font-size: 0;
|
|
|
flex: 0 0 auto;
|
|
|
width: 473px;
|
|
|
- height: 63.17vh;
|
|
|
+ height: 642px;
|
|
|
cursor: pointer;
|
|
|
+ background-image: url(@/assets/images/relic-item-bg.png);
|
|
|
+ background-size: 100% 100%;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: center center;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-evenly;
|
|
|
+ align-items: center;
|
|
|
>img{
|
|
|
- width: 100%;
|
|
|
- height: calc(100% - 141px);
|
|
|
+ width: 418px;
|
|
|
+ height: 514px;
|
|
|
object-fit: cover;
|
|
|
- background-color: #fff;
|
|
|
- object-fit: contain;
|
|
|
}
|
|
|
>.not-img{
|
|
|
- height: 141px;
|
|
|
overflow: hidden;
|
|
|
- padding-left: 10px;
|
|
|
- padding-right: 10px;
|
|
|
+ white-space: pre;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
>h3{
|
|
|
- font-size: 32px;
|
|
|
- font-family: Source Han Serif CN-Bold, Source Han Serif CN;
|
|
|
- font-weight: bold;
|
|
|
- color: #48768D;
|
|
|
+ font-size: 24px;
|
|
|
+ font-family: Source Han Sans CN-Regular, Source Han Sans CN;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #000000;
|
|
|
+ line-height: 28px;
|
|
|
overflow: hidden;
|
|
|
white-space: pre;
|
|
|
text-overflow: ellipsis;
|
|
|
- margin-top: 28px;
|
|
|
- margin-bottom: 20px;
|
|
|
}
|
|
|
>.desc{
|
|
|
- display: -webkit-box;
|
|
|
- -webkit-box-orient: vertical;
|
|
|
- -webkit-line-clamp: 2;
|
|
|
overflow: hidden;
|
|
|
- font-size: 20px;
|
|
|
+ white-space: pre;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ overflow: hidden;
|
|
|
+ font-size: 24px;
|
|
|
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
|
|
|
font-weight: 400;
|
|
|
- color: #48768D;
|
|
|
+ color: rgba(0, 0, 0, 0.5);
|
|
|
line-height: 28px;
|
|
|
}
|
|
|
}
|