插件管理页面优化
parent
537c37d6b0
commit
7f287188a2
|
|
@ -15,17 +15,17 @@
|
|||
{{/if}}
|
||||
<!-- operation end -->
|
||||
|
||||
<div class="am-alert">
|
||||
<p>1 列表排序方式[ 自定义排序 -> 最早安装 ]</p>
|
||||
<p>
|
||||
<span>2. 可点击拖动图标按钮调整插件调用和展示顺序</span>
|
||||
<button type="button" class="am-btn am-btn-success am-radius am-btn-xs am-margin-left-xs am-icon-sort-numeric-asc submit-move-sort-open"> 开启排序</button>
|
||||
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-xs am-margin-left-xs am-icon-check submit-move-sort-save am-hide"> 保存</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-radius am-btn-xs am-margin-left-xs am-icon-close submit-move-sort-cancel am-hide"> 取消</button>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{{if !empty($data_list)}}
|
||||
<!-- 操作提示 -->
|
||||
<div class="am-alert">
|
||||
<p>1 列表排序方式[ 自定义排序 -> 最早安装 ]</p>
|
||||
<p>
|
||||
<span>2. 可点击拖动图标按钮调整插件调用和展示顺序</span>
|
||||
<button type="button" class="am-btn am-btn-success am-radius am-btn-xs am-margin-left-xs am-icon-sort-numeric-asc submit-move-sort-open"> 开启排序</button>
|
||||
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-xs am-margin-left-xs am-icon-check submit-move-sort-save am-hide"> 保存</button>
|
||||
<button type="button" class="am-btn am-btn-danger am-radius am-btn-xs am-margin-left-xs am-icon-close submit-move-sort-cancel am-hide"> 取消</button>
|
||||
</p>
|
||||
</div>
|
||||
<!-- 已安装 -->
|
||||
<ul data-am-widget="gallery" class="am-gallery am-avg-sm-1 am-avg-md-2 am-avg-lg-3 am-gallery-bordered already-install" data-am-gallery="{}" data-sort-save-url="{{:MyUrl('admin/pluginsadmin/sortsave')}}">
|
||||
{{foreach $data_list as $v}}
|
||||
|
|
@ -65,10 +65,15 @@
|
|||
</ul>
|
||||
|
||||
<!-- 未安装 -->
|
||||
<div class="am-text-center am-margin-top-lg am-margin-bottom-xs">
|
||||
<strong class="am-text-lg">以下插件未安装</strong>
|
||||
<div class="am-text-center am-margin-top-lg am-margin-bottom-xs middle-divider">
|
||||
<strong>
|
||||
<i class="am-icon-angle-double-down"></i>
|
||||
<span class="am-text-lg am-margin-horizontal-xs">以下插件未安装</span>
|
||||
<i class="am-icon-angle-double-down"></i>
|
||||
</strong>
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-top-0" />
|
||||
</div>
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-top-0" />
|
||||
|
||||
<ul data-am-widget="gallery" class="am-gallery am-avg-sm-1 am-avg-md-2 am-avg-lg-3 am-gallery-bordered" data-am-gallery="{}" data-sort-save-url="{{:MyUrl('admin/pluginsadmin/sortsave')}}">
|
||||
{{foreach $data_list as $v}}
|
||||
{{if !isset($v['is_install']) or $v['is_install'] eq 0}}
|
||||
|
|
@ -97,6 +102,10 @@
|
|||
{{/if}}
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
<div class="am-padding-vertical-xl am-text-center">
|
||||
<a href="{{$store_url}}" class="am-margin-left-xs">去应用商店挑选更多插件丰富站点 >></a>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 删除弹层 -->
|
||||
<div class="am-modal am-modal-no-btn" tabindex="-1" id="plugins-delete-modal">
|
||||
|
|
@ -122,7 +131,7 @@
|
|||
{{else /}}
|
||||
<div class="table-no">
|
||||
<i class="am-icon-warning"></i> 还没有相关应用
|
||||
<a href="{{$store_url}}" class="am-margin-left-xs">到应用商店看看 >></a>
|
||||
<a href="{{$store_url}}" class="am-margin-left-xs">到应用商店挑选插件丰富站点 >></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -37,15 +37,13 @@ return array (
|
|||
0 => 'app\\plugins\\share\\Hook',
|
||||
1 => 'app\\plugins\\membershiplevelvip\\Hook',
|
||||
2 => 'app\\plugins\\exchangerate\\Hook',
|
||||
3 => 'app\\plugins\\limitedtimediscount\\Hook',
|
||||
4 => 'app\\plugins\\points\\Hook',
|
||||
3 => 'app\\plugins\\points\\Hook',
|
||||
),
|
||||
'plugins_js' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\share\\Hook',
|
||||
1 => 'app\\plugins\\exchangerate\\Hook',
|
||||
2 => 'app\\plugins\\limitedtimediscount\\Hook',
|
||||
3 => 'app\\plugins\\points\\Hook',
|
||||
2 => 'app\\plugins\\points\\Hook',
|
||||
),
|
||||
'plugins_view_common_bottom' =>
|
||||
array (
|
||||
|
|
@ -63,21 +61,18 @@ return array (
|
|||
'plugins_service_navigation_header_handle' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\membershiplevelvip\\Hook',
|
||||
1 => 'app\\plugins\\limitedtimediscount\\Hook',
|
||||
2 => 'app\\plugins\\points\\Hook',
|
||||
1 => 'app\\plugins\\points\\Hook',
|
||||
),
|
||||
'plugins_service_goods_handle_end' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\membershiplevelvip\\Hook',
|
||||
1 => 'app\\plugins\\exchangerate\\Hook',
|
||||
2 => 'app\\plugins\\limitedtimediscount\\Hook',
|
||||
3 => 'app\\plugins\\points\\Hook',
|
||||
2 => 'app\\plugins\\points\\Hook',
|
||||
),
|
||||
'plugins_service_goods_spec_base' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\membershiplevelvip\\Hook',
|
||||
1 => 'app\\plugins\\exchangerate\\Hook',
|
||||
2 => 'app\\plugins\\limitedtimediscount\\Hook',
|
||||
),
|
||||
'plugins_service_buy_group_goods_handle' =>
|
||||
array (
|
||||
|
|
@ -177,14 +172,6 @@ return array (
|
|||
array (
|
||||
0 => 'app\\plugins\\exchangerate\\Hook',
|
||||
),
|
||||
'plugins_view_goods_detail_base_top' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\limitedtimediscount\\Hook',
|
||||
),
|
||||
'plugins_view_home_floor_top' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\limitedtimediscount\\Hook',
|
||||
),
|
||||
'plugins_view_buy_form_inside' =>
|
||||
array (
|
||||
0 => 'app\\plugins\\points\\Hook',
|
||||
|
|
|
|||
|
|
@ -88,6 +88,28 @@
|
|||
border: 1px solid #f8815d !important;
|
||||
background: #fffbf5;
|
||||
}
|
||||
.content .middle-divider {
|
||||
height: 50px;
|
||||
position: relative;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.content .middle-divider strong {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
background: #fff;
|
||||
padding: 4px 20px;
|
||||
left: calc(50% - 83px);
|
||||
border: 1px dashed #ccc;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.content .middle-divider:hover > strong {
|
||||
border: 1px dashed #2196F3;
|
||||
color: #2196F3;
|
||||
background: #eaf6ff;
|
||||
}
|
||||
.content .middle-divider:hover > hr {
|
||||
border-top: 1px dashed #2196F3;
|
||||
}
|
||||
@media only screen and (max-width: 641px) {
|
||||
.content ul.am-gallery-bordered li .am-gallery-item {
|
||||
height: 187px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue