From 9c41bf4711b34de221c4caa8ff52ac1a3599f482 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Mon, 29 Dec 2025 10:46:00 +0800 Subject: [PATCH 1/5] =?UTF-8?q?style:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9.=20bugfix:=20customer=E9=80=89=E6=8B=A9=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BC=B9=E7=AA=97=E8=A7=A6=E5=8F=91=E9=94=99=E8=AF=AF?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Workshop/profile.vue | 9 +++-- src/views/login/WelcomePage.vue | 1 + src/views/login/customer.vue | 70 ++++++++++++++++----------------- src/views/stylist/dressfor.vue | 13 +++--- src/views/stylist/index.vue | 4 +- src/views/stylist/sex.vue | 5 ++- 6 files changed, 54 insertions(+), 48 deletions(-) diff --git a/src/views/Workshop/profile.vue b/src/views/Workshop/profile.vue index ff71137..3d088fd 100644 --- a/src/views/Workshop/profile.vue +++ b/src/views/Workshop/profile.vue @@ -147,6 +147,7 @@ const onScroll = (e: Event) => { // 打开customer选择时关闭profile弹窗 如果不是点击confirem关闭则重新打开profile弹窗 const handleShowPopup = (flag: boolean) => { showSwitchCustomerPopup.value = flag + if(props.isCustomer) return show.value = !flag if (flag) { loadCustomers(true) @@ -178,15 +179,15 @@ const handleFetchCustomerList = () => { } MyEvent.add('update-customer-list', handleFetchCustomerList) -const openSwitchCustomerPopup = (flag = true) => { - showSwitchCustomerPopup.value = flag -} +// const openSwitchCustomerPopup = (flag = true) => { +// showSwitchCustomerPopup.value = flag +// } onMounted(() => { handleFetchCustomerList() }) -defineExpose({ open, close, openSwitchCustomerPopup }) +defineExpose({ open, close, handleShowPopup }) \ No newline at end of file diff --git a/src/views/asistant/components/GenerateLoading.vue b/src/views/asistant/components/GenerateLoading.vue index 721480e..0714ea7 100644 --- a/src/views/asistant/components/GenerateLoading.vue +++ b/src/views/asistant/components/GenerateLoading.vue @@ -113,7 +113,7 @@ onMounted(() => { .loading-image { width: 36.4rem; height: 36.4rem; - animation: rotate 1s linear infinite; + animation: rotate 1.5s ease-in-out infinite; } .loading-shadow { @@ -146,11 +146,14 @@ onMounted(() => { } @keyframes rotate { - from { - transform: rotate(0deg); + 0% { + transform: translateY(0px); } - to { - transform: rotate(360deg); + 50% { + transform: translateY(-100px); + } + 100% { + transform: translateY(0px); } } From 891fb3f4b05048c3264a762bca8f2db47546b546 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Mon, 29 Dec 2025 14:43:28 +0800 Subject: [PATCH 5/5] fix --- src/views/Workshop/selectStyle/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Workshop/selectStyle/index.vue b/src/views/Workshop/selectStyle/index.vue index 9fe5f30..8c6150c 100644 --- a/src/views/Workshop/selectStyle/index.vue +++ b/src/views/Workshop/selectStyle/index.vue @@ -121,7 +121,7 @@ const getRequestOutfitList = (generateList)=>{ } }) - // if(['SUCCEEDED'].includes(data.select.status))isLoading.value = false + if(['SUCCEEDED'].includes(data.select.status))isLoading.value = false const taskIdList = data.styleList .filter(item => item?.taskId && item?.status !== 'SUCCEEDED') .map(item => item.taskId);