dolphin-weex-ui 2.0.2 → 2.0.4

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/mixins/colmo.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const ColmoMixin = {
2
2
  computed: {
3
3
  _theme() {
4
- return this.$theme ? this.$theme.getRootTheme() || this.$theme.getTheme() : ''
4
+ return this.$theme ? (this.$theme.getRootTheme && this.$theme.getRootTheme()) || this.$theme.getTheme() : ''
5
5
  },
6
6
  _isColmo() {
7
7
  if (!this.$theme) return false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dolphin-weex-ui",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "inteligense cross platform frame",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -442,7 +442,7 @@ export const COLMO_BUTTON_STYLE_MAP = {
442
442
  small: {
443
443
  width: '128px',
444
444
  height: '56px',
445
- borderRadius: '26px',
445
+ borderRadius: '28px',
446
446
  paddingLeft: '0px',
447
447
  paddingRight: '0px'
448
448
  }
@@ -37,7 +37,12 @@
37
37
  >{{ btn.hasOwnProperty('text') ? btn.text : btn }}</text
38
38
  >
39
39
  </div>
40
- <div :style="{ height: show && isipx ? '68px' : '0px' }"></div>
40
+ <div
41
+ :style="{
42
+ height: show && isipx ? '68px' : '0px',
43
+ backgroundColor: _isColmo ? '#151617' : padStyle.backgroundColor
44
+ }"
45
+ ></div>
41
46
  </div>
42
47
  </div>
43
48
  </template>
@@ -30,11 +30,11 @@
30
30
  justify-content: center;
31
31
  }
32
32
  .dof-switch-loading {
33
- width: 32px;
34
- height: 32px;
33
+ width: 48px;
34
+ height: 48px;
35
35
  position: absolute;
36
36
  left: 32px;
37
- top: 8px;
37
+ top: 0px;
38
38
  }
39
39
 
40
40
  .switch {