Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
71daab71
Commit
71daab71
authored
May 25, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码优化】 ux: 体验优化等
parent
cb004e1f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
index.vue
src/components/common/BackButton/index.vue
+5
-3
index.vue
src/components/common/UploadImgIcon/index.vue
+0
-1
index.vue
src/components/common/UploadVideo/index.vue
+7
-1
No files found.
src/components/common/BackButton/index.vue
View file @
71daab71
<
template
>
<
template
>
<div
<button
class=
"absolute -left-12 top-2 z-10 flex flex-col items-center bg-white rounded-lg shadow-md shadow-black/6 border border-gray-100 cursor-pointer hover:shadow-lg hover:border-indigo-200 transition-all duration-300 group w-9 h-9 hover:h-18 overflow-hidden"
type=
"button"
aria-label=
"返回"
class=
"absolute -left-12 top-2 z-10 flex flex-col items-center bg-white rounded-lg shadow-md shadow-black/6 border border-gray-100 cursor-pointer hover:shadow-lg hover:border-indigo-200 transition-all duration-300 group w-9 h-9 hover:h-18 overflow-hidden p-0"
@
click=
"handleBack"
@
click=
"handleBack"
>
>
<svg
<svg
...
@@ -19,7 +21,7 @@
...
@@ -19,7 +21,7 @@
>
>
返回
返回
</span>
</span>
</
div
>
</
button
>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
...
...
src/components/common/UploadImgIcon/index.vue
View file @
71daab71
...
@@ -32,7 +32,6 @@ export default defineComponent({
...
@@ -32,7 +32,6 @@ export default defineComponent({
ref
=
"fileInputRef"
ref
=
"fileInputRef"
onChange
=
{
handleFileChange
}
onChange
=
{
handleFileChange
}
accept
=
"image/*"
accept
=
"image/*"
multiple
/>
/>
<
div
onClick
=
{()
=>
fileInputRef
?.
value
?.
click
()}
>
{
UploadImgIcon
}
<
/div
>
<
div
onClick
=
{()
=>
fileInputRef
?.
value
?.
click
()}
>
{
UploadImgIcon
}
<
/div
>
<
/div
>
<
/div
>
...
...
src/components/common/UploadVideo/index.vue
View file @
71daab71
...
@@ -253,7 +253,13 @@ const replaceVideo = () => {
...
@@ -253,7 +253,13 @@ const replaceVideo = () => {
// 预览播放
// 预览播放
const
previewVideo
=
()
=>
{
const
previewVideo
=
()
=>
{
window
.
open
(
videoInfo
.
value
?.
url
,
'_blank'
)
const
url
=
videoInfo
.
value
?.
url
if
(
!
url
)
{
push
.
warning
(
'暂无可预览的视频'
)
return
}
window
.
open
(
url
,
'_blank'
)
}
}
// 重试上传
// 重试上传
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment