|
@@ -1,13 +1,5 @@
|
|
|
<template>
|
|
|
<div class="metaverse-root">
|
|
|
- <button
|
|
|
- v-for="(item, index) in rawData.value"
|
|
|
- :key="item.id"
|
|
|
- class="mock-star"
|
|
|
- @click="onClickStar(index)"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </button>
|
|
|
<article v-if="isShowDesc">
|
|
|
<button
|
|
|
class="close"
|
|
@@ -100,19 +92,19 @@ export default {
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
.metaverse-root {
|
|
|
- >button.mock-star {
|
|
|
- display: block;
|
|
|
- color: #fff;
|
|
|
- background: blue;
|
|
|
- margin-bottom: 5px;
|
|
|
- }
|
|
|
+ height: 100%;
|
|
|
+ position: relative;
|
|
|
+ pointer-events: none;
|
|
|
>article {
|
|
|
+ pointer-events: initial;
|
|
|
position: absolute;
|
|
|
- top: calc((100% - 112px) / 2);
|
|
|
+ top: calc(100% / 2);
|
|
|
transform: translateY(-50%);
|
|
|
right: 0;
|
|
|
width: 653px;
|
|
|
- backdrop-filter: blur(5px);
|
|
|
+ height: calc(100% - 74px - 50px);
|
|
|
+ max-height: 740px;
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
background-image: url(@/assets/images/general-article-bg.png);
|
|
|
background-size: 100% auto;
|
|
|
background-repeat: no-repeat;
|
|
@@ -152,13 +144,12 @@ export default {
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
>.txt {
|
|
|
- flex: 0 0 auto;
|
|
|
- max-height: calc(100vh - 112px - 300px);
|
|
|
+ flex: 1 0 1px;
|
|
|
font-size: 20px;
|
|
|
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
|
|
|
font-weight: 400;
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
- line-height: 1.7px;
|
|
|
+ line-height: 1.7;
|
|
|
overflow: auto;
|
|
|
padding-right: 10px;
|
|
|
margin-right: -10px;
|