屏蔽Ios支付

This commit is contained in:
qsh
2023-10-25 20:30:58 +08:00
parent ac8acdccda
commit b533581a5d
5 changed files with 402 additions and 371 deletions

View File

@@ -1,16 +1,21 @@
<script>
import useUserStore from '@/jtools/store/user'
import useQuestionStore from '@/jtools/store/question' //引入store
import storage from './jtools/storage'
export default {
onLaunch: function () {
onLaunch: function (options) {
// 如果是二维码扫描过来的需要保存公司id
if (options.query?.scene) {
storage.set('companyId', options.query?.scene)
}
useUserStore().queryVipList()
if(useUserStore().isLogin) {
if (useUserStore().isLogin) {
useUserStore().getUserInfo()
useUserStore().searchUserVip()
}
},
onShow: function () {
useQuestionStore().getAllQuestion()
useQuestionStore().getAllQuestion()
console.log('App Show')
},
onHide: function () {
@@ -23,5 +28,8 @@ export default {
/*每个页面公共css */
@import "uni_modules/uview-plus/index.scss";
@import "static/style/index.scss";
button::after{ border: none;}
button::after {
border: none;
}
</style>