简化调试按钮
This commit is contained in:
parent
033300f027
commit
98b67973f8
|
|
@ -29,19 +29,19 @@
|
||||||
type="text"
|
type="text"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view class="iptbox" @click="kashow = true">
|
<!-- <view class="iptbox" @click="kashow = true">-->
|
||||||
<view v-if="kaname" class=""> 卡商:{{ kaname }}</view>
|
<!-- <view v-if="kaname" class=""> 卡商:{{ kaname }}</view>-->
|
||||||
<view v-else class=""> 请点击选择卡商</view>
|
<!-- <view v-else class=""> 请点击选择卡商</view>-->
|
||||||
</view>
|
<!-- </view>-->
|
||||||
<u-select v-model="kashow" :list="kalist" title="选择卡商" @confirm="confirmka"></u-select>
|
<!-- <u-select v-model="kashow" :list="kalist" title="选择卡商" @confirm="confirmka"></u-select>-->
|
||||||
<view class="iptbox" @click="show = true">
|
<!-- <view class="iptbox" @click="show = true">-->
|
||||||
<view v-if="hardwareInfo.version" class=""> 版本:{{ hardwareInfo.version }}</view>
|
<!-- <view v-if="hardwareInfo.version" class=""> 版本:{{ hardwareInfo.version }}</view>-->
|
||||||
<view v-else class=""> 请点击选择版本</view>
|
<!-- <view v-else class=""> 请点击选择版本</view>-->
|
||||||
</view>
|
<!-- </view>-->
|
||||||
<view v-if="hardwareInfo.version" class="tips">
|
<!-- <view v-if="hardwareInfo.version" class="tips">-->
|
||||||
版本介绍:{{ hardwareInfo.instructions }}
|
<!-- 版本介绍:{{ hardwareInfo.instructions }}-->
|
||||||
</view>
|
<!-- </view>-->
|
||||||
<u-select v-model="show" :list="list" title="选择版本" @confirm="confirm"></u-select>
|
<!-- <u-select v-model="show" :list="list" title="选择版本" @confirm="confirm"></u-select>-->
|
||||||
|
|
||||||
<view class="imgs" style="margin-top: 30rpx">
|
<view class="imgs" style="margin-top: 30rpx">
|
||||||
<image
|
<image
|
||||||
|
|
@ -53,14 +53,14 @@
|
||||||
<view class="btn" @click="bind()"> 确认添加</view>
|
<view class="btn" @click="bind()"> 确认添加</view>
|
||||||
<view class="bot_btn">
|
<view class="bot_btn">
|
||||||
<view class="btn1" @click="btnfh"> 返回</view>
|
<view class="btn1" @click="btnfh"> 返回</view>
|
||||||
<view class="btn1" @click="findDevice()"> 蓝牙链接</view>
|
<!-- <view class="btn1" @click="findDevice()"> 蓝牙链接</view>-->
|
||||||
<view v-if="carstause" class="btn1" @click="ring()"> 响铃寻车</view>
|
<!-- <view v-if="carstause" class="btn1" @click="ring()"> 响铃寻车</view>-->
|
||||||
|
|
||||||
<view v-if="carstause" class="btn1" @click="open()"> 蓝牙开锁</view>
|
<view v-if="carstause" class="btn1" @click="open()"> 蓝牙开锁</view>
|
||||||
<view v-if="carstause" class="btn1" @click="close()"> 蓝牙关锁</view>
|
<view v-if="carstause" class="btn1" @click="close()"> 蓝牙关锁</view>
|
||||||
<view v-if="carstause" class="btn1" @click="shaoru"> 进入烧录</view>
|
<!-- <view v-if="carstause" class="btn1" @click="shaoru"> 进入烧录</view>-->
|
||||||
<view v-if="carstause" class="btn1" @click="reboot()"> 设备重启</view>
|
<!-- <view v-if="carstause" class="btn1" @click="reboot()"> 设备重启</view>-->
|
||||||
<view v-if="isbands" class="btn1" @click="Binddevice()"> 接口响铃</view>
|
<!-- <view v-if="isbands" class="btn1" @click="Binddevice()"> 接口响铃</view>-->
|
||||||
</view>
|
</view>
|
||||||
<u-mask :show="showbind" :z-index="100" />
|
<u-mask :show="showbind" :z-index="100" />
|
||||||
<view v-if="showbind" class="tip_box">
|
<view v-if="showbind" class="tip_box">
|
||||||
|
|
@ -498,12 +498,12 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
open() {
|
open() {
|
||||||
xBlufi.notifySendCustomData({
|
xBlufi.notifySendCustomData({
|
||||||
customData: '11open',
|
customData: '11open',
|
||||||
})
|
})
|
||||||
xBlufi.notifySendCustomData({
|
xBlufi.notifySendCustomData({
|
||||||
customData: 'open',
|
customData: 'open',
|
||||||
})
|
})
|
||||||
// let vm = this // 将外部的 this 绑定到 vm 上
|
// let vm = this // 将外部的 this 绑定到 vm 上
|
||||||
// uni.getNetworkType({
|
// uni.getNetworkType({
|
||||||
// success(res) {
|
// success(res) {
|
||||||
|
|
@ -548,12 +548,12 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
xBlufi.notifySendCustomData({
|
xBlufi.notifySendCustomData({
|
||||||
customData: '11close',
|
customData: '11close',
|
||||||
})
|
})
|
||||||
xBlufi.notifySendCustomData({
|
xBlufi.notifySendCustomData({
|
||||||
customData: 'close',
|
customData: 'close',
|
||||||
})
|
})
|
||||||
// let vm = this // 将外部的 this 绑定到 vm 上
|
// let vm = this // 将外部的 this 绑定到 vm 上
|
||||||
// uni.getNetworkType({
|
// uni.getNetworkType({
|
||||||
// success(res) {
|
// success(res) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user