style: 优化部分样式

This commit is contained in:
2024-11-06 22:47:39 +08:00
parent 169a3049c4
commit 4cd4e51ef1
4 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,6 @@ import Module from './components/Module.vue'
import AccessTimeslot from '@/views/dashboard/analysis/components/AccessTimeslot.vue'
defineOptions({ name: 'Analysis' })
// const AccessTimeslot = defineAsyncComponent(() => import('./components/AccessTimeslot.vue'))
</script>
<style lang="scss" scoped></style>

View File

@@ -64,7 +64,7 @@
<a-link :href="item.repo.url" target="_blank" rel="noopener">{{ item.repo.alias }}</a-link>
创建了 Issue <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
</p>
<p v-else-if="item.type === 'ISSUE_CLOSE'">
<p v-else-if="item.type === 'ISSUE_CLOSE' || item.type === 'ISSUE_REOPEN'">
更改了 <a-link :href="item.repo.url" target="_blank" rel="noopener">{{ item.repo.alias }}</a-link>
Issue <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
状态为 {{ item.payload.stateString }}
@@ -81,7 +81,7 @@
接受了 <a-link :href="item.repo.url" target="_blank" rel="noopener">{{ item.repo.alias }}</a-link>
Pull Request <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
</p>
<p v-else-if="item.type === 'PULL_REQUEST_CLOSE'">
<p v-else-if="item.type === 'PULL_REQUEST_CLOSE' || item.type === 'PULL_REQUEST_REOPEN'">
更改了 <a-link :href="item.repo.url" target="_blank" rel="noopener">{{ item.repo.alias }}</a-link>
Pull Request <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
状态为 {{ item.payload.stateString }}

View File

@@ -80,6 +80,7 @@ onMounted(() => {
margin-bottom: 4px;
.item-content {
flex: 1;
justify-content: flex-start;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

View File

@@ -126,7 +126,7 @@ const dataList = computed(() => {
})
const columns: TableInstanceColumns[] = [
{ title: '菜单标题', dataIndex: 'title', slotName: 'title', minWidth: 170, fixed: !isMobile() ? 'left' : undefined },
{ title: '菜单标题', dataIndex: 'title', slotName: 'title', width: 170, fixed: !isMobile() ? 'left' : undefined },
{ title: '类型', slotName: 'type', align: 'center' },
{ title: '状态', slotName: 'status', align: 'center' },
{ title: '排序', dataIndex: 'sort', align: 'center', show: false },