Skip to content

Commit

Permalink
feat: 只需要一屏下载页
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzi committed Jan 19, 2023
1 parent 1021455 commit ac47625
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 35 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>eoefans</title>
<title>eoefans 下载页</title>
</head>
<body>
<div id="app"></div>
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/gogo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/minuo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/momo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/un.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/wan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 15 additions & 15 deletions src/views/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@ import 'fullpage.js/dist/fullpage.min.css'
import Page1 from './Page1/Page1.vue'
onMounted(() => {
Object.freeze(
new Fullpage('#fullpage', {
normalScrollElements: ''
// scrollOverflow: false,
// loopHorizontal: false, // 水平滚动时是否loop
// verticalCentered: false, // 水平滚动下的块是否垂直居中
// controlArrows: false, // 水平滚动下是否显示左右切换箭头
// credits: {
// enabled: false,
// label: ''
// }
})
)
// Object.freeze(
// new Fullpage('#fullpage', {
// normalScrollElements: ''
// // scrollOverflow: false,
// // loopHorizontal: false, // 水平滚动时是否loop
// // verticalCentered: false, // 水平滚动下的块是否垂直居中
// // controlArrows: false, // 水平滚动下是否显示左右切换箭头
// // credits: {
// // enabled: false,
// // label: ''
// // }
// })
// )
})
</script>
<template>
<div id="fullpage">
<div class="section">
<Page1></Page1>
</div>
<div class="section">Some section2</div>
<!-- <div class="section">Some section2</div>
<div class="section">Some section3</div>
<div class="section">Some section4</div>
<div class="section">Some section4</div> -->
</div>
</template>
<style scoped lang="less">
Expand Down
40 changes: 22 additions & 18 deletions src/views/Page1/Page1.vue
Original file line number Diff line number Diff line change
@@ -1,39 +1,43 @@
<script setup lang="ts">
import { ref, reactive } from 'vue'
const mainIntroduce = ref('介绍主文案')
const mainIntroduce = ref('E个魂的APP')
</script>
<template>
<div class="Page1">
<div class="mask"></div>
<section class="introduce-section">
<div class="main-introduce" :data-word="mainIntroduce"></div>
<!-- <div class="">
<div class="main-introduce">eoefans App</div>
<div class="sub-introduce">
"一个魂儿"系A-SOUL女子偶像团体粉丝名 本app非商业用途,仅提供A-soul及相关社区服务 官方B站:《A-SOUL_Official》、抖音:《五个魂儿啊》
</div>
<div class="to-download">前往下载</div> -->
<!-- TODO: 左边搞些介绍 随动? -->
<!-- TODO:搞个圆形的轮播图下载在右边 -->
<div class="to-download">前往下载</div>
</section>
</div>
</template>
<style scoped lang="less">
.Page1 {
// border: 1px solid black;
position: relative;
width: 100%;
height: 100vh;
background-image: url('../../assets/img/home-bg.jpg');
background-size: cover;
.mask {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
}
}
.main-introduce {
position: relative;
font-size: 30px;
&::before {
content: attr(data-word);
position: absolute;
top: 0;
left: 0;
}
&::after {
content: attr(data-word);
position: absolute;
top: 0;
left: -3px;
}
font-size: 90px;
color: #fff;
}
.sub-introduce {
font-size: 20px;
color: #74727a;
}
</style>
16 changes: 16 additions & 0 deletions src/views/Page2/Page2.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<script setup lang="ts">
import { ref, reactive } from 'vue'
</script>
<template>
<div class="Page2">
<header> 特色功能</header>

</div>
</template>
<style scoped lang="less">
.Page2{
}
</style>

0 comments on commit ac47625

Please sign in to comment.