Skip to content

Commit

Permalink
网站管理,样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyunleo committed Dec 1, 2023
1 parent e5608f5 commit c7c0abe
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions src/renderer/views/Website.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,20 @@
<a-card size="small">
<div class='web-header' >
<a-button type="primary" @click="showAdd">{{t("Add")}}</a-button>
<input-with-search :placeholder="mt('Input','ws','DomainName')"
style='width: 200px' @search='search' />
<div>
{{mt('Show','ws', 'Column')}}:
<a-checkbox v-model:checked='store.websiteList.showSecondDomainName'>
{{ mt('Second', 'ws', 'DomainName') }}
</a-checkbox>
<a-checkbox v-model:checked="store.websiteList.showNote">
{{mt('Note')}}
</a-checkbox>
</div>
<input-with-search :placeholder="mt('Input','ws','DomainName')" style="width: 200px" @search="search" />
</div>
</a-card>

<a-card size="small" style='margin-top:15px'>
{{mt('Show','ws', 'Column')}}:
<a-checkbox v-model:checked='store.websiteList.showSecondDomainName'>
{{ mt('Second', 'ws', 'DomainName') }}
</a-checkbox>
<a-checkbox v-model:checked="store.websiteList.showNote">
{{mt('Note')}}
</a-checkbox>
</a-card>

<a-table :scroll="{y: 'calc(100vh - 280px)'}"
<a-table :scroll="{y: 'calc(100vh - 220px)'}"
:columns="columns"
:data-source="list"
class="content-table web-table scroller"
Expand Down Expand Up @@ -228,6 +226,7 @@ const openRootPath = (item) => {
.web-header {
display: flex;
justify-content: space-between;
align-items: center;
}
:deep(td) {
height: 57px;
Expand Down

0 comments on commit c7c0abe

Please sign in to comment.