forked from zhongyidian/super_video
feat: 添加技能树路由,优化组件缓存和图片预览功能
This commit is contained in:
1 parent
431d3ce6cb
commit
f8a997aad4
23 files changed
+751
-18
No files matched your search
@@ -27,6 +27,10 @@ const handleWorkClick = () => {
|
||||
router.push({ name: 'Work' })
|
||||
}
|
||||
|
||||
const handleClose = () => {
|
||||
router.back()
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
if (route.query.key === 'video') {
|
||||
currentStep.value = 1
|
||||
@@ -42,6 +46,13 @@ onMounted(() => {
|
||||
:style="{ backgroundImage: getBackgroundImage(IMAGE_PATHS.VLOG.BG_CENTER) }"
|
||||
></div>
|
||||
|
||||
<!-- 关闭 -->
|
||||
<ImgButton
|
||||
class="absolute right-0 top-0 z-20"
|
||||
:image="IMAGE_PATHS.COMPONENTS.CLOSE"
|
||||
@click="handleClose"
|
||||
/>
|
||||
|
||||
<!-- 背景图片 -->
|
||||
<div
|
||||
class="absolute inset-0 bg-cover bg-center bg-no-repeat"
|
||||
|
||||
Reference in new issue
Block a user