mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-29 01:40:16 +00:00
23 lines
746 B
PHP
23 lines
746 B
PHP
<?php
|
|
|
|
return [
|
|
'discount' => [
|
|
'key' => 'discount',
|
|
'name' => '下单折扣', // 权益名称
|
|
'desc' => '商品购买享受折扣优惠', // 权益说明
|
|
'component' => '/src/app/views/member/components/benefits-discount.vue',
|
|
"content" => [
|
|
'admin' => function($config) {
|
|
return "下单享受{$config['discount']}折折扣";
|
|
},
|
|
'member_level' => function($config) {
|
|
return [
|
|
'title' => "可享{$config['discount']}折",
|
|
'desc' => '购物折扣',
|
|
'icon' => '/static/resource/images/member/benefits/benefits_discount.png'
|
|
];
|
|
}
|
|
]
|
|
]
|
|
];
|