From 5a88ee7aceaf346cf3c9616884b3767497fa4108 Mon Sep 17 00:00:00 2001 From: "3321822538@qq.com" <3321822538@qq.com> Date: Fri, 13 Dec 2024 11:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- page_components/fuwu/index.vue | 7 ++-- page_components/wifilist/index.vue | 12 +++---- .../statulist/myorder/detailxq/index.vue | 34 +++++++++++++++---- page_user/sbdetail.vue | 2 +- pages/shouye/index.vue | 9 +++++ 5 files changed, 48 insertions(+), 16 deletions(-) diff --git a/page_components/fuwu/index.vue b/page_components/fuwu/index.vue index cf4ad23..4380efd 100644 --- a/page_components/fuwu/index.vue +++ b/page_components/fuwu/index.vue @@ -151,7 +151,9 @@ - + + + @@ -175,6 +177,7 @@ expireTimeStr: '', zfobj: {}, orderno: '', + masksss:false, id: '', czflag: false, sytime: 0, @@ -561,7 +564,7 @@ this.getPhoneNumber() this.telslag = true }else { - // this.zhifuflag = true + this.zhifuflag = true this.getzhifu() } }, diff --git a/page_components/wifilist/index.vue b/page_components/wifilist/index.vue index fec6bf2..d6ba80e 100644 --- a/page_components/wifilist/index.vue +++ b/page_components/wifilist/index.vue @@ -6,12 +6,12 @@ WIFI选择 - - 当前WIFI配网:{{objlist.wifi}} + + 该设备已成功连接WIFI:{{objlist.wifi}} - 请选择您需要连接的2.4GwiFi名称 + 本设备只支持2.4G-WIFI网络 暂不支持5G-WIFI 刷新 @@ -19,7 +19,7 @@ - @@ -1096,7 +1096,7 @@ } .wifilist { - margin-top: 80rpx; + // margin-top: 80rpx; .bd { display: flex; @@ -1110,7 +1110,7 @@ padding-right: 60rpx; box-shadow: 0 0 10px rgba(0, 0, 0, .1); border-radius: 10rpx; - margin-top: 50rpx; + margin-top: 20rpx; .picone { width: 58rpx; diff --git a/page_fenbao/statulist/myorder/detailxq/index.vue b/page_fenbao/statulist/myorder/detailxq/index.vue index 2e4d635..8472e1e 100644 --- a/page_fenbao/statulist/myorder/detailxq/index.vue +++ b/page_fenbao/statulist/myorder/detailxq/index.vue @@ -63,9 +63,11 @@ 使用度数{{Number(detailobj.suitEndEle).toFixed(2) - Number(detailobj.suitStartEle).toFixed(2)}}度 - 套餐时长{{detailobj.suitTime == undefined ? '--' : detailobj.suitTime}} - 分钟 + 套餐时长 + {{detailobj.suitPrice == undefined ? '' : detailobj.suitPrice + '元'}}/{{detailobj.suitTime == undefined ? '--' : detailobj.suitTime}} + 分钟 + -- 套餐金额¥{{detailobj.money == undefined ? '--' : detailobj.money}} @@ -90,9 +92,9 @@ 共计¥{{detailobj.money == undefined ? '--' : detailobj.money}} --> - + + 联系商家客服 + @@ -171,7 +173,21 @@ } }) }, - + btntel(){ + uni.makePhoneCall({ + phoneNumber: this.detailobj.mchMobile, + success: function(res) { + console.log('拨打电话成功', res) + }, + fail: function(err) { + console.error('拨打电话失败', err) + uni.showToast({ + title: '拨打电话失败', + icon: 'none' + }) + } + }) + }, btnqd(){ if(this.inptext > this.detailobj.money){ uni.showToast({ @@ -376,9 +392,13 @@ box-sizing: border-box; .pic{ width: 680rpx; + text-align: center; + font-size: 36rpx; + font-weight: 600; + color: red; height: 238rpx; margin: auto; - margin-top: 36rpx; + margin-top: 56rpx; border-radius: 30rpx; } .listxq{ diff --git a/page_user/sbdetail.vue b/page_user/sbdetail.vue index 5afcbb2..6d74378 100644 --- a/page_user/sbdetail.vue +++ b/page_user/sbdetail.vue @@ -187,7 +187,7 @@ + src="https://api.ccttiot.com/smartmeter/img/static/uGjm0qpPFeDJZ2hUFexi" mode="aspectFit"> 设备二维码 diff --git a/pages/shouye/index.vue b/pages/shouye/index.vue index fd2656b..4c7ab46 100644 --- a/pages/shouye/index.vue +++ b/pages/shouye/index.vue @@ -244,6 +244,15 @@ } }, onShow() { + wx.openBluetoothAdapter({ + success: function (res) { + console.log('蓝牙适配器初始化成功'); + // 你可以在这里继续调用其他蓝牙相关的API + }, + fail: function (err) { + console.error('蓝牙适配器初始化失败,可能是因为没有权限', err); + } + }) this.logins() this.getad() this.getzf()