细节优化

feat/task1-c-wallet
devil_gong 2019-05-31 18:49:07 +08:00
parent 9562e51ee6
commit b13d7d6c9d
3 changed files with 4 additions and 6 deletions

View File

@ -115,10 +115,10 @@
<td>{{$v.name}}</td>
<td>{{$v.platform_text}}</td>
<td>
<div class="am-circle nav-icon-circle" {{if !empty($v['bg_color'])}}style="background-color:{{$v.bg_color}};"{{/if}}>
<div class="am-circle nav-icon-circle am-vertical-align" {{if !empty($v['bg_color'])}}style="background-color:{{$v.bg_color}};"{{/if}}>
{{if !empty($v['images_url'])}}
<a href="{{$v['images_url']}}" target="_blank">
<img src="{{$v['images_url']}}" class="am-radius" width="30" height="30" />
<img src="{{$v['images_url']}}" class="am-radius am-vertical-align-middle" width="30" height="30" />
</a>
{{else /}}
<span class="cr-ddd">暂无图片</span>

View File

@ -134,7 +134,7 @@ iframe { width: 100%; height: 100%; border: 0; }
/**
*
*/
.am-form-file input[type="file"] { width: 105px !important; height: 32px; margin-top: 27px; overflow:hidden; }
.am-form-file input[type="file"] { width: 95px !important; height: 28px; margin-top: 10px !important; overflow:hidden; }
.am-form-file input.original-images-url { display: -webkit-inline-box !important; width: calc(100% - 110px) !important; background: #f5f5f5 !important; float: right; }
.am-form-file i.original-images-url-delete { position: absolute; right: 3px; margin-top: 5px; cursor: pointer; background: #f5f5f5; padding: 0px 10px; }
.am-form-file input.original-images-url-delete { padding-right: 35px !important; }

View File

@ -539,12 +539,10 @@ function Tree(id, url, level, is_add_node, is_delete_all)
html += '<span style="'+son_css+'">';
if((result.data[i]['icon_url'] || null) != null)
{
html += '<a href="'+result.data[i]['icon_url']+'" target="_blank"><img src="'+result.data[i]['icon_url']+'" width="20" height="20" style="margin-right:5px;" /></a>';
html += '<a href="'+result.data[i]['icon_url']+'" target="_blank"><img src="'+result.data[i]['icon_url']+'" width="20" height="20" class="am-vertical-align-middle am-margin-right-xs" /></a>';
}
html += '<span>'+(result.data[i]['name_alias'] || result.data[i]['name'])+'</span>';
html += '</span>';
// 数据 end
// 操作项 start