优化页面显示

This commit is contained in:
Aicirou 2020-05-30 01:08:51 +08:00
parent 0f0a7d3644
commit f3750ad442
5 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ {
"_name": "🇬🇧English", "_name": "English",
"languages": "Languages", "languages": "Languages",
"index": "Home", "index": "Home",
"folder": "Folder", "folder": "Folder",

View File

@ -1,5 +1,5 @@
{ {
"_name": "🇨🇳简体中文", "_name": "简体中文",
"languages": "选择语言", "languages": "选择语言",
"index": "首页", "index": "首页",
"folder": "文件夹", "folder": "文件夹",

View File

@ -1,5 +1,5 @@
{ {
"_name": "🇨🇳繁体中文", "_name": "繁体中文",
"languages": "選擇語言", "languages": "選擇語言",
"index": "首頁", "index": "首頁",
"folder": "文件夾", "folder": "文件夾",

View File

@ -9,7 +9,7 @@
> >
<div class="card g2-grid-view-card g2-grid-view-folder"> <div class="card g2-grid-view-card g2-grid-view-folder">
<div class="media"> <div class="media">
<div class="content"> <div class="content" :title="file.name">
<svg class="iconfont" aria-hidden="true"> <svg class="iconfont" aria-hidden="true">
<use :xlink:href="getIcon(file.mimeType)" /> <use :xlink:href="getIcon(file.mimeType)" />
</svg> </svg>
@ -41,7 +41,7 @@
</figure> </figure>
</div> </div>
<div class="media g2-grid-view-file"> <div class="media g2-grid-view-file">
<div class="content"> <div class="content" :title="file.name">
<svg class="iconfont" aria-hidden="true"> <svg class="iconfont" aria-hidden="true">
<use :xlink:href="getIcon(file.mimeType)" /> <use :xlink:href="getIcon(file.mimeType)" />
</svg> </svg>

View File

@ -27,6 +27,7 @@
: '' : ''
) )
" "
:title="file.name"
> >
<svg class="iconfont" aria-hidden="true"> <svg class="iconfont" aria-hidden="true">
<use :xlink:href="icons(file.mimeType)" /> <use :xlink:href="icons(file.mimeType)" />