dolphin-weex-ui 2.2.10 → 2.2.13

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.2.10",
3
+ "version": "2.2.13",
4
4
  "description": "inteligense cross platform frame",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -51,6 +51,7 @@
51
51
  .dof-popup {
52
52
  position: fixed;
53
53
  width: 750px;
54
+ z-index: 1000;
54
55
  }
55
56
 
56
57
  .title {
@@ -60,6 +60,7 @@
60
60
  position: fixed;
61
61
  /* width: 750px; */
62
62
  overflow: hidden;
63
+ z-index: 1000;
63
64
  }
64
65
 
65
66
  .title {
@@ -1,7 +1,7 @@
1
1
  <!-- modified by liuhr7 on 19/12/28. -->
2
2
 
3
3
  <template>
4
- <WeexThemeView>
4
+ <WeexThemeView :key="disabled + ''">
5
5
  <text
6
6
  v-if="pattern === 'plain_text'"
7
7
  :class="['btn-text', isHighlight && !disabled && pattern === 'text' && !_isColmo && `dof-text-highlight-${type}`]"
@@ -43,6 +43,7 @@
43
43
  <style scoped>
44
44
  .dof-popup {
45
45
  position: fixed;
46
+ z-index: 1000;
46
47
  /* width: 750px; */
47
48
  }
48
49
  .top {
@@ -38,6 +38,7 @@
38
38
  .dof-popup {
39
39
  position: fixed;
40
40
  width: 750px;
41
+ z-index: 1000;
41
42
  }
42
43
  .top {
43
44
  left: 0;
@@ -1,16 +1,16 @@
1
1
  function promisify(fn) {
2
- return function (...args) {
3
- return new Promise(function (resolve,reject) {
4
- args.push(function (err,...arg) {
5
- if(err){
6
- reject(err)
7
- }else{
8
- resolve(...arg);
9
- }
10
- });
11
- fn.apply(null, args);
12
- })
13
- }
2
+ return function(...args) {
3
+ return new Promise(function(resolve, reject) {
4
+ args.push(function(err, ...arg) {
5
+ if (err) {
6
+ reject(err)
7
+ } else {
8
+ resolve(...arg)
9
+ }
10
+ })
11
+ fn.apply(null, args)
12
+ })
13
+ }
14
14
  }
15
15
 
16
- export { promisify }
16
+ export default promisify