From b963e6a18280599c3ea6d2c6cff0e4f63907fa5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=81=E6=9D=B0?= <727475508@qq.com> Date: Tue, 7 Apr 2026 11:04:59 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 4 +++- manifest.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 81b430e..3e2665e 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,11 +2,13 @@ "version" : "1.0", "configurations" : [ { + "customPlaygroundType" : "device", "playground" : "custom", "type" : "uni-app:app-ios" }, { - "playground" : "custom", + "customPlaygroundType" : "device", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/manifest.json b/manifest.json index 86647ef..ccfb56d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "美融融商家", "appid" : "__UNI__BBE6285", "description" : "同城便捷到家美业“技术外卖”服务、同城预约到店服务平台美融融为同城爱美人群提供更优质的更全面的服务。", - "versionName" : "1.0.05", + "versionName" : "1.0.06", "versionCode" : 1005, "transformPx" : false, /* 5+App特有相关 */ From e4b7646da9db15d2bc5cd66aafb88e8fe7d57ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=81=E6=9D=B0?= <727475508@qq.com> Date: Tue, 7 Apr 2026 16:36:16 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=95=86=E5=AE=B6?= =?UTF-8?q?=E7=9A=84=E4=B8=8A=E9=97=A8=E6=8F=90=E9=86=92=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 2 +- pages/shop/add-service.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 3e2665e..6531799 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,7 +2,7 @@ "version" : "1.0", "configurations" : [ { - "customPlaygroundType" : "device", + "customPlaygroundType" : "local", "playground" : "custom", "type" : "uni-app:app-ios" }, diff --git a/pages/shop/add-service.vue b/pages/shop/add-service.vue index d0924ac..f988aeb 100644 --- a/pages/shop/add-service.vue +++ b/pages/shop/add-service.vue @@ -391,9 +391,9 @@ } // 判断是否显示上门提醒弹窗 const notShow = uni.getStorageSync('addServiceReminderNotShow'); - if (!notShow) { - this.showReminderPopup = true; - } + // if (!notShow) { + // this.showReminderPopup = true; + // } this.getUserInfo(); }, computed: { From 35dca559d3dc33edd1d7eb774d2b30279c41e2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=81=E6=9D=B0?= <727475508@qq.com> Date: Thu, 9 Apr 2026 16:10:17 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=A4=9A=E4=B8=AAbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 4 +- apple-app-site-association | 2 +- manifest.json | 8 +- pages/shop/add-service.vue | 2996 +++++++++++++------------ pages/shop/pay.vue | 1200 +++++----- pages/shop/photoAlbum/addPhoto.vue | 1 + pages/shop/photoAlbum/photoManage.vue | 7 +- pages/shop/photoAlbum/videoList.vue | 980 ++++---- utils/albumUploadImage.js | 4 +- 9 files changed, 2615 insertions(+), 2587 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 6531799..38b0b25 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -7,8 +7,8 @@ "type" : "uni-app:app-ios" }, { - "customPlaygroundType" : "device", - "playground" : "standard", + "customPlaygroundType" : "local", + "playground" : "custom", "type" : "uni-app:app-android" } ] diff --git a/apple-app-site-association b/apple-app-site-association index 739a02d..d28a42e 100644 --- a/apple-app-site-association +++ b/apple-app-site-association @@ -3,7 +3,7 @@ "apps": [], "details": [ { - "appID": "wx5b1c0c8d01ded35d", + "appID": "wx17eef65c270b4869", "paths": ["*"] } ] diff --git a/manifest.json b/manifest.json index ccfb56d..f4621e2 100644 --- a/manifest.json +++ b/manifest.json @@ -107,7 +107,7 @@ "payment" : { "weixin" : { "__platform__" : [ "ios", "android" ], - "appid" : "wx2381a791a52a402d", + "appid" : "wx17eef65c270b4869", "UniversalLinks" : "https://app.mrrweb.com.cn/" }, "appleiap" : {}, @@ -117,7 +117,7 @@ }, "share" : { "weixin" : { - "appid" : "wx2381a791a52a402d", + "appid" : "wx17eef65c270b4869", "UniversalLinks" : "https://app.mrrweb.com.cn/" } }, @@ -134,7 +134,7 @@ }, "oauth" : { "weixin" : { - "appid" : "wx2381a791a52a402d", + "appid" : "wx17eef65c270b4869", "UniversalLinks" : "https://app.mrrweb.com.cn/" } } @@ -197,7 +197,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxb486b10a60d2c78d", + "appid" : "wx17eef65c270b4869", "privacy" : { "requiredPrivateInfos" : [ "getBackgroundFetchData" ] }, diff --git a/pages/shop/add-service.vue b/pages/shop/add-service.vue index f988aeb..87913a3 100644 --- a/pages/shop/add-service.vue +++ b/pages/shop/add-service.vue @@ -1,1494 +1,1504 @@ - - - - - \ No newline at end of file diff --git a/pages/shop/pay.vue b/pages/shop/pay.vue index 5d91056..9d76ba8 100644 --- a/pages/shop/pay.vue +++ b/pages/shop/pay.vue @@ -1,601 +1,603 @@ - - - - - \ No newline at end of file diff --git a/pages/shop/photoAlbum/addPhoto.vue b/pages/shop/photoAlbum/addPhoto.vue index a5df658..5e0c9f8 100644 --- a/pages/shop/photoAlbum/addPhoto.vue +++ b/pages/shop/photoAlbum/addPhoto.vue @@ -369,6 +369,7 @@ uni.showLoading({ title: '上传中' }) + console.log(this.formData,'============================='); if (this.formData.type == 1) { res = await uploadImage.handleUpload(this.userInfo.id, 3); } else { diff --git a/pages/shop/photoAlbum/photoManage.vue b/pages/shop/photoAlbum/photoManage.vue index a4c4be1..cb871a2 100644 --- a/pages/shop/photoAlbum/photoManage.vue +++ b/pages/shop/photoAlbum/photoManage.vue @@ -9,13 +9,14 @@ 展示位置及拍摄技巧 + {{ item.title }} - 查看详情 + 查看全部 @@ -142,6 +143,7 @@ return obj }, goList(id) { + console.log(id,'ididididididi'); uni.navigateTo({ url: `/pages/shop/photoAlbum/videoList?id=${id}&type=${this.type}` }); @@ -156,7 +158,7 @@ }, goAdd(id, item) { if (this.type == 1) { - if ( this.imgVideoList[id] && this.imgVideoList[id].length >= 20) { + if ( this.imgVideoList[id] && this.imgVideoList[id].length >= 21) { uni.showToast({ title: '最多上传20张图片', icon: 'none', @@ -255,6 +257,7 @@ } .titles-right { + display: flex; .titles-text { font-family: PingFangSC, PingFang SC; font-weight: 400; diff --git a/pages/shop/photoAlbum/videoList.vue b/pages/shop/photoAlbum/videoList.vue index ed4a153..eca34b6 100644 --- a/pages/shop/photoAlbum/videoList.vue +++ b/pages/shop/photoAlbum/videoList.vue @@ -1,486 +1,496 @@ - - - - - \ No newline at end of file diff --git a/utils/albumUploadImage.js b/utils/albumUploadImage.js index 8ff14bc..1f7642c 100644 --- a/utils/albumUploadImage.js +++ b/utils/albumUploadImage.js @@ -173,7 +173,7 @@ const uploadFile = async (file, userId, type, uploadType) => { let imageType; if (uploadType == 'image') { //imageType = file.path.split('.') - imageType = file.name.split('.') + imageType = file.path.split('.') } else if (uploadType == 'video') { // #ifdef H5 imageType = file.name.split('.') @@ -252,7 +252,9 @@ const uploadToOss = (file, ossConfig, name, uploadType) => { if (uploadType == 'image') { path = file.path // 获取文件扩展名并设置 Content-Type + console.log('111111'); const ext = file.path.split('.').pop().toLowerCase() + console.log('33333333'); const mimeTypes = { jpg: 'image/jpeg', jpeg: 'image/jpeg', From 0dc09928583b0d693456e82720212b5887605a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=81=E6=9D=B0?= <727475508@qq.com> Date: Thu, 9 Apr 2026 17:23:40 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=AF=8D=E4=BF=AE=E6=94=B9=E3=80=81=E6=8F=90=E7=A4=BA=E6=A1=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/photoAlbum/addPhoto.vue | 25 +++++++++++++++++++++++-- pages/shop/photoAlbum/photoManage.vue | 2 +- pages/shop/photoAlbum/videoList.vue | 14 ++++++++++++-- utils/albumUploadImage.js | 2 +- 4 files changed, 37 insertions(+), 6 deletions(-) diff --git a/pages/shop/photoAlbum/addPhoto.vue b/pages/shop/photoAlbum/addPhoto.vue index 5e0c9f8..07c5c77 100644 --- a/pages/shop/photoAlbum/addPhoto.vue +++ b/pages/shop/photoAlbum/addPhoto.vue @@ -232,11 +232,32 @@ async submitPhoto() { // 1. 防连点核心逻辑:如果正在提交中,直接return阻止后续执行 if (this.isSubmitting) return; - + console.log(this.formData,'this.formData'); // 2. 表单必填项校验:校验图片和名称是否填写 if (!this.formData.url) { + if(this.formData.type==1){ + if(this.formData.class_type==1){ + uni.showToast({ + title: '请先上传店铺主图', + icon: 'none', + duration: 2000 + }); + }else if(this.formData.class_type==2){ + uni.showToast({ + title: '请先上传环境图片', + icon: 'none', + duration: 2000 + }); + }else if(this.formData.class_type==3){ + uni.showToast({ + title: '请先上传作品图片', + icon: 'none', + duration: 2000 + }); + } + } uni.showToast({ - title: '请先上传店铺主图', + title: '请先上传图片/视频', icon: 'none', duration: 2000 }); diff --git a/pages/shop/photoAlbum/photoManage.vue b/pages/shop/photoAlbum/photoManage.vue index cb871a2..b8ca90d 100644 --- a/pages/shop/photoAlbum/photoManage.vue +++ b/pages/shop/photoAlbum/photoManage.vue @@ -1,6 +1,6 @@