dolphin-weex-ui 2.1.2 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dolphin-weex-ui",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "inteligense cross platform frame",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -0,0 +1,32 @@
1
+ @media screen and (weex-theme: colmo) {
2
+ .g-popover {
3
+ box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.4);
4
+ }
5
+ .content-inner {
6
+ border-radius: 0px;
7
+ padding: 32px;
8
+ }
9
+ .u-popover-arrow {
10
+ background-color: #292b2f;
11
+ }
12
+ .textContent {
13
+ font-family: PingFangSC-Regular;
14
+ font-size: 28px;
15
+ color: rgba(255,255,255,0.80);
16
+ font-weight: 400;
17
+ }
18
+ .btn-text {
19
+ font-family: PingFangSC-Regular;
20
+ font-size: 28px;
21
+ color: rgba(255,255,255,0.80);
22
+ }
23
+ .borderBottom {
24
+ border-bottom-width: 1px;
25
+ border-bottom-color: #314144;
26
+ }
27
+ .u-popover-inner {
28
+ padding-left: 16px;
29
+ padding-right: 16px;
30
+ border-radius: 0;
31
+ }
32
+ }
@@ -0,0 +1,4 @@
1
+ export default {
2
+ close:
3
+ 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAECdJREFUeF7tnb2LZUkZh+s0JgoGBiKCGK0bOBgYKWhi5l8wKAoiTJ9GMBlRA5OdycQNNDC5pwdpZMFl/wdBEBRMjGZAcUX8CozEVXEm6KPXubPT03Nv33rf+nrrrWfSqapT9dT7e7pO3dszU+APBCAwLIFp2JWzcAhAICAAigACAxNAAANvPkuHAAKgBiAwMAEEMPDms3QIIABqAAIDE0AAA28+S4cAAqAGIDAwAQQw8OazdAggAGoAAgMTQAADbz5LhwACoAYg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D8TeqXh2Yg0LMETAiA8GeoQoZoSqBXCTQXAOFvWrc8PCOBHiXQVACK8PM5f8aCZaj8BHqTQDMBEP78xceINgj0JIEmAlCEn8/5bdQ2s4gk0IsEqguA8EdWEM26J9CDBKoKQBF+3vm7j8HYC7AugWoCIPxjB2Hk1VuWQBUBKMLPO//IiXG4dqsSKC4Awu+wmlmSioBFCRQVwJ07dz50cnLy0xDCrUhi/OSPBEWzPglIJXB5efn5Bw8e/LnUaosK4PT09JvTNL0eOXnCHwmKZn0TEErg+8uyfKPUiosKYJ7nNXLihD8SFM18EJBIYFmWYjktNvB2m+Z5/lMI4SNHtozw+6hpViEkECmBvyzLcixDwic/b15UAGdnZ79c1/XTN8yO8Ku3jo4eCByTwLquvzo/P/9UqbWWFsBX13X90YHJE/5Su8q4XRG4SQLTNH1ls9n8uNSCigpg9xrwnRDC1668CvwxhPD6siw/LLUoxoVAbwTmef56COFbIYSP7ub+hxDCZlmW75ZcS3EBPJv86enpqycnJ+95/Pjx7y8uLv5TclGMDYEeCdy9e/e977zzzsdOTk7+tSzL2zXWUE0ANRbDMyAAARkBBCDjRWsIuCKAAFxtJ4uBgIwAApDxojUEXBFAAK62k8VAQEYAAch40RoCrgggAFfbyWIgICOAAGS8aA0BVwQQgKvtZDEQkBFAADJetIaAKwIIwNV2shgIyAggABkvWkPAFQEE4Go7WQwEZAQQgIwXrSHgigACcLWdLAYCMgIIQMaL1hBwRQABuNpOFgMBGQEEIONFawi4IoAAXG0ni4GAjAACkPGiNQRcEUAArraTxUBARgAByHjRGgKuCCAAV9vJYiAgI4AAZLxoDQFXBBCAq+1kMRCQEUAAMl60hoArAv8FjRkypi6vgXAAAAAASUVORK5CYII='
4
+ }
@@ -6,7 +6,7 @@
6
6
  !-->
7
7
  <template>
8
8
  <div class="wrapper">
9
- <div class="g-cover" ref="dof-cover" v-if="show" @click="hideAction" :style="coverStyle"></div>
9
+ <div class="g-cover" ref="dof-cover" v-if="show" @click="clickCover" :style="coverStyle"></div>
10
10
  <div ref="dof-popover" class="g-popover" v-if="show && buttons.length" :style="contentStyle">
11
11
  <div :class="['u-popover-arrow', theme !== 'white' && 'u-popover-theme-dark']" :style="arrowStyle"></div>
12
12
  <scroller
@@ -28,19 +28,53 @@
28
28
  :key="i"
29
29
  @click="dofButtonClicked(i, item.key)"
30
30
  >
31
- <image :src="item.icon" v-if="item.icon" class="btn-icon"></image>
31
+ <image :src="item.icon" v-if="item.icon && !_isColmo" class="btn-icon"></image>
32
+ <dof-iconfont
33
+ v-if="item.icon && _isColmo"
34
+ :code="item.icon"
35
+ :size="56"
36
+ :color="textStyle.color ? textStyle.color : 'rgba(255,255,255,0.80)'"
37
+ @dofIconFontClicked="dofButtonClicked(i, item.key)"
38
+ ></dof-iconfont>
32
39
  <text :class="['btn-text', theme !== 'white' && 'btn-text-theme-dark']" :style="textStyle">{{
33
40
  item.text
34
41
  }}</text>
35
42
  </div>
36
43
  </scroller>
37
44
  </div>
45
+ <div ref="dof-popover" class="g-popover" v-if="show && !buttons.length" :style="contentStyle" @click="() => {}">
46
+ <div :class="['u-popover-arrow', theme !== 'white' && 'u-popover-theme-dark']" :style="arrowStyle"></div>
47
+ <div class="content-inner" ref="dof-inner-popover" :style="innerContentStyle">
48
+ <slot>
49
+ <text class="textContent" :style="textStyle">{{ textContent }}</text>
50
+ <slot name="icon">
51
+ <div class="closeBox" v-if="isShowClose" @click="$emit('clickedCloseBtn')">
52
+ <image v-if="!_isColmo" :src="imgs.close" class="closeIcon"></image>
53
+ <dof-iconfont
54
+ v-else
55
+ :code="'\u4725'"
56
+ :size="32"
57
+ :color="_isColmo ? 'rgba(255,255,255,0.80)' : '#333333'"
58
+ @dofIconFontClicked="$emit('clickedCloseBtn')"
59
+ ></dof-iconfont>
60
+ </div>
61
+ </slot>
62
+ </slot>
63
+ </div>
64
+ </div>
38
65
  </div>
39
66
  </template>
40
67
 
41
68
  <script>
69
+ const { env } = weex.config
42
70
  const animation = weex.requireModule('animation')
71
+ const dom = weex.requireModule('dom')
72
+ import imgs from './imgs'
73
+ import ColmoMixin from '../../mixins/colmo'
74
+ import DofIconfont from '../dof-iconfont'
43
75
  export default {
76
+ mixins: [ColmoMixin],
77
+ components: { DofIconfont },
44
78
  props: {
45
79
  mode: {
46
80
  type: String,
@@ -84,12 +118,55 @@ export default {
84
118
  textStyle: {
85
119
  type: Object,
86
120
  default: () => ({})
121
+ },
122
+ textContent: {
123
+ type: String,
124
+ default: ''
125
+ },
126
+ innerBgColor: {
127
+ type: String,
128
+ default: ''
129
+ },
130
+ isClickCoverHide: {
131
+ type: Boolean,
132
+ default: true
133
+ },
134
+ isShowClose: {
135
+ type: Boolean,
136
+ default: false
137
+ },
138
+ width: {
139
+ type: Number,
140
+ default: 0
141
+ },
142
+ elPos: {
143
+ type: Object,
144
+ default: null
87
145
  }
88
146
  },
89
147
  data: () => ({
148
+ sHeight: (env.deviceHeight / env.deviceWidth) * 750,
90
149
  show: false,
91
- showIn: false
150
+ showIn: false,
151
+ imgs,
152
+ position_: { x: 0, y: 0 }
92
153
  }),
154
+ watch: {
155
+ elPos(val) {
156
+ setTimeout(() => {
157
+ this.handleElPos(val)
158
+ }, 100)
159
+ },
160
+ position: {
161
+ handler(val) {
162
+ if (!this.elPos) {
163
+ this.position_ = val
164
+ }
165
+ },
166
+ immediate: true
167
+ }
168
+ },
169
+ created() {},
93
170
  computed: {
94
171
  coverStyle() {
95
172
  return this.coverColor
@@ -138,10 +215,21 @@ export default {
138
215
  return _translates.join(' ')
139
216
  },
140
217
  contentStyle() {
141
- const { x = 0, y = 0 } = this.position
218
+ const { x = 0, y = 0 } = this.position_
142
219
  const style = {}
143
- x < 0 ? (style.right = `${-x}px`) : (style.left = `${x}px`)
144
- y < 0 ? (style.bottom = `${-y}px`) : (style.top = `${y}px`)
220
+ if (!this.elPos) {
221
+ x < 0 ? (style.right = `${-x}px`) : (style.left = `${x}px`)
222
+ y < 0 ? (style.bottom = `${-y}px`) : (style.top = `${y}px`)
223
+ } else {
224
+ if (this.arrowPosition.pos === 'bottom') {
225
+ style.left = `${x}px`
226
+ style.top = `${y}px`
227
+ } else {
228
+ style.left = `${x}px`
229
+ style.top = `${y}px`
230
+ }
231
+ }
232
+
145
233
  style.opacity = this.hasAnimation || !this.showIn ? '0' : '1'
146
234
  style.transform = this.hasAnimation || !this.showIn ? this.contentTransform : 'scale(1)'
147
235
  style.transformOrigin = this.transformOrigin
@@ -150,13 +238,15 @@ export default {
150
238
  arrowStyle() {
151
239
  let { x = 0, y = 0 } = this.arrowPosition
152
240
  const { pos = 'top' } = this.arrowPosition
153
- const style = {}
241
+ const style = {
242
+ backgroundColor: this.bgColor
243
+ }
154
244
  switch (pos) {
155
245
  case 'top':
156
246
  style.top = '6px'
157
247
  case 'bottom': //eslint-disable-line
158
248
  !style.top && (style.bottom = '6px')
159
- style.transform = 'scaleX(0.8) rotate(45deg)'
249
+ // style.transform = 'rotateZ(45deg) rotateY(45deg)'
160
250
  if (x >= 0 && x < 22) {
161
251
  x = 22
162
252
  } else if (x < 0 && x > -22) {
@@ -168,7 +258,7 @@ export default {
168
258
  style.left = '6px'
169
259
  case 'right': //eslint-disable-line
170
260
  !style.left && (style.right = '6px')
171
- style.transform = 'scaleY(0.8) rotate(45deg)'
261
+ // style.transform = 'scaleY(0.8) rotate(45deg)'
172
262
  if (y >= 0 && y < 22) {
173
263
  y = 22
174
264
  } else if (y < 0 && y > -22) {
@@ -185,10 +275,12 @@ export default {
185
275
  let { layoutDirection } = this
186
276
  if (layoutDirection === 'row') {
187
277
  return {
278
+ ...this.innerContentStyle,
188
279
  flexDirection: 'row'
189
280
  }
190
281
  } else {
191
282
  return {
283
+ ...this.innerContentStyle,
192
284
  flexDirection: 'column'
193
285
  }
194
286
  }
@@ -204,6 +296,17 @@ export default {
204
296
  borderBottomWidth: '1px'
205
297
  }
206
298
  }
299
+ },
300
+ bgColor() {
301
+ return this.innerBgColor ? this.innerBgColor : this.theme === 'dark' ? '#000' : this._isColmo ? '#292b2f' : '#fff'
302
+ },
303
+ innerContentStyle() {
304
+ const style = {
305
+ backgroundColor: this.bgColor
306
+ }
307
+ if (this.width) style.width = this.width + 'px'
308
+ if (this._isColmo && this.isShowClose) style.paddingRight = '10px'
309
+ return style
207
310
  }
208
311
  },
209
312
  methods: {
@@ -337,6 +440,33 @@ export default {
337
440
  */
338
441
  setAnimationLock() {
339
442
  this.animationLock = true
443
+ },
444
+ clickCover() {
445
+ this.isClickCoverHide && this.hideAction()
446
+ this.$emit('dofPopoverCoverClicked')
447
+ },
448
+ getPosition(el) {
449
+ return new Promise((resolve, reject) => {
450
+ dom.getComponentRect(el, result => {
451
+ let size = result.size || {}
452
+ resolve(size)
453
+ })
454
+ })
455
+ },
456
+ async handleElPos(val) {
457
+ const res = await this.getPosition(val.el)
458
+ if (this.arrowPosition.pos === 'top' || !this.arrowPosition.pos) {
459
+ this.position_ = { x: res.left - 15 + this.elPos.offsetX, y: res.top + res.height + this.elPos.offsetY }
460
+ }
461
+ if (this.arrowPosition.pos === 'bottom') {
462
+ this.position_ = { x: res.left - 15 + this.elPos.offsetX, y: res.top - 110 - 15 + this.elPos.offsetY }
463
+ }
464
+ if (this.arrowPosition.pos === 'left') {
465
+ this.position_ = { x: res.left + res.width + 10 + this.elPos.offsetX, y: res.top - 15 + this.elPos.offsetY }
466
+ }
467
+ if (this.arrowPosition.pos === 'right') {
468
+ this.position_ = { x: res.left - 285 + this.elPos.offsetX, y: res.top - 15 + this.elPos.offsetY }
469
+ }
340
470
  }
341
471
  }
342
472
  }
@@ -362,16 +492,36 @@ export default {
362
492
  }
363
493
  .u-popover-arrow {
364
494
  position: absolute;
365
- border-radius: 4px;
366
- width: 30px;
367
- height: 30px;
495
+ /* border-radius: 4px; */
496
+ width: 36px;
497
+ height: 36px;
368
498
  background-color: #ffffff;
499
+ transform: rotateZ(45deg);
369
500
  }
370
501
  .u-popover-inner {
371
502
  border-radius: 16px;
372
503
  background-color: #ffffff;
373
504
  max-width: 686px;
374
505
  }
506
+ .content-inner {
507
+ border-radius: 16px;
508
+ max-width: 686px;
509
+ padding: 24px;
510
+ display: flex;
511
+ flex-direction: row;
512
+ justify-content: space-between;
513
+ align-items: center;
514
+ }
515
+ .closeBox {
516
+ padding-top: 10px;
517
+ padding-bottom: 10px;
518
+ padding-right: 0px;
519
+ padding-left: 10px;
520
+ }
521
+ .closeIcon {
522
+ width: 18px;
523
+ height: 18px;
524
+ }
375
525
 
376
526
  .u-popover-theme-white {
377
527
  background-color: #ffffff;
@@ -385,8 +535,8 @@ export default {
385
535
  align-items: center;
386
536
  /* margin-left: 10px;
387
537
  margin-right: 10px; */
388
- padding-left: 20px;
389
- padding-right: 20px;
538
+ /* padding-left: 20px; */
539
+ /* padding-right: 20px; */
390
540
  }
391
541
  .row-layout {
392
542
  padding-left: 36px;
@@ -414,10 +564,11 @@ export default {
414
564
  }
415
565
  .btn-text {
416
566
  flex: 1;
417
- height: 80px;
567
+ height: 96px;
418
568
  font-size: 28px;
419
- line-height: 80px;
569
+ line-height: 96px;
420
570
  color: #232323;
571
+ margin-left: 8px;
421
572
  }
422
573
  .btn-text-theme-dark {
423
574
  color: #ffffff;
@@ -425,4 +576,13 @@ export default {
425
576
  .text-align-center {
426
577
  text-align: center;
427
578
  }
579
+ .textContent {
580
+ flex: 1;
581
+ font-family: PingFangSC-Regular;
582
+ font-size: 24px;
583
+ color: #666666;
584
+ font-weight: 400;
585
+ }
428
586
  </style>
587
+
588
+ <style scoped src="./colmo.css"></style>
@@ -43,7 +43,7 @@
43
43
  <style scoped>
44
44
  .dof-popup {
45
45
  position: fixed;
46
- width: 750px;
46
+ /* width: 750px; */
47
47
  }
48
48
  .top {
49
49
  left: 0;