优化界面

This commit is contained in:
GoEdgeLab
2020-11-16 15:26:27 +08:00
parent 71c682470c
commit 5af772a178
8 changed files with 43 additions and 27 deletions

View File

@@ -10,9 +10,8 @@
<thead>
<tr>
<th>账号说明</th>
<th>服务商</th>
<th class="center">域名</th>
<th>数据更新时间</th>
<th class="width10">服务商</th>
<th class="width5 center">域名</th>
<th class="two op">操作</th>
</tr>
</thead>
@@ -23,10 +22,6 @@
<span v-if="provider.countDomains == 0" class="disabled">0</span>
<span v-else>{{provider.countDomains}}</span>
</td>
<td>
<span v-if="provider.dataUpdatedTime.length > 0">{{provider.dataUpdatedTime}}</span>
<span v-else class="disabled">-</span>
</td>
<td>
<a :href="'/dns/providers/provider?providerId=' + provider.id">详情</a> &nbsp; &nbsp; <a href="" @click.prevent="deleteProvider(provider.id)">删除</a>
</td>

View File

@@ -52,9 +52,9 @@
<thead>
<tr>
<th>域名</th>
<th>线路</th>
<th>节点域名</th>
<th>服务域名</th>
<th class="width10 center">线路</th>
<th class="width10 center">节点域名</th>
<th class="width10 center">服务域名</th>
<th>数据更新时间</th>
<th>状态</th>
<th class="three op">操作</th>
@@ -62,15 +62,15 @@
</thead>
<tr v-for="(domain, index) in domains">
<td>{{domain.name}}</td>
<td>
<td class="center">
<a href="" v-if="domain.countRoutes > 0" @click.prevent="showRoutes(domain.id)">{{domain.countRoutes}}个</a>
<span v-else class="disabled">0个</span>
</td>
<td>
<td class="center">
<span v-if="domain.countNodeRecords > 0">{{domain.countNodeRecords}}个</span>
<span v-else class="disabled">0个</span>
</td>
<td>
<td class="center">
<span v-if="domain.countServerRecords > 0">{{domain.countServerRecords}}个</span>
<span v-else class="disabled">0个</span>
</td>