From eb9ae89c3e9f66fe5d0f39092a41e5c09bd86fc6 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期五, 24 三月 2023 13:40:02 +0800
Subject: [PATCH] 获取司机定位微信接口签到,货代首页列表详情

---
 pages/tabbar-page/index-tabbar/index-tabbar.vue |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/pages/tabbar-page/index-tabbar/index-tabbar.vue b/pages/tabbar-page/index-tabbar/index-tabbar.vue
index 1704840..aa804f7 100644
--- a/pages/tabbar-page/index-tabbar/index-tabbar.vue
+++ b/pages/tabbar-page/index-tabbar/index-tabbar.vue
@@ -18,6 +18,23 @@
 		driverIndex,
 		freightForwarderIndex
 	},
+	onLoad(){
+		// 寮�鍚弻浜洪�氳瘽
+		wx.setEnable1v1Chat({
+			enable: true,
+			backgroundType: 1,
+			minWindowType:2,
+			success() {
+				console.log('寮�鍚弻浜洪�氳瘽鎴愬姛');
+			},
+			fail() {
+				console.log('寮�鍚弻浜洪�氳瘽澶辫触');
+			},
+			complete() {
+				console.log('寮�鍚弻浜洪�氳瘽鎴愬姛Complete');
+			}
+		});
+	},
 	data() {
 		return {
 			roleType: null
@@ -57,7 +74,7 @@
 		userAuthorization() {
 			wx.getSetting({
 				success(res) {
-					wx.startRecord();
+					// wx.startRecord();
 					console.log('success');
 					if (!res.authSetting['scope.record'] || !res.authSetting['scope.camera']) {
 						if (!res.authSetting['scope.camera']) {

--
Gitblit v1.9.1