2024-08-07 10:31:42 +08:00
|
|
|
<!-- 分销中心 -->
|
|
|
|
<template>
|
2024-08-07 21:40:27 +08:00
|
|
|
<s-layout
|
2024-10-16 18:09:51 +08:00
|
|
|
navbar="custom"
|
|
|
|
navbarMode="inner"
|
2024-08-07 21:40:27 +08:00
|
|
|
class="index-wrap"
|
2024-10-16 18:09:51 +08:00
|
|
|
title=""
|
2024-08-07 21:40:27 +08:00
|
|
|
:bgStyle="bgStyle"
|
|
|
|
:onShareAppMessage="shareInfo"
|
|
|
|
>
|
|
|
|
<!-- 分销商信息 -->
|
|
|
|
<commission-info />
|
|
|
|
<!-- 账户信息 -->
|
2024-10-16 18:09:51 +08:00
|
|
|
<!-- <account-info /> -->
|
2024-08-07 21:40:27 +08:00
|
|
|
<!-- 菜单栏 -->
|
|
|
|
<commission-menu />
|
|
|
|
<!-- 分销记录 -->
|
2024-10-16 18:09:51 +08:00
|
|
|
<!-- <commission-log /> -->
|
2024-08-07 10:31:42 +08:00
|
|
|
|
2024-08-07 21:40:27 +08:00
|
|
|
<!-- 权限弹窗 -->
|
|
|
|
<commission-auth />
|
|
|
|
</s-layout>
|
2024-08-07 10:31:42 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import { computed } from 'vue';
|
2024-08-07 21:40:27 +08:00
|
|
|
import commissionInfo from './components/commission-info.vue';
|
2024-10-16 18:09:51 +08:00
|
|
|
// import accountInfo from './components/account-info.vue';
|
2024-08-07 21:40:27 +08:00
|
|
|
import commissionLog from './components/commission-log.vue';
|
|
|
|
import commissionMenu from './components/commission-menu.vue';
|
|
|
|
import commissionAuth from './components/commission-auth.vue';
|
2024-08-07 10:31:42 +08:00
|
|
|
import sheep from '@/sheep';
|
|
|
|
|
|
|
|
const shareInfo = computed(() => {
|
2024-08-07 21:40:27 +08:00
|
|
|
return sheep.$platform.share.getShareInfo(
|
|
|
|
{
|
|
|
|
params: {
|
|
|
|
page: '6',
|
|
|
|
},
|
2024-08-07 10:31:42 +08:00
|
|
|
},
|
2024-08-07 21:40:27 +08:00
|
|
|
{
|
|
|
|
type: 'user',
|
|
|
|
},
|
|
|
|
);
|
2024-08-07 10:31:42 +08:00
|
|
|
});
|
|
|
|
|
2024-08-07 21:40:27 +08:00
|
|
|
const bgStyle = {
|
|
|
|
color: '#F7D598',
|
|
|
|
};
|
2024-08-07 10:31:42 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2024-08-07 21:40:27 +08:00
|
|
|
:deep(.page-main) {
|
|
|
|
background-size: 100% 100% !important;
|
|
|
|
}
|
2024-08-07 10:31:42 +08:00
|
|
|
</style>
|