diff --git a/yudao-ui-admin/package.json b/yudao-ui-admin/package.json index 8607286bc..c92e3d233 100644 --- a/yudao-ui-admin/package.json +++ b/yudao-ui-admin/package.json @@ -43,6 +43,7 @@ "@babel/parser": "7.18.4", "@riophae/vue-treeselect": "0.4.0", "axios": "0.27.2", + "benz-amr-recorder": "^1.1.5", "bpmn-js-token-simulation": "0.10.0", "clipboard": "2.0.8", "core-js": "^3.26.0", diff --git a/yudao-ui-admin/src/views/mp/components/wx-video-play/main.vue b/yudao-ui-admin/src/views/mp/components/wx-video-play/main.vue index 5e9494d42..9bd72baea 100644 --- a/yudao-ui-admin/src/views/mp/components/wx-video-play/main.vue +++ b/yudao-ui-admin/src/views/mp/components/wx-video-play/main.vue @@ -1,7 +1,7 @@ + + + + + diff --git a/yudao-ui-admin/src/views/mp/message/index.vue b/yudao-ui-admin/src/views/mp/message/index.vue index c5fd66a97..3d7fbb8a1 100644 --- a/yudao-ui-admin/src/views/mp/message/index.vue +++ b/yudao-ui-admin/src/views/mp/message/index.vue @@ -70,7 +70,9 @@
{{ scope.row.content }}
- +
+ +
@@ -154,12 +156,14 @@ import { } from "@/api/mp/message"; import Editor from '@/components/Editor/index.vue'; import WxVideoPlayer from '@/views/mp/components/wx-video-play/main.vue'; +import WxVoicePlayer from '@/views/mp/components/wx-voice-play/main.vue'; export default { name: "WxFansMsg", components: { Editor, WxVideoPlayer, + WxVoicePlayer }, data() { return { diff --git a/yudao-ui-admin/yarn.lock b/yudao-ui-admin/yarn.lock index db92bc54d..bd8e20a3b 100644 --- a/yudao-ui-admin/yarn.lock +++ b/yudao-ui-admin/yarn.lock @@ -2327,6 +2327,18 @@ dependencies: "tweetnacl" "^0.14.3" +"benz-amr-recorder@^1.1.5": + "integrity" "sha512-NepctcNTsZHK8NxBb5uKO5p8S+xkbm+vD6GLSkCYdJeEsriexvgumLHpDkanX4QJBcLRMVtg16buWMs+gUPB3g==" + "resolved" "https://registry.npmmirror.com/benz-amr-recorder/-/benz-amr-recorder-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "benz-recorderjs" "^1.0.5" + +"benz-recorderjs@^1.0.5": + "integrity" "sha512-EwedOQo9KLti7HxDi/eZY51PSRbAXnOdEZmLvJ6ro3QQSoF9Y3AXBt57MIllGvVz5vtFYMeikG+GD7qTm3+p9w==" + "resolved" "https://registry.npmmirror.com/benz-recorderjs/-/benz-recorderjs-1.0.5.tgz" + "version" "1.0.5" + "bfj@^6.1.1": "integrity" "sha512-BmBJa4Lip6BPRINSZ0BPEIfB1wUY/9rwbwvIHQA1KjX9om29B6id0wnWXq7m3bn5JrUVjeOTnVuhPT1FiHwPGw==" "resolved" "https://registry.npmmirror.com/bfj/-/bfj-6.1.2.tgz"