zydx-plus 1.33.340 → 1.33.342

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": "zydx-plus",
3
- "version": "1.33.340",
3
+ "version": "1.33.342",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="drag-pop" :style="position" :id="id" @click.stop="dragTap">
2
+ <div class="drag-pop" :class="{trans: transAll}" :style="position" :id="id" @click.stop="dragTap">
3
3
  <div class="drag-head" :style="{'background-color':titleColor}">
4
4
  <span @mousedown.stop="mousedown"
5
5
  @mousemove.stop="mousemove"
@@ -50,6 +50,7 @@ export default {
50
50
  state: false,//是否显示
51
51
  clientWidth: 0,
52
52
  clientHeight: 0,
53
+ transAll: false
53
54
  }
54
55
  },
55
56
  props: {
@@ -170,6 +171,14 @@ export default {
170
171
  this.x = this.clientWidth / 2 - this.footRightOffset / 2;
171
172
  this.y = this.clientHeight / 2 - this.footDownOffset / 2;
172
173
  },
174
+ getWH(v) {
175
+ this.transAll = true
176
+ this.footRightOffset = v.width
177
+ this.footDownOffset = v.height
178
+ setTimeout(() => {
179
+ this.transAll = false
180
+ },300)
181
+ },
173
182
  footDown(event, v) {
174
183
  event.preventDefault()
175
184
  this.direction = v
@@ -402,7 +411,9 @@ export default {
402
411
  animation: linkDown .3s linear forwards;
403
412
  opacity: 0;
404
413
  }
405
-
414
+ .trans{
415
+ transition: all .3s;
416
+ }
406
417
  .drag-head {
407
418
  height: 30px;
408
419
  line-height: 30px;
@@ -3,7 +3,7 @@
3
3
  <div class="tabs-li" :class="{'tab-active': actives === index}" @click="listTap(index)"
4
4
  v-for="(item,index) in list" :key="index">{{ item[column[0]] }}
5
5
  </div>
6
- <div v-if="addShow" @click="addTap" class="tabs-li tab-add">+</div>
6
+ <!-- <div v-if="addShow" @click="addTap" class="tabs-li tab-add">+</div>-->
7
7
  </div>
8
8
  </template>
9
9
 
package/src/index.js CHANGED
@@ -83,7 +83,7 @@ function install(app) {
83
83
  }
84
84
 
85
85
  export default {
86
- version: '1.33.340',
86
+ version: '1.33.342',
87
87
  install,
88
88
  Calendar,
89
89
  Message,