首页文字---特效
This commit is contained in:
parent
c4597f6cbd
commit
3befb49a12
|
@ -18,6 +18,7 @@
|
||||||
"@ant-design/icons-vue": "^6.1.0",
|
"@ant-design/icons-vue": "^6.1.0",
|
||||||
"@element-plus/icons-vue": "^2.0.1",
|
"@element-plus/icons-vue": "^2.0.1",
|
||||||
"@turf/turf": "^6.5.0",
|
"@turf/turf": "^6.5.0",
|
||||||
|
"animate.css": "^4.1.1",
|
||||||
"ant-design-vue": "^3.1.0-rc.5",
|
"ant-design-vue": "^3.1.0-rc.5",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
"clipboard": "^2.0.8",
|
"clipboard": "^2.0.8",
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
|
@ -21,6 +21,7 @@ import 'vue3-video-play-emiyagm/dist/style.css' // 引入css
|
||||||
import ElementPlus from 'element-plus'
|
import ElementPlus from 'element-plus'
|
||||||
import 'element-plus/dist/index.css'
|
import 'element-plus/dist/index.css'
|
||||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||||
|
import animate from 'animate.css'
|
||||||
/**
|
/**
|
||||||
* @author chuzhixin 1204505056@qq.com
|
* @author chuzhixin 1204505056@qq.com
|
||||||
* @description 正式环境默认使用mock,正式项目记得注释后再打包
|
* @description 正式环境默认使用mock,正式项目记得注释后再打包
|
||||||
|
@ -42,6 +43,7 @@ app
|
||||||
.use(Antd)
|
.use(Antd)
|
||||||
.use(ElementPlus)
|
.use(ElementPlus)
|
||||||
.mount('#app')
|
.mount('#app')
|
||||||
|
.use(animate)
|
||||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||||
app.component(key, component)
|
app.component(key, component)
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,6 +147,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="imgBox tracking-in-expand">
|
||||||
|
<img src="~@/assets/newHome/slogan.png" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
@ -291,9 +294,10 @@
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.navigation {
|
.navigation {
|
||||||
height: 4.8rem;
|
height: 5.8rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
flex-direction: column;
|
||||||
|
// justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: url('~@/assets/newHome/banner-main.jpg') no-repeat;
|
background: url('~@/assets/newHome/banner-main.jpg') no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
@ -306,6 +310,7 @@
|
||||||
background: rgba(255, 255, 255, 0.18);
|
background: rgba(255, 255, 255, 0.18);
|
||||||
padding: 0.2rem 0.4rem;
|
padding: 0.2rem 0.4rem;
|
||||||
border-radius: 0.02rem;
|
border-radius: 0.02rem;
|
||||||
|
margin-top: 1.36rem;
|
||||||
.top {
|
.top {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
@ -387,6 +392,7 @@
|
||||||
background: rgba(255, 255, 255, 0.18);
|
background: rgba(255, 255, 255, 0.18);
|
||||||
padding: 0.24rem 0.2rem;
|
padding: 0.24rem 0.2rem;
|
||||||
border-radius: 0.02rem;
|
border-radius: 0.02rem;
|
||||||
|
margin-top: 1.36rem;
|
||||||
.gaoji-top {
|
.gaoji-top {
|
||||||
width: 8.7rem;
|
width: 8.7rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -482,6 +488,55 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.imgBox {
|
||||||
|
width: 8rem;
|
||||||
|
margin-top: 0.18rem;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tracking-in-expand {
|
||||||
|
-webkit-animation: tracking-in-expand 0.7s
|
||||||
|
cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
||||||
|
animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.61, 0.355, 1)
|
||||||
|
both;
|
||||||
|
}
|
||||||
|
/* ----------------------------------------------
|
||||||
|
* Generated by Animista on 2022-8-15 14:3:51
|
||||||
|
* Licensed under FreeBSD License.
|
||||||
|
* See http://animista.net/license for more info.
|
||||||
|
* w: http://animista.net, t: @cssanimista
|
||||||
|
* ---------------------------------------------- */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ----------------------------------------
|
||||||
|
* animation tracking-in-expand
|
||||||
|
* ----------------------------------------
|
||||||
|
*/
|
||||||
|
@-webkit-keyframes tracking-in-expand {
|
||||||
|
0% {
|
||||||
|
letter-spacing: -0.5em;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes tracking-in-expand {
|
||||||
|
0% {
|
||||||
|
letter-spacing: -0.5em;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -132,7 +132,7 @@
|
||||||
box-shadow: 0.05rem 0.05rem 0.1rem #ccc;
|
box-shadow: 0.05rem 0.05rem 0.1rem #ccc;
|
||||||
padding: 0 1.5rem;
|
padding: 0 1.5rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4rem;
|
top: 5rem;
|
||||||
left: 3rem;
|
left: 3rem;
|
||||||
.item {
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in New Issue