dolphin-weex-ui 2.4.11 → 2.4.13
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 +35 -24
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +44 -40
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-bottom-bar/colmo.css +1 -0
- package/packages/dof-button/colmo.css +2 -2
- package/packages/dof-button/index.vue +1 -1
- package/packages/dof-button/type.js +6 -6
- package/packages/dof-card/index.vue +1 -1
- package/packages/dof-card/style.js +1 -1
- package/packages/dof-cell/colmo.css +1 -1
- package/packages/dof-cell/index.vue +3 -3
- package/packages/dof-checkbox/colmo.css +1 -1
- package/packages/dof-collapse-item/colmo.css +2 -2
- package/packages/dof-collapse-item/index.vue +1 -1
- package/packages/dof-input/index.vue +1 -1
- package/packages/dof-numcard-col/colmo.css +3 -3
- package/packages/dof-numcard-row/index.vue +7 -2
- package/packages/dof-radio-list/radio-item.vue +2 -2
- package/packages/dof-searchbar/colmo.css +3 -2
- package/packages/dof-swipe-action/index.vue +1 -1
- package/packages/dof-tab-page/colmo.css +1 -1
- package/packages/dof-tab-page/index.vue +17 -6
package/CHANGELOG.md
CHANGED
package/dist/index.native.js
CHANGED
|
@@ -7973,7 +7973,7 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7973
7973
|
backgroundColor: '#B35336'
|
|
7974
7974
|
},
|
|
7975
7975
|
base: {
|
|
7976
|
-
backgroundColor: '#
|
|
7976
|
+
backgroundColor: '#313237'
|
|
7977
7977
|
},
|
|
7978
7978
|
plain: {
|
|
7979
7979
|
backgroundColor: 'transparent',
|
|
@@ -7981,7 +7981,7 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
7981
7981
|
borderColor: '#B35336'
|
|
7982
7982
|
},
|
|
7983
7983
|
text: {
|
|
7984
|
-
backgroundColor: '#
|
|
7984
|
+
backgroundColor: '#313237',
|
|
7985
7985
|
borderWidth: 0
|
|
7986
7986
|
}
|
|
7987
7987
|
}
|
|
@@ -8180,7 +8180,7 @@ var STYLE_MAP_DIABLO = exports.STYLE_MAP_DIABLO = {
|
|
|
8180
8180
|
backgroundColor: '#B35336'
|
|
8181
8181
|
},
|
|
8182
8182
|
base: {
|
|
8183
|
-
backgroundColor: '#
|
|
8183
|
+
backgroundColor: '#313237'
|
|
8184
8184
|
},
|
|
8185
8185
|
plain: {
|
|
8186
8186
|
backgroundColor: 'transparent',
|
|
@@ -8581,21 +8581,21 @@ var COLMO_BUTTON_STYLE_MAP = exports.COLMO_BUTTON_STYLE_MAP = {
|
|
|
8581
8581
|
full: {
|
|
8582
8582
|
width: '688px',
|
|
8583
8583
|
height: '96px',
|
|
8584
|
-
borderRadius: '
|
|
8584
|
+
borderRadius: '16px',
|
|
8585
8585
|
paddingLeft: '46px',
|
|
8586
8586
|
paddingRight: '46px'
|
|
8587
8587
|
},
|
|
8588
8588
|
big: {
|
|
8589
8589
|
width: '688px',
|
|
8590
8590
|
height: '96px',
|
|
8591
|
-
borderRadius: '
|
|
8591
|
+
borderRadius: '16px',
|
|
8592
8592
|
paddingLeft: '46px',
|
|
8593
8593
|
paddingRight: '46px'
|
|
8594
8594
|
},
|
|
8595
8595
|
medium: {
|
|
8596
8596
|
width: '688px',
|
|
8597
8597
|
height: '80px',
|
|
8598
|
-
borderRadius: '
|
|
8598
|
+
borderRadius: '16px',
|
|
8599
8599
|
paddingLeft: '28px',
|
|
8600
8600
|
paddingRight: '28px'
|
|
8601
8601
|
},
|
|
@@ -8689,7 +8689,7 @@ var STYLE_MAP = exports.STYLE_MAP = {
|
|
|
8689
8689
|
borderRadius: '32px'
|
|
8690
8690
|
},
|
|
8691
8691
|
colmo: {
|
|
8692
|
-
borderRadius: '
|
|
8692
|
+
borderRadius: '16px'
|
|
8693
8693
|
}
|
|
8694
8694
|
};
|
|
8695
8695
|
|
|
@@ -19301,7 +19301,7 @@ exports.default = {
|
|
|
19301
19301
|
_cardStyle: function _cardStyle() {
|
|
19302
19302
|
var tmp = { borderRadius: this.themeStyle.borderRadius };
|
|
19303
19303
|
var style = _extends({
|
|
19304
|
-
backgroundColor: this._isColmo ? '#
|
|
19304
|
+
backgroundColor: this._isColmo ? '#303237' : this._isDiablo ? '#171c1f' : '#fff'
|
|
19305
19305
|
}, tmp, this.cardStyle);
|
|
19306
19306
|
if (this.touchColor && this.isTouching) style.backgroundColor = this.touchColor;
|
|
19307
19307
|
return style;
|
|
@@ -20228,10 +20228,10 @@ exports.default = {
|
|
|
20228
20228
|
},
|
|
20229
20229
|
_backgroundColor: function _backgroundColor() {
|
|
20230
20230
|
if (this.backgroundColor) return this.backgroundColor;
|
|
20231
|
-
return this._isColmo ? '#
|
|
20231
|
+
return this._isColmo ? '#303237' : this._isDiablo ? '#101315' : '#ffffff';
|
|
20232
20232
|
},
|
|
20233
20233
|
_borderColor: function _borderColor() {
|
|
20234
|
-
return this._isColmo ? '
|
|
20234
|
+
return this._isColmo ? 'rgba(255,255,255,0.14)' : '#DDDDDD';
|
|
20235
20235
|
},
|
|
20236
20236
|
useFakeBorder: function useFakeBorder() {
|
|
20237
20237
|
return JSON.stringify(this.fakeBorderStyle) !== '{}';
|
|
@@ -20527,7 +20527,7 @@ exports.default = {
|
|
|
20527
20527
|
// 底部border样式
|
|
20528
20528
|
fakeBorderStyleRender: function fakeBorderStyleRender() {
|
|
20529
20529
|
return _extends({
|
|
20530
|
-
backgroundColor: this._isColmo ? '
|
|
20530
|
+
backgroundColor: this._isColmo ? 'rgba(255,255,255,0.14)' : '#DDDDDD'
|
|
20531
20531
|
}, this.fakeBorderStyle);
|
|
20532
20532
|
}
|
|
20533
20533
|
},
|
|
@@ -26149,7 +26149,7 @@ exports.default = {
|
|
|
26149
26149
|
},
|
|
26150
26150
|
_inputStyle: function _inputStyle() {
|
|
26151
26151
|
return _extends({
|
|
26152
|
-
backgroundColor: this.bgColor ? this.bgColor : this._isColmo ? '#
|
|
26152
|
+
backgroundColor: this.bgColor ? this.bgColor : this._isColmo ? '#303237' : '#fff',
|
|
26153
26153
|
height: this._height + 'px',
|
|
26154
26154
|
lineHeight: this._height + 'px'
|
|
26155
26155
|
}, this.inputStyle);
|
|
@@ -29318,7 +29318,7 @@ exports.default = {
|
|
|
29318
29318
|
},
|
|
29319
29319
|
isShowDelta: {
|
|
29320
29320
|
type: Boolean,
|
|
29321
|
-
default:
|
|
29321
|
+
default: false
|
|
29322
29322
|
},
|
|
29323
29323
|
bgColor: {
|
|
29324
29324
|
type: String,
|
|
@@ -29334,7 +29334,7 @@ exports.default = {
|
|
|
29334
29334
|
computed: {
|
|
29335
29335
|
_backgroundColor: function _backgroundColor() {
|
|
29336
29336
|
if (this.bgColor !== '') return this.bgColor;
|
|
29337
|
-
return this._isColmo ? '#
|
|
29337
|
+
return this._isColmo ? '#303237' : '#fff';
|
|
29338
29338
|
}
|
|
29339
29339
|
}
|
|
29340
29340
|
};
|
|
@@ -32552,7 +32552,7 @@ exports.default = {
|
|
|
32552
32552
|
_isDiablo = this._isDiablo;
|
|
32553
32553
|
// 27282a
|
|
32554
32554
|
|
|
32555
|
-
return _isColmo ? '#
|
|
32555
|
+
return _isColmo ? '#303237' : _isDiablo ? '#101315' : '#FFFFFF';
|
|
32556
32556
|
},
|
|
32557
32557
|
cellStyle: function cellStyle() {
|
|
32558
32558
|
return { backgroundColor: this.backgroundColor };
|
|
@@ -38976,7 +38976,7 @@ exports.default = {
|
|
|
38976
38976
|
});
|
|
38977
38977
|
},
|
|
38978
38978
|
onRightNode: function onRightNode(index, i, text) {
|
|
38979
|
-
if (this.
|
|
38979
|
+
if (!this.isIOS) {
|
|
38980
38980
|
this.rightSlide();
|
|
38981
38981
|
this.$emit('dofRightClicked', { index: index, i: i, text: text });
|
|
38982
38982
|
} else {
|
|
@@ -41210,6 +41210,10 @@ exports.default = {
|
|
|
41210
41210
|
bgColor: {
|
|
41211
41211
|
type: String,
|
|
41212
41212
|
default: ''
|
|
41213
|
+
},
|
|
41214
|
+
isFlexStart: {
|
|
41215
|
+
type: Boolean,
|
|
41216
|
+
default: false
|
|
41213
41217
|
}
|
|
41214
41218
|
},
|
|
41215
41219
|
data: function data() {
|
|
@@ -45782,6 +45786,13 @@ module.exports = {
|
|
|
45782
45786
|
"space-around-layout": {
|
|
45783
45787
|
"justifyContent": "space-around"
|
|
45784
45788
|
},
|
|
45789
|
+
"flex-start-layout": {
|
|
45790
|
+
"justifyContent": "flex-start",
|
|
45791
|
+
"flex": 1
|
|
45792
|
+
},
|
|
45793
|
+
"flex-start-item": {
|
|
45794
|
+
"marginRight": "32"
|
|
45795
|
+
},
|
|
45785
45796
|
"padding-layout-32": {
|
|
45786
45797
|
"paddingTop": 0,
|
|
45787
45798
|
"paddingRight": "32",
|
|
@@ -47334,7 +47345,7 @@ module.exports = {
|
|
|
47334
47345
|
"backgroundColor:active": "#743d2a"
|
|
47335
47346
|
},
|
|
47336
47347
|
"dof-btn-highlight-colmo-base": {
|
|
47337
|
-
"backgroundColor": "#
|
|
47348
|
+
"backgroundColor": "#313237",
|
|
47338
47349
|
"backgroundColor:active": "rgba(0,0,0,0.3)"
|
|
47339
47350
|
},
|
|
47340
47351
|
"dof-btn-highlight-colmo-plain": {
|
|
@@ -51516,8 +51527,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
51516
51527
|
class: [
|
|
51517
51528
|
'widget',
|
|
51518
51529
|
_vm.hasMargin && 'tab-margin',
|
|
51519
|
-
_vm.tabTitles.length === 2 && !_vm.isSlot && _vm.type != 'third-group' && 'tab-padding-160',
|
|
51520
|
-
_vm.tabTitles.length === 3 && !_vm.isSlot && _vm.type != 'third-group' && 'tab-padding-40',
|
|
51530
|
+
_vm.tabTitles.length === 2 && !_vm.isSlot && _vm.type != 'third-group' && !_vm.isFlexStart && 'tab-padding-160',
|
|
51531
|
+
_vm.tabTitles.length === 3 && !_vm.isSlot && _vm.type != 'third-group' && !_vm.isFlexStart && 'tab-padding-40',
|
|
51521
51532
|
_vm.isSlot && 'flex-expand-layout',
|
|
51522
51533
|
_vm.type == 'third-group' && 'thirdTabPanel'
|
|
51523
51534
|
],
|
|
@@ -51613,7 +51624,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
51613
51624
|
}
|
|
51614
51625
|
}, [_vm._v(_vm._s(v.title))])])])
|
|
51615
51626
|
})) : _vm._e(), (_vm.type !== 'third' && _vm.type !== 'third-group') ? _c('scroller', {
|
|
51616
|
-
class: ['tab-title-list', _vm.tabTitles.length <= 5 && 'space-around-layout'],
|
|
51627
|
+
class: ['tab-title-list', _vm.tabTitles.length <= 5 && 'space-around-layout', _vm.isFlexStart && 'flex-start-layout'],
|
|
51617
51628
|
attrs: {
|
|
51618
51629
|
"showScrollbar": false,
|
|
51619
51630
|
"scrollDirection": "horizontal"
|
|
@@ -51623,7 +51634,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
51623
51634
|
key: index,
|
|
51624
51635
|
ref: 'dof-tab-title-' + index,
|
|
51625
51636
|
refInFor: true,
|
|
51626
|
-
class: ['title-item', _vm.tabTitles.length > 5 && 'padding-layout-32', _vm.type == 'primary' && 'title-item-primary'],
|
|
51637
|
+
class: ['title-item', _vm.tabTitles.length > 5 && 'padding-layout-32', _vm.type == 'primary' && 'title-item-primary', _vm.isFlexStart && _vm.tabTitles.length - 1 !== index && 'flex-start-item'],
|
|
51627
51638
|
on: {
|
|
51628
51639
|
"click": function($event) {
|
|
51629
51640
|
_vm.onClicked(index, _vm.tabTitles.length - 1)
|
|
@@ -51637,7 +51648,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
51637
51648
|
}, [_c('text', {
|
|
51638
51649
|
class: ['tab-text', 'dot-tab-text'],
|
|
51639
51650
|
style: {
|
|
51640
|
-
fontSize: _vm.type === 'primary' ? '32px' : '28px',
|
|
51651
|
+
fontSize: _vm.isFlexStart && _vm.currentPage === index ? '36px' : _vm.isFlexStart && _vm.currentPage !== index ? '28px' : _vm.type === 'primary' ? '32px' : '28px',
|
|
51641
51652
|
fontWeight: _vm.currentPage === index && _vm.mergeStyleOption.isActiveTitleBold ? 'normal' : 'normal',
|
|
51642
51653
|
color: _vm.currentPage === index ? _vm.mergeStyleOption.activeTitleColor : _vm.mergeStyleOption.titleColor
|
|
51643
51654
|
}
|
|
@@ -51749,7 +51760,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
51749
51760
|
}, [_c('div', {
|
|
51750
51761
|
staticClass: ["title"],
|
|
51751
51762
|
style: {
|
|
51752
|
-
'backgroundColor:active': _vm._isColmo ? '
|
|
51763
|
+
'backgroundColor:active': _vm._isColmo ? 'rgba(255,255,255,0.14)' : _vm._isDiablo ? '#1d1f21' : '#fff'
|
|
51753
51764
|
},
|
|
51754
51765
|
on: {
|
|
51755
51766
|
"click": _vm.onCollapseHandler
|
|
@@ -53122,7 +53133,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
|
|
|
53122
53133
|
}) : _vm._e()], 1), (!_vm.isLast && _vm.isShowBorder) ? _c('div', {
|
|
53123
53134
|
staticClass: ["fakeStyle"],
|
|
53124
53135
|
style: {
|
|
53125
|
-
backgroundColor: _vm._isColmo ? 'rgba(255, 255, 255, 0.
|
|
53136
|
+
backgroundColor: _vm._isColmo ? 'rgba(255, 255, 255, 0.14)' : '#dddddd',
|
|
53126
53137
|
right: _vm.isFullBorder ? '0px' : '24px'
|
|
53127
53138
|
}
|
|
53128
53139
|
}) : _vm._e()], 1)
|