zydx-plus 1.35.615 → 1.35.617

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.35.615",
3
+ "version": "1.35.617",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -119,6 +119,7 @@ import Mess from '../../tipBox/index'
119
119
  let stayTime = 0
120
120
  let timer = null
121
121
  export default {
122
+ name: 'zydx-paint',
122
123
  components: {Sketchpad, dragPopup2},
123
124
  data() {
124
125
  return {
@@ -86,7 +86,7 @@
86
86
  v-model:value="item.selectValue" :placeholder="item.placeholder"></Select>
87
87
  </div>
88
88
  <div class="cal" ref="calenderRefId" v-if="item.type === 'calender'">
89
- <input type="text" :placeholder="item.placeholder" @focus="focus" @blur="blur" :maxlength="item.maxlength"
89
+ <input type="text" :placeholder="item.placeholder" @focus="focus" :maxlength="item.maxlength"
90
90
  v-model="item.value" :disabled="item.disabled"/>
91
91
  <div class="dateEmpty" @click="emptyCal($event,item)">
92
92
  <svg t="1747276919145" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4844" width="15" height="15"><path d="M511.333 127.333c51.868 0 102.15 10.144 149.451 30.15 45.719 19.337 86.792 47.034 122.078 82.321 35.287 35.286 62.983 76.359 82.321 122.078 20.006 47.3 30.15 97.583 30.15 149.451s-10.144 102.15-30.15 149.451c-19.337 45.719-47.034 86.792-82.321 122.078-35.286 35.287-76.359 62.983-122.078 82.321-47.3 20.006-97.583 30.15-149.451 30.15s-102.15-10.144-149.451-30.15c-45.719-19.337-86.792-47.034-122.078-82.321-35.287-35.286-62.983-76.359-82.321-122.078-20.006-47.3-30.15-97.583-30.15-149.451s10.144-102.15 30.15-149.451c19.337-45.719 47.034-86.792 82.321-122.078 35.286-35.287 76.359-62.983 122.078-82.321 47.301-20.006 97.583-30.15 149.451-30.15m0-64c-247.424 0-448 200.576-448 448s200.576 448 448 448 448-200.576 448-448-200.576-448-448-448z" fill="#999999" p-id="4845"></path><path d="M557.254 512l147.373-147.373c12.497-12.497 12.497-32.758 0-45.255-12.496-12.497-32.758-12.497-45.254 0L512 466.746 364.627 319.373c-12.497-12.497-32.758-12.497-45.255 0s-12.497 32.758 0 45.255L466.746 512 319.373 659.373c-12.497 12.496-12.497 32.758 0 45.254C325.621 710.876 333.811 714 342 714s16.379-3.124 22.627-9.373L512 557.254l147.373 147.373C665.621 710.876 673.811 714 682 714s16.379-3.124 22.627-9.373c12.497-12.496 12.497-32.758 0-45.254L557.254 512z" fill="#999999" p-id="4846"></path></svg>
@@ -94,7 +94,7 @@
94
94
  <Calendar v-model:open="tip" :domeElement="$refs.calenderRefId?.[0]" @cancel="cancelCal" @confirm="confirm($event,item)"></Calendar>
95
95
  </div>
96
96
  <div class="cal" ref="calenderYearRefId" v-if="item.type === 'calenderYear'">
97
- <input type="text" :placeholder="item.placeholder" @focus="focusYear" @blur="blurYear" :maxlength="item.maxlength"
97
+ <input type="text" :placeholder="item.placeholder" @focus="focusYear" :maxlength="item.maxlength"
98
98
  v-model="item.value" :disabled="item.disabled"/>
99
99
  <div class="dateEmpty" @click="emptyYear($event,item)">
100
100
  <svg t="1747276919145" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4844" width="15" height="15"><path d="M511.333 127.333c51.868 0 102.15 10.144 149.451 30.15 45.719 19.337 86.792 47.034 122.078 82.321 35.287 35.286 62.983 76.359 82.321 122.078 20.006 47.3 30.15 97.583 30.15 149.451s-10.144 102.15-30.15 149.451c-19.337 45.719-47.034 86.792-82.321 122.078-35.286 35.287-76.359 62.983-122.078 82.321-47.3 20.006-97.583 30.15-149.451 30.15s-102.15-10.144-149.451-30.15c-45.719-19.337-86.792-47.034-122.078-82.321-35.287-35.286-62.983-76.359-82.321-122.078-20.006-47.3-30.15-97.583-30.15-149.451s10.144-102.15 30.15-149.451c19.337-45.719 47.034-86.792 82.321-122.078 35.286-35.287 76.359-62.983 122.078-82.321 47.301-20.006 97.583-30.15 149.451-30.15m0-64c-247.424 0-448 200.576-448 448s200.576 448 448 448 448-200.576 448-448-200.576-448-448-448z" fill="#999999" p-id="4845"></path><path d="M557.254 512l147.373-147.373c12.497-12.497 12.497-32.758 0-45.255-12.496-12.497-32.758-12.497-45.254 0L512 466.746 364.627 319.373c-12.497-12.497-32.758-12.497-45.255 0s-12.497 32.758 0 45.255L466.746 512 319.373 659.373c-12.497 12.496-12.497 32.758 0 45.254C325.621 710.876 333.811 714 342 714s16.379-3.124 22.627-9.373L512 557.254l147.373 147.373C665.621 710.876 673.811 714 682 714s16.379-3.124 22.627-9.373c12.497-12.496 12.497-32.758 0-45.254L557.254 512z" fill="#999999" p-id="4846"></path></svg>
@@ -352,13 +352,9 @@ export default {
352
352
  focus() {
353
353
  this.tip = true
354
354
  },
355
- blur() {
356
- this.tip = false
357
- },
358
- blurYear(){
359
- this.tipYear = false
360
- },
361
355
  confirm(e, data) {
356
+ console.log('e',e)
357
+ console.log('e',data)
362
358
  data.value = e.start
363
359
  this.tip = false
364
360
  },
package/src/index.js CHANGED
@@ -87,7 +87,7 @@ function install(app) {
87
87
  }
88
88
 
89
89
  export default {
90
- version: '1.35.615',
90
+ version: '1.35.617',
91
91
  install,
92
92
  Calendar,
93
93
  Message,