From 08b73a91cec8c8ef430b8d5bc5b4a631bcbbe7f2 Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期日, 21 七月 2024 18:13:49 +0800
Subject: [PATCH] Merge branch 'main' of https://gitee.com/people_3/hmy_farmer

---
 pages/login/supplier-login.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/pages/login/supplier-login.vue b/pages/login/supplier-login.vue
index f7cd70e..5a982d2 100644
--- a/pages/login/supplier-login.vue
+++ b/pages/login/supplier-login.vue
@@ -51,7 +51,7 @@
 						<view class="topic-font" v-if="loginType=='pwd'" @click="loginType='code'">手机验证码登录</view>
 						<view class="topic-font" v-if="loginType=='code'" @click="loginType='pwd'">账号密码登录</view>
 
-						<!-- #ifdef PUB_SUPPLIER -->
+						<!-- #ifndef PUB_CUSTOMER -->
 						<view class="topic-font m-l-a m-r-0" @click="toReg">前往注册</view>
 
 						<!-- #endif -->
@@ -172,9 +172,19 @@
 				// uni.switchTab({
 				// 	url: '/pages/index/index'
 				// })
-				uni.redirectTo({
-					url: '/sub_pages/supplier/supplier-reg/supplier-reg'
+				var addstr = ''
+				// #ifdef PUB_PARTNER
+				addstr = '?source=step'
+				uni.redirectTo({
+					url: '/sub_pages/partner/partner-info/partner-info' + addstr
 				})
+				// #endif
+				// #ifdef PUB_SUPPLIER
+				uni.redirectTo({
+					url: '/pages/login/supplier-reg'
+				})
+				// #endif
+				
 
 			},
 			changeAll(e) {

--
Gitblit v1.9.3