From b206cae02508091aa6336714e3e7d58061175701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Wed, 24 Dec 2025 10:09:25 +0800 Subject: [PATCH 1/9] 1 --- src/views/Workshop/profile.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/views/Workshop/profile.vue b/src/views/Workshop/profile.vue index ae7eafa..a600ea0 100644 --- a/src/views/Workshop/profile.vue +++ b/src/views/Workshop/profile.vue @@ -19,7 +19,7 @@ const isEdit = ref(false) const form = reactive({ name: { msg: '', value: userInfoStore.state.userInfo.username }, email: { msg: '', value: userInfoStore.state.userInfo.email }, - password: { show: false, msg: '', value: userInfoStore.state.userInfo.password } +// password: { show: false, msg: '', value: userInfoStore.state.userInfo.password } }) const open = () => { isEdit.value = false @@ -45,6 +45,11 @@ const edit = () => { } const confirm = () => { overallStore.setLoading(true) + const params = { + username: form.name.value, + email: form.email.value, + } + console.log(params) setTimeout(() => { overallStore.setLoading(false) isEdit.value = false @@ -186,7 +191,7 @@ defineExpose({ open, close, openSwitchCustomerPopup }) Profile -
+
Your Name
- +
0) if (res === 0) return - console.log(obj,i) + console.log(obj, i) deleteCustomerPhoto(obj.visitRecordId) .then(() => { list.splice(i, 1) @@ -68,7 +68,12 @@
Library
- +
@@ -115,18 +120,18 @@ } > .title { - font-family: satoshiRegular; - font-size: 9rem; + font-family: satoshiBold; + font-size: 8.9rem; text-align: left; line-height: 124%; - margin: 5rem; + margin: 5rem 9.1rem; } > .list { flex: 1; overflow: hidden; - margin: 0 3rem; + margin: 0 4.5rem; > .my-list { - padding: 0 3.8rem; + padding: 0 4.5rem; --my-list-footer-margin: 2rem 0; > .item { position: relative; From 9c41bf4711b34de221c4caa8ff52ac1a3599f482 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Mon, 29 Dec 2025 10:46:00 +0800 Subject: [PATCH 7/9] =?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 })