mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
style: 优化部分样式
This commit is contained in:
@@ -38,7 +38,6 @@ import Module from './components/Module.vue'
|
|||||||
import AccessTimeslot from '@/views/dashboard/analysis/components/AccessTimeslot.vue'
|
import AccessTimeslot from '@/views/dashboard/analysis/components/AccessTimeslot.vue'
|
||||||
|
|
||||||
defineOptions({ name: 'Analysis' })
|
defineOptions({ name: 'Analysis' })
|
||||||
// const AccessTimeslot = defineAsyncComponent(() => import('./components/AccessTimeslot.vue'))
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped></style>
|
||||||
|
@@ -64,7 +64,7 @@
|
|||||||
在 <a-link :href="item.repo.url" target="_blank" rel="noopener">{{ item.repo.alias }}</a-link>
|
在 <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>
|
创建了 Issue <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
|
||||||
</p>
|
</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>
|
更改了 <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>
|
的 Issue <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
|
||||||
状态为 {{ item.payload.stateString }}
|
状态为 {{ item.payload.stateString }}
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
接受了 <a-link :href="item.repo.url" target="_blank" rel="noopener">{{ item.repo.alias }}</a-link>
|
接受了 <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>
|
的 Pull Request <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
|
||||||
</p>
|
</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>
|
更改了 <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>
|
的 Pull Request <a-link :href="item.payload.url" target="_blank" rel="noopener">{{ item.payload.title }}</a-link>
|
||||||
状态为 {{ item.payload.stateString }}
|
状态为 {{ item.payload.stateString }}
|
||||||
|
@@ -80,6 +80,7 @@ onMounted(() => {
|
|||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
.item-content {
|
.item-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
justify-content: flex-start;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@@ -126,7 +126,7 @@ const dataList = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const columns: TableInstanceColumns[] = [
|
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: 'type', align: 'center' },
|
||||||
{ title: '状态', slotName: 'status', align: 'center' },
|
{ title: '状态', slotName: 'status', align: 'center' },
|
||||||
{ title: '排序', dataIndex: 'sort', align: 'center', show: false },
|
{ title: '排序', dataIndex: 'sort', align: 'center', show: false },
|
||||||
|
Reference in New Issue
Block a user