ソースを参照

1.修复pk模式下的bug

slambb 2 年 前
コミット
8930a1911c

+ 9 - 5
components/modal/action-hit/action-hit.vue

@@ -403,7 +403,7 @@
 				this.tempHitCount = 0;
 			}, 3000)
 
-			console.log("组件创建")
+			// console.log("组件创建")
 		},
 		beforeDestroy() {
 			let _self = this;
@@ -765,7 +765,7 @@
 					let _currentCenterPos = 0;
 
 					if (2 === i) {
-						if(!bPlayAudio){
+						if(!bPlayAudio && this.bJumpPlay){
 							// console.log("play video2 = "+i);
 							bPlayAudio = true;
 							//声音播放
@@ -1000,7 +1000,7 @@
 				this.jumpCalorie += puchConfig.getJumpCalorie(this.eliminationCount + this.faultCount);
 
 				//如果是pk模式。不走下面判断
-				if (this.currentMode == 'pkMode') return;
+				// if (this.currentMode == 'pkMode') return;
 
 				if (CONDITIONPASSED.ENERGYBARFULL == this.taskConditionPassed.limitType) {
 					//能量条的条件下才显示能量条动
@@ -1089,12 +1089,15 @@
 
 			//控制播放
 			onControllerPlay() {
+				console.log("onControllerPlay:",this.bJumpPlay)
 				if (this.bJumpPlay) {
 					//仅仅暂停,没有清空数据
 					this._changePlay(false);
 					this.$emit("actionJumpControllerPlay", false);
 				} else {
-					this.$emit("actionJumpCheck");
+					this.$emit("actionJumpCheck",{
+						bStartCountDown: true
+					});
 				}
 			},
 			onContinueGame() {
@@ -1119,7 +1122,7 @@
 				this.onClearData();
 				this.startJumpGame();
 				this._changePlay(true);
-
+				console.log("onActionPlay:",this.bJumpPlay)
 				//reset 对应计算数据
 				this.taskSignCurCount = 0;
 				this.showCurCount = 0;
@@ -1132,6 +1135,7 @@
 			 * 停止并清空数据
 			 */
 			onStopAndClearAction() {
+				console.log("onStopAndClearAction")
 				this.onClear();
 				this.onClearData();
 				this.bJumpPlay = false;

+ 4 - 2
components/modal/action-jump/action-jump.vue

@@ -1077,7 +1077,7 @@
 				this.jumpCalorie += puchConfig.getJumpCalorie(this.eliminationCount + this.faultCount);
 
 				//如果是pk模式。不走下面判断
-				if (this.currentMode == 'pkMode') return;
+				// if (this.currentMode == 'pkMode') return;
 
 				if (CONDITIONPASSED.ENERGYBARFULL == this.taskConditionPassed.limitType) {
 					//能量条的条件下才显示能量条动
@@ -1173,7 +1173,9 @@
 					this._changePlay(false);
 					this.$emit("actionJumpControllerPlay", false);
 				} else {
-					this.$emit("actionJumpCheck");
+					this.$emit("actionJumpCheck",{
+						bStartCountDown: true
+					});
 				}
 			},
 			onContinueGame() {

+ 1 - 1
pages/friend-page/search/search.vue

@@ -11,7 +11,7 @@
 				<view class="cu-bar ">
 					<view class="search-form round" style="margin: 0 10rpx;">
 						<text class="cuIcon-search"></text>
-						<input @input="onKeyInput" @focus="InputFocus" @blur="InputBlur" :adjust-position="false" type="text"
+						<input @input="onKeyInput" :adjust-position="false" type="text"
 							placeholder="输入名字,搜索好友" confirm-type="search"></input>
 					</view>
 				</view>

+ 12 - 3
pages/friend-page/select/select.vue

@@ -2,10 +2,19 @@
 	<view >
 		<view class="friend-bg">
 			<image style="width: 750rpx;height: 406rpx;" src="../../../static/friend/friend-bg.png"></image>
-			<image style="position: absolute; left: 34rpx;top: 120rpx; width: 22rpx; height: 42rpx;"
-				src="../../../static/friend/back.png" @click="onBack()"></image>
+		
 		</view>
-		<view style="height: 100px;"></view>
+		<uni-nav-bar  id="nav-bar" status-bar="true" backgroundColor="rgba(0,0,0,0)"
+			@clickLeft="onBack()"   fixed="true" :border="false">
+			<view slot="left" >
+				<view class="flex align-center " style="margin-left: 20rpx;">
+					<image style="width: 22rpx; height: 42rpx;" src="../../../static/friend/back.png"></image>
+				</view>
+			</view>
+			
+	
+		</uni-nav-bar>
+		<view style="height: 35px;"></view>
 		<scroll-view :style="{ height: scrollviewHight + 'px' }" scroll-y="true">
 			<view class="cu-list menu-avatar margin-top">
 				<view class="cu-item card-view" :class=" index == selectIndex?' friend-select':''" style="height: 180rpx;" v-for="(item, index) in friends" :key="index" @click="onSelectIndex(index,item)">

+ 7 - 7
pages/personal-page/devices-hardware/devices-hardware.vue

@@ -342,7 +342,7 @@
 			},
 			//监听回调
 			onListenerBLE(res) {
-				console.log('onListenerBLE:', res, this.saveObj);
+				// console.log('onListenerBLE:', res, this.saveObj);
 				if (res.type !== 'mac') return;
 				//如果mac 回调了不用提示
 				if (this.searchMac) {
@@ -422,12 +422,12 @@
 							//是自己绑定的,添加设备
 							if (_self.saveObj == null) return;
 							//添加一个mac地址到saveObj
-							console.log('code=721,添加了mac前saveObj', _self.saveObj);
+							// console.log('code=721,添加了mac前saveObj', _self.saveObj);
 							_self.saveObj = Object.assign({}, _self.saveObj, {
 								deviceMac: mac,
 								bOldDevice: res.data != null ? res.data.bOldDevice : false
 							});
-							console.log('code=721,添加了mac后saveObj:', _self.saveObj);
+							// console.log('code=721,添加了mac后saveObj:', _self.saveObj);
 							_self.addBLEDevice(_self.saveObj);
 							_self.ConnectionSuccess();
 
@@ -497,9 +497,9 @@
 						 */
 						let _tempMac = this.saveObj.deviceMac.replace(/:/g, "");
 						let _fourStr = _tempMac.substring(_tempMac.length - 4, _tempMac.length);
-						console.log("格式化去掉冒号后mac:", _tempMac, "==", _fourStr);
+						// console.log("格式化去掉冒号后mac:", _tempMac, "==", _fourStr);
 						let _tempInt = ble.hex2int(_fourStr);
-						console.log("格式化去掉冒号后_tempInt:", _tempInt);
+						// console.log("格式化去掉冒号后_tempInt:", _tempInt);
 						//这里判断旧设备,因为目前这批新设备,用的也是202012的名字,所以这里处理兼容旧设备就行了
 						//用mac判断区分,一起有100个是旧设备,还有部分非标准的mac,根据后台字段判断
 						//如果后台存在bOldDevice 字段,则根据字段判断是否是旧设备
@@ -507,9 +507,9 @@
 							_tempInt <= 101 && _tempInt >= 0 || this.saveObj.bOldDevice) {
 							this.$store.state.bOldDeviceType = true;
 							eq.bOldDevice = true;
-							console.log("旧设备:", this.$store.state.bOldDeviceType);
+							// console.log("旧设备:", this.$store.state.bOldDeviceType);
 						} else {
-							console.log("旧设备", this.$store.state.bOldDeviceType);
+							// console.log("旧设备", this.$store.state.bOldDeviceType);
 							eq.bOldDevice = false;
 						}
 

+ 51 - 193
pages/personal-page/personal/personal.vue

@@ -1,6 +1,6 @@
 <!-- 新版本跳首页文件修改版本 -->
 
-<template>
+<template> 
 	<view class="bg-person " :class="bEFHitShake?' screen-jitter ':''">
 		<uni-nav-bar id="nav-bar" status-bar="true" backgroundColor="RGBA(30, 30, 85, 1)" @clickLeft="showClickEvent()"
 			color="#FFFFFF" fixed="true" :border="false">
@@ -997,7 +997,7 @@
 			//限制开始点击播放
 			setTimeout(() => {
 				_self.bShowComplete = true;
-				console.log("=============>", _self.bShowComplete);
+				// console.log("=============>", _self.bShowComplete);
 			}, 500)
 			// 计算屏幕剩余高度  填补剩余高度
 			// 计算组件的高度
@@ -1442,34 +1442,11 @@
 			callbackUpdateBLEData(data) {
 				//如果在监听状态时候隐藏页面,返回
 				if (_self.bHide) return;
-				// console.log("callbackDeviceState==", data);
-
-				// if (this.ConnectBindingDevice) {
-				// 	this.gUpdateSandbagAlgorithm({
-				// 		data: data,
-				// 		callback: (res) => {
-				// 			if (res.type == 'hit') {
-				// 				this.$refs.boxingPostRef.onBLEHotmanUpdate(res);
-				// 			}
-				// 		}
-				// 	});
-				// 	return;
-				// }
-
 				//连接了手柄模式
 				//没有开启指令不刷新
 				if (!this.instructionState.bOpen) return;
 
 				if (this.BLEConnectDevice.usageMode == "hotman") {
-					// this.gUpdateFilter({
-					// 	data: data,
-					// 	callback: (res) => {
-					// 		if (res.type == 'hit') {
-					// 			// this.$refs.boxingPostRef.onBLEHotmanUpdate(res);
-					// 			this.$refs.actionHitRef.onBLEHitUpdate(res);
-					// 		}
-					// 	}
-					// });
 					this.gUpdateSandbagAlgorithm({
 						data: data,
 						callback: (res) => {
@@ -1482,24 +1459,7 @@
 					//这个是普通打击模式
 					this.$refs.boxingPostRef.onBLEHandleUpdate(data);
 				} else if (this.BLEConnectDevice.usageMode == "ropeSkipping") {
-
 					this.$refs.actionJumpRef.onBLERopeUpdate(data);
-					// this.onConvertDeviceData({
-					// 	data: data,
-					// 	callback: (outData) => {
-					// 		// this.outBLEData = {
-					// 		// 	acc: outData.convertAcc,
-					// 		// 	gyro: outData.convertGyro
-					// 		// }
-					// 		// console.log(JSON.stringify(outData),JSON.stringify(data));
-					// 		data.acc = outData.convertAcc;
-					// 		data.gyro = outData.convertGyro;
-					// 		//跳绳蓝牙反馈
-					// 		this.$refs.actionJumpRef.onBLERopeUpdate(data);
-
-					// 	}
-					// });
-
 				}
 
 
@@ -1714,61 +1674,17 @@
 
 				return;
 				//#endif
-				//分类型判断
-				// if (0 === this.currentModeIndex) {
-				// 	//拳击运动类型
-				// 	// 1.检测是否有对应设备,没有ConnectBindingDevice,再进行下一步
-				// 	if (this.ConnectBindingDevice == null) {
-				// 		uni.showToast({
-				// 			title: '开启连接数据',
-				// 			icon: 'none'
-				// 		})
-				// 		this.toView = "openAccGyroView";
-				// 		return;
-
-				// 	}
-				// 	// TODO,目前去掉蓝牙设备
-				// 	// //2.检测是否有设备
-				// 	// if (this.BLEDeviceShowList.length == 0) {
-				// 	// 	this.$store.state.bGuidePages = true;
-				// 	// 	this.guideCurrent = 3;
-				// 	// 	uni.showToast({
-				// 	// 		title: '请添加蓝牙设备',
-				// 	// 		icon: 'none'
-				// 	// 	})
-				// 	// 	this.toView = "addDeviceView";
-				// 	// 	return;
-				// 	// }
-				// 	// //2.检测是否连接设备 || this.BLEConnectDevice.ename !== 'BT04'
-				// 	// if (this.cIndex == -1) {
-				// 	// 	//没有连接设备,提示去连接设备
-				// 	// 	uni.showToast({
-				// 	// 		title: '请连接蓝牙设备',
-				// 	// 		icon: 'none'
-				// 	// 	})
-				// 	// 	this.toView = "addDeviceView";
-				// 	// 	return;
-				// 	// }
-
-				// } else 
 				//跳和拳击进入
 				if (1 === this.currentModeIndex || 0 === this.currentModeIndex) {
-
 					//2.检测是否连接设备 || this.BLEConnectDevice.ename !== 'BT04'
 					if (this.cIndex == -1) {
-						//没有连接设备,提示去连接设备
-						// uni.showToast({
-						// 	title: '请连接蓝牙设备',
-						// 	icon: 'none'
-						// })
+
 						this.onGetBluetoothConnectView({
 							hiddenType: 'none'
 						});
 						return;
 					}
 				}
-
-
 				//3.检测一下计划日期
 				console.log("remainingDays == >", this.planData, this.remainingDays);
 				if (date.formatDate(new Date()) > this.planData.endTime || this.remainingDays == 0) {
@@ -1777,10 +1693,6 @@
 						setTimeout(() => {
 							this.$store.state.bPlanExpired = false;
 						}, 3000)
-						// uni.showToast({
-						// 	title: "计划到期,请制定计划。",
-						// 	icon: 'none'
-						// })
 						uni.showModal({
 							title: '提醒',
 							content: '计划到期,请制定新计划。',
@@ -1797,52 +1709,6 @@
 					return;
 				}
 
-				// if (0 === this.currentModeIndex) {
-
-				// 	//如果新手,调用新手教程
-				// 	console.log("this.bNewGuide:", this.bNewGuide);
-				// 	if (this.bNewGuide) {
-				// 		// 拳击的新手提示
-				// 		this.$store.state.bGuidePages = true;
-				// 		this.guideCurrent = 5;
-				// 		this.toView = "boxingHitID";
-				// 		this.$store.state.bNewGuide = false;
-				// 	} else {
-				// 		if (this.ConnectBindingDevice) {
-				// 			//假如有连接bingding设备
-				// 			this.gCreateSandbagAlgorithm();
-				// 			this.gStartSimulateBLEUpdate();
-				// 		} else {
-				// 			//todo 跳绳模式 发送开启指令
-				// 			if (this.BLEConnectDevice.usageMode == "ropeSkipping") {
-				// 				//打开跳绳模式
-				// 				this.B_OpenRopeSkipping();
-				// 			} else {
-				// 				//初始化filter快速打击对象
-				// 				if (this.BLEConnectDevice.usageMode == "hotman") {
-				// 					this.gCreateFilterObj();
-				// 				}
-				// 				//打开加速计
-				// 				this.onWriteBLEConnectionValue({
-				// 					value: "3"
-				// 				});
-
-				// 				// setTimeout(() => {
-				// 				// 	//设置加速计b:20ms a:10ms
-				// 				// 	this.onWriteBLEConnectionValue({
-				// 				// 		value: config.refreshRate
-				// 				// 	});
-
-				// 				// }, 1000)
-				// 			}
-
-				// 		}
-				// 		//监听蓝牙回调
-				// 		uni.$on('updateBLEDeviceData', this.callbackUpdateBLEData);
-				// 		this.onBoxingGuideFinish();
-				// 	}
-
-				// } else 
 				if (1 == this.currentModeIndex || 0 === this.currentModeIndex) {
 					if (data) {
 						let {
@@ -1925,7 +1791,7 @@
 			//检测是否符合要求,没有的话进行新手提示
 			onPersonalCheck(data) {
 				if (!this.bShowComplete) {
-					// console.log('不要点击这么快!!');
+					console.log('不要点击这么快!!');
 					return;
 				} else {
 					console.error('点击!!');
@@ -1934,7 +1800,6 @@
 				// #ifdef APP-PLUS
 				if (1 === this.currentModeIndex || 0 === this.currentModeIndex) {
 					if (this.currentJumpTask == null) {
-						// console.log("**************11");
 						this.onTipLevel({
 							hiddenType: 'normal'
 						});
@@ -1945,13 +1810,7 @@
 							});
 							this.setGuideUnlockState(guideUnlockState);
 						}
-						// else {
-						// uni.showToast({
-						// 	title: '先选一个挑战关卡',
-						// 	icon: 'none',
-						// 	duration: 2000,
-						// })
-						// }
+						this.bShowComplete = true;
 						return;
 					}
 					if (this.currentMode == 'pkMode' && this.finallySelectFriendInfo == null) {
@@ -1961,6 +1820,7 @@
 							icon: 'none',
 							duration: 2000,
 						})
+						this.bShowComplete = true;
 						return;
 					}
 
@@ -2227,15 +2087,7 @@
 						this.gStopSimulateBLEUpdate();
 						uni.$off('updateBLEDeviceData', this.callbackUpdateBLEData);
 					} else {
-						// if (this.BLEConnectDevice.usageMode == "ropeSkipping") {
-						// 	this.B_CloseRopeSkipping();
-						// } else {
-						// }
 						if (0 === this.currentModeIndex) {
-							// this.$refs.boxingPostRef.onBoxingPostStop();
-							// //停止时候,重置ai信息
-							// this.aiObj.name = this.aiOldObj.name;
-							// this.aiObj.avatar = this.aiOldObj.avatar;
 							if (this.currentMode == "calorieMode") {
 								this.$refs.actionHitRef.onGameOver("none");
 							} else {
@@ -2296,12 +2148,6 @@
 					//跳转搜索设备页面
 					// this.openDeviceList();
 				} else if (e.current == 3 && !e.onlyHide) {
-					//新手引导跳转扫码页面,直接走绑定 再check
-					// this.openQRCode((res) => {
-					// 	setTimeout(() => {
-					// 		this.onPersonalCheck();
-					// 	}, 200);
-					// });
 					// 跳转连接蓝牙页面
 					this.openDeviceList();
 				} else if (e.current == 5 && !e.onlyHide) {
@@ -2666,24 +2512,7 @@
 				let {
 					isOffEvent = false
 				} = data;
-				if (isOffEvent) {
-					//停止蓝牙加速计
-					this.onWriteBLEConnectionValue({
-						value: "4"
-					});
-					uni.$off('updateBLEDeviceData', this.callbackUpdateBLEData);
-					console.log('onActionJumpGameOver 任务结束');
-
-					this.bGamePlaying = false;
-
-					//同步到数据库
-					if (0 === this.currentModeIndex) {
-						//拳击柱
-						this.uploadUserData_hitCount();
-					}
-				}
-
-
+				
 				//游戏结束,重置时间
 				this.arcbarCountDownTimeReset();
 				//todo 可能区分 levelJump 关卡类型
@@ -2698,11 +2527,32 @@
 							success: (res) => {
 								if (res.confirm) {
 									//重新开始计算
-									this.onActionJumpPlay();
+									if (0 === this.currentModeIndex) {
+										//调用开始
+										this.onActionHitPlay();
+									} else if (1 === this.currentModeIndex) {
+										//调用开始
+										this.onActionJumpPlay();
+									}
 								}
 							}
 						})
 					} else {
+						if (isOffEvent) {
+							//停止蓝牙加速计
+							this.onWriteBLEConnectionValue({
+								value: "4"
+							});
+							uni.$off('updateBLEDeviceData', this.callbackUpdateBLEData);
+							console.log('pkMode onActionJumpGameOver 任务结束');
+							this.bGamePlaying = false;
+							//同步到数据库
+							if (0 === this.currentModeIndex) {
+								//拳击柱
+								this.uploadUserData_hitCount();
+							}
+						}
+						
 						this.AJData.isFinish = true;
 						//奖励赢的人 PKLEVELREWARD
 						let _item = this.currentJumpTask.item;
@@ -2712,13 +2562,7 @@
 						let isMyWin = true;
 						//如果是右边好友,即判断结束。计算胜负关系
 						if (this.AJData.myScore > this.AJData.otherScore) {
-							//规定时间内,跳得最多
-							// uni.showToast({
-							// 	title: '我赢!!',
-							// 	duration: 2000
-							// })
 							isMyWin = true;
-
 							//显示一个提示框
 							this.showPopup('pkFinish', {
 								name: this.username,
@@ -2728,14 +2572,14 @@
 								hit: this.AJData.allCount - this.AJData.faultCount,
 								miss: this.AJData.faultCount
 							});
-							console.log({
-								name: this.username,
-								url: this.avatarUrl,
-								score: this.AJData.myScore,
-								consumeTime: Math.abs(this.AJData.myUsageTime),
-								hit: this.AJData.allCount - this.AJData.faultCount,
-								miss: this.AJData.faultCount
-							});
+							// console.log({
+							// 	name: this.username,
+							// 	url: this.avatarUrl,
+							// 	score: this.AJData.myScore,
+							// 	consumeTime: Math.abs(this.AJData.myUsageTime),
+							// 	hit: this.AJData.allCount - this.AJData.faultCount,
+							// 	miss: this.AJData.faultCount
+							// });
 						} else {
 							// uni.showToast({
 							// 	title: '好友赢或者平局',
@@ -2788,6 +2632,20 @@
 							);
 					}
 				} else {
+					if (isOffEvent) {
+						//停止蓝牙加速计
+						this.onWriteBLEConnectionValue({
+							value: "4"
+						});
+						uni.$off('updateBLEDeviceData', this.callbackUpdateBLEData);
+						console.log('onActionJumpGameOver 任务结束');
+						this.bGamePlaying = false;
+						//同步到数据库
+						if (0 === this.currentModeIndex) {
+							//拳击柱
+							this.uploadUserData_hitCount();
+						}
+					}
 					this.AJData.isFinish = true;
 					if (data.myWin) {
 						//通过关卡,处理逻辑

+ 47 - 27
util/util-js/store.js

@@ -3771,41 +3771,44 @@ const store = new Vuex.Store({
 				);
 		},
 		onConnectSocket(state) {
-			let self = this;
-			uni.connectSocket({
-				// #ifdef APP-PLUS
-				url: 'wss://www.9527fun.cn/api_dev/websocket/APPLog/123'
-				// #endif
-				// #ifdef H5
-				// url:'wss://www.9527fun.cn/api_dev/websocket/APPLog/123'
-				url: 'ws://192.168.0.108:9090/api_dev/websocket/APPLog/123'
-				// #endif
-			});
-			uni.onSocketMessage(function(res) {
-				console.log('收到服务器内容:' + res.data);
-			});
-			uni.onSocketOpen(function(res) {
-				console.log('WebSocket连接已打开!');
-			});
-			uni.onSocketError(function(res) {
-				console.log('WebSocket连接打开失败,请检查!');
-			});
+			// let self = this;
+			// uni.connectSocket({
+			// 	// #ifdef APP-PLUS
+			// 	url: 'wss://www.9527fun.cn/api_dev/websocket/APPLog/123'
+			// 	// #endif
+			// 	// #ifdef H5
+			// 	// url:'wss://www.9527fun.cn/api_dev/websocket/APPLog/123'
+			// 	url: 'ws://192.168.0.108:9090/api_dev/websocket/APPLog/123'
+			// 	// #endif
+			// });
+			// uni.onSocketMessage(function(res) {
+			// 	console.log('收到服务器内容:' + res.data);
+			// });
+			// uni.onSocketOpen(function(res) {
+			// 	console.log('WebSocket连接已打开!');
+			// });
+			// uni.onSocketError(function(res) {
+			// 	console.log('WebSocket连接打开失败,请检查!');
+			// });
 		},
 		onCloseSocket(state) {
-			uni.onSocketClose(function(res) {
-				console.log('WebSocket 已关闭!');
-			});
+			// uni.onSocketClose(function(res) {
+			// 	console.log('WebSocket 已关闭!');
+			// });
 		},
 		onSendSocketMessage(state, msg) {
-			console.log("发送数据", msg);
-			uni.sendSocketMessage({
-				data: JSON.stringify(msg)
-			});
+			// console.log("发送数据", msg);
+			// uni.sendSocketMessage({
+			// 	data: JSON.stringify(msg)
+			// });
 		},
 		
 		
 		//jumpIdenModule 算法插件  start
 		jumpIdenModule_SearchData(state, context) {
+			if (uni.getSystemInfoSync().platform == "ios") {
+				return;
+			}
 			state.filesList = [];
 			let {
 				data,
@@ -3847,6 +3850,9 @@ const store = new Vuex.Store({
 				});
 		},
 		jumpIdenModule_DownloadReadData(state,context) {
+			if (uni.getSystemInfoSync().platform == "ios") {
+				return;
+			}
 			let {
 				data,
 				callback = null
@@ -3881,6 +3887,9 @@ const store = new Vuex.Store({
 				});
 		},
 		jumpIdenModule_onJumpInit() {
+			if (uni.getSystemInfoSync().platform == "ios") {
+				return;
+			}
 			let res = jumpIdenModule.onJumpInit();
 			uni.showToast({
 				title: ''+ res.code,
@@ -3890,6 +3899,9 @@ const store = new Vuex.Store({
 			})
 		},
 		jumpIdenModule_onJumpInitLocalData(){
+			if (uni.getSystemInfoSync().platform == "ios") {
+				return;
+			}
 			let res = jumpIdenModule.onJumpInitLocalData();
 			uni.showToast({
 				title: ''+ res.code,
@@ -3899,6 +3911,9 @@ const store = new Vuex.Store({
 			})
 		},
 		jumpIdenModule_onTestJump6AxisDataUpdate() {
+			if (uni.getSystemInfoSync().platform == "ios") {
+				return;
+			}
 			let box = {};
 			box["acc"] = {
 				ax: 11,
@@ -3914,9 +3929,15 @@ const store = new Vuex.Store({
 			jumpIdenModule.onJump6AxisDataUpdate(box)
 		},
 		jumpIdenModule_onTestUpdate() {
+			if (uni.getSystemInfoSync().platform == "ios") {
+				return;
+			}
 			jumpIdenModule.onTestUpdate();
 		},
 		jumpIdenModule_onJump6AxisDataUpdate(state,context){
+			if (uni.getSystemInfoSync().platform == "ios") {
+				return;
+			}
 			let {
 				data,
 				callback = null
@@ -3927,7 +3948,6 @@ const store = new Vuex.Store({
 		},
 		
 		onGetReadDataName(state){
-			console.log(1)
 			state.readDataName = uni.getStorageSync('readDataName');
 		},
 		onSetReadDataName(state, value) {