|
@@ -30,7 +30,7 @@ $buy = array
|
|
|
$page = 15;
|
|
|
|
|
|
|
|
|
-$col = 'id,name,subname,pic_cover,pic_view_cover,pic_view_bg,pdate,num_add_view+num_view as num_view,num_ding+num_add_ding as num_ding,num_comment,buy';
|
|
|
+$col = 'id,name,subname,pic_cover,pic_view_cover,pic_view_bg,pdate,num_add_view+num_view as num_view,num_ding+num_add_ding as num_ding,num_comment,buy,share_yes,share_title,share_pic,share_content';
|
|
|
|
|
|
return array
|
|
|
(
|
|
@@ -291,6 +291,55 @@ return array
|
|
|
'option' => $buy,
|
|
|
),
|
|
|
|
|
|
+ 'share_yes' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '是否显示分享按钮',
|
|
|
+ 'default' => '1',
|
|
|
+ 'desc' => '是否显示分享按钮',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'radio',
|
|
|
+ 'option' => $share,
|
|
|
+ 'control' => 'share_yes',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'share_title' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-100',
|
|
|
+ 'name' => '分享标题',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '分享标题',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'text',
|
|
|
+ 'show' => 'share_yes=1',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'share_pic' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-150',
|
|
|
+ 'name' => '分享图片',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '分享图片',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'image',
|
|
|
+ 'key' => '1',
|
|
|
+ 'place' => '150',
|
|
|
+ 'show' => 'share_yes=1',
|
|
|
+ 'upload' => 'qiniu',
|
|
|
+ 'large' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'share_content' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-200',
|
|
|
+ 'name' => '分享内容',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '分享内容',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ 'show' => 'share_yes=1',
|
|
|
+ ),
|
|
|
+
|
|
|
'reorder' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|