doway-coms 1.6.37 → 1.6.38
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,7 +1,28 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="liu-yan" style="background-color: #eaeef1">
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<div class="input-box">
|
|
4
|
+
<!-- :auto-size="{ minRows: 2, maxRows: 2 }" -->
|
|
5
|
+
<a-textarea auto-size placeholder="写些什么..." v-model:value="remark" />
|
|
6
|
+
<a-upload
|
|
7
|
+
list-type="picture"
|
|
8
|
+
:headers="uploadHeaders"
|
|
9
|
+
:action="uploadData.picAction"
|
|
10
|
+
:data="uploadData"
|
|
11
|
+
:before-upload="beforeAvatarUpload"
|
|
12
|
+
@change="handleAvatarSuccess"
|
|
13
|
+
:file-list="fileList"
|
|
14
|
+
style="padding-top: 10px"
|
|
15
|
+
>
|
|
16
|
+
<a-icon
|
|
17
|
+
style="font-size: 16px; cursor: pointer; margin: 5px 10px"
|
|
18
|
+
type="paper-clip"
|
|
19
|
+
/>
|
|
20
|
+
</a-upload>
|
|
21
|
+
<div style="display: flex; justify-content: flex-end">
|
|
22
|
+
<a-button @click="addMsgRemark">发送</a-button>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="list" :style="{ height: listHeight - 101 + 'px' }">
|
|
5
26
|
<a-list
|
|
6
27
|
v-if="remarkData.length > 0"
|
|
7
28
|
item-layout="horizontal"
|
|
@@ -72,28 +93,6 @@
|
|
|
72
93
|
</a-list>
|
|
73
94
|
<div v-else></div>
|
|
74
95
|
</div>
|
|
75
|
-
<div class="input-box">
|
|
76
|
-
<!-- :auto-size="{ minRows: 2, maxRows: 2 }" -->
|
|
77
|
-
<a-textarea auto-size placeholder="写些什么..." v-model:value="remark" />
|
|
78
|
-
<a-upload
|
|
79
|
-
list-type="picture"
|
|
80
|
-
:headers="uploadHeaders"
|
|
81
|
-
:action="uploadData.picAction"
|
|
82
|
-
:data="uploadData"
|
|
83
|
-
:before-upload="beforeAvatarUpload"
|
|
84
|
-
@change="handleAvatarSuccess"
|
|
85
|
-
:file-list="fileList"
|
|
86
|
-
style="padding-top: 10px"
|
|
87
|
-
>
|
|
88
|
-
<a-icon
|
|
89
|
-
style="font-size: 16px; cursor: pointer; margin: 5px 10px"
|
|
90
|
-
type="paper-clip"
|
|
91
|
-
/>
|
|
92
|
-
</a-upload>
|
|
93
|
-
<div style="display: flex; justify-content: flex-end">
|
|
94
|
-
<a-button @click="addMsgRemark">发送</a-button>
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
96
|
</div>
|
|
98
97
|
</template>
|
|
99
98
|
|
|
@@ -237,7 +236,7 @@ export default {
|
|
|
237
236
|
});
|
|
238
237
|
}
|
|
239
238
|
item["avatar"] =
|
|
240
|
-
"https://
|
|
239
|
+
"https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png";
|
|
241
240
|
item["fromNowTime"] = moment(item.createTime).fromNow();
|
|
242
241
|
tmp.push(item);
|
|
243
242
|
});
|
|
@@ -347,7 +346,7 @@ export default {
|
|
|
347
346
|
.input-box {
|
|
348
347
|
background-color: #fff;
|
|
349
348
|
padding: 10px 10px 0;
|
|
350
|
-
|
|
349
|
+
min-height: 100px;
|
|
351
350
|
max-height: 100px;
|
|
352
351
|
}
|
|
353
352
|
.msg-content {
|