49 lines
671 B
Vue
49 lines
671 B
Vue
<script setup lang="ts">
|
|
import { onHide, onLaunch, onShow } from '@dcloudio/uni-app'
|
|
import { useUserStore } from './store'
|
|
import PLATFORM from './utils/platform'
|
|
|
|
const userStore = useUserStore()
|
|
|
|
onLaunch(() => {
|
|
// userStore.requireLogin()
|
|
|
|
uni.onTabBarMidButtonTap(() => {
|
|
uni.navigateTo({
|
|
url: '/pages-sub/upload/index',
|
|
})
|
|
})
|
|
})
|
|
|
|
onLoad(async (options) => {
|
|
|
|
})
|
|
|
|
onMounted(() => {
|
|
})
|
|
|
|
onUnmounted(() => {
|
|
})
|
|
</script>
|
|
|
|
<style>
|
|
page {
|
|
background-color: #ffffff;
|
|
}
|
|
</style>
|
|
|
|
<style lang="scss">
|
|
swiper,
|
|
scroll-view {
|
|
flex: 1;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
</style>
|