This commit is contained in:
李志鹏
2025-10-13 14:02:37 +08:00
parent 9b2332e86a
commit 59a47e0556
3 changed files with 6 additions and 3 deletions

View File

@@ -23,13 +23,15 @@
<style scoped lang="less">
.header-title {
position: sticky;
width: 100%;
height: var(--header-title-height, 9.9rem);
top: 0;
z-index: var(--header-title-z-index, 999);
background-color: var(--header-title-background, #000000);
display: flex;
align-items: center;
justify-content: center;
position: relative;
> .return {
position: absolute;
left: 3.2rem;

View File

@@ -84,7 +84,7 @@ const router = createRouter({
component: () => import('../views/Workshop/customize/index.vue'),
children: [
{
path: '/workshop/customize/home',
path: '/workshop/customize',
name: 'customizeHome',
component: () => import('../views/Workshop/customize/home.vue')
},

View File

@@ -6,7 +6,8 @@
const currentRouteName = computed(() => router.currentRoute.value.name)
import { ref } from 'vue'
const onHome = () => {
router.push({ name: 'customizeHome' })
// router.push({ name: 'customizeHome' })
router.push({ path: '/signup' })
}
const onLibrary = () => {
router.push({ name: 'customizeLibrary' })