dolphin-weex-ui 2.4.24 → 2.4.26

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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # 升级日志
2
2
 
3
+ ## 2.4.26
4
+
5
+ - [ ! ] dof-cell组件colmo 左侧图标点击事件支持
6
+ - [ ! ] date: 2026/05/15
7
+
8
+ ## 2.4.25
9
+
10
+ - [ ! ] Revert "2.4.12 colmo样式升级",放于大版本2.5.0(dev_colmoNewStyle)
11
+ - [ ! ] date: 2026/05/15
12
+
3
13
  ## 2.4.24
4
14
 
5
15
  - [ ! ] 修复harmony端dof-minibar组件高度问题
@@ -8045,7 +8045,7 @@ var STYLE_MAP = exports.STYLE_MAP = {
8045
8045
  backgroundColor: '#B35336'
8046
8046
  },
8047
8047
  base: {
8048
- backgroundColor: '#313237'
8048
+ backgroundColor: '#292c30'
8049
8049
  },
8050
8050
  plain: {
8051
8051
  backgroundColor: 'transparent',
@@ -8053,7 +8053,7 @@ var STYLE_MAP = exports.STYLE_MAP = {
8053
8053
  borderColor: '#B35336'
8054
8054
  },
8055
8055
  text: {
8056
- backgroundColor: '#313237',
8056
+ backgroundColor: '#1c1e21',
8057
8057
  borderWidth: 0
8058
8058
  }
8059
8059
  }
@@ -8252,7 +8252,7 @@ var STYLE_MAP_DIABLO = exports.STYLE_MAP_DIABLO = {
8252
8252
  backgroundColor: '#B35336'
8253
8253
  },
8254
8254
  base: {
8255
- backgroundColor: '#313237'
8255
+ backgroundColor: '#292c30'
8256
8256
  },
8257
8257
  plain: {
8258
8258
  backgroundColor: 'transparent',
@@ -8653,21 +8653,21 @@ var COLMO_BUTTON_STYLE_MAP = exports.COLMO_BUTTON_STYLE_MAP = {
8653
8653
  full: {
8654
8654
  width: '688px',
8655
8655
  height: '96px',
8656
- borderRadius: '16px',
8656
+ borderRadius: '0px',
8657
8657
  paddingLeft: '46px',
8658
8658
  paddingRight: '46px'
8659
8659
  },
8660
8660
  big: {
8661
8661
  width: '688px',
8662
8662
  height: '96px',
8663
- borderRadius: '16px',
8663
+ borderRadius: '0px',
8664
8664
  paddingLeft: '46px',
8665
8665
  paddingRight: '46px'
8666
8666
  },
8667
8667
  medium: {
8668
8668
  width: '688px',
8669
8669
  height: '80px',
8670
- borderRadius: '16px',
8670
+ borderRadius: '0px',
8671
8671
  paddingLeft: '28px',
8672
8672
  paddingRight: '28px'
8673
8673
  },
@@ -8761,7 +8761,7 @@ var STYLE_MAP = exports.STYLE_MAP = {
8761
8761
  borderRadius: '32px'
8762
8762
  },
8763
8763
  colmo: {
8764
- borderRadius: '16px'
8764
+ borderRadius: '0px'
8765
8765
  }
8766
8766
  };
8767
8767
 
@@ -19303,7 +19303,7 @@ exports.default = {
19303
19303
  _cardStyle: function _cardStyle() {
19304
19304
  var tmp = { borderRadius: this.themeStyle.borderRadius };
19305
19305
  var style = _extends({
19306
- backgroundColor: this._isColmo ? '#303237' : this._isDiablo ? '#171c1f' : '#fff'
19306
+ backgroundColor: this._isColmo ? '#1c1e21' : this._isDiablo ? '#171c1f' : '#fff'
19307
19307
  }, tmp, this.cardStyle);
19308
19308
  if (this.touchColor && this.isTouching) style.backgroundColor = this.touchColor;
19309
19309
  return style;
@@ -20047,6 +20047,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
20047
20047
  //
20048
20048
  //
20049
20049
  //
20050
+ //
20050
20051
 
20051
20052
  var icon = __webpack_require__(4);
20052
20053
  var modal = weex.requireModule('modal');
@@ -20245,10 +20246,10 @@ exports.default = {
20245
20246
  },
20246
20247
  _backgroundColor: function _backgroundColor() {
20247
20248
  if (this.backgroundColor) return this.backgroundColor;
20248
- return this._isColmo ? '#303237' : this._isDiablo ? '#101315' : '#ffffff';
20249
+ return this._isColmo ? '#1d1f22' : this._isDiablo ? '#101315' : '#ffffff';
20249
20250
  },
20250
20251
  _borderColor: function _borderColor() {
20251
- return this._isColmo ? 'rgba(255,255,255,0.14)' : '#DDDDDD';
20252
+ return this._isColmo ? '#343639' : '#DDDDDD';
20252
20253
  },
20253
20254
  useFakeBorder: function useFakeBorder() {
20254
20255
  return JSON.stringify(this.fakeBorderStyle) !== '{}';
@@ -20544,7 +20545,7 @@ exports.default = {
20544
20545
  // 底部border样式
20545
20546
  fakeBorderStyleRender: function fakeBorderStyleRender() {
20546
20547
  return _extends({
20547
- backgroundColor: this._isColmo ? 'rgba(255,255,255,0.14)' : '#DDDDDD'
20548
+ backgroundColor: this._isColmo ? '#343639' : '#DDDDDD'
20548
20549
  }, this.fakeBorderStyle);
20549
20550
  }
20550
20551
  },
@@ -26274,7 +26275,7 @@ exports.default = {
26274
26275
  },
26275
26276
  _inputStyle: function _inputStyle() {
26276
26277
  return _extends({
26277
- backgroundColor: this.bgColor ? this.bgColor : this._isColmo ? '#303237' : '#fff',
26278
+ backgroundColor: this.bgColor ? this.bgColor : this._isColmo ? '#1d1f22' : '#fff',
26278
26279
  height: this._height + 'px',
26279
26280
  lineHeight: this._height + 'px'
26280
26281
  }, this.inputStyle);
@@ -29445,7 +29446,7 @@ exports.default = {
29445
29446
  },
29446
29447
  isShowDelta: {
29447
29448
  type: Boolean,
29448
- default: false
29449
+ default: true
29449
29450
  },
29450
29451
  bgColor: {
29451
29452
  type: String,
@@ -29461,7 +29462,7 @@ exports.default = {
29461
29462
  computed: {
29462
29463
  _backgroundColor: function _backgroundColor() {
29463
29464
  if (this.bgColor !== '') return this.bgColor;
29464
- return this._isColmo ? '#303237' : '#fff';
29465
+ return this._isColmo ? '#1d1f22' : '#fff';
29465
29466
  }
29466
29467
  }
29467
29468
  };
@@ -32686,7 +32687,7 @@ exports.default = {
32686
32687
  _isDiablo = this._isDiablo;
32687
32688
  // 27282a
32688
32689
 
32689
- return _isColmo ? '#303237' : _isDiablo ? '#101315' : '#FFFFFF';
32690
+ return _isColmo ? '#1c1e21' : _isDiablo ? '#101315' : '#FFFFFF';
32690
32691
  },
32691
32692
  cellStyle: function cellStyle() {
32692
32693
  return { backgroundColor: this.backgroundColor };
@@ -41367,10 +41368,6 @@ exports.default = {
41367
41368
  bgColor: {
41368
41369
  type: String,
41369
41370
  default: ''
41370
- },
41371
- isFlexStart: {
41372
- type: Boolean,
41373
- default: false
41374
41371
  }
41375
41372
  },
41376
41373
  data: function data() {
@@ -46051,13 +46048,6 @@ module.exports = {
46051
46048
  "space-around-layout": {
46052
46049
  "justifyContent": "space-around"
46053
46050
  },
46054
- "flex-start-layout": {
46055
- "justifyContent": "flex-start",
46056
- "flex": 1
46057
- },
46058
- "flex-start-item": {
46059
- "marginRight": "32"
46060
- },
46061
46051
  "padding-layout-32": {
46062
46052
  "paddingTop": 0,
46063
46053
  "paddingRight": "32",
@@ -47612,7 +47602,7 @@ module.exports = {
47612
47602
  "backgroundColor:active": "#743d2a"
47613
47603
  },
47614
47604
  "dof-btn-highlight-colmo-base": {
47615
- "backgroundColor": "#313237",
47605
+ "backgroundColor": "#292c30",
47616
47606
  "backgroundColor:active": "rgba(0,0,0,0.3)"
47617
47607
  },
47618
47608
  "dof-btn-highlight-colmo-plain": {
@@ -49610,6 +49600,9 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
49610
49600
  "code": _vm.avatarIconFont,
49611
49601
  "size": _vm.avatarIconFontSize,
49612
49602
  "color": _vm._isColmo ? 'rgba(255,255,255,0.80)' : '#1E2E37'
49603
+ },
49604
+ on: {
49605
+ "dofIconFontClicked": _vm.onClick
49613
49606
  }
49614
49607
  })])], 2) : _vm._e(), (_vm.hasDot) ? _c('div', {
49615
49608
  staticClass: ["dot-tip"],
@@ -51840,8 +51833,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51840
51833
  class: [
51841
51834
  'widget',
51842
51835
  _vm.hasMargin && 'tab-margin',
51843
- _vm.tabTitles.length === 2 && !_vm.isSlot && _vm.type != 'third-group' && !_vm.isFlexStart && 'tab-padding-160',
51844
- _vm.tabTitles.length === 3 && !_vm.isSlot && _vm.type != 'third-group' && !_vm.isFlexStart && 'tab-padding-40',
51836
+ _vm.tabTitles.length === 2 && !_vm.isSlot && _vm.type != 'third-group' && 'tab-padding-160',
51837
+ _vm.tabTitles.length === 3 && !_vm.isSlot && _vm.type != 'third-group' && 'tab-padding-40',
51845
51838
  _vm.isSlot && 'flex-expand-layout',
51846
51839
  _vm.type == 'third-group' && 'thirdTabPanel'
51847
51840
  ],
@@ -51937,7 +51930,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51937
51930
  }
51938
51931
  }, [_vm._v(_vm._s(v.title))])])])
51939
51932
  })) : _vm._e(), (_vm.type !== 'third' && _vm.type !== 'third-group') ? _c('scroller', {
51940
- class: ['tab-title-list', _vm.tabTitles.length <= 5 && 'space-around-layout', _vm.isFlexStart && 'flex-start-layout'],
51933
+ class: ['tab-title-list', _vm.tabTitles.length <= 5 && 'space-around-layout'],
51941
51934
  attrs: {
51942
51935
  "showScrollbar": false,
51943
51936
  "scrollDirection": "horizontal"
@@ -51947,7 +51940,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51947
51940
  key: index,
51948
51941
  ref: 'dof-tab-title-' + index,
51949
51942
  refInFor: true,
51950
- 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'],
51943
+ class: ['title-item', _vm.tabTitles.length > 5 && 'padding-layout-32', _vm.type == 'primary' && 'title-item-primary'],
51951
51944
  on: {
51952
51945
  "click": function($event) {
51953
51946
  _vm.onClicked(index, _vm.tabTitles.length - 1)
@@ -51961,7 +51954,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51961
51954
  }, [_c('text', {
51962
51955
  class: ['tab-text', 'dot-tab-text'],
51963
51956
  style: {
51964
- fontSize: _vm.isFlexStart && _vm.currentPage === index ? '36px' : _vm.isFlexStart && _vm.currentPage !== index ? '28px' : _vm.type === 'primary' ? '32px' : '28px',
51957
+ fontSize: _vm.type === 'primary' ? '32px' : '28px',
51965
51958
  fontWeight: _vm.currentPage === index && _vm.mergeStyleOption.isActiveTitleBold ? 'normal' : 'normal',
51966
51959
  color: _vm.currentPage === index ? _vm.mergeStyleOption.activeTitleColor : _vm.mergeStyleOption.titleColor
51967
51960
  }
@@ -52073,7 +52066,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
52073
52066
  }, [_c('div', {
52074
52067
  staticClass: ["title"],
52075
52068
  style: {
52076
- 'backgroundColor:active': _vm._isColmo ? 'rgba(255,255,255,0.14)' : _vm._isDiablo ? '#1d1f21' : '#fff'
52069
+ 'backgroundColor:active': _vm._isColmo ? '#343639' : _vm._isDiablo ? '#1d1f21' : '#fff'
52077
52070
  },
52078
52071
  on: {
52079
52072
  "click": _vm.onCollapseHandler
@@ -53460,7 +53453,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
53460
53453
  }) : _vm._e()], 1), (!_vm.isLast && _vm.isShowBorder) ? _c('div', {
53461
53454
  staticClass: ["fakeStyle"],
53462
53455
  style: {
53463
- backgroundColor: _vm._isColmo ? 'rgba(255, 255, 255, 0.14)' : '#dddddd',
53456
+ backgroundColor: _vm._isColmo ? 'rgba(255, 255, 255, 0.1)' : '#dddddd',
53464
53457
  right: _vm.isFullBorder ? '0px' : '24px'
53465
53458
  }
53466
53459
  }) : _vm._e()], 1)