doway-coms 1.6.35 → 1.6.37

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": "doway-coms",
3
- "version": "1.6.35",
3
+ "version": "1.6.37",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div class="liu-yan" style="background-color: #eaeef1">
3
3
  <!-- style="overflow: auto" -->
4
- <div class="list">
4
+ <div class="list" :style="{ height: listHeight - 110 + 'px' }">
5
5
  <a-list
6
- v-if="remark.length > 0"
6
+ v-if="remarkData.length > 0"
7
7
  item-layout="horizontal"
8
8
  :data-source="remarkData"
9
9
  style="box-shadow: 3px 3px 6px #cad1d7"
@@ -110,6 +110,9 @@ import {
110
110
  export default {
111
111
  name: "LeaveAMessage",
112
112
  props: {
113
+ listHeight: {
114
+ type: Number,
115
+ },
113
116
  limitSize: {
114
117
  // 限制上传大小
115
118
  type: Number,
@@ -294,10 +297,10 @@ export default {
294
297
  }
295
298
  ::v-deep(.ant-list-item) {
296
299
  padding: 12px 10px;
300
+ position: relative;
297
301
  }
298
302
  .list {
299
303
  padding: 15px 15px;
300
- height: 540px;
301
304
  overflow: auto;
302
305
  .close-icon {
303
306
  position: absolute;
@@ -344,6 +347,8 @@ export default {
344
347
  .input-box {
345
348
  background-color: #fff;
346
349
  padding: 10px 10px 0;
350
+ min-height: 100px;
351
+ max-height: 100px;
347
352
  }
348
353
  .msg-content {
349
354
  box-sizing: border-box;