feat(commission): 支持计奖商品参与设置、独立分成与多规格规则,完善团队中心与微信快捷登录
这个提交包含在:
@@ -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
|
||||
// 小程序识别二维码
|
||||
|
||||
在新工单中引用
屏蔽一个用户