| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 | <?phpreturn [    'shop_goods' => [        'title' => get_lang('dict_diy_poster.shop_goods_component_type_basic'),        'support' => [], // 支持的插件        'list' => [            'GoodsImage' => [                'title' => "商品图片",                'type' => 'image',                'icon' => "iconfont iconshangpintupian",                'path' => "goods-image", // 属性编辑                'uses' => 1,                'sort' => 10006,                'relate' => 'goods_img', // 关联字段,空为不处理                'value' => '',                'template' => [                    "width" => 400, // 宽度                    'height' => 400, // 高度                    'minWidth' => 60, // 最小宽度                    'minHeight' => 60, // 最小高度                ],            ],            'GoodsName' => [                'title' => "商品名称",                'type' => 'text',                'icon' => "iconfont iconjinbi",                'path' => "goods-name",                'uses' => 1,                'sort' => 10007,                'relate' => 'goods_name', // 关联字段,空为不处理                'value' => '',                'template' => [                    "width" => 164, // 宽度                    'height' => 55, // 高度                ]            ],            'GoodsPrice' => [                'title' => "销售价",                'type' => 'text',                'icon' => "iconfont iconshoujia",                'path' => "goods-price",                'uses' => 1,                'sort' => 10008,                'relate' => 'goods_price', // 关联字段,空为不处理                'value' => '',                'template' => [                    "fontFamily" => 'static/font/price.ttf', // 字体                    'width' => 151, // 宽度                    'height' => 49, // 高度                ],            ],            'GoodsMarketPrice' => [                'title' => "划线价",                'type' => 'text',                'icon' => "iconfont iconhuajiaqian",                'path' => "goods-market-price",                'uses' => 1,                'sort' => 10009,                'relate' => 'goods_market_price', // 关联字段,空为不处理                'value' => '',                'template' => [                    "fontFamily" => 'static/font/price.ttf', // 字体                    'width' => 170, // 宽度                    'height' => 48, // 高度                ],            ]        ]    ],];
 |