This commit is contained in:
zhangyh
2025-10-13 15:18:01 +08:00
3 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

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