Skip to content

Commit

Permalink
Merge pull request #249 from dinphy/dev
Browse files Browse the repository at this point in the history
feature: 调整视频上传地址显示
  • Loading branch information
xuewenG authored Jan 1, 2025
2 parents 0f0b2f8 + c207f3f commit 205ed6b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions front/components/UploadVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@
</svg>
</template>
</UInput>
<div class="text-xs text-gray-400">视频直链地址</div>
<UInput type="text" size="sm" v-model="onlineUrl">
<template #leading>
<UIcon name="i-carbon-video-player" class="w-6 h-6"/>
</template>
</UInput>
</template>

<template #uploadVideo="{ item }">
<div class="text-xs text-gray-400">上传视频</div>
<UInput type="file" size="sm" icon="i-heroicons-folder" @change="handleUploadVideo"/>
<div class="text-xs text-gray-400">视频地址</div>
<UInput type="text" size="sm" v-model="onlineUrl">
<template #leading>
<UIcon name="i-carbon-video-player" class="w-6 h-6"/>
</template>
</UInput>

<p v-if="filename" class="text-xs text-gray-400">正在上传({{ current }}/{{ total }})</p>
<p v-if="filename" class="text-xs text-gray-400">{{ filename }}</p>
Expand Down Expand Up @@ -179,4 +179,4 @@ const reset = (close: Function) => {

<style scoped>
</style>
</style>

0 comments on commit 205ed6b

Please sign in to comment.