@@ -58,7 +58,7 @@
"template" : "static/index.html",
"devServer" : {
"port" : 443,
- "https" : true
+ "https" : false
},
"title" : "充电助理",
"router" : {
@@ -13,7 +13,7 @@
</view>
<view class="container">
- <view class="item">
+ <view class="item" @click="buleTeeth">
<image :src = "imgUrl+'/index/bluetooth.png'"/>
@@ -47,6 +47,9 @@
onShow(){
methods:{
+ buleTeeth(){
+ this.$modal.showToast('功能开发中~')
+ },
scan(){
if(window.location.href.indexOf("localhost") != -1){
this.scan2();
@@ -88,10 +88,10 @@
<view v-show="isLogin">
<view class="img">
- <image style="width: 31px;" :src="imgUrl+'/login/blueTeeth.png'" mode="widthFix"/>
+ <image @click="buleTeeth()" style="width: 31px;" :src="imgUrl+'/login/blueTeeth.png'" mode="widthFix"/>
<view class="blue-text">
- <text>蓝牙连接</text>
+ <text @click="buleTeeth()">蓝牙连接</text>
@@ -132,6 +132,9 @@
this.checkLogin();
methods: {
checkLogin(){
let token = getToken()
if(token){