From a223d5e29e9384f720ae98c44cbe10f8fa4f73e7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 21 八月 2025 13:42:16 +0800
Subject: [PATCH] 优化

---
 small-program/utils/http.interceptor.js                   |    1 -
 small-program/App.vue                                     |    6 +++++-
 small-program/pages/packaging-worker/packaging-worker.vue |    4 +++-
 small-program/pages/demand-hall/demand-hall.vue           |    4 ++--
 small-program/pages/freight/freight.vue                   |    2 +-
 5 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/small-program/App.vue b/small-program/App.vue
index 01f3c1e..a23ecbe 100644
--- a/small-program/App.vue
+++ b/small-program/App.vue
@@ -5,7 +5,6 @@
 			...mapState(['userInfo','openid'])
 		},
 		onLaunch: function() { 
-			console.log(ua)  
 			var that = this;
 			if (!this.openid || this.openid =='') {
 				uni.login({
@@ -77,4 +76,9 @@
 
 <style lang="scss">
 	@import "uview-ui/index.scss"; 
+	
+	.toast-custom {
+	    width: 500px !important;
+	    font-size: 14px !important;
+	}
 </style>
\ No newline at end of file
diff --git a/small-program/pages/demand-hall/demand-hall.vue b/small-program/pages/demand-hall/demand-hall.vue
index ba4db82..635bcbd 100644
--- a/small-program/pages/demand-hall/demand-hall.vue
+++ b/small-program/pages/demand-hall/demand-hall.vue
@@ -75,7 +75,7 @@
 							<image src="/static/icon/ic_qidian@2x.png" mode="widthFix" v-if="i === 0"></image>
 							<image src="/static/icon/ic_jingguo@2x.png" mode="widthFix" v-else-if="i !== 0 && i !== item.wayInfo.length - 1"></image>
 							<image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix" v-else-if="i === item.wayInfo.length - 1"></image>
-							<text>{{item.location}}</text>
+							<text>{{address.location}}</text>
 						</view>
 					</view>
 					<template v-if="[0, 2].includes(item.type)">
@@ -146,7 +146,7 @@
 							<image src="/static/icon/ic_qidian@2x.png" mode="widthFix" v-if="i === 0"></image>
 							<image src="/static/icon/ic_jingguo@2x.png" mode="widthFix" v-else-if="i !== 0 && i !== item.wayInfo.length - 1"></image>
 							<image src="/static/icon/ic_zhongdian@2x.png" mode="widthFix" v-else-if="i === item.wayInfo.length - 1"></image>
-							<text>{{item.location}}</text>
+							<text>{{address.location}}</text>
 						</view>
 					</view>
 					<template v-if="[0, 2].includes(item.type)">
diff --git a/small-program/pages/freight/freight.vue b/small-program/pages/freight/freight.vue
index d915dee..a56325a 100644
--- a/small-program/pages/freight/freight.vue
+++ b/small-program/pages/freight/freight.vue
@@ -126,7 +126,7 @@
 						<text>璐圭敤</text>
 					</view>
 					<view class="list-item-cate">
-						<view :class="item.id === form.carType ? 'list-item-cate-item active' : 'list-item-cate-item'" v-for="(item, index) in ff" :key="index" @click="form.carType = item.id">鎸夊ぉ浠樿垂</view>
+						<view :class="item.id === form.carType ? 'list-item-cate-item active' : 'list-item-cate-item'" v-for="(item, index) in ff" :key="index" @click="form.carType = item.id">{{item.name}}</view>
 					</view>
 					<view class="list-item-row">
 						<view class="list-item-row-label">澶╂暟</view>
diff --git a/small-program/pages/packaging-worker/packaging-worker.vue b/small-program/pages/packaging-worker/packaging-worker.vue
index 7a052b3..eb714bb 100644
--- a/small-program/pages/packaging-worker/packaging-worker.vue
+++ b/small-program/pages/packaging-worker/packaging-worker.vue
@@ -313,8 +313,10 @@
 				this.form.carType = id
 				if (id === 0) {
 					this.form.priceUnit = '鍏�/浜�/澶�'
-				} else {
+				} else if (id === 1) {
 					this.form.priceUnit = '鍏�/浜�/灏忔椂'
+				} else {
+					this.form.priceUnit = '鍏�/鏂�'
 				}
 			},
 			confirmCategary(e) {
diff --git a/small-program/utils/http.interceptor.js b/small-program/utils/http.interceptor.js
index 47a309b..b55252e 100644
--- a/small-program/utils/http.interceptor.js
+++ b/small-program/utils/http.interceptor.js
@@ -15,7 +15,6 @@
 	// 鍝嶅簲鎷︽埅鍣�
 	uni.$u.http.interceptors.response.use((response) => {
 		uni.hideLoading();
-		// console.log(response.data)
 		if (response.data.code === 5113) {
 			uni.switchTab({
 				url: '/pages/index/index'

--
Gitblit v1.9.3