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] =?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 @@
-
-
-
-
-
-
-
-
- 服务名称
-
-
-
-
-
- 服务定价
-
-
- 服务的基础定价,未参与任何优惠的价格
-
-
-
-
-
- 服务售价
-
-
- 服务参与单品优惠后的价格
-
-
-
-
-
- 服务分类
-
-
- {{ serviceType || "选择分类" }}
-
-
-
-
-
-
-
- 服务子类
-
-
- {{ category || "选择子类" }}
-
-
-
-
-
-
-
-
- 是否允许该服务在门店端售卖,以供门店下单购买。
- {{
- showShopPrice
- ? "门店下单购买后,您需到上门至门店进行服务,门店端展示价格为"
- : ""
- }}
- {{
- shopPrice
- }}
- {{ showShopPrice ? "元。" : "" }}
-
-
-
-
- 允许
-
-
-
- 不允许
-
-
-
-
-
-
- 服务时长
-
- 分钟
-
-
-
-
-
-
-
- 图文详情
-
- {{
- formData.graphic_details ? "已设置" : "去设置"
- }}
-
-
-
-
-
-
-
- 服务简介
-
-
-
- 服务功效
-
-
- {{(detailForm.effect || '').length}}/200
-
-
-
-
- 适用人群
-
-
- {{(detailForm.crowd || '').length}}/200
-
-
-
-
- 产品清单
-
-
- {{(detailForm.product || '').length}}/200
-
-
-
-
- 适用范围
-
-
- {{(detailForm.scope || '').length}}/200
-
-
-
-
- 温馨提示
-
-
- {{(detailForm.tips || '').length}}/200
-
-
-
-
-
- 服务流程
- 添加
-
-
- 第{{ i + 1 }}步
-
-
-
-
-
-
-
-
-
-
-
-
- 上传短视频
- (仅可上传1个视频)
-
-
-
-
-
-
-
-
-
- 服务图片
- (仅可上传9个图片)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 美融融plus 对储存空间/照片权限申请说明
- 便于您使用该功能上传您的照片/图片/视频以及用于更换头像、发布商品等场景中读取相册和文件内容。
-
-
- 美融融plus 对相机拍摄权限申请说明
- 便于您使用该功能上传您的照片/图片/视频以及用于更换头像、发布商品等场景中所需内容。
-
-
-
-
-
-
-
-
-
-
-
-
-
\ 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 @@
-
-
-
-
-
-
-
-
-
- ¥
- {{ orderInfo.pay_money }}
-
- 支付剩余时间:
-
-
-
-
-
-
- 选择支付方式
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
\ 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 @@
展示位置及拍摄技巧
+
@@ -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 @@
-
-
-
-
- {{ isManage ? '取消' : '管理' }}
-
-
-
-
- 添加环境图片,吸引更多顾客到店消费
-
-
-
-
-
- {{ imgVideoList.length }}/20张
-
-
- 添加照片
-
-
-
-
-
-
-
- {{ getItem(item2).name }}
-
-
-
- 审核中…
-
-
-
-
- {{ imgVideoList.length }}/10张
-
-
- 添加视频
-
-
-
-
-
-
-
- {{ getItem(item2).name }}
-
-
-
-
-
-
-
- 审核中…
-
-
-
- 已驳回
-
-
-
-
-
-
- 删除
-
-
-
-
-
-
-
\ 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',