From 5fa1870a958994ca5e8161376d26762a7bdafbbf Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Fri, 15 Dec 2023 19:09:36 +0800
Subject: [PATCH] 公共收益、扫码逻辑修改

---
 subPackage/workbench/views/csjl.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/subPackage/workbench/views/csjl.vue b/subPackage/workbench/views/csjl.vue
index 2993773..8b96655 100644
--- a/subPackage/workbench/views/csjl.vue
+++ b/subPackage/workbench/views/csjl.vue
@@ -1,6 +1,6 @@
 <template>
 	<view class="container">
-		<u-sticky>
+		<u-sticky  v-if="from == 'home'">
 			<view class="tabsAndSearch">
 				<view class="tabs">
 					<u-tabs :list="tabsList" @click="tabClick"  :inactiveStyle="{color:'#999999'}"
@@ -65,9 +65,18 @@
 				},
 				tabsType: 0,
 				status: 'nomore',
-				currentRole: {}
+				currentRole: {},
+				from:"home"   //页面跳入来源
 			}
 		},
+		onLoad(option){
+			if(option.from){
+				this.from = option.from;
+				this.iptContext = option.name;
+				// this.getrRecordList(option.name);
+			}
+		},
+		
 		onShow() {
 			this.recordsData = []
 			this.currentRole = uni.getStorageSync('activeRole')

--
Gitblit v1.9.3