dolphin-weex-bc 0.0.44 → 0.0.45
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 +23 -17
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +16 -6
- 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 +10 -9
- package/packages/dof-material-add-card/settings/utils.js +9 -0
package/package.json
CHANGED
|
@@ -498,21 +498,11 @@
|
|
|
498
498
|
box-sizing: border-box;
|
|
499
499
|
}
|
|
500
500
|
.slider {
|
|
501
|
-
/* padding: 0 32px; */
|
|
502
|
-
/* margin-top: 25px; */
|
|
503
|
-
/* margin-left: 25px; */
|
|
504
|
-
/* padding: 32px 10px; */
|
|
505
501
|
width: 686px;
|
|
506
|
-
height:
|
|
507
|
-
/* border-width: 1px; */
|
|
508
|
-
/* border-style: solid; */
|
|
509
|
-
/* border-color: #41B883; */
|
|
510
|
-
border-radius: 32px;
|
|
511
|
-
/* margin-bottom: 20px; */
|
|
502
|
+
height: 176px;
|
|
512
503
|
flex-direction: row;
|
|
513
504
|
background: #FFFFFF;
|
|
514
|
-
|
|
515
|
-
|
|
505
|
+
/* background-color: #f00; */
|
|
516
506
|
}
|
|
517
507
|
.frame {
|
|
518
508
|
width: 700px;
|
|
@@ -670,34 +660,37 @@
|
|
|
670
660
|
|
|
671
661
|
.middleBox {
|
|
672
662
|
width: 686px;
|
|
673
|
-
height:
|
|
663
|
+
/* height: 272px; */
|
|
674
664
|
/* padding: 0px 0; */
|
|
675
665
|
padding-top: 32px;
|
|
676
666
|
/* margin-top: 8px; */
|
|
677
667
|
background-color: #ffffff;
|
|
668
|
+
/* background-color: #00a4f2; */
|
|
678
669
|
position: relative;
|
|
679
|
-
border-radius: 32px
|
|
680
|
-
|
|
670
|
+
border-radius: 32px;
|
|
671
|
+
padding-bottom: 32px;
|
|
672
|
+
overflow: hidden;
|
|
673
|
+
box-shadow: 0 1px 10px 0 rgba(0,0,0,0.04);
|
|
681
674
|
}
|
|
682
675
|
|
|
683
676
|
.middleBox-not-button{
|
|
684
677
|
border-radius: 32px;
|
|
685
678
|
}
|
|
686
679
|
|
|
687
|
-
.middleBox-lfour{
|
|
680
|
+
/* .middleBox-lfour{
|
|
688
681
|
height: 232px;
|
|
689
|
-
|
|
690
|
-
}
|
|
682
|
+
} */
|
|
691
683
|
|
|
692
684
|
.middleBox-lfour-ios{
|
|
693
685
|
height: 216px;
|
|
694
686
|
}
|
|
695
687
|
|
|
696
688
|
.car-card-box{
|
|
689
|
+
margin-top:32px;
|
|
697
690
|
width: 686px;
|
|
698
|
-
height:
|
|
691
|
+
height: 72px;
|
|
699
692
|
background-color: #ffffff;
|
|
700
|
-
|
|
693
|
+
/* background-color: #F56428; */
|
|
701
694
|
}
|
|
702
695
|
|
|
703
696
|
.car-card{
|
|
@@ -707,7 +700,6 @@
|
|
|
707
700
|
height: 72px;
|
|
708
701
|
line-height: 72px;
|
|
709
702
|
text-align: center;
|
|
710
|
-
margin-bottom: 32px;
|
|
711
703
|
margin-left: 48px;
|
|
712
704
|
justify-content: center;
|
|
713
705
|
align-items: center;
|
|
@@ -729,7 +721,7 @@
|
|
|
729
721
|
display: flex;
|
|
730
722
|
flex-direction: row;
|
|
731
723
|
justify-content: center;
|
|
732
|
-
margin-top: -32px;
|
|
724
|
+
/* margin-top: -32px; */
|
|
733
725
|
/* padding: 32px; */
|
|
734
726
|
}
|
|
735
727
|
.recommendSliderOut {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="material-wrapper">
|
|
3
3
|
<template v-if="layoutMode == 'row'">
|
|
4
4
|
<div
|
|
5
|
-
:class="['middleBox',
|
|
5
|
+
:class="['middleBox', dealDeviceMaterialList[0].consumables.length <= 4 && 'middleBox-lfour']"
|
|
6
6
|
ref="recommend"
|
|
7
7
|
>
|
|
8
8
|
<scroller class="slider" show-scrollbar="false" scroll-direction="horizontal" @scroll="scrollEvent1">
|
|
@@ -86,15 +86,16 @@
|
|
|
86
86
|
></div>
|
|
87
87
|
</div>
|
|
88
88
|
</div>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
<!-- 显示一键加购 -->
|
|
90
|
+
<template v-if="showAddCartButton && insufficientGoodinfoList.length > 0">
|
|
91
|
+
<div class="car-card-box">
|
|
92
|
+
<div class="car-card" @click="showGoodsList()">
|
|
93
|
+
<text class="car-card-text">立即购买</text>
|
|
94
|
+
</div>
|
|
95
95
|
</div>
|
|
96
|
-
</
|
|
97
|
-
</
|
|
96
|
+
</template>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
98
99
|
</template>
|
|
99
100
|
|
|
100
101
|
<scroller
|
|
@@ -42,6 +42,15 @@ const appConfig = {
|
|
|
42
42
|
}
|
|
43
43
|
const isDummy = false
|
|
44
44
|
|
|
45
|
+
const serviceList = {
|
|
46
|
+
queryBatchMaterialByHomeGroupList: '/v2/remaining/queryByHomeGroupList', // 批量查询设备的耗材余量(批量查询家庭)V2 10.1 发布 https://yapi.smartmidea.net/project/465/interface/api/43894,
|
|
47
|
+
getDeviceAuth: '/v1/appliance/auth/batch/get', // 获取设备确权状态(批量)https://yapi.smartmidea.net/project/131/interface/api/13778 放达
|
|
48
|
+
queryBatchMaterialByHomeId: '/v2/remaining/queryBatch', // 批量查询设备的耗材余量(传家庭id)V2 10.1 发布 https://yapi.smartmidea.net/project/465/interface/api/43390
|
|
49
|
+
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=
|
|
50
|
+
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=
|
|
51
|
+
shopCartBatchRemove: '/api/cms_bff/mtc-bff-app/shopCart/batchRemove'
|
|
52
|
+
}
|
|
53
|
+
|
|
45
54
|
const utils = {
|
|
46
55
|
serviceList: {
|
|
47
56
|
queryBatchMaterialByHomeGroupList: '/v2/remaining/queryByHomeGroupList', // 批量查询设备的耗材余量(批量查询家庭)V2 10.1 发布 https://yapi.smartmidea.net/project/465/interface/api/43894,
|