dolphin-weex-ui 2.4.10 → 2.4.12

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.12
4
+
5
+ - [ ! ] colmo样式UI升级
6
+ - [ ! ] date: 2025/12/19
7
+
8
+ ## 2.4.11
9
+
10
+ - [ ! ] dof-popup组件底部安全区背景颜色支持自定义
11
+ - [ ! ] date: 2025/12/08
12
+
3
13
  ## 2.4.10
4
14
 
5
15
  - [ ! ] 修改鸿蒙dof-popup组件底部安全距离单位转换问题
@@ -7973,7 +7973,7 @@ var STYLE_MAP = exports.STYLE_MAP = {
7973
7973
  backgroundColor: '#B35336'
7974
7974
  },
7975
7975
  base: {
7976
- backgroundColor: '#292c30'
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: '#1c1e21',
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: '#292c30'
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: '0px',
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: '0px',
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: '0px',
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: '0px'
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 ? '#1c1e21' : this._isDiablo ? '#171c1f' : '#fff'
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 ? '#1d1f22' : this._isDiablo ? '#101315' : '#ffffff';
20231
+ return this._isColmo ? '#303237' : this._isDiablo ? '#101315' : '#ffffff';
20232
20232
  },
20233
20233
  _borderColor: function _borderColor() {
20234
- return this._isColmo ? '#343639' : '#DDDDDD';
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 ? '#343639' : '#DDDDDD'
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 ? '#1d1f22' : '#fff',
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: true
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 ? '#1d1f22' : '#fff';
29337
+ return this._isColmo ? '#303237' : '#fff';
29338
29338
  }
29339
29339
  }
29340
29340
  };
@@ -31830,6 +31830,10 @@ exports.default = {
31830
31830
  isOverLayClickHide: {
31831
31831
  type: Boolean,
31832
31832
  default: false
31833
+ },
31834
+ safeAreaBgColor: {
31835
+ type: String,
31836
+ default: ''
31833
31837
  }
31834
31838
  },
31835
31839
  data: function data() {
@@ -32548,7 +32552,7 @@ exports.default = {
32548
32552
  _isDiablo = this._isDiablo;
32549
32553
  // 27282a
32550
32554
 
32551
- return _isColmo ? '#1c1e21' : _isDiablo ? '#101315' : '#FFFFFF';
32555
+ return _isColmo ? '#303237' : _isDiablo ? '#101315' : '#FFFFFF';
32552
32556
  },
32553
32557
  cellStyle: function cellStyle() {
32554
32558
  return { backgroundColor: this.backgroundColor };
@@ -41206,6 +41210,10 @@ exports.default = {
41206
41210
  bgColor: {
41207
41211
  type: String,
41208
41212
  default: ''
41213
+ },
41214
+ isFlexStart: {
41215
+ type: Boolean,
41216
+ default: false
41209
41217
  }
41210
41218
  },
41211
41219
  data: function data() {
@@ -45778,6 +45786,13 @@ module.exports = {
45778
45786
  "space-around-layout": {
45779
45787
  "justifyContent": "space-around"
45780
45788
  },
45789
+ "flex-start-layout": {
45790
+ "justifyContent": "flex-start",
45791
+ "flex": 1
45792
+ },
45793
+ "flex-start-item": {
45794
+ "marginRight": "32"
45795
+ },
45781
45796
  "padding-layout-32": {
45782
45797
  "paddingTop": 0,
45783
45798
  "paddingRight": "32",
@@ -47330,7 +47345,7 @@ module.exports = {
47330
47345
  "backgroundColor:active": "#743d2a"
47331
47346
  },
47332
47347
  "dof-btn-highlight-colmo-base": {
47333
- "backgroundColor": "#292c30",
47348
+ "backgroundColor": "#313237",
47334
47349
  "backgroundColor:active": "rgba(0,0,0,0.3)"
47335
47350
  },
47336
47351
  "dof-btn-highlight-colmo-plain": {
@@ -51104,7 +51119,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51104
51119
  })) : _vm._e(), _c('div', {
51105
51120
  style: {
51106
51121
  height: _vm.show && _vm.isipx ? _vm.sageHeight + 'px' : '0px',
51107
- backgroundColor: _vm._isColmo ? '#151617' : _vm.padStyle.backgroundColor
51122
+ backgroundColor: _vm.safeAreaBgColor ? _vm.safeAreaBgColor : _vm._isColmo ? '#151617' : _vm.padStyle.backgroundColor
51108
51123
  }
51109
51124
  })], 2) : _vm._e()])
51110
51125
  },staticRenderFns: []}
@@ -51512,8 +51527,8 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51512
51527
  class: [
51513
51528
  'widget',
51514
51529
  _vm.hasMargin && 'tab-margin',
51515
- _vm.tabTitles.length === 2 && !_vm.isSlot && _vm.type != 'third-group' && 'tab-padding-160',
51516
- _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',
51517
51532
  _vm.isSlot && 'flex-expand-layout',
51518
51533
  _vm.type == 'third-group' && 'thirdTabPanel'
51519
51534
  ],
@@ -51609,7 +51624,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51609
51624
  }
51610
51625
  }, [_vm._v(_vm._s(v.title))])])])
51611
51626
  })) : _vm._e(), (_vm.type !== 'third' && _vm.type !== 'third-group') ? _c('scroller', {
51612
- 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'],
51613
51628
  attrs: {
51614
51629
  "showScrollbar": false,
51615
51630
  "scrollDirection": "horizontal"
@@ -51619,7 +51634,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51619
51634
  key: index,
51620
51635
  ref: 'dof-tab-title-' + index,
51621
51636
  refInFor: true,
51622
- 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'],
51623
51638
  on: {
51624
51639
  "click": function($event) {
51625
51640
  _vm.onClicked(index, _vm.tabTitles.length - 1)
@@ -51633,7 +51648,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51633
51648
  }, [_c('text', {
51634
51649
  class: ['tab-text', 'dot-tab-text'],
51635
51650
  style: {
51636
- 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',
51637
51652
  fontWeight: _vm.currentPage === index && _vm.mergeStyleOption.isActiveTitleBold ? 'normal' : 'normal',
51638
51653
  color: _vm.currentPage === index ? _vm.mergeStyleOption.activeTitleColor : _vm.mergeStyleOption.titleColor
51639
51654
  }
@@ -51745,7 +51760,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
51745
51760
  }, [_c('div', {
51746
51761
  staticClass: ["title"],
51747
51762
  style: {
51748
- 'backgroundColor:active': _vm._isColmo ? '#343639' : _vm._isDiablo ? '#1d1f21' : '#fff'
51763
+ 'backgroundColor:active': _vm._isColmo ? 'rgba(255,255,255,0.14)' : _vm._isDiablo ? '#1d1f21' : '#fff'
51749
51764
  },
51750
51765
  on: {
51751
51766
  "click": _vm.onCollapseHandler
@@ -53118,7 +53133,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
53118
53133
  }) : _vm._e()], 1), (!_vm.isLast && _vm.isShowBorder) ? _c('div', {
53119
53134
  staticClass: ["fakeStyle"],
53120
53135
  style: {
53121
- backgroundColor: _vm._isColmo ? 'rgba(255, 255, 255, 0.1)' : '#dddddd',
53136
+ backgroundColor: _vm._isColmo ? 'rgba(255, 255, 255, 0.14)' : '#dddddd',
53122
53137
  right: _vm.isFullBorder ? '0px' : '24px'
53123
53138
  }
53124
53139
  }) : _vm._e()], 1)