dolphin-weex-ui 2.4.24 → 2.4.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dolphin-weex-ui",
3
- "version": "2.4.24",
3
+ "version": "2.4.25",
4
4
  "description": "inteligense cross platform frame",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -13,6 +13,5 @@
13
13
  }
14
14
  .tab-bar-item-icon-text {
15
15
  font-family: PingFangSC-Regular;
16
- font-size: 32px;
17
16
  }
18
17
  }
@@ -1,6 +1,6 @@
1
1
  @media screen and (weex-theme: colmo) {
2
2
  .dof-btn-highlight-primary-default:active {
3
- background-color: #ba644a;
3
+ background-color: #bb644a;
4
4
  }
5
5
  .dof-btn-highlight-primary-base:active {
6
6
  background-color: #636569;
@@ -9,7 +9,7 @@
9
9
  background-color: transparent;
10
10
  }
11
11
  .dof-text-highlight-primary:active {
12
- color: #ba644a;
12
+ color: #bb644a;
13
13
  }
14
14
  .btn-text {
15
15
  font-family: PingFangSC-Regular;
@@ -379,7 +379,7 @@ export default {
379
379
  background-color: #743d2a;
380
380
  }
381
381
  .dof-btn-highlight-colmo-base {
382
- background-color: #313237;
382
+ background-color: #292c30;
383
383
  }
384
384
  .dof-btn-highlight-colmo-base:active {
385
385
  background-color: rgba(0, 0, 0, 0.3);
@@ -191,7 +191,7 @@ export const STYLE_MAP = {
191
191
  backgroundColor: '#B35336'
192
192
  },
193
193
  base: {
194
- backgroundColor: '#313237'
194
+ backgroundColor: '#292c30'
195
195
  },
196
196
  plain: {
197
197
  backgroundColor: 'transparent',
@@ -199,7 +199,7 @@ export const STYLE_MAP = {
199
199
  borderColor: '#B35336'
200
200
  },
201
201
  text: {
202
- backgroundColor: '#313237',
202
+ backgroundColor: '#1c1e21',
203
203
  borderWidth: 0
204
204
  }
205
205
  }
@@ -398,7 +398,7 @@ export const STYLE_MAP_DIABLO = {
398
398
  backgroundColor: '#B35336'
399
399
  },
400
400
  base: {
401
- backgroundColor: '#313237'
401
+ backgroundColor: '#292c30'
402
402
  },
403
403
  plain: {
404
404
  backgroundColor: 'transparent',
@@ -799,21 +799,21 @@ export const COLMO_BUTTON_STYLE_MAP = {
799
799
  full: {
800
800
  width: '688px',
801
801
  height: '96px',
802
- borderRadius: '16px',
802
+ borderRadius: '0px',
803
803
  paddingLeft: '46px',
804
804
  paddingRight: '46px'
805
805
  },
806
806
  big: {
807
807
  width: '688px',
808
808
  height: '96px',
809
- borderRadius: '16px',
809
+ borderRadius: '0px',
810
810
  paddingLeft: '46px',
811
811
  paddingRight: '46px'
812
812
  },
813
813
  medium: {
814
814
  width: '688px',
815
815
  height: '80px',
816
- borderRadius: '16px',
816
+ borderRadius: '0px',
817
817
  paddingLeft: '28px',
818
818
  paddingRight: '28px'
819
819
  },
@@ -114,7 +114,7 @@ export default {
114
114
  _cardStyle() {
115
115
  let tmp = { borderRadius: this.themeStyle.borderRadius }
116
116
  let style = {
117
- backgroundColor: this._isColmo ? '#303237' : (this._isDiablo ? '#171c1f' : '#fff'),
117
+ backgroundColor: this._isColmo ? '#1c1e21' : (this._isDiablo ? '#171c1f' : '#fff'),
118
118
  ...tmp,
119
119
  ...this.cardStyle
120
120
  }
@@ -6,6 +6,6 @@ export const STYLE_MAP = {
6
6
  borderRadius: '32px'
7
7
  },
8
8
  colmo: {
9
- borderRadius: '16px'
9
+ borderRadius: '0px'
10
10
  }
11
11
  }
@@ -7,7 +7,7 @@
7
7
  /* line-height: 32px; */
8
8
  }
9
9
  .dof-cell-highlight:active {
10
- background-color: #44464b;
10
+ background-color: #343639;
11
11
  }
12
12
  .right {
13
13
  padding-right: 32px;
@@ -688,10 +688,10 @@ export default {
688
688
  },
689
689
  _backgroundColor() {
690
690
  if (this.backgroundColor) return this.backgroundColor
691
- return this._isColmo ? '#303237' : this._isDiablo ? '#101315' : '#ffffff'
691
+ return this._isColmo ? '#1d1f22' : this._isDiablo ? '#101315' : '#ffffff'
692
692
  },
693
693
  _borderColor() {
694
- return this._isColmo ? 'rgba(255,255,255,0.14)' : '#DDDDDD'
694
+ return this._isColmo ? '#343639' : '#DDDDDD'
695
695
  },
696
696
  useFakeBorder() {
697
697
  return JSON.stringify(this.fakeBorderStyle) !== '{}'
@@ -968,7 +968,7 @@ export default {
968
968
  // 底部border样式
969
969
  fakeBorderStyleRender() {
970
970
  return {
971
- backgroundColor: this._isColmo ? 'rgba(255,255,255,0.14)' : '#DDDDDD',
971
+ backgroundColor: this._isColmo ? '#343639' : '#DDDDDD',
972
972
  ...this.fakeBorderStyle
973
973
  }
974
974
  }
@@ -26,7 +26,7 @@
26
26
  align-items: center;
27
27
  }
28
28
  .active-cell:active {
29
- background-color: #44464b;
29
+ background-color: #343639;
30
30
  }
31
31
  .fakeSubBorder {
32
32
  background-color: rgba(255, 255, 255, 0.1);
@@ -18,10 +18,10 @@
18
18
 
19
19
  }
20
20
  .dof-collapse-item-content {
21
- background-color: #303237;
21
+ background-color: #1c1e21;
22
22
  }
23
23
  .dof-item-body {
24
- background-color: #303237;
24
+ background-color: #1c1e21;
25
25
  }
26
26
  .bottom-line {
27
27
  border-bottom-color: rgba(255, 255, 255, 0.1);
@@ -5,7 +5,7 @@
5
5
  class="title"
6
6
  @click="onCollapseHandler"
7
7
  :style="{
8
- 'backgroundColor:active': _isColmo ? 'rgba(255,255,255,0.14)' : _isDiablo ? '#1d1f21' : '#fff'
8
+ 'backgroundColor:active': _isColmo ? '#343639' : _isDiablo ? '#1d1f21' : '#fff'
9
9
  }"
10
10
  >
11
11
  <div :class="['title-box', collapsed_ ? 'bottom-line' : '']">
@@ -189,7 +189,7 @@ export default {
189
189
  },
190
190
  _inputStyle() {
191
191
  return {
192
- backgroundColor: this.bgColor ? this.bgColor : this._isColmo ? '#303237' : '#fff',
192
+ backgroundColor: this.bgColor ? this.bgColor : this._isColmo ? '#1d1f22' : '#fff',
193
193
  height: this._height + 'px',
194
194
  lineHeight: this._height + 'px',
195
195
  ...this.inputStyle
@@ -2,19 +2,19 @@
2
2
  .borderRight {
3
3
  position: absolute;
4
4
  width: 1px;
5
- background-color: #3E4144;
5
+ background-color: #353639;
6
6
  right: 0;
7
7
  }
8
8
  .borderBottom {
9
9
  position: absolute;
10
10
  height: 1px;
11
- background-color: #3E4144;
11
+ background-color: #353639;
12
12
  bottom: 0;
13
13
  }
14
14
  .delta {
15
15
  width: 26px;
16
16
  height: 26px;
17
- background-color: #3E4144;
17
+ background-color: #353639;
18
18
  position: absolute;
19
19
  right: -13px;
20
20
  bottom: -13px;
@@ -29,7 +29,7 @@ export default {
29
29
  },
30
30
  isShowDelta: {
31
31
  type: Boolean,
32
- default: false
32
+ default: true
33
33
  },
34
34
  bgColor: {
35
35
  type: String,
@@ -45,7 +45,7 @@ export default {
45
45
  computed: {
46
46
  _backgroundColor() {
47
47
  if (this.bgColor !== '') return this.bgColor
48
- return this._isColmo ? '#303237' : '#fff'
48
+ return this._isColmo ? '#1d1f22' : '#fff'
49
49
  }
50
50
  }
51
51
  }
@@ -57,9 +57,4 @@ export default {
57
57
  flex-wrap: nowrap;
58
58
  overflow: hidden;
59
59
  }
60
- @media screen and (weex-theme: colmo) {
61
- .dof-numcard-row {
62
- border-radius: 0px;
63
- }
64
- }
65
60
  </style>
@@ -25,7 +25,7 @@
25
25
  class="fakeStyle"
26
26
  v-if="!isLast && isShowBorder"
27
27
  :style="{
28
- backgroundColor: _isColmo ? 'rgba(255, 255, 255, 0.14)' : '#dddddd',
28
+ backgroundColor: _isColmo ? 'rgba(255, 255, 255, 0.1)' : '#dddddd',
29
29
  right: isFullBorder ? '0px' : '24px'
30
30
  }"
31
31
  ></div>
@@ -116,7 +116,7 @@ export default {
116
116
  backgroundColor() {
117
117
  const { _isColmo, _isDiablo } = this
118
118
  // 27282a
119
- return _isColmo ? '#303237' : _isDiablo ? '#101315' : '#FFFFFF'
119
+ return _isColmo ? '#1c1e21' : _isDiablo ? '#101315' : '#FFFFFF'
120
120
  },
121
121
  cellStyle() {
122
122
  return { backgroundColor: this.backgroundColor }
@@ -7,8 +7,7 @@
7
7
  height: 88px;
8
8
  flex-direction: row;
9
9
  align-items: center; */
10
- /* background-color: #303237; */
11
- background-color: transparent;
10
+ background-color: #1C1E21;
12
11
  height: 120px;
13
12
  }
14
13
  .search-bar-input {
@@ -26,7 +25,7 @@
26
25
  top: 24px;
27
26
  font-size: 32px;
28
27
  background-color: rgba(177,193,234,0.05);
29
- border-radius: 16px;
28
+ border-radius: 0px;
30
29
  color: rgba(255,255,255,0.80);
31
30
  placeholder-color: rgba(255,255,255,0.40);
32
31
  }
@@ -8,7 +8,7 @@
8
8
  flex-direction: row;
9
9
  height: 64px;
10
10
  padding: 0 24px;
11
- border-radius: 8px;
11
+ border-radius: 0px;
12
12
  /* background-color: #232323; */
13
13
  justify-content: center;
14
14
  align-items: center;
@@ -3,8 +3,8 @@
3
3
  :class="[
4
4
  'widget',
5
5
  hasMargin && 'tab-margin',
6
- tabTitles.length === 2 && !isSlot && type != 'third-group' && !isFlexStart && 'tab-padding-160',
7
- tabTitles.length === 3 && !isSlot && type != 'third-group' && !isFlexStart && 'tab-padding-40',
6
+ tabTitles.length === 2 && !isSlot && type != 'third-group' && 'tab-padding-160',
7
+ tabTitles.length === 3 && !isSlot && type != 'third-group' && 'tab-padding-40',
8
8
  isSlot && 'flex-expand-layout',
9
9
  type == 'third-group' && 'thirdTabPanel'
10
10
  ]"
@@ -94,13 +94,13 @@
94
94
  <!-- 一级和二级标签 else-->
95
95
  <!-- :style="{backgroundColor: '#00A4F2'}" -->
96
96
  <scroller
97
- :class="['tab-title-list', tabTitles.length <= 5 && 'space-around-layout', isFlexStart && 'flex-start-layout']"
97
+ :class="['tab-title-list', tabTitles.length <= 5 && 'space-around-layout']"
98
98
  :show-scrollbar="false"
99
99
  scroll-direction="horizontal"
100
100
  v-if="type !== 'third' && type !== 'third-group'"
101
101
  >
102
102
  <div
103
- :class="['title-item', tabTitles.length > 5 && 'padding-layout-32', type == 'primary' && 'title-item-primary', isFlexStart && tabTitles.length - 1 !== index && 'flex-start-item']"
103
+ :class="['title-item', tabTitles.length > 5 && 'padding-layout-32', type == 'primary' && 'title-item-primary']"
104
104
  v-for="(v, index) in tabTitles"
105
105
  :key="index"
106
106
  :ref="'dof-tab-title-' + index"
@@ -111,7 +111,7 @@
111
111
  <text
112
112
  :class="['tab-text', 'dot-tab-text']"
113
113
  :style="{
114
- fontSize: isFlexStart && currentPage === index ? '36px' : isFlexStart && currentPage !== index ? '28px' : type === 'primary' ? '32px' : '28px',
114
+ fontSize: type === 'primary' ? '32px' : '28px',
115
115
  fontWeight: currentPage === index && mergeStyleOption.isActiveTitleBold ? 'normal' : 'normal',
116
116
  color: currentPage === index ? mergeStyleOption.activeTitleColor : mergeStyleOption.titleColor
117
117
  }"
@@ -186,11 +186,7 @@ export default {
186
186
  bgColor: {
187
187
  type: String,
188
188
  default: ''
189
- },
190
- isFlexStart: {
191
- type: Boolean,
192
- default: false
193
- },
189
+ }
194
190
  },
195
191
  data: () => ({
196
192
  currentPage: 0
@@ -464,13 +460,6 @@ export default {
464
460
  .space-around-layout {
465
461
  justify-content: space-around;
466
462
  }
467
- .flex-start-layout {
468
- justify-content: flex-start;
469
- flex: 1;
470
- }
471
- .flex-start-item {
472
- margin-right: 32px;
473
- }
474
463
 
475
464
  .padding-layout-32 {
476
465
  padding: 0 32px;