|
|
@@ -52,14 +52,15 @@
|
|
|
v-model="SSID"
|
|
|
disabled
|
|
|
disabledColor="#dddddd"
|
|
|
- placeholder="Choose wifi:"
|
|
|
+ placeholder="Choose wifi"
|
|
|
border="none"
|
|
|
labelWidth="auto"
|
|
|
></u--input>
|
|
|
- <u-icon
|
|
|
+ <uni-icons slot="right" type="right" size="30"></uni-icons>
|
|
|
+ <!-- <u-icon
|
|
|
slot="right"
|
|
|
name="arrow-right"
|
|
|
- ></u-icon>
|
|
|
+ ></u-icon> -->
|
|
|
</u-form-item>
|
|
|
<u-form-item
|
|
|
label="Password:"
|
|
|
@@ -138,7 +139,7 @@
|
|
|
</u--form>
|
|
|
</view>
|
|
|
<view style="margin:10px">
|
|
|
- <u-button text="Confirm" v-if="isCompanyUser()" @click="doConnectUser(1)" size="small" type="primary"></u-button>
|
|
|
+ <u-button text="Confirm" v-if="isCompanyUser()" @click="doConnectUser(1)" size="normal" type="success"></u-button>
|
|
|
|
|
|
<u-button text="开始配网" v-else @click="doConnect(2)" size="small" type="primary"></u-button>
|
|
|
|
|
|
@@ -213,7 +214,7 @@ export default {
|
|
|
title: i18('WIFI配网')
|
|
|
})
|
|
|
this.deviceno = this.generateTimestamp();
|
|
|
- ecUI.showLoading("Bluetooth initing")
|
|
|
+ ecUI.showLoading("WIFI initing")
|
|
|
ctx = this
|
|
|
clearInterval(this.timer);
|
|
|
this.timer = setInterval(() => {
|
|
|
@@ -591,7 +592,7 @@ export default {
|
|
|
},
|
|
|
listViewTap(id){
|
|
|
let self = this;
|
|
|
- ecUI.showLoading("Bluetooth connectting")
|
|
|
+ ecUI.showLoading("WIFI connectting")
|
|
|
ecBLE.onBLEConnectionStateChange(res => {
|
|
|
console.log(res);
|
|
|
if (res.ok) {
|