feat(commission): 支持计奖商品参与设置、独立分成与多规格规则,完善团队中心与微信快捷登录

这个提交包含在:
chen
2026-09-17 19:27:17 +08:00
父节点 3c7df9688b
当前提交 829e88cfa9
共有 54 个文件被更改,包括 3536 次插入 和 666 次删除

查看文件

@@ -5,7 +5,7 @@
navbar="custom"
tabbar="/pages/index/index"
:bgStyle="template.style?.background"
:navbarStyle="template.style?.navbar"
:navbarStyle="navbarStyle"
onShareAppMessage
:showFloatButton="true"
>
@@ -30,6 +30,43 @@
});
const template = computed(() => sheep.$store('app').template?.home);
// 代码直接接管首页顶部导航栏 Logo,不依赖后台装修配置
const navbarStyle = computed(() => {
const base = template.value?.style?.navbar || {};
return {
...base,
mode: 'normal',
type: 'color',
color: '#FFFFFF',
list: {
mp: [
{
width: 3,
height: 1,
top: 0,
left: 0,
type: 'image',
src: '/static/logo.png',
url: '/pages/index/index',
borderRadius: 0,
},
],
app: [
{
width: 4,
height: 1,
top: 0,
left: 2,
type: 'image',
src: '/static/logo.png',
url: '/pages/index/index',
borderRadius: 0,
},
],
},
};
});
onLoad((options) => {
// #ifdef MP
// 小程序识别二维码