dolphin-weex-bc 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/index.native.js +3242 -2125
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +4020 -2406
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-consumables/assets/css/index.css +5 -0
- package/packages/dof-consumables/index.vue +39 -5
package/package.json
CHANGED
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<template v-if="item.deviceInfo.isOnline == 1 && it.remainingValueType != 5">
|
|
88
88
|
<template v-if="it.remainingValue == 0 || it.remainingValue > 0">
|
|
89
89
|
<midea-wave-progress-view
|
|
90
|
-
:class="['drag-slider', isScale && 'drag-slider-isScale', isDiablo && 'drag-slider-isDiablo']"
|
|
90
|
+
:class="['drag-slider', isScale && 'drag-slider-isScale', isDiablo && 'drag-slider-isDiablo', isharmony && 'drag-slider-harmony']"
|
|
91
91
|
:accessible="true"
|
|
92
92
|
:ariaLabel="水波进度条"
|
|
93
93
|
:accessibilityHint="水波进度条"
|
|
@@ -309,7 +309,8 @@ export default {
|
|
|
309
309
|
data() {
|
|
310
310
|
return {
|
|
311
311
|
deviceMaterialList: [],
|
|
312
|
-
arrowIcon: Icon.icon_arrow
|
|
312
|
+
arrowIcon: Icon.icon_arrow,
|
|
313
|
+
isharmony: weex.config.env.platform == 'harmony' ? true : false,
|
|
313
314
|
}
|
|
314
315
|
},
|
|
315
316
|
computed: {
|
|
@@ -475,9 +476,17 @@ export default {
|
|
|
475
476
|
}
|
|
476
477
|
}
|
|
477
478
|
} else if (it.btnType == 2) {
|
|
478
|
-
this.
|
|
479
|
+
if(this.isharmony){
|
|
480
|
+
this.goUpkeep(it, deviceInfo)
|
|
481
|
+
}else{
|
|
482
|
+
this.jumpNewService(0, deviceInfo)
|
|
483
|
+
}
|
|
479
484
|
} else if (it.btnType == 3) {
|
|
480
|
-
|
|
485
|
+
if(this.isharmony){
|
|
486
|
+
this.goMaintenance(it, deviceInfo)
|
|
487
|
+
}else{
|
|
488
|
+
this.jumpNewService(1, deviceInfo)
|
|
489
|
+
}
|
|
481
490
|
} else if (it.btnType == 4) {
|
|
482
491
|
this.goCleanService(it, deviceInfo)
|
|
483
492
|
}
|
|
@@ -581,7 +590,32 @@ export default {
|
|
|
581
590
|
this.$emit('renderEnd', data.size.height)
|
|
582
591
|
})
|
|
583
592
|
}, 200)
|
|
584
|
-
}
|
|
593
|
+
},
|
|
594
|
+
goUpkeep() {
|
|
595
|
+
let url = 'customer-service/upkeep.js'
|
|
596
|
+
let params = {
|
|
597
|
+
type: 'jumpWeex',
|
|
598
|
+
param: {
|
|
599
|
+
url: url,
|
|
600
|
+
viewTag: 'upkeep'
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
routerModule.goToMeijuPage(params)
|
|
604
|
+
},
|
|
605
|
+
// 跳转维修下单
|
|
606
|
+
goMaintenance(materialDetail, deviceInfo) {
|
|
607
|
+
let pluginSN = deviceInfo.deviceSn // 设备SN --必传
|
|
608
|
+
let toPage = 'maintenance' // 一键报修/一键报装 maintenance-报修 installation-报装 --必传(6.3.1只支持一键报修)
|
|
609
|
+
let url = `customer-service/maintenance.js?pluginSN=${pluginSN}&to=${toPage}&applianceId=${deviceInfo.deviceId}&spid=${deviceInfo.smartProductId}&from=productModels`
|
|
610
|
+
let params = {
|
|
611
|
+
type: 'jumpWeex',
|
|
612
|
+
param: {
|
|
613
|
+
url: url,
|
|
614
|
+
viewTag: 'maintenance'
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
routerModule.goToMeijuPage(params)
|
|
618
|
+
},
|
|
585
619
|
}
|
|
586
620
|
}
|
|
587
621
|
</script>
|