From 7638324bb9c5f054054559d3ec179a04c190d96f Mon Sep 17 00:00:00 2001 From: aiShuiJiaoDeXioShou <2832294398@qq.com> Date: Tue, 10 Sep 2024 22:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A0=E7=89=A9=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=9B=B4=E6=96=B0=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BA=86?= =?UTF-8?q?=E8=BF=99=E4=B8=AA=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E6=95=88=E6=9E=9C=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=B0=8F=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/addr.iml | 16 ++ .idea/codeStyles/Project.xml | 7 + .idea/codeStyles/codeStyleConfig.xml | 5 + acdr-ui/src/components/AddressCell.vue | 2 +- acdr-ui/src/components/LoadingAnimation.vue | 90 +++++----- acdr-ui/src/components/LocalLoader.vue | 68 ++++++++ acdr-ui/src/components/Map.vue | 4 +- .../index/components/recommendedServices.vue | 7 +- acdr-ui/src/pages/index/index.vue | 3 +- acdr-ui/src/pages/service/detail.vue | 157 ++++++++++++------ .../order/service/impl/OrderServiceImpl.java | 1 + .../controller/PersonalServiceController.java | 112 ++++++++++++- .../master/pet/controller/PetController.java | 2 + 13 files changed, 368 insertions(+), 106 deletions(-) create mode 100644 .idea/addr.iml create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 acdr-ui/src/components/LocalLoader.vue diff --git a/.idea/addr.iml b/.idea/addr.iml new file mode 100644 index 00000000..60abdd46 --- /dev/null +++ b/.idea/addr.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 00000000..919ce1f1 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 00000000..a55e7a17 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/acdr-ui/src/components/AddressCell.vue b/acdr-ui/src/components/AddressCell.vue index b170c5aa..b1d3c6d0 100644 --- a/acdr-ui/src/components/AddressCell.vue +++ b/acdr-ui/src/components/AddressCell.vue @@ -2,7 +2,7 @@ diff --git a/acdr-ui/src/components/LoadingAnimation.vue b/acdr-ui/src/components/LoadingAnimation.vue index eac148d8..a0171a9a 100644 --- a/acdr-ui/src/components/LoadingAnimation.vue +++ b/acdr-ui/src/components/LoadingAnimation.vue @@ -1,66 +1,62 @@ diff --git a/acdr-ui/src/components/Map.vue b/acdr-ui/src/components/Map.vue index 723f500e..509fd5e6 100644 --- a/acdr-ui/src/components/Map.vue +++ b/acdr-ui/src/components/Map.vue @@ -94,7 +94,7 @@ const clickmap = () => { // 获取自己的地理位置 const getLocation = () => { - uni.showLoading({ title: '正在获取定位' }) + // uni.showLoading({ title: '正在获取定位' }) uni.getLocation({ type: 'gcj02', timeout: 1000, @@ -114,7 +114,7 @@ const getLocation = () => { }, fail: (err) => { console.log(err) - uni.hideLoading() + // uni.hideLoading() uni.showModal({ title: '提示', content: '位置信息获取失败(请确定定位功能是否打开)', diff --git a/acdr-ui/src/pages/index/components/recommendedServices.vue b/acdr-ui/src/pages/index/components/recommendedServices.vue index 7b3bc327..c916cbb6 100644 --- a/acdr-ui/src/pages/index/components/recommendedServices.vue +++ b/acdr-ui/src/pages/index/components/recommendedServices.vue @@ -11,7 +11,8 @@ - + + diff --git a/acdr-ui/src/pages/index/index.vue b/acdr-ui/src/pages/index/index.vue index 17542e57..1ee2582a 100644 --- a/acdr-ui/src/pages/index/index.vue +++ b/acdr-ui/src/pages/index/index.vue @@ -12,7 +12,7 @@ - + @@ -86,6 +86,7 @@ import { httpGet } from '@/utils/http' import Tabbar from '@/components/Tabbar.vue' import AddressCell from '@/components/AddressCell.vue' import Search from '@/components/Search.vue' +import { isH5 } from '@/utils/platform' const isLoading = ref(false) const petInfo = ref({}) diff --git a/acdr-ui/src/pages/service/detail.vue b/acdr-ui/src/pages/service/detail.vue index a25e6af6..92fc31b7 100644 --- a/acdr-ui/src/pages/service/detail.vue +++ b/acdr-ui/src/pages/service/detail.vue @@ -30,8 +30,8 @@ {{ serviceData.userName }} - 认证1年10个月 - 服务过200+次 + 认证{{ serviceData.certificationTime }} + 服务过 {{ serviceData.serviceNumber }} 次 @@ -82,20 +82,22 @@ 用户评价 - + - 5.0 + {{ serviceData.comment.star }} - - - - - + - (14条评论) + ({{ serviceData.comment.commentNum }}条评论) - 阿落超级细心!!下次一定还找阿落!!超级安心! + {{ serviceData.comment.comment }} + 暂无评论 @@ -132,14 +134,14 @@ 选择预约信息 服务宠物 - + {{ pet.name }} + + + + + + 预约时间 @@ -180,7 +187,11 @@ {{ selectedAddress.display || '请选择地址' }} - 请选择地址 + + + + + + @@ -201,15 +212,18 @@ + +