@tencentcloud/ai-desk-customer-vue 0.1.0
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/.code.yml +17 -0
- package/.eslintignore +6 -0
- package/.stylelintrc.json +40 -0
- package/CHANGELOG.md +5 -0
- package/README.md +12 -0
- package/adapter-vue-web.ts +73 -0
- package/adapter-vue.ts +10 -0
- package/assets/audio-before-delete.svg +4 -0
- package/assets/audio-blue.png +0 -0
- package/assets/audio-bubble-blue.svg +3 -0
- package/assets/audio-bubble-red.svg +3 -0
- package/assets/audio-delete.svg +10 -0
- package/assets/audio.svg +6 -0
- package/assets/back.svg +16 -0
- package/assets/background_mobile.png +0 -0
- package/assets/camera-uni.png +0 -0
- package/assets/close-quote-icon.svg +3 -0
- package/assets/customer_avatar.png +0 -0
- package/assets/customer_avatar_mobile.png +0 -0
- package/assets/dialog-close.png +0 -0
- package/assets/double-arrow.svg +1 -0
- package/assets/download.svg +6 -0
- package/assets/emoji.png +0 -0
- package/assets/face-uni.png +0 -0
- package/assets/face.png +0 -0
- package/assets/file-h5.png +0 -0
- package/assets/files.png +0 -0
- package/assets/form-dialog-bg.png +0 -0
- package/assets/icon-arrow-left.svg +7 -0
- package/assets/icon-close.svg +6 -0
- package/assets/iconRight.svg +3 -0
- package/assets/icon_form.png +0 -0
- package/assets/icon_form_filled.png +0 -0
- package/assets/icon_question.png +0 -0
- package/assets/icon_refresh.png +0 -0
- package/assets/icon_success.png +0 -0
- package/assets/imRobotGuess.svg +4 -0
- package/assets/image-uni.png +0 -0
- package/assets/image.png +0 -0
- package/assets/keyboard_icon.png +0 -0
- package/assets/loading.png +0 -0
- package/assets/more-uni.png +0 -0
- package/assets/more_tools.png +0 -0
- package/assets/msg-audio.svg +1 -0
- package/assets/msg-copy.svg +30 -0
- package/assets/msg-del.svg +33 -0
- package/assets/msg-quote.svg +8 -0
- package/assets/msg-revoke.svg +29 -0
- package/assets/radio-check.png +0 -0
- package/assets/radio-uncheck.png +0 -0
- package/assets/radio.svg +6 -0
- package/assets/refresh.svg +4 -0
- package/assets/rotate-left.svg +7 -0
- package/assets/rotate-right.svg +7 -0
- package/assets/star.png +0 -0
- package/assets/starLine.png +0 -0
- package/assets/translate.svg +12 -0
- package/assets/video-play.png +0 -0
- package/assets/video-uni.png +0 -0
- package/assets/video.png +0 -0
- package/assets/zoom-in.svg +9 -0
- package/assets/zoom-out.svg +9 -0
- package/components/CustomerServiceChat/chat-header/index-web.vue +141 -0
- package/components/CustomerServiceChat/emoji-config/custom-emoji.ts +15 -0
- package/components/CustomerServiceChat/emoji-config/default-emoji.ts +114 -0
- package/components/CustomerServiceChat/emoji-config/index.ts +140 -0
- package/components/CustomerServiceChat/emoji-config/locales/en.ts +66 -0
- package/components/CustomerServiceChat/emoji-config/locales/zh_cn.ts +66 -0
- package/components/CustomerServiceChat/index-web.vue +250 -0
- package/components/CustomerServiceChat/message-input/index-web.vue +214 -0
- package/components/CustomerServiceChat/message-input/index.ts +2 -0
- package/components/CustomerServiceChat/message-input/message-input-button.vue +95 -0
- package/components/CustomerServiceChat/message-input/message-input-editor-web.vue +884 -0
- package/components/CustomerServiceChat/message-input/message-input-file-web.ts +38 -0
- package/components/CustomerServiceChat/message-input/message-input-quote/index.vue +204 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-dialog-mobile/emoji-dialog-mobile.vue +145 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue +180 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/index.vue +90 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/style/h5.scss +26 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/style/index.scss +4 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/style/web.scss +55 -0
- package/components/CustomerServiceChat/message-input-toolbar/file-upload/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/file-upload/index.vue +77 -0
- package/components/CustomerServiceChat/message-input-toolbar/image-upload/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/image-upload/index.vue +185 -0
- package/components/CustomerServiceChat/message-input-toolbar/index-web.vue +191 -0
- package/components/CustomerServiceChat/message-input-toolbar/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/style/uni.scss +111 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/index.vue +149 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/color.scss +6 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/h5.scss +20 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/index.scss +5 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/uni.scss +36 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/web.scss +19 -0
- package/components/CustomerServiceChat/message-input-toolbar/video-upload/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/video-upload/index.vue +146 -0
- package/components/CustomerServiceChat/message-list/index-web.vue +712 -0
- package/components/CustomerServiceChat/message-list/link/index.ts +23 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-audio-web.vue +223 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-bubble-web.vue +504 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-custom.vue +5 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-face.vue +45 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-file.vue +151 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-image-web.vue +97 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-location.vue +34 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-quote/index-web.vue +286 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-quote/interface.ts +60 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-record/index.vue +139 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-text.vue +94 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-timestamp.vue +76 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-video-web.vue +319 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/index.ts +9 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-customer/index.ts +5 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-customer/message-customer-service.vue +22 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-plugin-layout-web.vue +133 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-plugin-web.vue +83 -0
- package/components/CustomerServiceChat/message-list/message-elements/read-status/index.vue +193 -0
- package/components/CustomerServiceChat/message-list/message-elements/simple-message-list/index.vue +462 -0
- package/components/CustomerServiceChat/message-list/message-elements/simple-message-list/message-container.vue +105 -0
- package/components/CustomerServiceChat/message-list/message-elements/video-play.vue +59 -0
- package/components/CustomerServiceChat/message-list/message-tool/index-web.vue +312 -0
- package/components/CustomerServiceChat/message-list/message-tool/message-revoked.vue +63 -0
- package/components/CustomerServiceChat/message-list/scroll-button/index.vue +201 -0
- package/components/CustomerServiceChat/message-list/style/color.scss +32 -0
- package/components/CustomerServiceChat/message-list/style/h5.scss +16 -0
- package/components/CustomerServiceChat/message-list/style/index.scss +11 -0
- package/components/CustomerServiceChat/message-list/style/web.scss +180 -0
- package/components/CustomerServiceChat/style/common.scss +59 -0
- package/components/CustomerServiceChat/style/h5.scss +51 -0
- package/components/CustomerServiceChat/style/index.scss +12 -0
- package/components/CustomerServiceChat/style/uni.scss +13 -0
- package/components/CustomerServiceChat/style/web.scss +46 -0
- package/components/CustomerServiceChat/style/wx.scss +5 -0
- package/components/CustomerServiceChat/utils/conversationDraft.ts +86 -0
- package/components/CustomerServiceChat/utils/sendMessage.ts +140 -0
- package/components/common/Avatar/index.vue +148 -0
- package/components/common/BottomPopup/index.ts +3 -0
- package/components/common/BottomPopup/index.vue +160 -0
- package/components/common/BottomPopup/style/h5.scss +62 -0
- package/components/common/BottomPopup/style/index.scss +3 -0
- package/components/common/BottomPopup/style/modal.scss +5 -0
- package/components/common/Dialog/index.ts +3 -0
- package/components/common/Dialog/index.vue +120 -0
- package/components/common/Dialog/style/color.scss +43 -0
- package/components/common/Dialog/style/dialog.scss +4 -0
- package/components/common/Dialog/style/h5.scss +56 -0
- package/components/common/Dialog/style/web.scss +61 -0
- package/components/common/Drawer/index.vue +164 -0
- package/components/common/Icon.vue +83 -0
- package/components/common/ImagePreviewer/image-item-web.vue +42 -0
- package/components/common/ImagePreviewer/index-web.vue +682 -0
- package/components/common/ImagePreviewer/index.ts +3 -0
- package/components/common/Overlay/index.vue +126 -0
- package/components/common/ProgressMessage/index.vue +95 -0
- package/components/common/RadioSelect/index.vue +59 -0
- package/components/common/RichText/LICENSE +21 -0
- package/components/common/RichText/README.md +244 -0
- package/components/common/RichText/dist/mp-alipay/index.acss +1 -0
- package/components/common/RichText/dist/mp-alipay/index.axml +1 -0
- package/components/common/RichText/dist/mp-alipay/index.js +8 -0
- package/components/common/RichText/dist/mp-alipay/index.json +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.acss +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.axml +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.js +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.json +1 -0
- package/components/common/RichText/dist/mp-alipay/parser.js +1 -0
- package/components/common/RichText/dist/mp-baidu/index.css +1 -0
- package/components/common/RichText/dist/mp-baidu/index.js +8 -0
- package/components/common/RichText/dist/mp-baidu/index.json +1 -0
- package/components/common/RichText/dist/mp-baidu/index.swan +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.css +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.js +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.json +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.swan +1 -0
- package/components/common/RichText/dist/mp-baidu/parser.js +1 -0
- package/components/common/RichText/dist/mp-qq/index.js +8 -0
- package/components/common/RichText/dist/mp-qq/index.json +1 -0
- package/components/common/RichText/dist/mp-qq/index.qml +1 -0
- package/components/common/RichText/dist/mp-qq/index.qss +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.js +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.json +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.qml +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.qss +1 -0
- package/components/common/RichText/dist/mp-qq/parser.js +1 -0
- package/components/common/RichText/dist/mp-toutiao/index.js +8 -0
- package/components/common/RichText/dist/mp-toutiao/index.json +1 -0
- package/components/common/RichText/dist/mp-toutiao/index.ttml +1 -0
- package/components/common/RichText/dist/mp-toutiao/index.ttss +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.js +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.json +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.ttml +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.ttss +1 -0
- package/components/common/RichText/dist/mp-toutiao/parser.js +1 -0
- package/components/common/RichText/dist/mp-weixin/index.js +8 -0
- package/components/common/RichText/dist/mp-weixin/index.json +1 -0
- package/components/common/RichText/dist/mp-weixin/index.wxml +1 -0
- package/components/common/RichText/dist/mp-weixin/index.wxss +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.js +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.json +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.wxml +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.wxss +1 -0
- package/components/common/RichText/dist/mp-weixin/parser.js +1 -0
- package/components/common/RichText/dist/uni-app/components/mp-html/mp-html.vue +498 -0
- package/components/common/RichText/dist/uni-app/components/mp-html/node/node.vue +587 -0
- package/components/common/RichText/dist/uni-app/components/mp-html/parser.js +1393 -0
- package/components/common/RichText/dist/uni-app/static/app-plus/mp-html/js/handler.js +1 -0
- package/components/common/RichText/dist/uni-app/static/app-plus/mp-html/js/uni.webview.min.js +1 -0
- package/components/common/RichText/dist/uni-app/static/app-plus/mp-html/local.html +1 -0
- package/components/common/RichText/docs/.nojekyll +0 -0
- package/components/common/RichText/docs/index.html +50 -0
- package/components/common/RichText/docs/lib/docsify.min.js +1 -0
- package/components/common/RichText/docs/lib/prism-bash.min.js +1 -0
- package/components/common/RichText/docs/lib/search.min.js +1 -0
- package/components/common/RichText/docs/lib/vue.css +858 -0
- package/components/common/RichText/gulpfile.js +113 -0
- package/components/common/RichText/lint.js +63 -0
- package/components/common/RichText/package.json +74 -0
- package/components/common/RichText/plugins/README.md +2 -0
- package/components/common/RichText/plugins/audio/README.md +25 -0
- package/components/common/RichText/plugins/audio/build.js +11 -0
- package/components/common/RichText/plugins/audio/context.js +7 -0
- package/components/common/RichText/plugins/audio/index.js +34 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.js +189 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.json +3 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.wxml +17 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.wxss +127 -0
- package/components/common/RichText/plugins/audio/miniprogram/build.js +3 -0
- package/components/common/RichText/plugins/audio/uni-app/audio.vue +269 -0
- package/components/common/RichText/plugins/audio/uni-app/build.js +3 -0
- package/components/common/RichText/plugins/card/README.md +30 -0
- package/components/common/RichText/plugins/card/build.js +14 -0
- package/components/common/RichText/plugins/card/index.js +7 -0
- package/components/common/RichText/plugins/card/miniprogram/build.js +3 -0
- package/components/common/RichText/plugins/card/miniprogram/card.js +26 -0
- package/components/common/RichText/plugins/card/miniprogram/card.json +3 -0
- package/components/common/RichText/plugins/card/miniprogram/card.wxml +9 -0
- package/components/common/RichText/plugins/card/miniprogram/card.wxss +55 -0
- package/components/common/RichText/plugins/card/uni-app/build.js +3 -0
- package/components/common/RichText/plugins/card/uni-app/card.vue +122 -0
- package/components/common/RichText/plugins/editable/README.md +137 -0
- package/components/common/RichText/plugins/editable/config.js +15 -0
- package/components/common/RichText/plugins/editable/miniprogram/build.js +813 -0
- package/components/common/RichText/plugins/editable/miniprogram/index.js +551 -0
- package/components/common/RichText/plugins/editable/uni-app/build.js +744 -0
- package/components/common/RichText/plugins/editable/uni-app/index.js +553 -0
- package/components/common/RichText/plugins/emoji/README.md +15 -0
- package/components/common/RichText/plugins/emoji/index.js +203 -0
- package/components/common/RichText/plugins/highlight/README.md +26 -0
- package/components/common/RichText/plugins/highlight/config.js +5 -0
- package/components/common/RichText/plugins/highlight/index.js +96 -0
- package/components/common/RichText/plugins/highlight/miniprogram/build.js +88 -0
- package/components/common/RichText/plugins/highlight/prism.css +125 -0
- package/components/common/RichText/plugins/highlight/prism.min.js +7 -0
- package/components/common/RichText/plugins/highlight/uni-app/build.js +88 -0
- package/components/common/RichText/plugins/img-cache/README.md +24 -0
- package/components/common/RichText/plugins/img-cache/build.js +16 -0
- package/components/common/RichText/plugins/img-cache/index.js +138 -0
- package/components/common/RichText/plugins/latex/README.md +16 -0
- package/components/common/RichText/plugins/latex/build.js +14 -0
- package/components/common/RichText/plugins/latex/index.js +77 -0
- package/components/common/RichText/plugins/latex/katex.css +1070 -0
- package/components/common/RichText/plugins/latex/katex.min.js +1 -0
- package/components/common/RichText/plugins/markdown/README.md +17 -0
- package/components/common/RichText/plugins/markdown/index.js +34 -0
- package/components/common/RichText/plugins/markdown/marked.min.js +6 -0
- package/components/common/RichText/plugins/markdown/miniprogram/build.js +70 -0
- package/components/common/RichText/plugins/markdown/uni-app/build.js +68 -0
- package/components/common/RichText/plugins/search/README.md +46 -0
- package/components/common/RichText/plugins/search/miniprogram/index.js +137 -0
- package/components/common/RichText/plugins/search/uni-app/index.js +132 -0
- package/components/common/RichText/plugins/style/README.md +30 -0
- package/components/common/RichText/plugins/style/index.js +129 -0
- package/components/common/RichText/plugins/style/parser.js +175 -0
- package/components/common/RichText/plugins/template/README.md +2 -0
- package/components/common/RichText/plugins/template/build.js +65 -0
- package/components/common/RichText/plugins/template/index.js +67 -0
- package/components/common/RichText/plugins/txv-video/README.md +18 -0
- package/components/common/RichText/plugins/txv-video/build.js +3 -0
- package/components/common/RichText/plugins/txv-video/index.js +46 -0
- package/components/common/RichText/plugins/txv-video/miniprogram/build.js +6 -0
- package/components/common/RichText/plugins/txv-video/uni-app/build.js +3 -0
- package/components/common/RichText/src/miniprogram/index.js +396 -0
- package/components/common/RichText/src/miniprogram/index.json +6 -0
- package/components/common/RichText/src/miniprogram/index.wxml +7 -0
- package/components/common/RichText/src/miniprogram/index.wxss +13 -0
- package/components/common/RichText/src/miniprogram/node/node.js +247 -0
- package/components/common/RichText/src/miniprogram/node/node.json +6 -0
- package/components/common/RichText/src/miniprogram/node/node.wxml +112 -0
- package/components/common/RichText/src/miniprogram/node/node.wxss +164 -0
- package/components/common/RichText/src/miniprogram/parser.js +1269 -0
- package/components/common/RichText/src/uni-app/components/mp-html/mp-html.vue +498 -0
- package/components/common/RichText/src/uni-app/components/mp-html/node/node.vue +585 -0
- package/components/common/RichText/src/uni-app/components/mp-html/parser.js +1393 -0
- package/components/common/RichText/src/uni-app/static/app-plus/mp-html/js/handler.js +254 -0
- package/components/common/RichText/src/uni-app/static/app-plus/mp-html/js/uni.webview.min.js +1 -0
- package/components/common/RichText/src/uni-app/static/app-plus/mp-html/local.html +33 -0
- package/components/common/RichText/tools/config.js +82 -0
- package/components/common/RichText/tools/converter.js +205 -0
- package/components/common/RichText/tools/ifdef.js +115 -0
- package/components/common/RichText/tools/minifier.js +40 -0
- package/components/common/RichText/tools/plugin.js +248 -0
- package/components/common/Toast/index-web.ts +122 -0
- package/components/common/Toast/index-web.vue +178 -0
- package/components/common/Toast/type.ts +8 -0
- package/components/common/common.scss +59 -0
- package/components/customer-icon.vue +56 -0
- package/components/message-branch.vue +120 -0
- package/components/message-customer-service.vue +114 -0
- package/components/message-form/form-branch.vue +68 -0
- package/components/message-form/form-input.vue +242 -0
- package/components/message-form/index.vue +80 -0
- package/components/message-multi-branch/branch-pc.vue +79 -0
- package/components/message-multi-branch/index.vue +60 -0
- package/components/message-multi-form/component-mobile/form-popup.vue +37 -0
- package/components/message-multi-form/component-mobile/input-mobile.vue +102 -0
- package/components/message-multi-form/component-mobile/label-mobile.vue +32 -0
- package/components/message-multi-form/component-mobile/radios-mobile.vue +161 -0
- package/components/message-multi-form/component-pc/input-pc.vue +93 -0
- package/components/message-multi-form/component-pc/label-pc.vue +33 -0
- package/components/message-multi-form/component-pc/radio-pc.vue +98 -0
- package/components/message-multi-form/form-mobile.vue +385 -0
- package/components/message-multi-form/form-pc.vue +184 -0
- package/components/message-multi-form/index.vue +61 -0
- package/components/message-product-card.vue +129 -0
- package/components/message-rating/index.vue +56 -0
- package/components/message-rating/message-rating-number.vue +247 -0
- package/components/message-rating/message-rating-star.vue +237 -0
- package/components/message-rich-text.vue +155 -0
- package/components/message-robot-welcome.vue +181 -0
- package/components/message-stream.vue +109 -0
- package/constant.ts +122 -0
- package/excluded-list.txt +6 -0
- package/index.ts +30 -0
- package/index.vue +60 -0
- package/interface.ts +176 -0
- package/logger/index.ts +12 -0
- package/logger/main.ts +120 -0
- package/package.json +62 -0
- package/script/fileCopy.js +60 -0
- package/script/syncVersion.js +35 -0
- package/server.ts +128 -0
- package/styles/common.scss +116 -0
- package/tsconfig.json +34 -0
- package/typings.d.ts +20 -0
- package/utils/chatStorage.ts +70 -0
- package/utils/copy-web.ts +141 -0
- package/utils/enableSampleTaskStatus.ts +8 -0
- package/utils/env.ts +15 -0
- package/utils/index.ts +59 -0
- package/utils/utils.ts +162 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="simple-message-container">
|
|
3
|
+
<div class="simple-message-avatar">
|
|
4
|
+
<Avatar :url="props.avatar" />
|
|
5
|
+
</div>
|
|
6
|
+
<div>
|
|
7
|
+
<div class="simple-message-sender">
|
|
8
|
+
{{ props.sender }}
|
|
9
|
+
</div>
|
|
10
|
+
<div class="simple-message-body">
|
|
11
|
+
<div
|
|
12
|
+
:class="{
|
|
13
|
+
'simple-message-content': true,
|
|
14
|
+
'no-padding': isNoPadding,
|
|
15
|
+
}"
|
|
16
|
+
>
|
|
17
|
+
<slot />
|
|
18
|
+
</div>
|
|
19
|
+
<div class="timestamp">
|
|
20
|
+
{{ calculateTimestamp(props.time * 1000) }}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script setup lang="ts">
|
|
28
|
+
import vue from '../../../../../adapter-vue';
|
|
29
|
+
import TUIChatEngine from '@tencentcloud/chat-uikit-engine';
|
|
30
|
+
import Avatar from '../../../../common/Avatar/index.vue';
|
|
31
|
+
import { calculateTimestamp } from '../../../../../utils/utils';
|
|
32
|
+
const { computed } = vue;
|
|
33
|
+
|
|
34
|
+
interface IProps {
|
|
35
|
+
sender: string;
|
|
36
|
+
avatar: string;
|
|
37
|
+
type: string;
|
|
38
|
+
time: number;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
const props = withDefaults(defineProps<IProps>(), {
|
|
42
|
+
sender: '',
|
|
43
|
+
avatar: '',
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
const TYPES = TUIChatEngine.TYPES;
|
|
47
|
+
|
|
48
|
+
const isNoPadding = computed(() => {
|
|
49
|
+
return [TYPES.MSG_IMAGE, TYPES.MSG_VIDEO, TYPES.MSG_MERGER].includes(
|
|
50
|
+
props.type,
|
|
51
|
+
);
|
|
52
|
+
});
|
|
53
|
+
</script>
|
|
54
|
+
|
|
55
|
+
<style scoped lang="scss">
|
|
56
|
+
:not(not) {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.simple-message-container {
|
|
64
|
+
flex-direction: row;
|
|
65
|
+
|
|
66
|
+
.simple-message-avatar {
|
|
67
|
+
flex: 0 0 auto;
|
|
68
|
+
margin-right: 8px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.simple-message-sender {
|
|
72
|
+
display: block;
|
|
73
|
+
max-width: 200px;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
white-space: nowrap;
|
|
76
|
+
text-overflow: ellipsis;
|
|
77
|
+
font-size: 11px;
|
|
78
|
+
color: #999;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.simple-message-body {
|
|
82
|
+
flex-direction: row;
|
|
83
|
+
align-items: flex-end;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.simple-message-content {
|
|
87
|
+
margin-top: 8px;
|
|
88
|
+
background-color: #dceafd;
|
|
89
|
+
border-radius: 0 10px 10px;
|
|
90
|
+
padding: 10px 12px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.timestamp {
|
|
94
|
+
flex: 0 0 auto;
|
|
95
|
+
font-size: 12px;
|
|
96
|
+
color: #aaa;
|
|
97
|
+
margin-left: 6px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.no-padding {
|
|
101
|
+
padding: 0;
|
|
102
|
+
background-color: transparent;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
</style>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="dialog-video">
|
|
3
|
+
<video
|
|
4
|
+
v-if="isShow"
|
|
5
|
+
id="videoEle"
|
|
6
|
+
class="video-box"
|
|
7
|
+
:src="videoData"
|
|
8
|
+
controls
|
|
9
|
+
autoplay
|
|
10
|
+
/>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script lang="ts" setup>
|
|
15
|
+
import vue from '../../TencentCloudCustomer/tui-customer-service-plugin-test/adapter-vue';
|
|
16
|
+
import { TUIGlobal } from '@tencentcloud/universal-api';
|
|
17
|
+
import { onLoad, onReady } from '@dcloudio/uni-app';
|
|
18
|
+
const { ref } = vue;
|
|
19
|
+
|
|
20
|
+
const videoData = ref();
|
|
21
|
+
const isShow = ref(false);
|
|
22
|
+
const videoContext = ref();
|
|
23
|
+
onLoad((option: any) => {
|
|
24
|
+
const decodedUrl = decodeURIComponent(option?.videoUrl);
|
|
25
|
+
videoData.value = decodedUrl;
|
|
26
|
+
isShow.value = true;
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
onReady(() => {
|
|
30
|
+
isShow.value = true;
|
|
31
|
+
videoContext.value = TUIGlobal.createVideoContext('videoEle');
|
|
32
|
+
});
|
|
33
|
+
</script>
|
|
34
|
+
<style lang="scss" scoped>
|
|
35
|
+
.dialog-video {
|
|
36
|
+
position: fixed;
|
|
37
|
+
z-index: 999;
|
|
38
|
+
width: 100vw;
|
|
39
|
+
height: 100vh;
|
|
40
|
+
background: rgba(#000, 0.6);
|
|
41
|
+
top: 0;
|
|
42
|
+
left: 0;
|
|
43
|
+
right: 0;
|
|
44
|
+
bottom: 0;
|
|
45
|
+
display: flex;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
align-items: center;
|
|
48
|
+
|
|
49
|
+
.video-box {
|
|
50
|
+
position: absolute;
|
|
51
|
+
width: 100vw;
|
|
52
|
+
height: 100vh;
|
|
53
|
+
top: 0;
|
|
54
|
+
left: 0;
|
|
55
|
+
right: 0;
|
|
56
|
+
bottom: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
v-if="!isAllActionItemInvalid && !messageItem.hasRiskContent"
|
|
4
|
+
ref="messageToolDom"
|
|
5
|
+
:class="['dialog-item', !isPC ? 'dialog-item-h5' : 'dialog-item-web']"
|
|
6
|
+
>
|
|
7
|
+
<div
|
|
8
|
+
class="dialog-item-list"
|
|
9
|
+
:class="!isPC ? 'dialog-item-list-h5' : 'dialog-item-list-web'"
|
|
10
|
+
>
|
|
11
|
+
<template v-for="(item, index) in actionItems">
|
|
12
|
+
<div
|
|
13
|
+
v-if="item.renderCondition()"
|
|
14
|
+
:key="item.key"
|
|
15
|
+
class="list-item"
|
|
16
|
+
@click="getFunction(index)"
|
|
17
|
+
@mousedown="beforeCopy(item.key)"
|
|
18
|
+
>
|
|
19
|
+
<Icon
|
|
20
|
+
:file="item.iconUrl"
|
|
21
|
+
:size="'15px'"
|
|
22
|
+
/>
|
|
23
|
+
<div class="list-item-text">{{ item.text }}</div>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script lang="ts" setup>
|
|
31
|
+
import TUIChatEngine, {
|
|
32
|
+
TUIStore,
|
|
33
|
+
TUITranslateService,
|
|
34
|
+
IMessageModel,
|
|
35
|
+
} from '@tencentcloud/chat-uikit-engine';
|
|
36
|
+
import { TUIGlobal } from '@tencentcloud/universal-api';
|
|
37
|
+
import vue from '../../../../adapter-vue';
|
|
38
|
+
const { ref, watchEffect, computed } = vue;
|
|
39
|
+
import Icon from '../../../common/Icon.vue';
|
|
40
|
+
import { Toast, TOAST_TYPE } from '../../../common/Toast/index-web';
|
|
41
|
+
import delIcon from '../../../../assets/msg-del.svg';
|
|
42
|
+
import copyIcon from '../../../../assets/msg-copy.svg';
|
|
43
|
+
import quoteIcon from '../../../../assets/msg-quote.svg';
|
|
44
|
+
import revokeIcon from '../../../../assets/msg-revoke.svg';
|
|
45
|
+
import downloadIcon from '../../../../assets/download.svg'
|
|
46
|
+
import { enableSampleTaskStatus } from '../../../../utils/enableSampleTaskStatus';
|
|
47
|
+
import { transformTextWithKeysToEmojiNames } from '../../emoji-config';
|
|
48
|
+
import { isH5, isPC, isUniFrameWork } from '../../../../utils/env';
|
|
49
|
+
|
|
50
|
+
// uni-app conditional compilation will not run the following code
|
|
51
|
+
// #ifndef APP || APP-PLUS || MP || H5
|
|
52
|
+
import CopyManager from '../../../../utils/copy-web';
|
|
53
|
+
// #endif
|
|
54
|
+
|
|
55
|
+
interface IProps {
|
|
56
|
+
messageItem: IMessageModel;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const props = withDefaults(defineProps<IProps>(), {
|
|
60
|
+
messageItem: () => ({} as IMessageModel),
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
const TYPES = TUIChatEngine.TYPES;
|
|
64
|
+
|
|
65
|
+
const actionItems = ref([
|
|
66
|
+
{
|
|
67
|
+
key: 'open',
|
|
68
|
+
text: TUITranslateService.t('TUIChat.打开'),
|
|
69
|
+
iconUrl: copyIcon,
|
|
70
|
+
renderCondition() {
|
|
71
|
+
if (!message.value) return false;
|
|
72
|
+
return (
|
|
73
|
+
isPC
|
|
74
|
+
&& (message.value?.type === TYPES.MSG_FILE
|
|
75
|
+
|| message.value.type === TYPES.MSG_VIDEO
|
|
76
|
+
|| message.value.type === TYPES.MSG_IMAGE)
|
|
77
|
+
);
|
|
78
|
+
},
|
|
79
|
+
clickEvent: openMessage,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
key: 'copy',
|
|
83
|
+
text: TUITranslateService.t('TUIChat.复制'),
|
|
84
|
+
iconUrl: copyIcon,
|
|
85
|
+
renderCondition() {
|
|
86
|
+
if (!message.value) return false;
|
|
87
|
+
return message.value.type === TYPES.MSG_TEXT;
|
|
88
|
+
},
|
|
89
|
+
clickEvent: copyMessage,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
key: 'revoke',
|
|
93
|
+
text: TUITranslateService.t('TUIChat.撤回'),
|
|
94
|
+
iconUrl: revokeIcon,
|
|
95
|
+
renderCondition() {
|
|
96
|
+
if (!message.value) return false;
|
|
97
|
+
return message.value.flow === 'out' && message.value.status === 'success';
|
|
98
|
+
},
|
|
99
|
+
clickEvent: revokeMessage,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
key: 'delete',
|
|
103
|
+
text: TUITranslateService.t('TUIChat.删除'),
|
|
104
|
+
iconUrl: delIcon,
|
|
105
|
+
renderCondition() {
|
|
106
|
+
if (!message.value) return false;
|
|
107
|
+
return message.value.status === 'success';
|
|
108
|
+
},
|
|
109
|
+
clickEvent: deleteMessage,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
key: 'quote',
|
|
113
|
+
text: TUITranslateService.t('TUIChat.引用'),
|
|
114
|
+
iconUrl: quoteIcon,
|
|
115
|
+
renderCondition() {
|
|
116
|
+
if (!message.value) return false;
|
|
117
|
+
const _message = TUIStore.getMessageModel(message.value.ID);
|
|
118
|
+
return message.value.status === 'success' && !_message.getSignalingInfo();
|
|
119
|
+
},
|
|
120
|
+
clickEvent: quoteMessage,
|
|
121
|
+
},{
|
|
122
|
+
key:'download',
|
|
123
|
+
text: '下载',
|
|
124
|
+
iconUrl: downloadIcon,
|
|
125
|
+
renderCondition(){
|
|
126
|
+
if (!message.value) return false;
|
|
127
|
+
return message.value.type === TYPES.MSG_FILE && message.value.flow === 'out';
|
|
128
|
+
},
|
|
129
|
+
clickEvent:downloadMessage,
|
|
130
|
+
}
|
|
131
|
+
]);
|
|
132
|
+
|
|
133
|
+
const message = ref<IMessageModel>();
|
|
134
|
+
const messageToolDom = ref<HTMLElement>();
|
|
135
|
+
|
|
136
|
+
watchEffect(() => {
|
|
137
|
+
message.value = TUIStore.getMessageModel(props.messageItem.ID);
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
const isAllActionItemInvalid = computed(() => {
|
|
141
|
+
for (let i = 0; i < actionItems.value.length; ++i) {
|
|
142
|
+
if (actionItems.value[i].renderCondition()) {
|
|
143
|
+
return false;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return true;
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
function getFunction(index: number) {
|
|
150
|
+
// Compatible with Vue2 and WeChat Mini Program syntax, dynamic binding is not allowed.
|
|
151
|
+
actionItems.value[index].clickEvent();
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function openMessage() {
|
|
155
|
+
let url = '';
|
|
156
|
+
switch (message.value?.type) {
|
|
157
|
+
case TUIChatEngine.TYPES.MSG_FILE:
|
|
158
|
+
url = message.value.payload.fileUrl;
|
|
159
|
+
break;
|
|
160
|
+
case TUIChatEngine.TYPES.MSG_VIDEO:
|
|
161
|
+
url = message.value.payload.remoteVideoUrl;
|
|
162
|
+
break;
|
|
163
|
+
case TUIChatEngine.TYPES.MSG_IMAGE:
|
|
164
|
+
url = message.value.payload.imageInfoArray[0].url;
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
window?.open(url, '_blank');
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
function revokeMessage() {
|
|
171
|
+
if (!message.value) return;
|
|
172
|
+
const messageModel = TUIStore.getMessageModel(message.value.ID);
|
|
173
|
+
messageModel
|
|
174
|
+
.revokeMessage()
|
|
175
|
+
.then(() => {
|
|
176
|
+
enableSampleTaskStatus('revokeMessage');
|
|
177
|
+
})
|
|
178
|
+
.catch((error: any) => {
|
|
179
|
+
if (error.code === 20016) {
|
|
180
|
+
const message = TUITranslateService.t('TUIChat.已过撤回时限');
|
|
181
|
+
Toast({
|
|
182
|
+
message,
|
|
183
|
+
type: TOAST_TYPE.ERROR,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
function deleteMessage() {
|
|
190
|
+
if (!message.value) return;
|
|
191
|
+
const messageModel = TUIStore.getMessageModel(message.value.ID);
|
|
192
|
+
messageModel.deleteMessage();
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
async function copyMessage() {
|
|
196
|
+
if (isUniFrameWork) {
|
|
197
|
+
TUIGlobal?.setClipboardData({
|
|
198
|
+
data: transformTextWithKeysToEmojiNames(message.value?.payload?.text),
|
|
199
|
+
});
|
|
200
|
+
} else {
|
|
201
|
+
// uni-app conditional compilation will not run the following code
|
|
202
|
+
// #ifndef APP || APP-PLUS || MP || H5
|
|
203
|
+
CopyManager.copySelection(message.value?.payload?.text);
|
|
204
|
+
// #endif
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
function beforeCopy(key: string) {
|
|
209
|
+
// only pc support copy selection or copy full message text
|
|
210
|
+
// uni-app and h5 only support copy full message text
|
|
211
|
+
if (key !== 'copy' || isH5) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// uni-app conditional compilation will not run the following code
|
|
216
|
+
// #ifndef APP || APP-PLUS || MP || H5
|
|
217
|
+
CopyManager.saveCurrentSelection();
|
|
218
|
+
// #endif
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function quoteMessage() {
|
|
222
|
+
if (!message.value) return;
|
|
223
|
+
message.value.quoteMessage();
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function downloadMessage(){
|
|
227
|
+
if(!message.value || message.value.hasRiskContent) return;
|
|
228
|
+
const option = {
|
|
229
|
+
mode: 'cors',
|
|
230
|
+
headers: new Headers({
|
|
231
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
232
|
+
}),
|
|
233
|
+
} as RequestInit;
|
|
234
|
+
const content = message.value.getMessageContent();
|
|
235
|
+
// If the browser supports fetch, use blob to download, so as to avoid the browser clicking the a tag and jumping to the preview of the new page
|
|
236
|
+
if ((window as any)?.fetch) {
|
|
237
|
+
fetch(content.url, option)
|
|
238
|
+
.then(res => res.blob())
|
|
239
|
+
.then((blob) => {
|
|
240
|
+
const a = document.createElement('a');
|
|
241
|
+
const url = window.URL.createObjectURL(blob);
|
|
242
|
+
a.href = url;
|
|
243
|
+
a.download = content.name;
|
|
244
|
+
a.click();
|
|
245
|
+
});
|
|
246
|
+
} else {
|
|
247
|
+
const a = document.createElement('a');
|
|
248
|
+
a.href = content.url;
|
|
249
|
+
a.target = '_blank';
|
|
250
|
+
a.download = content.name;
|
|
251
|
+
a.click();
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
defineExpose({
|
|
256
|
+
messageToolDom,
|
|
257
|
+
});
|
|
258
|
+
</script>
|
|
259
|
+
|
|
260
|
+
<style lang="scss" scoped>
|
|
261
|
+
@import "../../style/common";
|
|
262
|
+
|
|
263
|
+
.dialog-item-web {
|
|
264
|
+
background: #fff;
|
|
265
|
+
border-radius: 8px;
|
|
266
|
+
border: 1px solid #e0e0e0;
|
|
267
|
+
padding: 3px 0;
|
|
268
|
+
|
|
269
|
+
.dialog-item-list {
|
|
270
|
+
display: flex;
|
|
271
|
+
align-items: baseline;
|
|
272
|
+
white-space: nowrap;
|
|
273
|
+
flex-wrap: wrap;
|
|
274
|
+
max-width: 280px;
|
|
275
|
+
|
|
276
|
+
.list-item {
|
|
277
|
+
padding: 6px 12px;
|
|
278
|
+
.list-item-text {
|
|
279
|
+
font-size: 12px;
|
|
280
|
+
line-height: 17px;
|
|
281
|
+
margin-top:4px;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.dialog-item-h5 {
|
|
288
|
+
@extend .dialog-item-web;
|
|
289
|
+
|
|
290
|
+
padding: 0;
|
|
291
|
+
|
|
292
|
+
.dialog-item-list {
|
|
293
|
+
margin: 10px;
|
|
294
|
+
white-space: nowrap;
|
|
295
|
+
flex-wrap: wrap;
|
|
296
|
+
max-width: 280px;
|
|
297
|
+
|
|
298
|
+
.list-item {
|
|
299
|
+
padding: 0 8px;
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
align-items: center;
|
|
303
|
+
color: #4f4f4f;
|
|
304
|
+
|
|
305
|
+
.list-item-text {
|
|
306
|
+
padding-left: 0;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
</style>
|
|
312
|
+
../../../common/Toast
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="revoke">
|
|
3
|
+
<span v-if="message.flow === 'in'">{{ message.nick || message.from }}</span>
|
|
4
|
+
<span v-else-if="message.from === message.revoker">{{
|
|
5
|
+
TUITranslateService.t("TUIChat.您")
|
|
6
|
+
}}</span>
|
|
7
|
+
<span v-else>{{ message.revoker }}</span>
|
|
8
|
+
<span>{{ TUITranslateService.t("TUIChat.撤回了一条消息") }}</span>
|
|
9
|
+
<span
|
|
10
|
+
v-if="message.flow === 'out' && isEditMsg"
|
|
11
|
+
class="edit"
|
|
12
|
+
@click="messageEdit"
|
|
13
|
+
>{{ TUITranslateService.t("TUIChat.重新编辑") }}</span>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script lang="ts" setup>
|
|
18
|
+
import vue from '../../../../adapter-vue';
|
|
19
|
+
const { watchEffect, ref } = vue;
|
|
20
|
+
import {
|
|
21
|
+
TUITranslateService,
|
|
22
|
+
IMessageModel,
|
|
23
|
+
} from '@tencentcloud/chat-uikit-engine';
|
|
24
|
+
|
|
25
|
+
const props = defineProps({
|
|
26
|
+
isEdit: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: () => false,
|
|
29
|
+
},
|
|
30
|
+
messageItem: {
|
|
31
|
+
type: Object,
|
|
32
|
+
default: () => ({}),
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
const message = ref<IMessageModel>();
|
|
37
|
+
const isEditMsg = ref(false);
|
|
38
|
+
const emits = defineEmits(['messageEdit']);
|
|
39
|
+
watchEffect(() => {
|
|
40
|
+
message.value = props.messageItem;
|
|
41
|
+
isEditMsg.value = props.isEdit;
|
|
42
|
+
});
|
|
43
|
+
const messageEdit = () => {
|
|
44
|
+
emits('messageEdit');
|
|
45
|
+
};
|
|
46
|
+
</script>
|
|
47
|
+
<style lang="scss" scoped>
|
|
48
|
+
@import "../../style/common";
|
|
49
|
+
|
|
50
|
+
.revoke {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: row;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
color: #999;
|
|
55
|
+
font-size: 12px;
|
|
56
|
+
margin-bottom: 10px;
|
|
57
|
+
|
|
58
|
+
.edit {
|
|
59
|
+
padding: 0 5px;
|
|
60
|
+
color: #006eff;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
</style>
|