2022-11-22 07:45:36 +00:00
|
|
|
<!-- 分销中心 -->
|
|
|
|
<template>
|
2024-05-25 14:20:19 +00:00
|
|
|
<s-layout navbar="inner" class="index-wrap" title="分销中心" :bgStyle="bgStyle" :onShareAppMessage="shareInfo">
|
2023-12-21 09:58:15 +00:00
|
|
|
<!-- 分销商信息 -->
|
|
|
|
<commission-info />
|
|
|
|
<!-- 账户信息 -->
|
|
|
|
<account-info />
|
|
|
|
<!-- 菜单栏 -->
|
|
|
|
<commission-menu />
|
|
|
|
<!-- 分销记录 -->
|
|
|
|
<commission-log />
|
2022-11-22 07:45:36 +00:00
|
|
|
|
2023-12-27 05:54:05 +00:00
|
|
|
<!-- 权限弹窗 -->
|
|
|
|
<commission-auth />
|
2023-12-21 09:58:15 +00:00
|
|
|
</s-layout>
|
2022-11-22 07:45:36 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
2024-05-25 14:20:19 +00:00
|
|
|
import { computed } from 'vue';
|
2023-12-21 09:58:15 +00:00
|
|
|
import commissionInfo from './components/commission-info.vue';
|
|
|
|
import accountInfo from './components/account-info.vue';
|
|
|
|
import commissionLog from './components/commission-log.vue';
|
|
|
|
import commissionMenu from './components/commission-menu.vue';
|
|
|
|
import commissionAuth from './components/commission-auth.vue';
|
2024-05-25 14:20:19 +00:00
|
|
|
import sheep from '@/sheep';
|
2022-11-22 07:45:36 +00:00
|
|
|
|
2024-05-25 14:20:19 +00:00
|
|
|
const shareInfo = computed(() => {
|
|
|
|
return sheep.$platform.share.getShareInfo({
|
|
|
|
params: {
|
|
|
|
page: '6',
|
|
|
|
},
|
|
|
|
}, {
|
|
|
|
type: 'user',
|
|
|
|
});
|
|
|
|
});
|
2022-11-22 07:45:36 +00:00
|
|
|
|
2023-12-21 09:58:15 +00:00
|
|
|
const bgStyle = {
|
|
|
|
color: '#F7D598',
|
|
|
|
};
|
2022-11-22 07:45:36 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2023-12-21 09:58:15 +00:00
|
|
|
:deep(.page-main) {
|
|
|
|
background-size: 100% 100% !important;
|
|
|
|
}
|
2024-05-25 14:20:19 +00:00
|
|
|
</style>
|