Browse Source

tags ui update

master
filesite 6 months ago
parent
commit
852b5cf61f
  1. 6
      themes/tajian/views/my/tags.php
  2. 2
      www/css/tajian.css

6
themes/tajian/views/my/tags.php

@ -24,10 +24,12 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
$index ++; $index ++;
echo <<<eof echo <<<eof
<div class="mb-3 tag-item"> <div class="mb-3 tag-item">
<div class="clearfix">
<button class="btn-danger" type="button">删除</button> <button class="btn-danger" type="button">删除</button>
<label class="form-label">分类 {$index}</label> <label class="form-label">分类 {$index}</label>
<img src="/img/arrow-up.svg" alt="向上移动" width="18" data-action="up" class="verMiddle ml20 {$upIconCls}"> <img src="/img/arrow-up.svg" title="向上移动" width="20" data-action="up" class="verBaseline ml20 {$upIconCls}">
<img src="/img/arrow-down.svg" alt="向下移动" width="18" data-action="down" class="verMiddle ml20 {$downIconCls}"> <img src="/img/arrow-down.svg" title="向下移动" width="20" data-action="down" class="verBaseline ml20 {$downIconCls}">
</div>
<input name="tags[]" placeholder="请填写 2 - 5 个汉字" value="{$tag['name']}"> <input name="tags[]" placeholder="请填写 2 - 5 个汉字" value="{$tag['name']}">
</div> </div>
eof; eof;

2
www/css/tajian.css

@ -278,8 +278,10 @@ a:link{text-decoration:none;}
.mg_menus li a{display:block;padding:15px 10px} .mg_menus li a{display:block;padding:15px 10px}
.mg_menus li a:hover{background-color:lightblue;color:#FFF;font-weight:bold} .mg_menus li a:hover{background-color:lightblue;color:#FFF;font-weight:bold}
.mg_menus li img{vertical-align:middle} .mg_menus li img{vertical-align:middle}
.tag-item{margin-top:25px}
.tag-item .btn-danger{float:right} .tag-item .btn-danger{float:right}
.tag-item img{cursor:pointer} .tag-item img{cursor:pointer}
.tag-item input{margin-top:4px}
/* 收藏管理 */ /* 收藏管理 */
.favmg-item .btn-del{position:absolute;right:5px;bottom:5px} .favmg-item .btn-del{position:absolute;right:5px;bottom:5px}

Loading…
Cancel
Save