From 4c4b832d09eb0ff3bbffbe28bdbbd95e7694a565 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 07 九月 2023 17:16:16 +0800
Subject: [PATCH] #

---
 pages/home/home.vue |   65 ++++++++++++++++++++++----------
 1 files changed, 44 insertions(+), 21 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index 6075358..aecdcd7 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -23,27 +23,49 @@
 				token: '',
 				icon: '',
 				elements: [],
-				elements2: [{
-						title: '缁勬墭鍏ュ簱',
-						name: 'pakin',
+				elements2: [
+					// {
+					// 	title: '缁勬墭鍏ュ簱',
+					// 	name: 'pakin',
+					// 	color: 'orange',
+					// 	cuIcon: 'pullup',
+					// 	url: '/pakin/pakin'
+					// },
+					// {
+					// 	title: '璁㈠崟缁勬墭',
+					// 	name: 'orderPakin',
+					// 	color: 'blue',
+					// 	cuIcon: 'pullup',
+					// 	url: '/order/orderPakin'
+					// },
+					{
+						title: '缁勬墭涓婃灦',
+						name: 'putOn',
 						color: 'cyan',
 						cuIcon: 'pullup',
-						url: '/pakin/pakin'
-					},
-					{
-						title: '璁㈠崟鍏ュ簱',
-						name: 'orderPakin',
-						color: 'blue',
-						cuIcon: 'pullup',
-						url: '/order/orderPakin'
+						url: '/pakin/putOn'
 					},
 					// {
-					// 	title: '鎵撳嵃',
-					// 	name: 'print',
-					// 	color: 'purple',
-					// 	cuIcon: 'text',
-					// 	url: '/print/print'
+					// 	title: '璁㈠崟缁勬墭2',
+					// 	name: 'putOn',
+					// 	color: 'cyan',
+					// 	cuIcon: 'pullup',
+					// 	url: '/order/orderPutOn2'
 					// },
+					// {
+					// 	title: '璁㈠崟缁勬墭3',
+					// 	name: 'putOn',
+					// 	color: 'cyan',
+					// 	cuIcon: 'pullup',
+					// 	url: '/order/orderPutOn3'
+					// },
+					{
+						title: '鎵撳嵃',
+						name: 'print',
+						color: 'purple',
+						cuIcon: 'text',
+						url: '/print/print'
+					},
 					{
 						title: '璁㈠崟涓婃灦',
 						name: 'orderPutOn',
@@ -165,11 +187,12 @@
 								});
 							}, 1000);
 						} else if(res.status === 404) {
-							uni.showToast({
-								title: '404',
-								icon: "none",
-								position: 'top'
-							})
+							that.elements = that.elements2
+							// uni.showToast({
+							// 	title: '榛樿涓婚〉',
+							// 	icon: "none",
+							// 	position: 'top'
+							// })
 						} else {
 							uni.showToast({
 								title: res.msg,

--
Gitblit v1.9.1