初始化
This commit is contained in:
35
pages/loading/index.vue
Normal file
35
pages/loading/index.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<template>
|
||||
<view class="s_page">
|
||||
<image src="/static/img/loading.png" mode=""></image>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
onLoad() {
|
||||
let url = url = '/pages/index/index'
|
||||
|
||||
setTimeout(() => {
|
||||
uni.reLaunch({
|
||||
url
|
||||
})
|
||||
},2000)
|
||||
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.s_page {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user