47 lines
692 B
Vue
47 lines
692 B
Vue
<script setup lang="ts">
|
|
import { onHide, onLaunch, onShow } from '@dcloudio/uni-app'
|
|
import { loadTianDiTu } from '@/utils/tdl-loader'
|
|
import { useUserStore } from './store'
|
|
|
|
// const userStore = useUserStore()
|
|
|
|
onLaunch(() => {
|
|
// userStore.requireLogin()
|
|
// uni.hideTabBar()
|
|
})
|
|
|
|
onLoad(async (options) => {
|
|
// options 会包含 orgid 和 bid
|
|
const { orgid, bid } = options
|
|
|
|
console.log(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>
|