dolphin-weex-ui 2.2.1 → 2.2.3

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.2.3
4
+
5
+ - [ ! ] 修复dof-button 禁用样式问题
6
+ - [ ! ] date: 2024/10/23
7
+
8
+ ## 2.2.2
9
+
10
+ - [ ! ] 修复dof-cell宽列表显示问题
11
+ - [ ! ] date: 2024/09/27
12
+
3
13
  ## 2.2.1
4
14
 
5
15
  - [ ! ] 修复dof-actionsheet、dof-bottom-bar、dof-button、dof-slider-bar等组件 web端显示问题
@@ -7695,13 +7695,13 @@ Object.defineProperty(exports, "__esModule", {
7695
7695
  var STYLE_MAP = exports.STYLE_MAP = {
7696
7696
  primary: {
7697
7697
  default: {
7698
- // backgroundColor: '#267AFF'
7698
+ backgroundColor: '#267AFF'
7699
7699
  },
7700
7700
  base: {
7701
- // backgroundColor: '#E9F1FF'
7701
+ backgroundColor: '#E9F1FF'
7702
7702
  },
7703
7703
  plain: {
7704
- // backgroundColor: '#FFFFFF',
7704
+ backgroundColor: '#FFFFFF',
7705
7705
  borderWidth: '2px',
7706
7706
  borderColor: '#267AFF'
7707
7707
  },
@@ -7712,13 +7712,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7712
7712
  },
7713
7713
  purple: {
7714
7714
  default: {
7715
- // backgroundColor: '#995EFC'
7715
+ backgroundColor: '#995EFC'
7716
7716
  },
7717
7717
  base: {
7718
- // backgroundColor: '#EEE6FF'
7718
+ backgroundColor: '#EEE6FF'
7719
7719
  },
7720
7720
  plain: {
7721
- // backgroundColor: '#FFFFFF',
7721
+ backgroundColor: '#FFFFFF',
7722
7722
  borderWidth: '2px',
7723
7723
  borderColor: '#995EFC'
7724
7724
  },
@@ -7729,13 +7729,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7729
7729
  },
7730
7730
  slate: {
7731
7731
  default: {
7732
- // backgroundColor: '#6575FF'
7732
+ backgroundColor: '#6575FF'
7733
7733
  },
7734
7734
  base: {
7735
- // backgroundColor: '#E6E8FF'
7735
+ backgroundColor: '#E6E8FF'
7736
7736
  },
7737
7737
  plain: {
7738
- // backgroundColor: '#FFFFFF',
7738
+ backgroundColor: '#FFFFFF',
7739
7739
  borderWidth: '2px',
7740
7740
  borderColor: '#6575FF'
7741
7741
  },
@@ -7746,13 +7746,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7746
7746
  },
7747
7747
  aqua: {
7748
7748
  default: {
7749
- // backgroundColor: '#29C3FF'
7749
+ backgroundColor: '#29C3FF'
7750
7750
  },
7751
7751
  base: {
7752
- // backgroundColor: '#E6F8FF'
7752
+ backgroundColor: '#E6F8FF'
7753
7753
  },
7754
7754
  plain: {
7755
- // backgroundColor: '#FFFFFF',
7755
+ backgroundColor: '#FFFFFF',
7756
7756
  borderWidth: '2px',
7757
7757
  borderColor: '#29C3FF'
7758
7758
  },
@@ -7763,13 +7763,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7763
7763
  },
7764
7764
  turquoise: {
7765
7765
  default: {
7766
- // backgroundColor: '#00CBB8'
7766
+ backgroundColor: '#00CBB8'
7767
7767
  },
7768
7768
  base: {
7769
- // backgroundColor: '#E6FFFD'
7769
+ backgroundColor: '#E6FFFD'
7770
7770
  },
7771
7771
  plain: {
7772
- // backgroundColor: '#FFFFFF',
7772
+ backgroundColor: '#FFFFFF',
7773
7773
  borderWidth: '2px',
7774
7774
  borderColor: '#00CBB8'
7775
7775
  },
@@ -7780,13 +7780,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7780
7780
  },
7781
7781
  yellow: {
7782
7782
  default: {
7783
- // backgroundColor: '#FFAA10'
7783
+ backgroundColor: '#FFAA10'
7784
7784
  },
7785
7785
  base: {
7786
- // backgroundColor: '#FFF4E0'
7786
+ backgroundColor: '#FFF4E0'
7787
7787
  },
7788
7788
  plain: {
7789
- // backgroundColor: '#FFFFFF',
7789
+ backgroundColor: '#FFFFFF',
7790
7790
  borderWidth: '2px',
7791
7791
  borderColor: '#FFAA10'
7792
7792
  },
@@ -7797,13 +7797,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7797
7797
  },
7798
7798
  orange: {
7799
7799
  default: {
7800
- // backgroundColor: '#FF8225'
7800
+ backgroundColor: '#FF8225'
7801
7801
  },
7802
7802
  base: {
7803
- // backgroundColor: '#FFF0E6'
7803
+ backgroundColor: '#FFF0E6'
7804
7804
  },
7805
7805
  plain: {
7806
- // backgroundColor: '#FFFFFF',
7806
+ backgroundColor: '#FFFFFF',
7807
7807
  borderWidth: '2px',
7808
7808
  borderColor: '#FF8225'
7809
7809
  },
@@ -7814,13 +7814,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7814
7814
  },
7815
7815
  tomato: {
7816
7816
  default: {
7817
- // backgroundColor: '#FF6A4C'
7817
+ backgroundColor: '#FF6A4C'
7818
7818
  },
7819
7819
  base: {
7820
- // backgroundColor: '#FFEaE6'
7820
+ backgroundColor: '#FFEaE6'
7821
7821
  },
7822
7822
  plain: {
7823
- // backgroundColor: '#FFFFFF',
7823
+ backgroundColor: '#FFFFFF',
7824
7824
  borderWidth: '2px',
7825
7825
  borderColor: '#FF6A4C'
7826
7826
  },
@@ -7831,13 +7831,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7831
7831
  },
7832
7832
  gray: {
7833
7833
  default: {
7834
- // backgroundColor: '#7C879B'
7834
+ backgroundColor: '#7C879B'
7835
7835
  },
7836
7836
  base: {
7837
- // backgroundColor: '#CFD7E6'
7837
+ backgroundColor: '#CFD7E6'
7838
7838
  },
7839
7839
  plain: {
7840
- // backgroundColor: '#FFFFFF',
7840
+ backgroundColor: '#FFFFFF',
7841
7841
  borderWidth: '2px',
7842
7842
  borderColor: '#7C879B'
7843
7843
  },
@@ -7882,13 +7882,13 @@ var STYLE_MAP = exports.STYLE_MAP = {
7882
7882
  },
7883
7883
  colmo: {
7884
7884
  default: {
7885
- // backgroundColor: '#B35336'
7885
+ backgroundColor: '#B35336'
7886
7886
  },
7887
7887
  base: {
7888
- // backgroundColor: '#292c30'
7888
+ backgroundColor: '#292c30'
7889
7889
  },
7890
7890
  plain: {
7891
- // backgroundColor: 'transparent',
7891
+ backgroundColor: 'transparent',
7892
7892
  borderWidth: '2px',
7893
7893
  borderColor: '#B35336'
7894
7894
  },
@@ -18364,7 +18364,10 @@ exports.default = {
18364
18364
  type = 'colmo';
18365
18365
  buttonStyle = _type.COLMO_BUTTON_STYLE_MAP;
18366
18366
  }
18367
- var mrBtnStyle = _extends({}, _type.STYLE_MAP[type][pattern], buttonStyle[size], btnStyle);
18367
+
18368
+ var styleMap = _extends({}, _type.STYLE_MAP[type][pattern]);
18369
+ if (!this._isColmo && pattern !== 'text' && !disabled) delete styleMap.backgroundColor;
18370
+ var mrBtnStyle = _extends({}, styleMap, buttonStyle[size], btnStyle);
18368
18371
 
18369
18372
  var disabledInStyle = { opacity: 0.3 };
18370
18373
  if (type === 'white') {
@@ -19617,6 +19620,8 @@ exports.default = {
19617
19620
  width: '112px',
19618
19621
  height: '112px',
19619
19622
  borderRadius: '56px',
19623
+ marginTop: this._isColmo ? '0px' : '16px',
19624
+ marginBottom: this._isColmo ? '0px' : '16px',
19620
19625
  backgroundColor: iconColor ? iconColor : 'transparent'
19621
19626
  };
19622
19627
  } else if (iconSize === 'medium') {
@@ -19624,6 +19629,8 @@ exports.default = {
19624
19629
  width: '76px',
19625
19630
  height: '76px',
19626
19631
  borderRadius: '38px',
19632
+ marginTop: this._isColmo ? '0px' : '40px',
19633
+ marginBottom: this._isColmo ? '0px' : '40px',
19627
19634
  backgroundColor: iconColor ? iconColor : 'transparent'
19628
19635
  };
19629
19636
  } else if (iconSize === 'min') {
@@ -19631,6 +19638,8 @@ exports.default = {
19631
19638
  width: '40px',
19632
19639
  height: '40px',
19633
19640
  borderRadius: '20px',
19641
+ marginTop: this._isColmo ? '0px' : '32px',
19642
+ marginBottom: this._isColmo ? '0px' : '32px',
19634
19643
  backgroundColor: iconColor ? iconColor : 'transparent'
19635
19644
  };
19636
19645
  } else {
@@ -19638,6 +19647,8 @@ exports.default = {
19638
19647
  width: '64px',
19639
19648
  height: '64px',
19640
19649
  borderRadius: '32px',
19650
+ marginTop: this._isColmo ? '0px' : '48px',
19651
+ marginBottom: this._isColmo ? '0px' : '48px',
19641
19652
  backgroundColor: iconColor ? iconColor : 'transparent'
19642
19653
  };
19643
19654
  }
@@ -46195,6 +46206,18 @@ module.exports = {
46195
46206
  "backgroundColor": "#ffffff",
46196
46207
  "backgroundColor:active": "rgba(124,135,155,0.1)"
46197
46208
  },
46209
+ "dof-btn-highlight-red-default": {
46210
+ "backgroundColor": "#e61e1e"
46211
+ },
46212
+ "dof-btn-highlight-red-base": {
46213
+ "backgroundColor": "#ffd9cf"
46214
+ },
46215
+ "dof-btn-highlight-red-plain": {
46216
+ "backgroundColor": "#ffffff"
46217
+ },
46218
+ "dof-btn-highlight-brown-default": {
46219
+ "backgroundColor": "#86696b"
46220
+ },
46198
46221
  "dof-btn-highlight-colmo-default": {
46199
46222
  "backgroundColor": "#b35336",
46200
46223
  "backgroundColor:active": "#743d2a"
@@ -50167,8 +50190,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
50167
50190
  return [(index < _vm.formattedList.length - 1) ? _c('div', {
50168
50191
  key: 'line' + index,
50169
50192
  class: ['step-line', _vm.showLine && 'hline'],
50170
- style: Object.assign({}, item.lineStyles,
50171
- _vm.linePos[index])
50193
+ style: Object.assign(item.lineStyles, _vm.linePos[index])
50172
50194
  }) : _vm._e()]
50173
50195
  })], 2), _vm._l((_vm.formattedList), function(item, index) {
50174
50196
  return _c('div', {