From 0d1dd45c8b7f6faaca946e0e3e1d3c7618e38874 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Thu, 6 Jul 2023 10:40:53 +0800
Subject: [PATCH] fix
---
config/request.js | 4 +-
order/addCourse/addCourse.vue | 5 +-
order/orderDetail/orderDetail.vue | 32 ++---
order/productDetail/productDetail.vue | 6 +-
order/products/products.vue | 10 +-
pages.json | 2 +-
pages/index/index.vue | 167 ++++++++++++++------------
pages/person/person.vue | 4 +-
static/image/index/banner.png | Bin 32204 -> 66550 bytes
static/image/product/shop-blue1.png | Bin 0 -> 1070 bytes
10 files changed, 125 insertions(+), 105 deletions(-)
create mode 100644 static/image/product/shop-blue1.png
diff --git a/config/request.js b/config/request.js
index 6f3a944..d6c6600 100644
--- a/config/request.js
+++ b/config/request.js
@@ -5,9 +5,9 @@
*/
export default {
- baseURL: 'https://huorantech.cn/',
+ // baseURL: 'https://huorantech.cn/',
// baseURL: 'http://192.168.31.152:9000/',
- // baseURL: 'http://121.37.12.51/',
+ baseURL: 'http://121.37.12.51/',
headers: {
'Content-Type': 'application/json;charset=UTF-8'
},
diff --git a/order/addCourse/addCourse.vue b/order/addCourse/addCourse.vue
index d615d11..3d21088 100644
--- a/order/addCourse/addCourse.vue
+++ b/order/addCourse/addCourse.vue
@@ -18,7 +18,7 @@
checkChange(e, i)">
checkChange(e, i)">
-
+
{{ item.productName }}
@@ -358,7 +358,10 @@
}
.icon {
width: 80rpx;
+ min-width: 80rpx;
+ height: 80rpx;
margin: 0 20rpx;
+ border-radius: 4px;
}
}
/deep/.check {
diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue
index e2100e4..390083b 100644
--- a/order/orderDetail/orderDetail.vue
+++ b/order/orderDetail/orderDetail.vue
@@ -12,7 +12,7 @@
{{ form.customerName }}
{{ form.customerName || '请选择客户' }}
- 找不到客户?马上创建
+
@@ -68,7 +68,7 @@
-
+
@@ -134,6 +134,7 @@
请选择客户
+ 找不到客户?马上创建
{{ item.customerName }}
@@ -225,6 +226,7 @@
if (this.orderId) {
this.getInfo()
} else if (store) {
+ console.log(11, store)
// 新增取缓存,取了删除
const list = []
for (const i in store) {
@@ -232,11 +234,11 @@
}
this.courseList = store
this.courses = list
- this.$nextTick(() => {
- uni.pageScrollTo({
- selector: '#products',
- })
- })
+ // this.$nextTick(() => {
+ // uni.pageScrollTo({
+ // selector: '#products',
+ // })
+ // })
try {
uni.removeStorageSync('courses')
@@ -301,7 +303,6 @@
e.serviceFee = (e.finalPrice * (this.rate / 100)).toFixed(2) // 服务费 != 0 && 才需要算
courses['list' + e.authority].list.push(e)
})
- console.log(123,courses)
this.courseList = courses
}).catch(e => {})
},
@@ -525,7 +526,6 @@
},
// 显示发货信息
showShip(row) {
- console.log(33)
let val = ''
row.mallNonAssociatedLinks && row.mallNonAssociatedLinks.forEach(e => {
val += e.urlName + ':' + e.url + '\n'
@@ -632,11 +632,12 @@
.customer-wrap {
text-align: right;
}
- .create {
- margin-top: 10rpx;
- font-size: 20rpx;
- color: #f00;
- }
+}
+.create {
+ padding: 0 20rpx;
+ font-size: 20rpx;
+ text-align: right;
+ color: #f00;
}
.pro-wrap {
position: relative;
@@ -668,10 +669,13 @@
padding: 0 16rpx;
margin-left: 10rpx;
font-size: 28rpx;
+ white-space: nowrap;
}
.left {
display: inline-flex;
align-items: center;
+ max-width: 480rpx;
+ margin-right: 10rpx;
}
.del {
width: 40rpx;
diff --git a/order/productDetail/productDetail.vue b/order/productDetail/productDetail.vue
index 25bee27..92d82f1 100644
--- a/order/productDetail/productDetail.vue
+++ b/order/productDetail/productDetail.vue
@@ -49,7 +49,8 @@
详情介绍:
-
+
+ {{ form.mall.detailedIntroduction }}
@@ -94,7 +95,7 @@