zydx-plus 1.35.518 → 1.35.520

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.518",
3
+ "version": "1.35.520",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -87,9 +87,10 @@ export default {
87
87
  type: String,
88
88
  default: 'rgba(75, 12, 119, 1)'
89
89
  },
90
+ // 修改拖拽弹窗默认高度,不需要下面30px
90
91
  dragStatus: {
91
92
  type: Boolean,
92
- default: true
93
+ default: false
93
94
  },
94
95
  enlargeShow: {
95
96
  type: Boolean,
@@ -103,9 +104,10 @@ export default {
103
104
  type: String,
104
105
  default: ''
105
106
  },
107
+ // 修改拖拽弹窗默认高度,不需要下面30px
106
108
  dragTextShow: {
107
109
  type: Boolean,
108
- default: true
110
+ default: false
109
111
  },
110
112
  minimize: {
111
113
  type: Boolean,
@@ -88,9 +88,10 @@ export default {
88
88
  type: String,
89
89
  default: 'rgba(75, 12, 119, 1)'
90
90
  },
91
+ // 修改拖拽弹窗默认高度,不需要下面30px
91
92
  dragStatus: {
92
93
  type: Boolean,
93
- default: true
94
+ default: false
94
95
  },
95
96
  enlargeShow: {
96
97
  type: Boolean,
@@ -104,9 +105,10 @@ export default {
104
105
  type: String,
105
106
  default: ''
106
107
  },
108
+ // 修改拖拽弹窗默认高度,不需要下面30px
107
109
  dragTextShow: {
108
110
  type: Boolean,
109
- default: true
111
+ default: false
110
112
  },
111
113
  minimize: {
112
114
  type: Boolean,
@@ -118,7 +118,7 @@
118
118
 
119
119
  <div v-if="page&&readOnly" class="read-only" ref="read-only">
120
120
  <!-- :style="{width: (wit + 20) + 'px'}"-->
121
- <div v-if="signMenuShow" class="editing-header">
121
+ <div v-if="signMenuShow" class="editing-header only-logo">
122
122
  <img :src="menusData('signMenu')?.ico" alt=""/>
123
123
  <span>{{ menusData('signMenu')?.text }}</span>
124
124
  </div>
@@ -4344,11 +4344,16 @@ label {
4344
4344
  display: flex;
4345
4345
  z-index: 1;
4346
4346
  }
4347
+ .only-logo{
4348
+ left: 15px !important;
4349
+ }
4347
4350
 
4348
4351
  .editing-header img {
4349
4352
  width: 15px;
4350
4353
  height: 15px;
4351
4354
  margin-right: 5px;
4355
+ position: relative;
4356
+ top: 2px;
4352
4357
  }
4353
4358
 
4354
4359
  .editing-header span {
@@ -4,7 +4,7 @@
4
4
  <div class="paint" :id="ids">
5
5
  <div class="paint-title"></div>
6
6
  <div class="paint-cont">
7
- <Sketchpad ref="sketchpad" :top="false"></Sketchpad>
7
+ <Sketchpad v-if="sketchpadShow" ref="sketchpad" :top="false"></Sketchpad>
8
8
  </div>
9
9
  <div class="paint-buts">
10
10
  <button class="buts" @click="exportTap">确定</button>
@@ -214,7 +214,8 @@ export default {
214
214
  ctx: null,
215
215
  canvasEle: null,
216
216
  appData: '',
217
- full: false
217
+ full: false,
218
+ sketchpadShow: true
218
219
  }
219
220
  },
220
221
  props: {
@@ -314,14 +315,12 @@ export default {
314
315
  // 清屏
315
316
  if (this.toolId === 'clear') {
316
317
  this.$refs.sketchpad.clear()
317
- // setTimeout(() => { // 解决清屏篡位的问题
318
- // this.width = this.width2 - 0.02
319
- // this.height = this.height2 - 0.02
320
- // setTimeout(() => {
321
- // this.width2 = this.width
322
- // this.height2 = this.height
323
- // },10)
324
- // },10)
318
+ setTimeout(() => { // 解决清屏篡位的问题
319
+ this.sketchpadShow = false
320
+ setTimeout(() => {
321
+ this.sketchpadShow = true
322
+ },10)
323
+ },10)
325
324
  }
326
325
  // 橡皮
327
326
  if (this.toolId === 'rubber') {
@@ -83,7 +83,7 @@
83
83
  </div>
84
84
  <div v-if="item.type === 'select'" style="display: inline-block;width: 300px;">
85
85
  <Select :options="item.option" :readonly="item.disabled" @select="item.select"
86
- v-model:value="item.selectValue"></Select>
86
+ v-model:value="item.selectValue" :placeholder="item.placeholder"></Select>
87
87
  </div>
88
88
  <div class="cal" v-if="item.type === 'calender'">
89
89
  <input type="text" :placeholder="item.placeholder" @focus="focus" :maxlength="item.maxlength"
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.518',
92
+ version: '1.35.520',
93
93
  install,
94
94
  Calendar,
95
95
  Message,