Skip to content

Commit 7eba0da

Browse files
css style
1 parent 0db1c0b commit 7eba0da

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

app/appadmin/theme/base/default/fecadmin/role/manageredit.php

+7-3
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,19 @@ function thissubmit(thiss){
2929
float:left;
3030
margin:5px 0 0 0;
3131
}
32+
.group_resource{
33+
padding-left:10px;
34+
}
3235
.clear{
3336
clear:both;
3437
}
3538
.group_resource li{
3639
margin:25px 10px 0 0 ;
3740
float:left;
3841
}
42+
.line-resources{
43+
width:100%
44+
}
3945
</style>
4046

4147
<div class="pageContent">
@@ -58,9 +64,8 @@ function thissubmit(thiss){
5864
<div style=" float:left; display:block; margin:10px; overflow:auto; width:900px; overflow:auto; border:solid 1px #CCC; line-height:21px; background:#FFF;">
5965
<ul class="group_resource" >
6066
<?php if (is_array($groupResources)): ?>
61-
<li class="clear"></li>
6267
<?php foreach ($groupResources as $groupKey => $resources): ?>
63-
<li>
68+
<li class="line-resources">
6469
<div><span><?= isset($tags[$groupKey]) ? $tags[$groupKey] : '' ?></span></div>
6570
<ul>
6671
<?php if (is_array($resources)): ?>
@@ -77,7 +82,6 @@ function thissubmit(thiss){
7782
<?php endif; ?>
7883
</ul>
7984
</li>
80-
<li class="clear"></li>
8185
<?php endforeach; ?>
8286

8387
<?php endif; ?>

migrations/mysqldb/m181025_090031_fecshop_tables.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function safeUp()
2727
`name` varchar(150) DEFAULT NULL COMMENT 'url key 的名称',
2828
`tag` varchar(40) NOT NULL COMMENT 'tag名称,在同一个菜单里面的url_key可以设置成同一个Tag',
2929
`tag_sort_order` int(10) DEFAULT '0',
30-
`url_key` varchar(255) NOT NULL,
30+
`url_key` varchar(255) NOT NULL COMMENT '资源,可以是url_key, 也可以是某个字符串标示',
3131
`created_at` int(20) DEFAULT NULL,
3232
`updated_at` int(20) DEFAULT NULL,
3333
`can_delete` int(5) DEFAULT '2' COMMENT '是否可以被删除,1代表不可以删除,2代表可以删除',

0 commit comments

Comments
 (0)