新增营销系统、分销系统、会员功能、门店、提现功能

This commit is contained in:
Shaw
2024-02-08 21:01:37 +08:00
parent 68b3f2dcc3
commit 17c043348a
1398 changed files with 81279 additions and 56269 deletions

41
App.vue
View File

@ -1,22 +1,43 @@
<script>
<script setup>
import { createBuryPoint } from '@/api/global'
import cookie from "@/utils/cookie";
import { onLaunch } from "@dcloudio/uni-app";
import { useMainStore } from "@/store/store";
export default {
onLaunch: function () {
},
onShow: function () {
},
onHide: function () {
const mainStore = useMainStore();
onLaunch( () => {
const tokenObj = cookie.get('accessToken')
let userInfo = ''
if (tokenObj && !mainStore.user) {
userInfo = mainStore.getUserInfo()
}
}
// 埋点
createBuryPoint({
event: 'visit',
})
})
</script>
<style lang="scss">
/*每个页面公共css */
@import "uview-plus/index.scss";
@import "style/style.scss";
page {
background-color: #f5f5f5;
position: relative;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
&::after{
content: '';
width: 100%;
height: env(safe-area-inset-bottom);
background: #f5f5f5;
position: fixed;
bottom: 0;
left: 0;
z-index: 9999;
}
}
</style>