You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
627 B
26 lines
627 B
<script>
|
|
import useUserStore from '@/jtools/store/user'
|
|
import useQuestionStore from '@/jtools/store/question' //引入store
|
|
export default {
|
|
onLaunch: function () {
|
|
useUserStore().queryVipList()
|
|
useQuestionStore().getOrderQuestion('1')
|
|
if (useUserStore().isLogin) {
|
|
useUserStore().getUserInfo()
|
|
useUserStore().searchUserVip()
|
|
}
|
|
},
|
|
onShow: function () {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function () {
|
|
console.log('App Hide')
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/*每个页面公共css */
|
|
@import "uni_modules/uview-plus/index.scss";
|
|
@import "static/style/index.scss";
|
|
</style>
|
|
|