diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index d43c75c..38b0b25 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,12 +2,13 @@ "version" : "1.0", "configurations" : [ { + "customPlaygroundType" : "local", "playground" : "custom", "type" : "uni-app:app-ios" }, { - "customPlaygroundType" : "device", - "playground" : "standard", + "customPlaygroundType" : "local", + "playground" : "custom", "type" : "uni-app:app-android" } ] diff --git a/manifest.json b/manifest.json index 353ace4..5e15f3a 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特有相关 */ @@ -197,6 +197,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { + "appid" : "wx17eef65c270b4869", "appid" : "wx17eef65c270b4869", "privacy" : { "requiredPrivateInfos" : [ "getBackgroundFetchData" ] diff --git a/pages/shop/add-service.vue b/pages/shop/add-service.vue index 3d7e403..3e7c7d9 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: { @@ -868,6 +868,16 @@ } else { url = "/user/serverupdate"; } + console.log(this.formData, '-0-0-0-0-0-'); + delete this.formData.shop_business_time + delete this.formData.shop_head_photo + delete this.formData.shop_address + delete this.formData.shop_dependency + delete this.formData.shop_class + delete this.formData.team_buy + + + request.post(url, this.formData).then((res) => { if (res.state == 1) { const pages = getCurrentPages(); 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..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 }); @@ -369,6 +390,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..b8ca90d 100644 --- a/pages/shop/photoAlbum/photoManage.vue +++ b/pages/shop/photoAlbum/photoManage.vue @@ -1,6 +1,6 @@