dolphin-weex-bc 0.0.44 → 0.0.46
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 +10 -0
- package/dist/index.native.js +27 -19
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +20 -8
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-bc-consumables/assets/css/index.css +14 -22
- package/packages/dof-bc-consumables/index.vue +13 -10
- package/packages/dof-material-add-card/settings/utils.js +9 -0
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -34382,6 +34382,15 @@ var appConfig = {
|
|
|
34382
34382
|
};
|
|
34383
34383
|
var isDummy = false;
|
|
34384
34384
|
|
|
34385
|
+
var serviceList = {
|
|
34386
|
+
queryBatchMaterialByHomeGroupList: '/v2/remaining/queryByHomeGroupList', // 批量查询设备的耗材余量(批量查询家庭)V2 10.1 发布 https://yapi.smartmidea.net/project/465/interface/api/43894,
|
|
34387
|
+
getDeviceAuth: '/v1/appliance/auth/batch/get', // 获取设备确权状态(批量)https://yapi.smartmidea.net/project/131/interface/api/13778 放达
|
|
34388
|
+
queryBatchMaterialByHomeId: '/v2/remaining/queryBatch', // 批量查询设备的耗材余量(传家庭id)V2 10.1 发布 https://yapi.smartmidea.net/project/465/interface/api/43390
|
|
34389
|
+
querySkuIdByItemCodes: '/api/cms_bff/mtc-bff-app/m2c/querySkuIdByItemCodes', //https://api.midea.com/project/6804/interface/882168?groupId=19962&cateId=123676&filterText=kuIdByItemCodes&label=%E5%95%86%E5%93%81%E6%9C%8D%E5%8A%A1&tab=
|
|
34390
|
+
shopCartBatchSave: '/api/cms_bff/mtc-bff-app/shopCart/batchSave', //https://api.midea.com/project/6804/interface/882168?groupId=19962&cateId=123676&filterText=kuIdByItemCodes&label=%E5%95%86%E5%93%81%E6%9C%8D%E5%8A%A1&tab=
|
|
34391
|
+
shopCartBatchRemove: '/api/cms_bff/mtc-bff-app/shopCart/batchRemove'
|
|
34392
|
+
};
|
|
34393
|
+
|
|
34385
34394
|
var utils = {
|
|
34386
34395
|
serviceList: {
|
|
34387
34396
|
queryBatchMaterialByHomeGroupList: '/v2/remaining/queryByHomeGroupList', // 批量查询设备的耗材余量(批量查询家庭)V2 10.1 发布 https://yapi.smartmidea.net/project/465/interface/api/43894,
|
|
@@ -65441,6 +65450,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
65441
65450
|
//
|
|
65442
65451
|
//
|
|
65443
65452
|
//
|
|
65453
|
+
//
|
|
65444
65454
|
|
|
65445
65455
|
// import base from './base'
|
|
65446
65456
|
// import nativeService from './settings/nativeService'
|
|
@@ -65639,6 +65649,8 @@ exports.default = {
|
|
|
65639
65649
|
|
|
65640
65650
|
// 跳转耗材详情
|
|
65641
65651
|
goDetail: function goDetail(item, device) {
|
|
65652
|
+
if (item.remainingValueType == 5) return;
|
|
65653
|
+
|
|
65642
65654
|
console.log('跳转前itemmmm===' + JSON.stringify(item));
|
|
65643
65655
|
console.log('跳转前device===' + JSON.stringify(device.deviceInfo));
|
|
65644
65656
|
// item.replacementMethodInfo = {}
|
|
@@ -70110,11 +70122,9 @@ module.exports = {
|
|
|
70110
70122
|
},
|
|
70111
70123
|
"slider": {
|
|
70112
70124
|
"width": "686",
|
|
70113
|
-
"height": "
|
|
70114
|
-
"borderRadius": "32",
|
|
70125
|
+
"height": "176",
|
|
70115
70126
|
"flexDirection": "row",
|
|
70116
|
-
"background": "#FFFFFF"
|
|
70117
|
-
"boxShadow": "0 1px 10px 0 rgba(0,0,0,0.04)"
|
|
70127
|
+
"background": "#FFFFFF"
|
|
70118
70128
|
},
|
|
70119
70129
|
"frame": {
|
|
70120
70130
|
"width": "700",
|
|
@@ -70226,24 +70236,24 @@ module.exports = {
|
|
|
70226
70236
|
},
|
|
70227
70237
|
"middleBox": {
|
|
70228
70238
|
"width": "686",
|
|
70229
|
-
"height": "100",
|
|
70230
70239
|
"paddingTop": "32",
|
|
70231
70240
|
"backgroundColor": "#ffffff",
|
|
70232
|
-
"position": "relative"
|
|
70241
|
+
"position": "relative",
|
|
70242
|
+
"borderRadius": "32",
|
|
70243
|
+
"paddingBottom": "32",
|
|
70244
|
+
"overflow": "hidden",
|
|
70245
|
+
"boxShadow": "0 1px 10px 0 rgba(0,0,0,0.04)"
|
|
70233
70246
|
},
|
|
70234
70247
|
"middleBox-not-button": {
|
|
70235
70248
|
"borderRadius": "32"
|
|
70236
70249
|
},
|
|
70237
|
-
"middleBox-lfour": {
|
|
70238
|
-
"height": "232",
|
|
70239
|
-
"overflow": "hidden"
|
|
70240
|
-
},
|
|
70241
70250
|
"middleBox-lfour-ios": {
|
|
70242
70251
|
"height": "216"
|
|
70243
70252
|
},
|
|
70244
70253
|
"car-card-box": {
|
|
70254
|
+
"marginTop": "32",
|
|
70245
70255
|
"width": "686",
|
|
70246
|
-
"height": "
|
|
70256
|
+
"height": "72",
|
|
70247
70257
|
"backgroundColor": "#ffffff"
|
|
70248
70258
|
},
|
|
70249
70259
|
"car-card": {
|
|
@@ -70253,7 +70263,6 @@ module.exports = {
|
|
|
70253
70263
|
"height": "72",
|
|
70254
70264
|
"lineHeight": "72",
|
|
70255
70265
|
"textAlign": "center",
|
|
70256
|
-
"marginBottom": "32",
|
|
70257
70266
|
"marginLeft": "48",
|
|
70258
70267
|
"justifyContent": "center",
|
|
70259
70268
|
"alignItems": "center"
|
|
@@ -70272,8 +70281,7 @@ module.exports = {
|
|
|
70272
70281
|
"recommendSlider": {
|
|
70273
70282
|
"display": "flex",
|
|
70274
70283
|
"flexDirection": "row",
|
|
70275
|
-
"justifyContent": "center"
|
|
70276
|
-
"marginTop": "-32"
|
|
70284
|
+
"justifyContent": "center"
|
|
70277
70285
|
},
|
|
70278
70286
|
"recommendSliderOut": {
|
|
70279
70287
|
"width": "48",
|
|
@@ -77843,7 +77851,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
77843
77851
|
staticClass: ["material-wrapper"]
|
|
77844
77852
|
}, [(_vm.layoutMode == 'row') ? [_c('div', {
|
|
77845
77853
|
ref: "recommend",
|
|
77846
|
-
class: ['middleBox',
|
|
77854
|
+
class: ['middleBox', _vm.dealDeviceMaterialList[0].consumables.length <= 4 && 'middleBox-lfour']
|
|
77847
77855
|
}, [_c('scroller', {
|
|
77848
77856
|
staticClass: ["slider"],
|
|
77849
77857
|
attrs: {
|
|
@@ -77924,7 +77932,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
77924
77932
|
width: _vm.recommendSliderInnerWidth + 'px',
|
|
77925
77933
|
left: _vm.recommendSliderInnerLeft + 'px'
|
|
77926
77934
|
}
|
|
77927
|
-
})])]) : _vm._e()
|
|
77935
|
+
})])]) : _vm._e(), (_vm.showAddCartButton && _vm.insufficientGoodinfoList.length > 0) ? [_c('div', {
|
|
77928
77936
|
staticClass: ["car-card-box"]
|
|
77929
77937
|
}, [_c('div', {
|
|
77930
77938
|
staticClass: ["car-card"],
|
|
@@ -77935,7 +77943,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
77935
77943
|
}
|
|
77936
77944
|
}, [_c('text', {
|
|
77937
77945
|
staticClass: ["car-card-text"]
|
|
77938
|
-
}, [_vm._v("立即购买")])])])] : _vm._e()] : _c('scroller', {
|
|
77946
|
+
}, [_vm._v("立即购买")])])])] : _vm._e()], 2)] : _c('scroller', {
|
|
77939
77947
|
staticClass: ["scroll-wrapper"],
|
|
77940
77948
|
staticStyle: {
|
|
77941
77949
|
position: "relative"
|
|
@@ -78039,13 +78047,13 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
78039
78047
|
staticClass: ["txt-purhase"]
|
|
78040
78048
|
}, [_vm._v("更换")]) : _vm._e(), (it.btnType == 4) ? _c('text', {
|
|
78041
78049
|
staticClass: ["txt-purhase"]
|
|
78042
|
-
}, [_vm._v("清洗")]) : _vm._e()]) : _vm._e(), _c('image', {
|
|
78050
|
+
}, [_vm._v("清洗")]) : _vm._e()]) : _vm._e(), (it.remainingValueType != 5) ? _c('image', {
|
|
78043
78051
|
staticClass: ["arrow-icon"],
|
|
78044
78052
|
attrs: {
|
|
78045
78053
|
"resize": "stretch",
|
|
78046
78054
|
"src": _vm.arrowIcon
|
|
78047
78055
|
}
|
|
78048
|
-
})])])], 1) : _vm._e(), (item.consumables.length - 1 != i) ? _c('div', {
|
|
78056
|
+
}) : _vm._e()])])], 1) : _vm._e(), (item.consumables.length - 1 != i) ? _c('div', {
|
|
78049
78057
|
staticClass: ["divide-line"]
|
|
78050
78058
|
}) : _vm._e()])
|
|
78051
78059
|
}) : _vm._e()], 2)
|