商品详情二维码改为静态,动态表格组件优化

This commit is contained in:
devil
2020-08-13 13:41:36 +08:00
parent 36d04c0e83
commit a67f26245f
14 changed files with 166 additions and 84 deletions

View File

@ -124,6 +124,16 @@ class Common extends Controller
// 公共表格钩子名称动态处理
$current = 'plugins_view_admin_'.$this->controller_name;
// 是否插件默认下
if($this->controller_name == 'plugins')
{
if(!empty($this->data_request['pluginsname']))
{
$current .= '_'.trim($this->data_request['pluginsname']);
}
}
// 内容外部顶部
$this->assign('hook_name_content_top', $current.'_content_top');
// 内容外部底部