zydx-plus 1.33.417 → 1.33.418

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.417",
3
+ "version": "1.33.418",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -1,7 +1,8 @@
1
1
  <template>
2
2
  <div :style="heightStyle" class="edit">
3
- <div class="ed-head">
4
- <div class="ed-title" v-if="titleShow" :style="titleStyle" v-html="title"></div>
3
+ <div :class="{'ed-head': !titleVertical, 'ed-head-vertical': titleVertical}">
4
+ <div v-if="titleShow && titleVertical" :style="titleStyle" v-html="title"></div>
5
+ <div class="ed-title" v-if="titleShow && !titleVertical" :style="titleStyle" v-html="title"></div>
5
6
  <div class="ed-but" v-if="readOnly">
6
7
  <div class="ed-head-but" v-for="(item,index) in toolbar">
7
8
  <button v-if="item.key === 'but'" class="buts" @click="item.onClick(item,info)"
@@ -207,6 +208,10 @@ export default {
207
208
  this.ws = null
208
209
  },
209
210
  props: {
211
+ titleVertical: {
212
+ type: Boolean,
213
+ default: false
214
+ },
210
215
  data: {
211
216
  type: Object,
212
217
  default: () => {
@@ -984,7 +989,12 @@ export default {
984
989
  .ed-head-but label span {
985
990
  line-height: 16px !important;
986
991
  }
987
-
992
+ .ed-head-vertical{
993
+ overflow: hidden;
994
+ }
995
+ .ed-head-vertical .ed-but{
996
+ float: right;
997
+ }
988
998
  .ed-title {
989
999
  flex: 1;
990
1000
  text-align: left;
@@ -1053,7 +1063,6 @@ export default {
1053
1063
  .ed-head {
1054
1064
  text-align: right;
1055
1065
  }
1056
-
1057
1066
  .buts {
1058
1067
  margin-left: 1px;
1059
1068
  font-size: 12px;
package/src/index.js CHANGED
@@ -83,7 +83,7 @@ function install(app) {
83
83
  }
84
84
 
85
85
  export default {
86
- version: '1.33.417',
86
+ version: '1.33.418',
87
87
  install,
88
88
  Calendar,
89
89
  Message,