From 9f0087680bcf63a6bf7a61da23ecbaac213a78d9 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 05 十二月 2022 10:18:39 +0800
Subject: [PATCH] ##

---
 pages/login/login.vue      |    2 +-
 static/stlogo.png          |    0 
 pages/basics/callEmpty.vue |    9 +++++++--
 pages/index/index.vue      |   30 +++++++++++++++---------------
 4 files changed, 23 insertions(+), 18 deletions(-)

diff --git a/pages/basics/callEmpty.vue b/pages/basics/callEmpty.vue
index c9c31f9..ecac195 100644
--- a/pages/basics/callEmpty.vue
+++ b/pages/basics/callEmpty.vue
@@ -1,7 +1,7 @@
 <template>
 	<view style="width: 100%;height: 100vh;">
 		<view style="width: 100%;height: 100%;display: flex;flex-direction: column;align-items: center;justify-content: center;">
-			<button size="default" class="cu-btn bg-blue lg  ">鍛煎彨绌烘澘</button>
+			<button size="default" class="cu-btn bg-blue lg " @click="callEmpty">鍛煎彨绌烘澘</button>
 		</view>
 	</view>
 </template>
@@ -32,7 +32,12 @@
 			callEmpty() {
 				let that = this
 				uni.request({
-					url:
+					url: that.commonUrl + '/site/motherPallet',
+					method:'POST',
+					success(result) {
+						var res = result.data
+						uni.showToast({title: res.msg, icon: "none", position: 'top'})
+					}
 				})
 			}
 		}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 1f21c94..80fc7b5 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -3,7 +3,7 @@
 		<scroll-view scroll-y>
 			<view class="flex justify-end custom-position">
 				<view>
-					<image class="img-logo flex solid-bottom " src="../../static/zoneyung.png" mode="widthFix"></image>
+					<!-- <image class="img-logo flex solid-bottom " src="../../static/zoneyung.png" mode="widthFix"></image> -->
 				</view>
 			</view>
 			<view class="nav-list" >
@@ -37,20 +37,20 @@
 						cuIcon: 'goods',
 						show: true
 					},
-					{
-						title: '搴撳瓨鏌ヨ',
-						name: 'stockQuery',
-						color: 'blue',
-						cuIcon: 'searchlist',
-						show: true
-					},
-					{
-						title: '搴撳瓨鐩樼偣',
-						name: 'stockCheck',
-						color: 'blue',
-						cuIcon: 'safe',
-						show: true
-					},
+					// {
+					// 	title: '搴撳瓨鏌ヨ',
+					// 	name: 'stockQuery',
+					// 	color: 'blue',
+					// 	cuIcon: 'searchlist',
+					// 	show: true
+					// },
+					// {
+					// 	title: '搴撳瓨鐩樼偣',
+					// 	name: 'stockCheck',
+					// 	color: 'blue',
+					// 	cuIcon: 'safe',
+					// 	show: true
+					// },
 					{
 						title: '鍛煎彨绌烘澘',
 						name: 'callEmpty',
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 9543434..8bd094c 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -4,7 +4,7 @@
         <scroll-view scroll-y class="page">
 			
             <view class="text-center" :style="[{animation: 'show ' + 0.4+ 's 1'}]">
-				<image src="../../static/logo.png" mode='aspectFit' class="zai-logo" @longtap='longpressImg'></image>
+				<image src="../../static/stlogo.png" mode='aspectFit' class="zai-logo" @longtap='longpressImg'></image>
 			</view>
             <view class="box padding-lr-xl login-paddingtop" :style="[{animation: 'show ' + 0.6+ 's 1'}]">
 				<block v-if="loginWay==1">
diff --git a/static/stlogo.png b/static/stlogo.png
new file mode 100644
index 0000000..3726d78
--- /dev/null
+++ b/static/stlogo.png
Binary files differ

--
Gitblit v1.9.1