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 +10 -0
- package/dist/index.native.js +27 -34
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +46 -45
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-bottom-bar/colmo.css +0 -1
- 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 +4 -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 +2 -7
- package/packages/dof-radio-list/radio-item.vue +2 -2
- package/packages/dof-searchbar/colmo.css +2 -3
- package/packages/dof-tab-page/colmo.css +1 -1
- package/packages/dof-tab-page/index.vue +6 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@media screen and (weex-theme: colmo) {
|
|
2
2
|
.dof-btn-highlight-primary-default:active {
|
|
3
|
-
background-color: #
|
|
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: #
|
|
12
|
+
color: #bb644a;
|
|
13
13
|
}
|
|
14
14
|
.btn-text {
|
|
15
15
|
font-family: PingFangSC-Regular;
|
|
@@ -191,7 +191,7 @@ export const STYLE_MAP = {
|
|
|
191
191
|
backgroundColor: '#B35336'
|
|
192
192
|
},
|
|
193
193
|
base: {
|
|
194
|
-
backgroundColor: '#
|
|
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: '#
|
|
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: '#
|
|
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: '
|
|
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: '
|
|
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: '
|
|
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 ? '#
|
|
117
|
+
backgroundColor: this._isColmo ? '#1c1e21' : (this._isDiablo ? '#171c1f' : '#fff'),
|
|
118
118
|
...tmp,
|
|
119
119
|
...this.cardStyle
|
|
120
120
|
}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
:code="avatarIconFont"
|
|
28
28
|
:size="avatarIconFontSize"
|
|
29
29
|
:color="_isColmo ? 'rgba(255,255,255,0.80)' : '#1E2E37'"
|
|
30
|
+
@dofIconFontClicked="onClick"
|
|
30
31
|
></dof-iconfont>
|
|
31
32
|
</slot>
|
|
32
33
|
</div>
|
|
@@ -688,10 +689,10 @@ export default {
|
|
|
688
689
|
},
|
|
689
690
|
_backgroundColor() {
|
|
690
691
|
if (this.backgroundColor) return this.backgroundColor
|
|
691
|
-
return this._isColmo ? '#
|
|
692
|
+
return this._isColmo ? '#1d1f22' : this._isDiablo ? '#101315' : '#ffffff'
|
|
692
693
|
},
|
|
693
694
|
_borderColor() {
|
|
694
|
-
return this._isColmo ? '
|
|
695
|
+
return this._isColmo ? '#343639' : '#DDDDDD'
|
|
695
696
|
},
|
|
696
697
|
useFakeBorder() {
|
|
697
698
|
return JSON.stringify(this.fakeBorderStyle) !== '{}'
|
|
@@ -968,7 +969,7 @@ export default {
|
|
|
968
969
|
// 底部border样式
|
|
969
970
|
fakeBorderStyleRender() {
|
|
970
971
|
return {
|
|
971
|
-
backgroundColor: this._isColmo ? '
|
|
972
|
+
backgroundColor: this._isColmo ? '#343639' : '#DDDDDD',
|
|
972
973
|
...this.fakeBorderStyle
|
|
973
974
|
}
|
|
974
975
|
}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
}
|
|
20
20
|
.dof-collapse-item-content {
|
|
21
|
-
background-color: #
|
|
21
|
+
background-color: #1c1e21;
|
|
22
22
|
}
|
|
23
23
|
.dof-item-body {
|
|
24
|
-
background-color: #
|
|
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 ? '
|
|
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 ? '#
|
|
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: #
|
|
5
|
+
background-color: #353639;
|
|
6
6
|
right: 0;
|
|
7
7
|
}
|
|
8
8
|
.borderBottom {
|
|
9
9
|
position: absolute;
|
|
10
10
|
height: 1px;
|
|
11
|
-
background-color: #
|
|
11
|
+
background-color: #353639;
|
|
12
12
|
bottom: 0;
|
|
13
13
|
}
|
|
14
14
|
.delta {
|
|
15
15
|
width: 26px;
|
|
16
16
|
height: 26px;
|
|
17
|
-
background-color: #
|
|
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:
|
|
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 ? '#
|
|
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.
|
|
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 ? '#
|
|
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
|
-
|
|
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:
|
|
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
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
:class="[
|
|
4
4
|
'widget',
|
|
5
5
|
hasMargin && 'tab-margin',
|
|
6
|
-
tabTitles.length === 2 && !isSlot && type != 'third-group' &&
|
|
7
|
-
tabTitles.length === 3 && !isSlot && type != 'third-group' &&
|
|
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'
|
|
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'
|
|
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:
|
|
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;
|