@aochuang/client-sdk 1.0.379-wework-4 → 1.0.379-wework-5

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.
@@ -40,6 +40,13 @@
40
40
  </span>
41
41
  </bi-tooltip>
42
42
  </template>
43
+ <template v-if="data.recalled">
44
+ <bi-tooltip text="消息已撤回">
45
+ <span class="sdk-wework-panel-chat-status__error sdk-wework-panel-chat-status__recalled">
46
+ <svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M512 0c282.752 0 512 229.248 512 512s-229.248 512-512 512S0 794.752 0 512 229.248 0 512 0z m-50.261333 255.317333c-7.765333-39.338667-39.893333-15.36-39.893334-15.36l-213.76 192c-47.616 34.944-2.730667 60.458667-2.730666 60.458667l211.541333 190.933333c42.410667 33.066667 45.866667-17.749333 45.866667-17.749333v-86.442667c215.125333-70.144 303.36 208.341333 303.36 208.341334 7.936 15.957333 13.824 0 13.824 0C862.933333 368.682667 461.952 348.586667 461.952 348.586667z" fill="currentColor"></path></svg>
47
+ </span>
48
+ </bi-tooltip>
49
+ </template>
43
50
  </div>
44
51
  </template>
45
52
 
@@ -87,6 +94,9 @@ export default {
87
94
  font-size: 12px;
88
95
  white-space: nowrap;
89
96
  }
97
+ .sdk-wework-panel-chat-status__recalled {
98
+ opacity: .6;
99
+ }
90
100
  .sdk-wework-panel-chat-status__recall-result {
91
101
  display: flex;
92
102
  align-items: center;
@@ -4,16 +4,10 @@
4
4
  >
5
5
  <template slot-scope="{ configData }">
6
6
  <div class="sdk-wechat-panel-item" :data-id="item.id">
7
- <template v-if="item.msgType !== '_EMPTY_' && !item.recalled">
7
+ <template v-if="item.msgType !== '_EMPTY_'">
8
8
  <slot name="chat-prefix" :item="item"></slot>
9
9
  </template>
10
- <template v-if="item.recalled">
11
- <sdk-chat-control-jx-sys-text
12
- :id="item.id"
13
- content="撤回了一条消息"
14
- ></sdk-chat-control-jx-sys-text>
15
- </template>
16
- <template v-else-if="item.msgType === MESSAGE_TYPE.TEXT || item.msgType === MESSAGE_TYPE.TEXT_W">
10
+ <template v-if="item.msgType === MESSAGE_TYPE.TEXT || item.msgType === MESSAGE_TYPE.TEXT_W">
17
11
  <sdk-chat-panel-box
18
12
  :dir="dir"
19
13
  :data="item"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aochuang/client-sdk",
3
- "version": "1.0.379-wework-4",
3
+ "version": "1.0.379-wework-5",
4
4
  "description": "",
5
5
  "files": [
6
6
  "common",