mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
feat: 更新按钮文本格式和相关链接的显示样式
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
"devDependencies": {
|
||||
"@types/bun": "^1.2.16",
|
||||
"@types/file-saver": "^2.0.7",
|
||||
"@types/jszip": "^3.10.6",
|
||||
"@types/jszip": "^3.4.1",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@vicons/ionicons5": "^0.13.0",
|
||||
"@vitejs/plugin-vue-jsx": "^4.2.0",
|
||||
|
||||
@@ -781,17 +781,23 @@
|
||||
size="small"
|
||||
secondary
|
||||
@click="moveVideo(item.id, 'up')"
|
||||
>上移</NButton>
|
||||
>
|
||||
上移
|
||||
</NButton>
|
||||
<NButton
|
||||
size="small"
|
||||
secondary
|
||||
@click="moveVideo(item.id, 'down')"
|
||||
>下移</NButton>
|
||||
>
|
||||
下移
|
||||
</NButton>
|
||||
<NButton
|
||||
type="warning"
|
||||
size="small"
|
||||
@click="removeVideo(item.id)"
|
||||
>删除</NButton>
|
||||
>
|
||||
删除
|
||||
</NButton>
|
||||
</NSpace>
|
||||
</template>
|
||||
</NCard>
|
||||
@@ -826,12 +832,16 @@
|
||||
type="primary"
|
||||
text
|
||||
@click="confirmEditLink(name)"
|
||||
>保存</NButton>
|
||||
>
|
||||
保存
|
||||
</NButton>
|
||||
<NButton
|
||||
size="tiny"
|
||||
text
|
||||
@click="cancelEditLink"
|
||||
>取消</NButton>
|
||||
>
|
||||
取消
|
||||
</NButton>
|
||||
</template>
|
||||
<template v-else>
|
||||
<NTooltip>
|
||||
@@ -852,18 +862,24 @@
|
||||
secondary
|
||||
text
|
||||
@click="moveLink(name, 'up')"
|
||||
>↑</NButton>
|
||||
>
|
||||
↑
|
||||
</NButton>
|
||||
<NButton
|
||||
size="tiny"
|
||||
secondary
|
||||
text
|
||||
@click="moveLink(name, 'down')"
|
||||
>↓</NButton>
|
||||
>
|
||||
↓
|
||||
</NButton>
|
||||
<NButton
|
||||
size="tiny"
|
||||
text
|
||||
@click="startEditLink(name)"
|
||||
>改名</NButton>
|
||||
>
|
||||
改名
|
||||
</NButton>
|
||||
<NPopconfirm @positive-click="removeLink(name)">
|
||||
<template #trigger>
|
||||
<NButton
|
||||
@@ -1066,4 +1082,6 @@
|
||||
</NButton>
|
||||
</NFlex>
|
||||
</NModal>
|
||||
</nspin>
|
||||
</ncard>
|
||||
</template>
|
||||
|
||||
@@ -157,12 +157,16 @@ export const Config = defineTemplateConfig([
|
||||
<NButton
|
||||
type="primary"
|
||||
@click="navigate('https://space.bilibili.com/' + userInfo?.biliId)"
|
||||
>个人主页</NButton>
|
||||
>
|
||||
个人主页
|
||||
</NButton>
|
||||
<NButton
|
||||
type="primary"
|
||||
secondary
|
||||
@click="navigate('https://live.bilibili.com/' + userInfo?.biliRoomId)"
|
||||
>直播间</NButton>
|
||||
>
|
||||
直播间
|
||||
</NButton>
|
||||
</NSpace>
|
||||
<template v-if="orderedLinks.length > 0">
|
||||
<NDivider> 相关链接 </NDivider>
|
||||
@@ -186,7 +190,11 @@ export const Config = defineTemplateConfig([
|
||||
</NFlex>
|
||||
</template>
|
||||
<template v-if="indexInfo.videos?.length || 0 > 0">
|
||||
<NDivider><NText style="font-size:18px">相关视频</NText></NDivider>
|
||||
<NDivider>
|
||||
<NText style="font-size:18px">
|
||||
相关视频
|
||||
</NText>
|
||||
</NDivider>
|
||||
<NFlex justify="center">
|
||||
<SimpleVideoCard
|
||||
v-for="video in indexInfo.videos"
|
||||
|
||||
Reference in New Issue
Block a user