diff --git a/src/components/CreateServiceOrder/index.vue b/src/components/CreateServiceOrder/index.vue index f2ae5b2..ce74316 100644 --- a/src/components/CreateServiceOrder/index.vue +++ b/src/components/CreateServiceOrder/index.vue @@ -47,13 +47,38 @@ class="bg-F5F7FA border-box p-12 rounded-10 font-size-14 font-500 color-171717 mb-12" > 照片上传 + - - {{ zniconsMap["zn-camera"] }} - + + + + + + + + + {{ zniconsMap["zn-camera"] }} + + @@ -72,8 +97,9 @@ @@ -123,12 +149,16 @@ const handleChooseImage = () => { }); }; +const handleDeleteImage = () => { + contentImgUrl.value = ""; +}; + const updateImagehandle = (file) => { if (!file) { return; } updateImageFile(file).then((res) => { - contentImgUrl.value = res.data?.url || ""; + contentImgUrl.value = res.data; }); }; @@ -165,8 +195,8 @@ const sendCreateWorkOrder = async () => { try { const res = await createWorkOrder({ workOrderTypeId: workOrderTypeId.value, - roomId: roomId.value, - contactPhone: contactPhone.value, + roomNo: roomId.value, + userPhone: contactPhone.value, content: contactText.value, contentImgUrl: contentImgUrl.value, }); @@ -205,7 +235,7 @@ const viewWorkOrder = () => { console.log("查看工单:", workOrderId.value); // 这里可以跳转到工单详情页面 uni.navigateTo({ - url: `/pages-order/order/list?id=${workOrderId.value}`, + url: `/pages-service/order/list`, }); }; @@ -220,4 +250,9 @@ onMounted(() => { diff --git a/src/components/ImageSwiper/index.vue b/src/components/ImageSwiper/index.vue index 872bf4a..fe7edf9 100644 --- a/src/components/ImageSwiper/index.vue +++ b/src/components/ImageSwiper/index.vue @@ -52,7 +52,7 @@ - + {{ zniconsMap["zn-camera"] }} @@ -68,6 +68,8 @@ diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index c2ccef4..91995ee 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -540,7 +540,7 @@ const initTypewriterManager = () => { } typewriterManager = new TypewriterManager({ - typingSpeed: 30, + typingSpeed: 10, cursorText: "", }); diff --git a/src/pages/index/components/module/AttachListComponent/styles/index.scss b/src/pages/index/components/module/AttachListComponent/styles/index.scss index 80727d6..fbbfba7 100644 --- a/src/pages/index/components/module/AttachListComponent/styles/index.scss +++ b/src/pages/index/components/module/AttachListComponent/styles/index.scss @@ -16,6 +16,6 @@ } .tag-text { - color: #00a6ff; /* 蓝色文字,可根据设计调整 */ + color: #2d91ff; /* 蓝色文字,可根据设计调整 */ font-size: $uni-font-size-base; } diff --git a/src/pages/index/components/module/DetailCardCompontent/index.vue b/src/pages/index/components/module/DetailCardCompontent/index.vue index 4d91458..d707896 100644 --- a/src/pages/index/components/module/DetailCardCompontent/index.vue +++ b/src/pages/index/components/module/DetailCardCompontent/index.vue @@ -2,7 +2,7 @@