@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,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="message-form">
|
|
3
|
+
<branchPc
|
|
4
|
+
:payload ="payload"
|
|
5
|
+
@input-click="handleContentListItemClick"
|
|
6
|
+
/>
|
|
7
|
+
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script lang="ts">
|
|
12
|
+
import vue from '../../adapter-vue';
|
|
13
|
+
import BranchPc from './branch-pc.vue';
|
|
14
|
+
import { customerServicePayloadType } from '../../interface';
|
|
15
|
+
import { isApp, isPC } from '../../utils/env';
|
|
16
|
+
const { computed} = vue;
|
|
17
|
+
|
|
18
|
+
interface branchItem {
|
|
19
|
+
content: string;
|
|
20
|
+
desc: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
interface Props {
|
|
24
|
+
payload: customerServicePayloadType;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
components: {
|
|
29
|
+
BranchPc
|
|
30
|
+
},
|
|
31
|
+
props: {
|
|
32
|
+
payload: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: () => ({}),
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
emits: ['sendMessage'],
|
|
38
|
+
setup(props: Props, { emit }) {
|
|
39
|
+
const payload = computed<customerServicePayloadType>(() => {
|
|
40
|
+
return props.payload;
|
|
41
|
+
});
|
|
42
|
+
const handleContentListItemClick = (branch: branchItem) => {
|
|
43
|
+
emit('sendMessage', { text: branch.content });
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const handleFormSaveInputSubmit = (text: string) => {
|
|
47
|
+
emit('sendMessage', { text });
|
|
48
|
+
};
|
|
49
|
+
return {
|
|
50
|
+
payload,
|
|
51
|
+
handleContentListItemClick,
|
|
52
|
+
handleFormSaveInputSubmit,
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
</script>
|
|
57
|
+
<style lang="scss">
|
|
58
|
+
|
|
59
|
+
</style>
|
|
60
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BottomPopup
|
|
3
|
+
class="form-item-bottom-popup"
|
|
4
|
+
:show="props.show"
|
|
5
|
+
:title="props.title"
|
|
6
|
+
borderRadius="20px"
|
|
7
|
+
@onClose="onClose"
|
|
8
|
+
@onSubmit="onSubmit"
|
|
9
|
+
>
|
|
10
|
+
<slot></slot>
|
|
11
|
+
</BottomPopup>
|
|
12
|
+
</template>
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
import vue from "../../../adapter-vue";
|
|
15
|
+
const { withDefaults, defineProps, defineEmits } = vue;
|
|
16
|
+
import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
17
|
+
import BottomPopup from "../../common/BottomPopup";
|
|
18
|
+
const props = withDefaults(
|
|
19
|
+
defineProps<{
|
|
20
|
+
show: boolean;
|
|
21
|
+
title: string;
|
|
22
|
+
}>(),
|
|
23
|
+
{
|
|
24
|
+
show: false,
|
|
25
|
+
title: "",
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
const emits = defineEmits(["onClose", "onSubmit"]);
|
|
29
|
+
function onClose() {
|
|
30
|
+
emits("onClose");
|
|
31
|
+
}
|
|
32
|
+
function onSubmit() {
|
|
33
|
+
emits("onSubmit");
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
<style scoped lang="scss"></style>
|
|
37
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="form-input-box-mobile">
|
|
3
|
+
<LabelMobile :name="name" :is-required="isRequired" />
|
|
4
|
+
<div class="form-input-line">
|
|
5
|
+
<input
|
|
6
|
+
class="form-input-mobile"
|
|
7
|
+
v-model="text"
|
|
8
|
+
:placeholder="placeholder"
|
|
9
|
+
@input="onInputChanged"
|
|
10
|
+
>
|
|
11
|
+
<div v-if="validator" class="validator-line">
|
|
12
|
+
请填写必填项
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
<script lang="ts">
|
|
19
|
+
import vue from '../../../adapter-vue';
|
|
20
|
+
import LabelMobile from './label-mobile.vue';
|
|
21
|
+
const { computed, ref} = vue;
|
|
22
|
+
|
|
23
|
+
interface FormItem{
|
|
24
|
+
name:string;
|
|
25
|
+
value:string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export default {
|
|
30
|
+
components:{
|
|
31
|
+
LabelMobile
|
|
32
|
+
},
|
|
33
|
+
props:{
|
|
34
|
+
placeholder:{
|
|
35
|
+
type:String,
|
|
36
|
+
default:''
|
|
37
|
+
},
|
|
38
|
+
variableValue:{
|
|
39
|
+
type:String,
|
|
40
|
+
default:''
|
|
41
|
+
},
|
|
42
|
+
name:{
|
|
43
|
+
type:String,
|
|
44
|
+
default:'',
|
|
45
|
+
},
|
|
46
|
+
isRequired:{
|
|
47
|
+
type:Number,
|
|
48
|
+
default:0,
|
|
49
|
+
},
|
|
50
|
+
nodeStatus:{
|
|
51
|
+
type:Number,
|
|
52
|
+
default:0
|
|
53
|
+
},
|
|
54
|
+
validator:{
|
|
55
|
+
type:Boolean,
|
|
56
|
+
default:false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
emits:['input-change'],
|
|
60
|
+
setup(props, {emit}){
|
|
61
|
+
const text = ref<string>('');
|
|
62
|
+
if(props.variableValue.length!=0){
|
|
63
|
+
text.value = props.variableValue;
|
|
64
|
+
}
|
|
65
|
+
const onInputChanged = ():void => {
|
|
66
|
+
emit('input-change',{name:props.name,value:text.value});
|
|
67
|
+
};
|
|
68
|
+
return {
|
|
69
|
+
text,
|
|
70
|
+
onInputChanged,
|
|
71
|
+
props
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
</script>
|
|
76
|
+
<style lang="scss">
|
|
77
|
+
.form-input-box-mobile{
|
|
78
|
+
display:flex;
|
|
79
|
+
flex-direction: row;
|
|
80
|
+
align-items: center;
|
|
81
|
+
margin:0 16px;
|
|
82
|
+
border-bottom:1px solid #e7e7e7;
|
|
83
|
+
padding-top:5px;
|
|
84
|
+
}
|
|
85
|
+
.form-input-line {
|
|
86
|
+
display:flex;
|
|
87
|
+
margin-bottom: 10px;
|
|
88
|
+
flex:1;
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
|
|
91
|
+
}
|
|
92
|
+
.form-input-mobile {
|
|
93
|
+
border-color:transparent;
|
|
94
|
+
padding:5px 8px;
|
|
95
|
+
font-size:14px;
|
|
96
|
+
}
|
|
97
|
+
.validator-line {
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
color:#e54545;
|
|
100
|
+
margin-top: 3px;
|
|
101
|
+
}
|
|
102
|
+
</style>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="form-label">
|
|
3
|
+
{{ name }}
|
|
4
|
+
<div v-if="isRequired" style="color: red;">
|
|
5
|
+
*
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
<script lang="ts">
|
|
10
|
+
export default {
|
|
11
|
+
props:{
|
|
12
|
+
name:{
|
|
13
|
+
type:String,
|
|
14
|
+
default:''
|
|
15
|
+
},
|
|
16
|
+
isRequired:{
|
|
17
|
+
type:Number,
|
|
18
|
+
default:0
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(props){
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
</script>
|
|
26
|
+
<style lang="scss">
|
|
27
|
+
.form-label {
|
|
28
|
+
display:flex;
|
|
29
|
+
width:70px;
|
|
30
|
+
padding-bottom: 8px;
|
|
31
|
+
}
|
|
32
|
+
</style>
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="label-container">
|
|
3
|
+
<div>
|
|
4
|
+
<Label :name="name" :is-required="isRequired"/>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="radio-container">
|
|
7
|
+
<div v-if="validator" class="validator-line">
|
|
8
|
+
请填写必填项
|
|
9
|
+
</div>
|
|
10
|
+
<div class="form-radio-box-mobile" v-for="(item,index) in chooseItemList" :key="index">
|
|
11
|
+
<div class="radio-container-uni" @click="clickItem(index)">
|
|
12
|
+
<div class="radio-icon-uni">
|
|
13
|
+
<div v-if="isUniFrameWork">
|
|
14
|
+
<image :src="changeSelectedIcon(item)" alt="" style="width: 20px; height: 20px; vertical-align: middle;"/>
|
|
15
|
+
</div>
|
|
16
|
+
<div v-else>
|
|
17
|
+
<img :src="changeSelectedIcon(item)" alt="" style="width: 20px; height: 20px; vertical-align: middle;"/>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="radio-label-uni">
|
|
21
|
+
{{ item }}
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
<script lang="ts">
|
|
30
|
+
import Label from './label-mobile.vue';
|
|
31
|
+
import vue from '../../../adapter-vue';
|
|
32
|
+
import Icon from '../../customer-icon.vue';
|
|
33
|
+
import radioUncheckIcon from '../../../assets/radio-uncheck.png';
|
|
34
|
+
import radioCheckIcon from '../../../assets/radio-check.png';
|
|
35
|
+
import { isPC, isH5,isWeChat, isUniFrameWork } from '../../../utils/env';
|
|
36
|
+
const { ref} = vue;
|
|
37
|
+
export default {
|
|
38
|
+
components:{
|
|
39
|
+
Label,
|
|
40
|
+
Icon
|
|
41
|
+
},
|
|
42
|
+
props:{
|
|
43
|
+
chooseItemList:{
|
|
44
|
+
type:Array,
|
|
45
|
+
default:[]
|
|
46
|
+
},
|
|
47
|
+
name:{
|
|
48
|
+
type:String,
|
|
49
|
+
default:'',
|
|
50
|
+
},
|
|
51
|
+
isRequired:{
|
|
52
|
+
type:Number,
|
|
53
|
+
default:0,
|
|
54
|
+
},
|
|
55
|
+
validator:{
|
|
56
|
+
type:Boolean,
|
|
57
|
+
default:false
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
emits:['input-change'],
|
|
61
|
+
setup(props,{emit}){
|
|
62
|
+
const selectedOption = ref<string>('');
|
|
63
|
+
const checkedIcon = ref<string>('');
|
|
64
|
+
const changeSelectedIcon = (name:any) => {
|
|
65
|
+
if(selectedOption.value === name)
|
|
66
|
+
return radioCheckIcon;
|
|
67
|
+
else
|
|
68
|
+
return radioUncheckIcon;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const clickItem=(index:number) => {
|
|
72
|
+
selectedOption.value = props.chooseItemList[index];
|
|
73
|
+
emit('input-change',{name:props.name,value:selectedOption.value});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const onInputChanged = ():void => {
|
|
77
|
+
emit('input-change',{name:props.name,value:selectedOption.value});
|
|
78
|
+
};
|
|
79
|
+
return {
|
|
80
|
+
onInputChanged,
|
|
81
|
+
selectedOption,
|
|
82
|
+
clickItem,
|
|
83
|
+
isUniFrameWork,
|
|
84
|
+
radioUncheckIcon,
|
|
85
|
+
radioCheckIcon,
|
|
86
|
+
changeSelectedIcon,
|
|
87
|
+
checkedIcon
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
</script>
|
|
92
|
+
<style lang="scss">
|
|
93
|
+
.label-container{
|
|
94
|
+
display:flex;
|
|
95
|
+
padding:0 16px;
|
|
96
|
+
}
|
|
97
|
+
.radio-container {
|
|
98
|
+
display:flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
margin-left:16px;
|
|
101
|
+
|
|
102
|
+
width:100%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.form-radio-box-mobile{
|
|
106
|
+
margin-bottom: 5px;
|
|
107
|
+
padding:10px 0;
|
|
108
|
+
border-bottom: 1px solid #e7e7e7;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
input[type="radio"] {
|
|
112
|
+
display: none;
|
|
113
|
+
+label {
|
|
114
|
+
position: relative;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
&::before {
|
|
117
|
+
content: "";
|
|
118
|
+
position: absolute;
|
|
119
|
+
left: -24px;
|
|
120
|
+
top: 0px;
|
|
121
|
+
border-radius: 50%;
|
|
122
|
+
// border: 1px solid #6f686a;
|
|
123
|
+
width: 20px;
|
|
124
|
+
height: 20px;
|
|
125
|
+
background-image: url('../../../assets/radio-uncheck.png');
|
|
126
|
+
background-size: cover;
|
|
127
|
+
background-position: center;
|
|
128
|
+
}
|
|
129
|
+
&::after {
|
|
130
|
+
content: "";
|
|
131
|
+
position: absolute;
|
|
132
|
+
left: -24px;
|
|
133
|
+
top: 0px;
|
|
134
|
+
border-radius: 50%;
|
|
135
|
+
width: 20px;
|
|
136
|
+
height: 20px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
&:checked {
|
|
140
|
+
+ label::after {
|
|
141
|
+
background-image: url('../../../assets/radio-check.png');
|
|
142
|
+
background-size: cover;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.radio-container-uni{
|
|
148
|
+
display:flex;
|
|
149
|
+
flex-direction: row;
|
|
150
|
+
width: 100%;
|
|
151
|
+
align-items: center;
|
|
152
|
+
.radio-icon-uni {
|
|
153
|
+
margin-right:5px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
.validator-line {
|
|
157
|
+
font-size: 12px;
|
|
158
|
+
color:#e54545;
|
|
159
|
+
margin-top: 3px;
|
|
160
|
+
}
|
|
161
|
+
</style>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="form-input-box">
|
|
3
|
+
<div class="form-input-line">
|
|
4
|
+
<input
|
|
5
|
+
v-model="text"
|
|
6
|
+
:class="['form-input',validator? 'form-input-validate':'']"
|
|
7
|
+
:placeholder="placeholder"
|
|
8
|
+
@change="onInputChanged"
|
|
9
|
+
>
|
|
10
|
+
<div v-if="validator" class="validator-line">
|
|
11
|
+
请填写必填项
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
<script lang="ts">
|
|
18
|
+
import vue from '../../../adapter-vue';
|
|
19
|
+
const { computed, ref} = vue;
|
|
20
|
+
|
|
21
|
+
interface FormItem{
|
|
22
|
+
name:string;
|
|
23
|
+
value:string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
props:{
|
|
29
|
+
placeholder:{
|
|
30
|
+
type:String,
|
|
31
|
+
default:''
|
|
32
|
+
},
|
|
33
|
+
variableValue:{
|
|
34
|
+
type:String,
|
|
35
|
+
default:''
|
|
36
|
+
},
|
|
37
|
+
name:{
|
|
38
|
+
type:String,
|
|
39
|
+
default:'',
|
|
40
|
+
},
|
|
41
|
+
isRequired:{
|
|
42
|
+
type:Number,
|
|
43
|
+
default:0,
|
|
44
|
+
},
|
|
45
|
+
nodeStatus:{
|
|
46
|
+
type:Number,
|
|
47
|
+
default:0
|
|
48
|
+
},
|
|
49
|
+
validator:{
|
|
50
|
+
type:Boolean,
|
|
51
|
+
default:false
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
emits:['input-change'],
|
|
55
|
+
setup(props, {emit}){
|
|
56
|
+
const text = ref<string>('');
|
|
57
|
+
if(props.variableValue.length!=0){
|
|
58
|
+
text.value = props.variableValue;
|
|
59
|
+
}
|
|
60
|
+
const onInputChanged = ():void => {
|
|
61
|
+
emit('input-change',{name:props.name,value:text.value});
|
|
62
|
+
};
|
|
63
|
+
return {
|
|
64
|
+
text,
|
|
65
|
+
onInputChanged
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
</script>
|
|
70
|
+
<style lang="scss">
|
|
71
|
+
|
|
72
|
+
.form-input-line {
|
|
73
|
+
display:flex;
|
|
74
|
+
margin-bottom: 10px;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
}
|
|
77
|
+
.form-input {
|
|
78
|
+
flex:1;
|
|
79
|
+
height: 27px;
|
|
80
|
+
border-radius: 5px;
|
|
81
|
+
border-color: transparent;
|
|
82
|
+
width:300px;
|
|
83
|
+
padding:5px 8px;
|
|
84
|
+
}
|
|
85
|
+
.form-input-validate {
|
|
86
|
+
border:1px solid #e54545;
|
|
87
|
+
}
|
|
88
|
+
.validator-line {
|
|
89
|
+
font-size: 12px;
|
|
90
|
+
color:#e54545;
|
|
91
|
+
margin-top: 3px;
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="form-label">
|
|
3
|
+
<div v-if="isRequired" style="color: red;">
|
|
4
|
+
*
|
|
5
|
+
</div>
|
|
6
|
+
{{ name }}
|
|
7
|
+
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script lang="ts">
|
|
11
|
+
export default {
|
|
12
|
+
props:{
|
|
13
|
+
name:{
|
|
14
|
+
type:String,
|
|
15
|
+
default:''
|
|
16
|
+
},
|
|
17
|
+
isRequired:{
|
|
18
|
+
type:Number,
|
|
19
|
+
default:0
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
setup(props){
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
<style lang="scss">
|
|
28
|
+
.form-label {
|
|
29
|
+
display:flex;
|
|
30
|
+
padding-bottom: 8px;
|
|
31
|
+
margin-top:12px;
|
|
32
|
+
}
|
|
33
|
+
</style>
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="radio-container-pc">
|
|
4
|
+
<div v-if="validator" class="validator-line">
|
|
5
|
+
请填写必填项
|
|
6
|
+
</div>
|
|
7
|
+
<div class="form-radio-box-pc" v-for="(item,index) in chooseItemList" :key="index">
|
|
8
|
+
<div class="radio-container-pc-icon" @click="clickItem(index)">
|
|
9
|
+
<div class="radio-icon">
|
|
10
|
+
<img :src="changeSelectedIcon(item)" alt="" style="width: 20px; height: 20px; vertical-align: middle;"/>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="radio-label">
|
|
13
|
+
{{ item }}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
<script lang="ts">
|
|
22
|
+
import vue from '../../../adapter-vue';
|
|
23
|
+
import Icon from '../../customer-icon.vue';
|
|
24
|
+
import radioUncheckIcon from '../../../assets/radio-uncheck.png';
|
|
25
|
+
import radioCheckIcon from '../../../assets/radio-check.png';
|
|
26
|
+
const { ref} = vue;
|
|
27
|
+
export default {
|
|
28
|
+
props:{
|
|
29
|
+
chooseItemList:{
|
|
30
|
+
type:Array,
|
|
31
|
+
default:[]
|
|
32
|
+
},
|
|
33
|
+
name:{
|
|
34
|
+
type:String,
|
|
35
|
+
default:'',
|
|
36
|
+
},
|
|
37
|
+
isRequired:{
|
|
38
|
+
type:Number,
|
|
39
|
+
default:0,
|
|
40
|
+
},
|
|
41
|
+
validator:{
|
|
42
|
+
type:Boolean,
|
|
43
|
+
default:false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
emits:['input-change'],
|
|
47
|
+
setup(props,{emit}){
|
|
48
|
+
const selectedOption = ref<string>('');
|
|
49
|
+
const checkedIcon = ref<string>('');
|
|
50
|
+
const changeSelectedIcon = (name:any) => {
|
|
51
|
+
if(selectedOption.value === name)
|
|
52
|
+
return radioCheckIcon;
|
|
53
|
+
else
|
|
54
|
+
return radioUncheckIcon;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const clickItem=(index:number) => {
|
|
58
|
+
selectedOption.value = props.chooseItemList[index];
|
|
59
|
+
emit('input-change',{name:props.name,value:selectedOption.value});
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const onInputChanged = ():void => {
|
|
63
|
+
emit('input-change',{name:props.name,value:selectedOption.value});
|
|
64
|
+
};
|
|
65
|
+
return {
|
|
66
|
+
onInputChanged,
|
|
67
|
+
selectedOption,
|
|
68
|
+
clickItem,
|
|
69
|
+
radioUncheckIcon,
|
|
70
|
+
radioCheckIcon,
|
|
71
|
+
changeSelectedIcon,
|
|
72
|
+
checkedIcon
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
</script>
|
|
77
|
+
<style lang="scss">
|
|
78
|
+
.form-radio-box{
|
|
79
|
+
margin-bottom: 5px;
|
|
80
|
+
}
|
|
81
|
+
.radio-container-pc {
|
|
82
|
+
display:flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
width:100%;
|
|
85
|
+
}
|
|
86
|
+
.form-radio-box-pc{
|
|
87
|
+
padding: 5px 0;
|
|
88
|
+
}
|
|
89
|
+
.radio-container-pc-icon{
|
|
90
|
+
display:flex;
|
|
91
|
+
flex-direction: row;
|
|
92
|
+
width: 100%;
|
|
93
|
+
align-items: center;
|
|
94
|
+
.radio-icon {
|
|
95
|
+
margin-right:5px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</style>
|