<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>
