File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 8585 </view >
8686 </view >
8787 <!-- 遮罩 -->
88- <view v-if =" maskShow" class =" uni-mask" @touchmove.stop.prevent =" moveHandle" >
89- <scroll-view class =" uni-scroll-box" scroll-y @touchmove.stop.prevent =" moveHandle" >
88+ <view v-if =" maskShow" class =" uni-mask" @touchmove.stop.prevent =" moveHandle" @click = " maskclose " >
89+ <scroll-view class =" uni-scroll-box" scroll-y @touchmove.stop.prevent =" moveHandle" @click.stop = " moveHandle " >
9090 <view class =" uni-title" >
9191 已经发现{{ list.length }}{{ showMaskType === 'device' ? '台设备' : '个服务' }}:
9292 </view >
@@ -156,12 +156,18 @@ export default {
156156 this .onBLEConnectionStateChange ();
157157 },
158158 methods: {
159- moveHandle () {},
159+ moveHandle () {},
160+ /**
161+ * 关闭遮罩
162+ */
163+ maskclose (){
164+ this .maskShow = false ;
165+ },
160166 /**
161167 * 选择设备
162168 */
163169 queryDevices () {
164- this .newDeviceLoad = true ;
170+ // this.newDeviceLoad = true;
165171 this .showMaskType = ' device' ;
166172 this .maskShow = true ;
167173 },
You can’t perform that action at this time.
0 commit comments