meixioacomponent 0.2.98 → 0.2.99

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": "meixioacomponent",
3
- "version": "0.2.98",
3
+ "version": "0.2.99",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -8,13 +8,14 @@
8
8
  }"
9
9
  >
10
10
  <div class="item-content" v-if="!isEdit">
11
- <span
11
+ <p
12
12
  v-if="!spContentType"
13
13
  class="content-value"
14
14
  @click="handleClick('content')"
15
15
  :class="[`${config.click ? 'click' : config.color}`]"
16
- >{{ contentValue }}</span
17
16
  >
17
+ {{ contentValue }}
18
+ </p>
18
19
 
19
20
  <!-- 单选框 -->
20
21
  <el-radio-group
@@ -459,7 +460,10 @@ export default {
459
460
  visibility: hidden;
460
461
  }
461
462
  .content-value {
462
- display: inline-block;
463
+ overflow: hidden;
464
+ white-space: nowrap;
465
+ // display: inline-block;
466
+ text-overflow: ellipsis;
463
467
  color: var(--font-color-d);
464
468
  font-size: var(--font-size-s);
465
469
  font-weight: var(--font-weight-g);