diff --git a/src/assets/images/workshop/posture/posture_1.png b/src/assets/images/workshop/posture/posture_1.png new file mode 100644 index 0000000..dc0cf81 Binary files /dev/null and b/src/assets/images/workshop/posture/posture_1.png differ diff --git a/src/assets/images/workshop/posture/posture_2.png b/src/assets/images/workshop/posture/posture_2.png new file mode 100644 index 0000000..f94e3c4 Binary files /dev/null and b/src/assets/images/workshop/posture/posture_2.png differ diff --git a/src/assets/images/workshop/posture/posture_3.png b/src/assets/images/workshop/posture/posture_3.png new file mode 100644 index 0000000..70cbe54 Binary files /dev/null and b/src/assets/images/workshop/posture/posture_3.png differ diff --git a/src/assets/images/workshop/posture/posture_4.png b/src/assets/images/workshop/posture/posture_4.png new file mode 100644 index 0000000..acfd7d9 Binary files /dev/null and b/src/assets/images/workshop/posture/posture_4.png differ diff --git a/src/router/index.ts b/src/router/index.ts index 89d96ed..4f2bb5e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,52 +1,74 @@ import { createRouter, createWebHistory } from 'vue-router' const router = createRouter({ - history: createWebHistory('/'), -// history: createWebHistory(import.meta.env.VITE_APP_URL), - routes: [ - { - path: '/', - redirect: "/workshop", - }, - { - path: '/workshop', - name: 'Workshop', - component: () => import('../views/Workshop/index.vue'), - children: [ - // { - // path: '', - // name: 'activitiesWorkshop', - // redirect: "/activities/workshop", - // }, + history: createWebHistory('/'), + // history: createWebHistory(import.meta.env.VITE_APP_URL), + routes: [ + { + path: '/', + redirect: "/workshop", + }, + { + path: '/workshop', + name: 'Workshop', + component: () => import('../views/Workshop/index.vue'), + children: [ + // { + // path: '', + // name: 'activitiesWorkshop', + // redirect: "/activities/workshop", + // }, - { - path: '/workshop/selectStyle', - name: 'SelectStyle', - component: () => import('../views/Workshop/selectStyle.vue'), - }, - { - path: '/workshop/selectModel', - name: 'SelectModel', - component: () => import('../views/Workshop/selectModel.vue'), - }, - { - path: '/workshop/selectModelContinue', - name: 'SelectModelContinue', - component: () => import('../views/Workshop/selectModelContinue.vue'), - }, - - { - path: '/workshop/uploadFace', - name: 'uploadFace', - component: () => import('../views/Workshop/uploadFace/index.vue'), - }, - { - path: '/workshop/customize', - name: 'customize', - component: () => import('../views/Workshop/customize/index.vue'), - }, - ] - }, - ] + { + path: '/workshop/selectStyle', + name: 'SelectStyle', + component: () => import('../views/Workshop/selectStyle.vue'), + }, + { + path: '/workshop/selectModel', + name: 'SelectModel', + component: () => import('../views/Workshop/selectModel.vue'), + }, + { + path: '/workshop/selectModelContinue', + name: 'SelectModelContinue', + component: () => import('../views/Workshop/selectModelContinue.vue'), + }, + + {// 上传照片 + path: '/workshop/uploadFace', + name: 'uploadFace', + component: () => import('../views/Workshop/uploadFace/index.vue'), + }, + {// 自定义创作 + path: '/workshop/customize', + name: 'customize', + component: () => import('../views/Workshop/customize/index.vue'), + children: [ + { + path: '/workshop/customize/home', + name: 'customizeHome', + component: () => import('../views/Workshop/customize/home.vue'), + }, + { + path: '/workshop/customize/library', + name: 'customizeLibrary', + component: () => import('../views/Workshop/customize/library.vue'), + }, + { + path: '/workshop/customize/creation', + name: 'customizeCreation', + component: () => import('../views/Workshop/customize/creation.vue'), + }, + ], + }, + {// 完成创建 + path: '/workshop/end', + name: 'end', + component: () => import('../views/Workshop/end/index.vue'), + }, + ] + }, + ] }) export default router diff --git a/src/views/Workshop/customize/creation.vue b/src/views/Workshop/customize/creation.vue new file mode 100644 index 0000000..6bdd2d0 --- /dev/null +++ b/src/views/Workshop/customize/creation.vue @@ -0,0 +1,94 @@ + + + + + diff --git a/src/views/Workshop/customize/home.vue b/src/views/Workshop/customize/home.vue index 14983fb..25dcd1b 100644 --- a/src/views/Workshop/customize/home.vue +++ b/src/views/Workshop/customize/home.vue @@ -1,58 +1,23 @@ diff --git a/src/views/Workshop/customize/index.vue b/src/views/Workshop/customize/index.vue index 12e9e09..7969760 100644 --- a/src/views/Workshop/customize/index.vue +++ b/src/views/Workshop/customize/index.vue @@ -1,20 +1,30 @@ @@ -23,61 +33,25 @@ --header-title-color: #fff; --header-title-background: #000; } - .session { + .link { width: 100%; - position: relative; - color: #000; - display: flex; - flex-direction: column; - align-items: center; - > .link { - padding: 2rem 5.4rem 0; - width: 100%; - > span { - font-family: satoshiRegular; - font-size: 3rem; - vertical-align: middle; - text-decoration: underline; - text-underline-offset: 0.8rem; - margin-right: 4.4rem; - } - } - > .title { - margin-top: 5.4rem; - font-family: satoshiBold; - font-size: 8.4rem; - text-align: center; - line-height: 124%; - } - > .tip { - margin-top: 0.56rem; + padding: 2rem 5.4rem 0; + > span { font-family: satoshiRegular; - font-size: 3.74rem; - line-height: 124%; - } - > .picture { - margin: 7.8rem 0; - width: 65.3rem; - height: 86.5rem; - border-radius: 1rem; - backdrop-filter: blur(5.27rem); - box-shadow: 1.9rem 2.3rem 1.66rem 0.23rem -0.3rem 0.23rem #36180c40; - border: 0.439rem solid #fff; - // border-image: linear-gradient(90deg,#BF926E94, #ffffff) 1; - display: flex; - align-items: center; - justify-content: center; - > img { - width: 58.9rem; - height: 79.2rem; - border-radius: 1rem; - border: 0.2rem solid #d9d9d9; - object-fit: contain; - } - } - > .btns { + font-size: 3rem; + vertical-align: middle; + text-decoration: underline; + text-underline-offset: 0.8rem; + margin-right: 4.4rem; } } + .session { + margin-top: 5.6rem; + width: 100%; + height: 155rem; + overflow: hidden; + padding: 0 2.5rem; + } .footer { position: fixed; width: 100%; diff --git a/src/views/Workshop/customize/library.vue b/src/views/Workshop/customize/library.vue new file mode 100644 index 0000000..f43280b --- /dev/null +++ b/src/views/Workshop/customize/library.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/views/Workshop/end/index.vue b/src/views/Workshop/end/index.vue new file mode 100644 index 0000000..3cee985 --- /dev/null +++ b/src/views/Workshop/end/index.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/src/views/Workshop/uploadFace/index.vue b/src/views/Workshop/uploadFace/index.vue index 78881aa..bd16636 100644 --- a/src/views/Workshop/uploadFace/index.vue +++ b/src/views/Workshop/uploadFace/index.vue @@ -1,8 +1,8 @@