-
+
+
+
Outfit Result
+
Refine your Look
-
+
+
+
+
![]()
+
+
+
+
+ Choose More
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Re-try
+
+
+
+
+
Continue
+
+
+
+
+
+
+
\ No newline at end of file
+.header-title {
+ // --header-title-background: #f6f6f6;
+}
+.loading-container {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ z-index: 2;
+ background-color: #fff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.selectStyle {
+ width: 100%;
+ flex: 1;
+ // height: 100%;
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ background-color: #f6f6f6;
+ overflow: hidden;
+ > .text {
+ text-align: center;
+ width: 100%;
+ margin-top: 8.5rem;
+ margin-bottom: 8.5rem;
+ > .title {
+ font-family: satoshiBold;
+ font-weight: 700;
+ font-size: 8.6rem;
+ line-height: 124%;
+ color: #000;
+ }
+ > .info {
+ font-size: 4rem;
+ font-weight: 400;
+ line-height: 124%;
+ margin-top: 3.2rem;
+ color: rgba(0, 0, 0, 0.6);
+ }
+ }
+ .selectContent {
+ // padding: 0 4rem;
+ margin: 0 auto;
+ width: 73.7rem;
+ margin-bottom: 19rem;
+ > .imgBox {
+ height: 73.7rem;
+ width: 100%;
+ margin-bottom: 5.6rem;
+ > img {
+ width: 100%;
+ height: 100%;
+ }
+ }
+ > .chooseMore {
+ --borderRadius: 5.4rem;
+ --borderWidth: 2px;
+ width: 24.8rem;
+ margin: 0 auto;
+ height: 7.6rem;
+ .text {
+ font-size: 3.1rem;
+ color: #000;
+ font-family: satoshiMedium;
+ }
+ }
+ > .btn {
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
+ gap: 2rem;
+ > div {
+ color: #000;
+ border-radius: 50%;
+ width: 7rem;
+ height: 7rem;
+ padding: 1rem;
+ background-color: #fff;
+ &:hover {
+ color: #000;
+ }
+ }
+ }
+ }
+ > .btn {
+ display: flex;
+ gap: 6.6rem;
+ justify-content: center;
+ > div {
+ border-radius: 0.96rem;
+ width: 33.7rem;
+ font-size: 4.8rem;
+ font-family: satoshiMedium;
+ line-height: 9.2rem;
+ display: flex;
+ justify-content: center;
+ &.style1 {
+ --borderRadius: 0.96rem;
+ --borderWidth: 2px;
+ .text {
+ width: 100%;
+ text-align: center;
+ > .icon {
+ left: 4rem;
+ top: 50%;
+ transform: translateY(-50%);
+ position: absolute;
+ }
+ }
+ }
+ &.style2 {
+ color: #fff;
+ background-color: #000;
+ }
+ }
+ .btnItem .text {
+ color: #000;
+ }
+ }
+}
+
diff --git a/src/views/stylist/dressfor.vue b/src/views/stylist/dressfor.vue
index 1016536..8b80575 100644
--- a/src/views/stylist/dressfor.vue
+++ b/src/views/stylist/dressfor.vue
@@ -100,7 +100,6 @@ const tagListShort = [
// const tagListLong = ['Linen Suit For Summer Gaka', 'Recomment Evening Bags']
const inputValue = ref('')
-const sessionId = ref('')
const isRecording = ref(false)
const audioVisualizerRef = ref
| null>(null)
let speechRecognition: any = null
@@ -216,14 +215,14 @@ const stopRecording = () => {
const handleClickTag = (tag: string) => {
inputValue.value = tag
- sessionId.value = Math.floor(Date.now() / 1000).toString()
+ const sessionId = Math.floor(Date.now() / 1000).toString()
generateStore.setSessionId(sessionId.value)
// 直接跳转到 selectStyle 页面,传递消息和 sessionId
router.push({
path: '/workshop/selectStyle',
query: {
message: tag,
- sessionId: sessionId.value
+ sessionId
}
})
}