init
This commit is contained in:
42
project-wl-kuaidiyuan-uniapp-vue3/pages/start/index.scss
Normal file
42
project-wl-kuaidiyuan-uniapp-vue3/pages/start/index.scss
Normal file
@@ -0,0 +1,42 @@
|
||||
.starPage{
|
||||
.page{
|
||||
background: #fff url(@/static/goink.jpg) no-repeat 50% 50%;
|
||||
background-size:contain;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.tit{
|
||||
width: 38rpx;
|
||||
line-height: 40rpx;
|
||||
font-size: 36rpx;
|
||||
margin: 0 auto;
|
||||
letter-spacing: 0.42rpx;
|
||||
text-align: center;
|
||||
text{
|
||||
display: block;
|
||||
padding:0 0 10rpx 0;
|
||||
}
|
||||
}
|
||||
.map{
|
||||
background: url(@/static/star.png) no-repeat;
|
||||
background-size: contain;
|
||||
width: 320rpx;
|
||||
height: 232rpx;
|
||||
margin-top: 80rpx;
|
||||
margin-bottom: 142rpx;
|
||||
}
|
||||
.logo{
|
||||
background: url(@/static/logo.png) no-repeat;
|
||||
background-size: contain;
|
||||
width: 712rpx;
|
||||
height: 184rpx;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
position: absolute;
|
||||
bottom: 5%;
|
||||
|
||||
}
|
||||
}
|
26
project-wl-kuaidiyuan-uniapp-vue3/pages/start/index.vue
Normal file
26
project-wl-kuaidiyuan-uniapp-vue3/pages/start/index.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<!-- 引导页 -->
|
||||
<template>
|
||||
<view class="starPage">
|
||||
<view class="page"> </view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { onMounted } from "vue";
|
||||
export default {
|
||||
name: "StarPage",
|
||||
setup: (props) => {
|
||||
onMounted(() => {
|
||||
const times = setTimeout(() => {
|
||||
uni.redirectTo({
|
||||
url: "/pages/login/user",
|
||||
});
|
||||
clearTimeout(times);
|
||||
}, 3000);
|
||||
});
|
||||
return {};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style src="./index.scss" lang="scss" scoped></style>
|
Reference in New Issue
Block a user