Merge branch 'master' of https://gitee.com/lvYeJu/lane-crawford-3
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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')
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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' })
|
||||||
|
|||||||
Reference in New Issue
Block a user