diff --git a/page_components/HM-dragSorts/HM-dragSorts.vue b/page_components/HM-dragSorts/HM-dragSorts.vue index ce4b844..9663ca8 100644 --- a/page_components/HM-dragSorts/HM-dragSorts.vue +++ b/page_components/HM-dragSorts/HM-dragSorts.vue @@ -52,8 +52,8 @@ - {{row.name.length > 4 ? row.name.substring(0, 4) + '...' : row.name }} - + {{row.name}} + + + 计时收费 + 按量收费 + 分时段按量收费 + 分时段按时收费 + (单次收费 + 智能收费) + + 押金{{row.price}} + {{row.value}}时 {{row.price}}元 + {{row.value}}分 {{row.price}}元 + {{row.value}}秒 {{row.price}}元 + @@ -685,7 +698,7 @@ font-family: Source Han Sans, Source Han Sans; font-weight: 400; color: #000000; - display: flex; + // display: flex; justify-content: space-between; width: 570rpx; } diff --git a/page_fenbao/HM-dragSorts/HM-dragSorts.vue b/page_fenbao/HM-dragSorts/HM-dragSorts.vue index cf4a093..45f09c9 100644 --- a/page_fenbao/HM-dragSorts/HM-dragSorts.vue +++ b/page_fenbao/HM-dragSorts/HM-dragSorts.vue @@ -72,7 +72,11 @@ --> - {{row.name.length > 4 ? row.name.substring(0, 4) + '...' : row.name }} + + {{row.name}} + 已应用 + 未应用 + + + + + SN:{{deviceNo}} + + + 保存二维码 + + + + + + + + \ No newline at end of file diff --git a/page_fenbao/zhuce.vue b/page_fenbao/zhuce.vue index 890cf69..4f5010e 100644 --- a/page_fenbao/zhuce.vue +++ b/page_fenbao/zhuce.vue @@ -4,6 +4,7 @@ back-icon-color="#fff" height='50'> 设备录入列表 + 控制台 @@ -138,6 +139,11 @@ // this.videoContext = uni.createVideoContext('myVideo', this) }, methods: { + btnkzt(){ + uni.navigateTo({ + url:'/page_user/wifijoint/index' + }) + }, // 扫码sn scanQRCode(item) { this.snname = item.name @@ -613,7 +619,8 @@ .title { margin-bottom: 84rpx; margin-top: 50rpx; - + display: flex; + justify-content: space-between; image { display: inline-block; width: 48rpx; diff --git a/page_user/sbdetail.vue b/page_user/sbdetail.vue index e9f4b1d..85ad9fa 100644 --- a/page_user/sbdetail.vue +++ b/page_user/sbdetail.vue @@ -98,6 +98,28 @@ + + 设备剩余 + + + + {{deviceInfo.surplusEle == null ? '--' : deviceInfo.surplusEle}} + + + 剩余度数 + + + + + {{formattedTime}} + + + 剩余时长 + + + + + 当前订单 查看 @@ -142,8 +164,8 @@ - + 充值记录 @@ -151,7 +173,7 @@ + style="width: 44rpx;height: 44rpx;"> 收费方式 @@ -159,14 +181,14 @@ + style="width: 44rpx;height: 44rpx;"> 归零 - 充值 @@ -178,7 +200,7 @@ - 配网 @@ -187,7 +209,7 @@ - 分享 @@ -197,14 +219,14 @@ + style="width: 44rpx;height: 40rpx;"> 上报异常 - 设置 @@ -300,6 +322,7 @@ }, data() { return { + suitSurplus:'', showflag: false, imgflag: false, wemflag: false, @@ -472,6 +495,7 @@ }else{ this.sklistflag = true this.sklist = res.rows[0] + this.suitSurplus = res.rows[0].surplusEle } }else{ @@ -581,18 +605,21 @@ }, //**生成二维码**// qrFun: function() { - this.wemflag = true - uQRCode.make({ - canvasId: 'qrcode', - // componentInstance: this, - text: 'https://kg.chuantewulian.cn/w?s=' + this.deviceNo, - size: 250, - margin: 0, - backgroundColor: '#ffffff', - foregroundColor: '#000000', - fileType: 'jpg', - errorCorrectLevel: uQRCode.errorCorrectLevel.H, + uni.navigateTo({ + url:'/page_fenbao/fenxiang?id=' + this.deviceNo }) + // this.wemflag = true + // uQRCode.make({ + // canvasId: 'qrcode', + // // componentInstance: this, + // text: 'https://kg.chuantewulian.cn/w?s=' + this.deviceNo, + // size: 250, + // margin: 0, + // backgroundColor: '#ffffff', + // foregroundColor: '#000000', + // fileType: 'jpg', + // errorCorrectLevel: uQRCode.errorCorrectLevel.H, + // }) }, ewmyc() { this.wemflag = false diff --git a/page_user/wifijoint/index.vue b/page_user/wifijoint/index.vue index 513bbc2..c85353e 100644 --- a/page_user/wifijoint/index.vue +++ b/page_user/wifijoint/index.vue @@ -50,7 +50,7 @@ - 返回录入 + 返回 @@ -72,8 +72,10 @@ } }, onLoad(options) { - this.storeId = options.sn - this.getsn() + if(options.sn){ + this.storeId = options.sn + this.getsn() + } }, // 分享到好友(会话) onShareAppMessage: function () { @@ -150,9 +152,7 @@ // 返回录入 btnfh(){ - uni.navigateBack({ - delta:2 - }) + uni.navigateBack() }, // 开启 diff --git a/pages.json b/pages.json index f4ff45d..dd3db21 100644 --- a/pages.json +++ b/pages.json @@ -303,6 +303,16 @@ "navigationBarTextStyle": "#FFFFFF", "navigationStyle": "custom" } + }, + { + "path": "fenxiang", + "style": { + "navigationBarTitleText": "添加设备", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#3996FD", + "navigationBarTextStyle": "#FFFFFF", + "navigationStyle": "custom" + } },{ "path": "webview", "style": { diff --git a/pages/shanghudd.vue b/pages/shanghudd.vue new file mode 100644 index 0000000..36f9833 --- /dev/null +++ b/pages/shanghudd.vue @@ -0,0 +1,1883 @@ + + + + + \ No newline at end of file diff --git a/pages/tj.vue b/pages/tj.vue index e618528..a70a744 100644 --- a/pages/tj.vue +++ b/pages/tj.vue @@ -17,7 +17,7 @@ name="arrow-down-fill"> - 本月收入{{recharge}}(元) 累计收入{{totalRecharge}}(元) + 本月收入{{recharge.toFixed(2)}}(元) 累计收入{{totalRecharge.toFixed(2)}}(元)