|
@@ -1,6 +1,14 @@
|
|
|
<script setup lang="ts">
|
|
|
import Introduce from "./components/introduce/index.vue";
|
|
|
|
|
|
+import Icon1 from "@/assets/img/home/icon1.png";
|
|
|
+import Icon2 from "@/assets/img/home/icon2.png";
|
|
|
+import Icon3 from "@/assets/img/home/icon3.png";
|
|
|
+
|
|
|
+import Bolang from "@/assets/img/home/bolang.png";
|
|
|
+import line from "@/assets/img/home/xian.png";
|
|
|
+import title from "@/assets/img/home/title.png";
|
|
|
+
|
|
|
const router = useRouter();
|
|
|
|
|
|
const moduleIndex = ref(0);
|
|
@@ -22,6 +30,8 @@ onMounted(() => {
|
|
|
<div class="all">
|
|
|
<!-- 功能栏 -->
|
|
|
<div class="option-box">
|
|
|
+ <!-- 线 -->
|
|
|
+ <img class="star-line" :src="line" alt="" />
|
|
|
<!-- 展馆介绍 -->
|
|
|
<div
|
|
|
class="box-item"
|
|
@@ -31,8 +41,7 @@ onMounted(() => {
|
|
|
}
|
|
|
"
|
|
|
>
|
|
|
- <div class="box-top"></div>
|
|
|
- <div class="box-botoom">展馆介绍</div>
|
|
|
+ <img :src="Icon1" alt="" />
|
|
|
</div>
|
|
|
<div class="box-line"></div>
|
|
|
<!-- 星星 -->
|
|
@@ -45,8 +54,7 @@ onMounted(() => {
|
|
|
}
|
|
|
"
|
|
|
>
|
|
|
- <div class="box-top"></div>
|
|
|
- <div class="box-botoom">线上展厅</div>
|
|
|
+ <img :src="Icon2" alt="" />
|
|
|
</div>
|
|
|
<div class="box-line"></div>
|
|
|
<!-- 星星 -->
|
|
@@ -59,8 +67,7 @@ onMounted(() => {
|
|
|
}
|
|
|
"
|
|
|
>
|
|
|
- <div class="box-top"></div>
|
|
|
- <div class="box-botoom">文物鉴赏</div>
|
|
|
+ <img :src="Icon3" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -75,6 +82,11 @@ onMounted(() => {
|
|
|
/>
|
|
|
|
|
|
<!-- -->
|
|
|
+
|
|
|
+ <img class="wave" :src="Bolang" alt="" />
|
|
|
+
|
|
|
+ <!-- title -->
|
|
|
+ <img class="title" :src="title" alt="" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -82,49 +94,64 @@ onMounted(() => {
|
|
|
.all {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background: rgba(85, 117, 224, 0.418);
|
|
|
+ background-image: url("../../assets/img/home/bg.png");
|
|
|
background-size: 100% 100%;
|
|
|
|
|
|
.option-box {
|
|
|
- width: 100%;
|
|
|
+ width: 50%;
|
|
|
height: 100px;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
position: absolute;
|
|
|
- bottom: 0;
|
|
|
+ bottom: 10px;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ z-index: 2;
|
|
|
+ .star-line {
|
|
|
+ width: 85%;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ margin-top: -10px;
|
|
|
+ }
|
|
|
+ // position: relative;
|
|
|
+
|
|
|
+ // background-image: url("../../assets/img/home/xian.png");
|
|
|
// background: rgba(114, 17, 17, 0.671);
|
|
|
|
|
|
.box-item {
|
|
|
height: 100%;
|
|
|
cursor: pointer;
|
|
|
- .box-top {
|
|
|
- width: 68px;
|
|
|
- height: 68px;
|
|
|
- background: #fff3e1;
|
|
|
- border-radius: 20px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- margin-bottom: 5px;
|
|
|
- }
|
|
|
- .box-botoom {
|
|
|
- width: 100%;
|
|
|
- text-align: center;
|
|
|
- font-family: "AlimamaShuHeiTi-Bold";
|
|
|
- font-weight: bold;
|
|
|
- font-size: 16px;
|
|
|
- color: #fff3e1;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ img {
|
|
|
+ width: 90%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.box-line {
|
|
|
- width: 70px;
|
|
|
+ width: 13%;
|
|
|
height: 2px;
|
|
|
- background: #fff3e1;
|
|
|
+ background: #fff3e100;
|
|
|
margin-top: 34px;
|
|
|
margin-left: 5px;
|
|
|
margin-right: 5px;
|
|
|
+ // display: none;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .wave {
|
|
|
+ width: 100%;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ width: 40%;
|
|
|
+ position: absolute;
|
|
|
+ // top: 4%;
|
|
|
+ left: 20%;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|