2025-03-23 09:29:40 +08:00
|
|
|
<!--
|
2025-06-09 14:39:09 +08:00
|
|
|
* @Descripttion:
|
|
|
|
* @version:
|
2025-03-23 09:29:40 +08:00
|
|
|
* @Author: kBank
|
|
|
|
* @Date: 2022-11-21 15:11:22
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<view class="content">
|
2025-08-22 15:51:27 +08:00
|
|
|
<special-area-wrapper v-if="specialAreaVisble" :userInfo="userInfo" />
|
2025-06-09 17:22:32 +08:00
|
|
|
|
2025-09-02 16:34:45 +08:00
|
|
|
<!-- <cl-tabbar :current="1"></cl-tabbar> -->
|
2025-03-23 09:29:40 +08:00
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import clTabbar from '@/components/cl-tabbar.vue'
|
2025-06-09 17:22:32 +08:00
|
|
|
import SpecialAreaWrapper from '@/components/area-product-list/special-area-wrapper.vue'
|
2025-03-23 09:29:40 +08:00
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
'cl-tabbar': clTabbar,
|
2025-06-09 17:22:32 +08:00
|
|
|
'special-area-wrapper': SpecialAreaWrapper,
|
2025-06-09 14:39:09 +08:00
|
|
|
},
|
2025-06-09 17:22:32 +08:00
|
|
|
|
2025-03-23 09:29:40 +08:00
|
|
|
data() {
|
2025-07-12 11:13:41 +08:00
|
|
|
return {
|
2025-08-22 15:51:27 +08:00
|
|
|
userInfo: null,
|
2025-07-12 11:13:41 +08:00
|
|
|
}
|
2025-03-23 09:29:40 +08:00
|
|
|
},
|
2025-08-22 15:51:27 +08:00
|
|
|
onLoad() {
|
|
|
|
this.$store.dispatch('GetInfo').then(user => {
|
|
|
|
this.userInfo = user || null
|
|
|
|
})
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
specialAreaVisble() {
|
|
|
|
return this.userInfo && Object.keys(this.userInfo).length
|
|
|
|
},
|
|
|
|
},
|
2025-06-09 17:22:32 +08:00
|
|
|
methods: {},
|
2025-03-23 09:29:40 +08:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.content {
|
|
|
|
background: #f2f2f2;
|
|
|
|
// padding: 0 20rpx;
|
|
|
|
min-height: 94vh;
|
2025-06-10 09:21:43 +08:00
|
|
|
padding-bottom: 100rpx;
|
2025-03-23 09:29:40 +08:00
|
|
|
}
|
|
|
|
</style>
|