From 5e28f0f6c221dab80f0ac89394c3bf32bcd394e7 Mon Sep 17 00:00:00 2001
From: yuanteng0011 <1876787513@qq.com>
Date: Wed, 7 May 2025 07:38:37 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86AI=E6=8D=A2=E8=A3=85?=
=?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=88=86=E5=8C=85=E5=AF=BC?=
=?UTF-8?q?=E8=87=B4=E7=9A=84=E9=A1=B5=E9=9D=A2=E4=B8=A2=E5=A4=B1=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/request.ts | 2 +
pages.json | 68 +-
.../newaddress_Info/newaddress_Info.vue | 16 +-
pages/mine/main/main.vue | 2 +-
pages/my-order/component/nav.vue | 37 -
.../myGeneralOrderDetail.vue | 704 --------------
pages/my-order/myOrderList/myOrderList.vue | 869 ------------------
.../myServiceOrderDetail.vue | 667 --------------
.../my-order/researchOrder/researchOrder.vue | 75 --
.../order/product-waitpay/product-waitpay.vue | 2 +-
pages/order/serviceWaitPay/serviceWaitPay.vue | 2 +-
.../order/singleGoodOrder/singleGoodOrder.vue | 2 +-
.../singleServiceWait/singleServiceWait.vue | 2 +-
.../myPhotoProductDetail.vue | 12 +-
.../myPhotoProductsOrderDetail.vue | 2 +-
.../photoProductsOrder/photoProductsOrder.vue | 19 +-
.../photoProductsOrderDetail.vue | 19 +-
.../clotherRentOrderList.vue | 19 +-
.../clothesRentSubmitOrder.vue | 19 +-
uni_modules/uni-file-picker/changelog.md | 6 +
.../uni-file-picker/uni-file-picker.vue | 24 +-
.../uni-file-picker/upload-image.vue | 12 +-
uni_modules/uni-file-picker/package.json | 11 +-
23 files changed, 115 insertions(+), 2476 deletions(-)
delete mode 100644 pages/my-order/component/nav.vue
delete mode 100644 pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue
delete mode 100644 pages/my-order/myOrderList/myOrderList.vue
delete mode 100644 pages/my-order/myServiceOrderDetail/myServiceOrderDetail.vue
delete mode 100644 pages/my-order/researchOrder/researchOrder.vue
diff --git a/api/request.ts b/api/request.ts
index f3f7a41..8c3db2d 100644
--- a/api/request.ts
+++ b/api/request.ts
@@ -6,4 +6,6 @@ export const domain = 'https://www.carboner.cn:8888/api'
export const myIp = 'http://8.130.119.119:9092/api'
export const nwct = 'https://winning-mouse-internally.ngrok-free.app/api'
export const suiUrl = ''
+
+export const testEnvironment = 'http://1.94.237.210:7777/api'
export const baseUrl = domain
diff --git a/pages.json b/pages.json
index 59a2904..e6b198a 100644
--- a/pages.json
+++ b/pages.json
@@ -8,33 +8,6 @@
"navigationBarBackgroundColor": "#ede8e7"
}
},
- {
- "path": "pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": true //开启下拉刷新
- }
- },
- {
- "path": "pages/my-order/myServiceOrderDetail/myServiceOrderDetail",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": true //开启下拉刷新
- }
- },
- {
- "path": "pages/my-order/myOrderList/myOrderList",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": true //开启下拉刷新
- }
- },
- {
- "path": "pages/my-order/researchOrder/researchOrder",
- "style": {
- "navigationBarTitleText": ""
- }
- },
{
"path": "pages/workshop/searchResult/searchResult",
"style": {
@@ -257,6 +230,47 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path" : "changeClothes/changeClothes",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
+ },
+ {
+ "path" : "clothesPop/clothesPop",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
+ },
+ {
+ "path": "my-order/myGeneralOrderDetail/myGeneralOrderDetail",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": true //开启下拉刷新
+ }
+ },
+ {
+ "path": "my-order/myServiceOrderDetail/myServiceOrderDetail",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": true //开启下拉刷新
+ }
+ },
+ {
+ "path": "my-order/myOrderList/myOrderList",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": true //开启下拉刷新
+ }
+ },
+ {
+ "path": "my-order/researchOrder/researchOrder",
+ "style": {
+ "navigationBarTitleText": ""
+ }
}
]
}
diff --git a/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue b/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue
index 54f2b16..01744dc 100644
--- a/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue
+++ b/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue
@@ -152,14 +152,14 @@ const sucRes =(res)=>{ //请求成功执行的方法
}
}
const chooseLocation = () => { //定位获取地址
- // uni.chooseLocation({
- // success: (res) => {
- // // console.log('详细地址:' + res.address);
- // // console.log('位置名称:' + res.name);
- // addressParam.value.region = res.address
- // addressParam.value.detailAddress = res.name
- // }
- // })
+ uni.chooseLocation({
+ success: (res) => {
+ // console.log('详细地址:' + res.address);
+ // console.log('位置名称:' + res.name);
+ addressParam.value.region = res.address
+ addressParam.value.detailAddress = res.name
+ }
+ })
}
const bindTimeChange = (e) => { //picker省市区选择
addressParam.value.region = e.detail.value[0] + e.detail.value[1] + e.detail.value[2]
diff --git a/pages/mine/main/main.vue b/pages/mine/main/main.vue
index 650bb36..b7121c7 100644
--- a/pages/mine/main/main.vue
+++ b/pages/mine/main/main.vue
@@ -168,7 +168,7 @@
}
const gotoOrderListPage = (tab) => {
uni.navigateTo({
- url: '/pages/my-order/myOrderList/myOrderList?status=' + tab
+ url: '/pages/subPack/my-order/myOrderList/myOrderList?status=' + tab
})
}
diff --git a/pages/my-order/component/nav.vue b/pages/my-order/component/nav.vue
deleted file mode 100644
index fddc118..0000000
--- a/pages/my-order/component/nav.vue
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
- 导航
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue b/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue
deleted file mode 100644
index 53b4d01..0000000
--- a/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail.vue
+++ /dev/null
@@ -1,704 +0,0 @@
-
-
-
-
-
-
- {{ orderStatusObj.msg }}
- {{ orderStatusObj.tips }}
-
-
-
-
-
- {{ addressObj.name }} {{ addressObj.phone }}
- {{ addressObj.region }}{{ addressObj.detailAddress}}
-
-
-
-
-
-
-
-
- {{ item.goodSnapshot.name }}
- ¥{{ item.goodSnapshot.price.toFixed(2) }}
-
-
- ×{{ item.quantity }}
-
-
-
-
- 商品金额
- ¥ {{ allAmount.toFixed(2) }}
-
-
- 快递费用
- ¥{{ postage }}
-
-
- 优惠券
- ¥{{ couponAmount.toFixed(2) }}
-
-
- 应付款:
-
- ¥
- {{ totalPrice.toFixed(2) }}
-
-
-
- 买家留言
-
-
- {{ order.note }}
-
-
-
-
- 创建时间:
- {{ order.createTime }}
-
-
- 订单编号:
-
- {{ order.orderNumber }}
-
- 复制
-
-
-
-
- 物流单号:
-
- {{ order.trackingNumber }}
-
- 复制
-
-
-
-
-
-
-
-
-
-
- 应付款:
-
- ¥
- {{ totalPrice.toFixed(2) }}
-
-
-
-
- 去支付
-
-
-
- 查看物流
-
-
-
- 删除订单
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/my-order/myOrderList/myOrderList.vue b/pages/my-order/myOrderList/myOrderList.vue
deleted file mode 100644
index 44b028b..0000000
--- a/pages/my-order/myOrderList/myOrderList.vue
+++ /dev/null
@@ -1,869 +0,0 @@
-
-
-
-
-
-
-
- 搜索订单
-
-
-
-
- 全部
-
-
-
- 待支付
-
-
-
- 待发货
-
-
-
- 待收货
-
-
-
- 已退款
-
-
-
-
-
-
-
- 泠珑水月阁
-
- {{ item.countdown }}
- {{ item.orderStatus }}
-
-
-
- 订单编号:
- {{ item.orderNumber }}
-
-
-
-
-
-
- {{ subItem.goodSnapshot.name }}
- 已选时间:{{ subItem.reservationDate }} {{ getWeekday(subItem.reservationDate) }}
- {{ subItem.timeSlot }}
-
-
- ¥{{ subItem.goodSnapshot.price.toFixed(2) }}
-
-
- ×{{ subItem.quantity }}
-
-
-
-
- 已优惠:
- ¥{{ item.couponSnapshot === null ? (0).toFixed(2) : item.couponSnapshot.conditionAmount.toFixed(2) }}
-
-
- 应付款:
- ¥{{ (Number(item.totalAmount) + Number(item.postage)).toFixed(2)}}
-
-
-
-
-
-
-
-
-
-
-
- 取消订单
-
-
-
-
-
-
-
- 删除订单
-
-
-
- 去付款
-
-
-
- 查看物流
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/my-order/myServiceOrderDetail/myServiceOrderDetail.vue b/pages/my-order/myServiceOrderDetail/myServiceOrderDetail.vue
deleted file mode 100644
index f4df803..0000000
--- a/pages/my-order/myServiceOrderDetail/myServiceOrderDetail.vue
+++ /dev/null
@@ -1,667 +0,0 @@
-
-
-
-
-
-
- {{ orderStatusObj.msg }}
- {{ orderStatusObj.tips }}
-
-
-
-
- {{ contactObj.name }} {{ contactObj.phone }}
-
-
-
-
-
-
- {{ item.goodSnapshot.name }}
- 已选时间:{{ item.reservationDate }} {{ getWeekday(item.reservationDate) }}
- {{ item.timeSlot }}
- ¥{{ item.goodSnapshot.price.toFixed(2) }}
-
- × {{ item.quantity }}
-
-
-
- 商品金额
- ¥{{ allAmount.toFixed(2) }}
-
-
- 优惠券
- ¥{{ couponAmount.toFixed(2) }}
-
-
- 应付款:
-
- ¥
- {{ order.totalAmount.toFixed(2) }}
-
-
-
- 买家留言
-
-
- {{ order.note }}
-
-
-
-
- 创建时间:
- {{ order.createTime }}
-
-
- 订单编号:
-
- {{ order.orderNumber }}
-
- 复制
-
-
-
-
-
-
-
-
-
- 应付款:
-
- ¥
- {{ order.totalAmount.toFixed(2) }}
-
-
-
-
- 去支付
-
-
-
- 删除订单
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/my-order/researchOrder/researchOrder.vue b/pages/my-order/researchOrder/researchOrder.vue
deleted file mode 100644
index 12c28e2..0000000
--- a/pages/my-order/researchOrder/researchOrder.vue
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/order/product-waitpay/product-waitpay.vue b/pages/order/product-waitpay/product-waitpay.vue
index 01090b6..2a0a54a 100644
--- a/pages/order/product-waitpay/product-waitpay.vue
+++ b/pages/order/product-waitpay/product-waitpay.vue
@@ -425,7 +425,7 @@ const wxPay = async( oid )=> { //传入订单id
},
complete () {
uni.redirectTo({
- url: '/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail?id=' + oid
+ url: '/pages/subPack/my-order/myGeneralOrderDetail/myGeneralOrderDetail?id=' + oid
})
}
})
diff --git a/pages/order/serviceWaitPay/serviceWaitPay.vue b/pages/order/serviceWaitPay/serviceWaitPay.vue
index adced91..223b023 100644
--- a/pages/order/serviceWaitPay/serviceWaitPay.vue
+++ b/pages/order/serviceWaitPay/serviceWaitPay.vue
@@ -429,7 +429,7 @@
},
complete () {
uni.redirectTo({
- url: '/pages/my-order/myServiceOrderDetail/myServiceOrderDetail?id=' + oid
+ url: '/pages/subPack/my-order/myServiceOrderDetail/myServiceOrderDetail?id=' + oid
})
}
})
diff --git a/pages/order/singleGoodOrder/singleGoodOrder.vue b/pages/order/singleGoodOrder/singleGoodOrder.vue
index 19c2821..ac67232 100644
--- a/pages/order/singleGoodOrder/singleGoodOrder.vue
+++ b/pages/order/singleGoodOrder/singleGoodOrder.vue
@@ -536,7 +536,7 @@ const wxPay = async ( oid )=> { //传入订单id
},
complete () {
uni.redirectTo({
- url: '/pages/my-order/myGeneralOrderDetail/myGeneralOrderDetail?id=' + oid
+ url: '/pages/subPack/my-order/myGeneralOrderDetail/myGeneralOrderDetail?id=' + oid
})
}
})
diff --git a/pages/order/singleServiceWait/singleServiceWait.vue b/pages/order/singleServiceWait/singleServiceWait.vue
index 78f1ce6..b150619 100644
--- a/pages/order/singleServiceWait/singleServiceWait.vue
+++ b/pages/order/singleServiceWait/singleServiceWait.vue
@@ -423,7 +423,7 @@
},
complete () {
uni.redirectTo({
- url: '/pages/my-order/myServiceOrderDetail/myServiceOrderDetail?id=' + oid
+ url: '/pages/subPack/my-order/myServiceOrderDetail/myServiceOrderDetail?id=' + oid
})
}
})
diff --git a/pages/subPack/book/myPhotoProductDetail/myPhotoProductDetail.vue b/pages/subPack/book/myPhotoProductDetail/myPhotoProductDetail.vue
index 568f75c..ddf7f12 100644
--- a/pages/subPack/book/myPhotoProductDetail/myPhotoProductDetail.vue
+++ b/pages/subPack/book/myPhotoProductDetail/myPhotoProductDetail.vue
@@ -1,6 +1,7 @@
-
+
@@ -45,7 +46,8 @@
import emitter from '../../../../utils/emitter';
import { getFonts } from '../../../../common/globalFont';
import customerServiceVue from '../component/customerService.vue';
-
+ import clothesPopVue from '../../clothesPop/clothesPop.vue';
+
const book = ref(null)
const rent = ref(null)
const cookie = wx.getStorageSync("cookie") //请求头
@@ -54,8 +56,11 @@
const id = ref(0)
const obj = ref({})
const bookingDateVOList = ref([])
+ const clothesImgUrl = ref('')
+
+
const closeClothesAttributePopupHandler = () => {
nextTick(() => {
if (rent.value) {
@@ -88,6 +93,7 @@
emitter.on('closeClothesAttributePopup', closeClothesAttributePopupHandler)
emitter.on('closeClothesAttributePlusPopup', closeClothesAttributePlusPopupHandler)
+
})
onUnmounted(() => {
@@ -108,6 +114,7 @@
}
})
obj.value = res.data.data
+ clothesImgUrl.value = obj.value.introImg
bookingDateVOList.value = res.data.data.bookingDateVOList
console.log(obj.value)
}
@@ -124,6 +131,7 @@
}
})
obj.value = res.data.data
+ clothesImgUrl.value = obj.value.image
console.log(obj.value)
}
diff --git a/pages/subPack/book/myPhotoProductsOrderDetail/myPhotoProductsOrderDetail.vue b/pages/subPack/book/myPhotoProductsOrderDetail/myPhotoProductsOrderDetail.vue
index ad165ba..7be66b9 100644
--- a/pages/subPack/book/myPhotoProductsOrderDetail/myPhotoProductsOrderDetail.vue
+++ b/pages/subPack/book/myPhotoProductsOrderDetail/myPhotoProductsOrderDetail.vue
@@ -1,6 +1,6 @@
-
+
{
- // wx.openLocation({
- // latitude: 45.867741,
- // longitude: 126.560037,
- // name: '哈尔滨师范大学(松北校区)',
- // address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
- // success: (res) => {
- // console.log(res)
- // }
- // })
- uni.showModal({
- title: '该功能开发中!'
+ wx.openLocation({
+ latitude: 45.867741,
+ longitude: 126.560037,
+ name: '哈尔滨师范大学(松北校区)',
+ address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
+ success: (res) => {
+ console.log(res)
+ }
})
}
diff --git a/pages/subPack/book/photoProductsOrderDetail/photoProductsOrderDetail.vue b/pages/subPack/book/photoProductsOrderDetail/photoProductsOrderDetail.vue
index 094bf7e..56d2e99 100644
--- a/pages/subPack/book/photoProductsOrderDetail/photoProductsOrderDetail.vue
+++ b/pages/subPack/book/photoProductsOrderDetail/photoProductsOrderDetail.vue
@@ -231,17 +231,14 @@
}
const nav = () => {
- // wx.openLocation({
- // latitude: 45.867741,
- // longitude: 126.560037,
- // name: '哈尔滨师范大学(松北校区)',
- // address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
- // success: (res) => {
- // console.log(res)
- // }
- // })
- uni.showModal({
- title: '该功能开发中!'
+ wx.openLocation({
+ latitude: 45.867741,
+ longitude: 126.560037,
+ name: '哈尔滨师范大学(松北校区)',
+ address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
+ success: (res) => {
+ console.log(res)
+ }
})
}
diff --git a/pages/subPack/clothesRent/clotherRentOrderList/clotherRentOrderList.vue b/pages/subPack/clothesRent/clotherRentOrderList/clotherRentOrderList.vue
index 267565b..217368a 100644
--- a/pages/subPack/clothesRent/clotherRentOrderList/clotherRentOrderList.vue
+++ b/pages/subPack/clothesRent/clotherRentOrderList/clotherRentOrderList.vue
@@ -474,17 +474,14 @@
const nav = () => { //导航
- // wx.openLocation({
- // latitude: 45.867741,
- // longitude: 126.560037,
- // name: '哈尔滨师范大学(松北校区)',
- // address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
- // success: (res) => {
- // console.log(res)
- // }
- // })
- uni.showModal({
- title: '该功能开发中!'
+ wx.openLocation({
+ latitude: 45.867741,
+ longitude: 126.560037,
+ name: '哈尔滨师范大学(松北校区)',
+ address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
+ success: (res) => {
+ console.log(res)
+ }
})
}
diff --git a/pages/subPack/clothesRent/clothesRentSubmitOrder/clothesRentSubmitOrder.vue b/pages/subPack/clothesRent/clothesRentSubmitOrder/clothesRentSubmitOrder.vue
index 4941bdd..cd489fe 100644
--- a/pages/subPack/clothesRent/clothesRentSubmitOrder/clothesRentSubmitOrder.vue
+++ b/pages/subPack/clothesRent/clothesRentSubmitOrder/clothesRentSubmitOrder.vue
@@ -170,17 +170,14 @@
const nav = () => {
- // wx.openLocation({
- // latitude: 45.867741,
- // longitude: 126.560037,
- // name: '哈尔滨师范大学(松北校区)',
- // address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
- // success: (res) => {
- // console.log(res)
- // }
- // })
- uni.showModal({
- title: '该功能开发中!'
+ wx.openLocation({
+ latitude: 45.867741,
+ longitude: 126.560037,
+ name: '哈尔滨师范大学(松北校区)',
+ address: '黑龙江省哈尔滨市呼兰区利民经济开发区师大路1号',
+ success: (res) => {
+ console.log(res)
+ }
})
}
diff --git a/uni_modules/uni-file-picker/changelog.md b/uni_modules/uni-file-picker/changelog.md
index 81e43b9..fa33677 100644
--- a/uni_modules/uni-file-picker/changelog.md
+++ b/uni_modules/uni-file-picker/changelog.md
@@ -1,3 +1,9 @@
+## 1.0.12(2025-04-14)
+- 修复 支付宝小程序 上传样式问题
+## 1.0.10(2024-07-09)
+- 优化 vue3兼容性
+## 1.0.9(2024-07-09)
+- 修复 value 属性不兼容vue3的bug
## 1.0.8(2024-03-20)
- 补充 删除文件时返回文件下标
## 1.0.7(2024-02-21)
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
index fb83f63..872cf74 100644
--- a/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
@@ -8,10 +8,8 @@
:image-styles="imageStyles" :files-list="filesList" :limit="limitLength" :disablePreview="disablePreview"
:delIcon="delIcon" @uploadFiles="uploadFiles" @choose="choose" @delFile="delFile">
-
-
-
-
+
+
-
-
-
-
+
@@ -254,13 +251,6 @@
justify-content: center;
}
- .icon-add {
- width: 50px;
- height: 5px;
- background-color: #f1f1f1;
- border-radius: 2px;
- }
-
.rotate {
position: absolute;
transform: rotate(90deg);
diff --git a/uni_modules/uni-file-picker/package.json b/uni_modules/uni-file-picker/package.json
index 004d330..830bb7e 100644
--- a/uni_modules/uni-file-picker/package.json
+++ b/uni_modules/uni-file-picker/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-file-picker",
"displayName": "uni-file-picker 文件选择上传",
- "version": "1.0.8",
+ "version": "1.0.12",
"description": "文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间",
"keywords": [
"uni-ui",
@@ -42,12 +42,15 @@
"platforms": {
"cloud": {
"tcb": "y",
- "aliyun": "y"
+ "aliyun": "y",
+ "alipay": "n"
},
"client": {
"App": {
- "app-vue": "y",
- "app-nvue": "n"
+ "app-vue": "y",
+ "app-nvue": "n",
+ "app-harmony": "u",
+ "app-uvue": "u"
},
"H5-mobile": {
"Safari": "y",