1 |
- {"version":3,"sources":["webpack:///./src/assets/avatar.png","webpack:///./src/components/text-hide-by-line.vue?188e","webpack:///./src/components/text-hide.vue?1036","webpack:///./src/assets/icon-83.png","webpack:///./src/assets/icon-175.png","webpack:///./src/views/image-text/image-text-my-comments.vue?3150","webpack:///./src/assets/icon-152.png","webpack:///./src/components/text-hide.vue","webpack:///src/components/text-hide.vue","webpack:///./src/components/text-hide.vue?10de","webpack:///./src/components/text-hide.vue?a3c9","webpack:///./src/components/text-hide-by-line.vue","webpack:///src/components/text-hide-by-line.vue","webpack:///./src/components/text-hide-by-line.vue?59d7","webpack:///./src/components/text-hide-by-line.vue?b164","webpack:///./src/components/video-time.vue?d140","webpack:///./src/components/text-highlight.vue","webpack:///src/components/text-highlight.vue","webpack:///./src/components/text-highlight.vue?972c","webpack:///./src/components/text-highlight.vue?ad5c","webpack:///./src/views/image-text/image-text-my-comments.vue","webpack:///src/views/image-text/image-text-my-comments.vue","webpack:///./src/views/image-text/image-text-my-comments.vue?eaab","webpack:///./src/views/image-text/image-text-my-comments.vue?f464","webpack:///./src/assets/icon-151.png","webpack:///./src/components/video-time.vue","webpack:///src/components/video-time.vue","webpack:///./src/components/video-time.vue?9497","webpack:///./src/components/video-time.vue?89a0"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","attrs","content","highlightKey","color","hideBtn","_e","directives","name","rawName","value","valSize","maxSize","expression","on","$event","stopPropagation","showAll","_v","_s","staticRenderFns","components","TextHighlight","props","val","default","data","computed","component","ref","style","lineClamp","contentLine","maxLine","background","bgColor","_t","staticStyle","btnType","position","width","fontSize","height","require","TextHide","mounted","methods","heightChangeEvent","contentResizeObserver","domProps","$router","back","swipeCellList","openOrCloseEdit","edit","swipeCellOption","scopedSlots","_u","key","fn","item","headimg","user_name","create_at","toDetail","is_normal","cover","title","searchKeyword","app_logo","app_name","read_num","deletePopup","batchesDel","checkIds","TextHideByLine","SwipeCellList","VideoTime","showSearch","searchKey","listApi","itemButtons","text","click","bottomButtons","id","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AAI4F,SAAW,EAAI5F,EAAI6F,KAAO,UAEhJrE,EAAkB,GCIP,GACfZ,kBACAe,OAEAiE,UACA/D,YAGAE,UACA8D,gBACA,+CACA,mBACA,0BACA,+BACA,uECpBoV,I,wBCQhV7D,EAAY,eACd,EACAjC,EACAyB,GACA,EACA,KACA,WACA,MAIa,OAAAQ,E","file":"js/chunk-074f45aa.719759c5.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/avatar.0166dac5.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide-by-line.vue?vue&type=style&index=0&id=b3df1f9c&prod&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide.vue?vue&type=style&index=0&id=76d332c4&prod&scoped=true&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAipJREFUSEvtlT+I03AUx78vqUlxUwSHLv67gjqI4KAIelUQ3Rx0FYptk3boqG6l251jhzZJcxRnEXRSBO0piA6COKhQOb2lgyC6SdM2efI7ktKL6fWOlgxyvy2/vHw/v+/Le+9HiHlRzDzsAuee8R2ltNVqJfv9/iEAB/yT/FQUZT2bzfa2e7KpQNu29zPzLWa+wcxnAKghcYeI3jPzI1mWH+RyuV9bwScChZvBYHCHme8C2LtNB38A3FcUZXmS60igbdvHXNd9AuBECNQH8JKIPop9Zj4F4BIAJRT3mZmv67r+NXzQf4CNRuO0JEkvAOwbDyai1eFweLtUKn0b36/X60cSicQKMy+GxH97nne5WCx+2KQz/tBsNg97nvcWwMEwjJmvaJo2qNVqajKZPCve93q9d+Vy2TFNcw8RPY+A/pAk6Vw+n/8e6I0cVioVKZVKvWbm8+E0uq57XDjz3T8EcNSPWfM876ZwIZzKsvwlnF4ietPtdi9Uq1VPfDMCmqapATAiiuOZpmnXhDNVVT+NwYLQNcdxTvpOnwK4GqGha5pmjoDtdjvR6XTEDxY9tmkx87Ku6/csy7rIzKtR1UpEi4VC4ZVhGEtEJKo6vNbT6fRCJpMZbjicF9CyrCW/jbYGirexplQAYy8aAY21LYKkx9r4AdQwjAUiejxptDHzxmgjotlHWwCNdXiP13Rs11NUg8dyAUeBZ9mbeuPPIh45BuctOE3v/3f4F13lcCw5+yazAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"img/icon-175.d86870bd.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./image-text-my-comments.vue?vue&type=style&index=0&id=43223e64&prod&scoped=true&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAOxJREFUWEft1bENwjAQheE/HRuwA2NQ0TIBFRVLMAjMQEtFyQhIjMAGVAhZsiULBZ995yKIS3tx8uX5Lh6Y2DVMzIODpB3xhDwhKQGp7j30twmt4pefpQSkeo8eCphTfNEaMKGsoISZRdATMKEsoBxzi6AFYEJpQZ+YZQRdABNKAxrDPCJoDphQraASJg2QCdUCqsGYUbWgFowJVQPSYNQoCWTBqFAlUA9MM6oE2gBH4A6E/0wabek4+lbPp+8AbMdulLYsHAPXDpg8qR2wB14akDYN9TopIfWDtQsdJCXnCXlCUgJS3Xvo5xJ6A/WPQiV5qJTwAAAAAElFTkSuQmCC\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"text-hide\"},[_c('text-highlight',{attrs:{\"val\":_vm.content,\"highlight-key\":_vm.highlightKey,\"color\":_vm.color}}),(!_vm.hideBtn)?_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.valSize > _vm.maxSize),expression:\"valSize > maxSize\"}],staticClass:\"full-text\",on:{\"click\":function($event){$event.stopPropagation();_vm.showAll = !_vm.showAll}}},[_vm._v(\"\\n \"+_vm._s(_vm.showAll ? '收起' : '全文')+\"\\n \")]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <span class=\"text-hide\">\r\n <text-highlight :val=\"content\" :highlight-key=\"highlightKey\" :color=\"color\"/>\r\n <span\r\n class=\"full-text\"\r\n @click.stop=\"showAll = !showAll\"\r\n v-show=\"valSize > maxSize\"\r\n v-if=\"!hideBtn\"\r\n >\r\n {{ showAll ? '收起' : '全文' }}\r\n </span>\r\n </span>\r\n</template>\r\n\r\n<script>\r\n\r\nimport TextHighlight from \"@/components/text-highlight.vue\";\r\nimport {getStringByMaxSize, getStringSize} from \"@/common/util\";\r\n\r\nexport default {\r\n name: 'text-hide',\r\n components: {TextHighlight},\r\n props: {\r\n val: {\r\n default: '',\r\n },\r\n maxSize: {\r\n default: 50,\r\n },\r\n hideBtn: {\r\n default: false,\r\n },\r\n highlightKey: {\r\n default: '',\r\n },\r\n color: {\r\n default: '#FF6700',\r\n },\r\n },\r\n data() {\r\n return {\r\n showAll: false,\r\n };\r\n },\r\n computed: {\r\n valSize() {\r\n return getStringSize(this.val);\r\n },\r\n content() {\r\n const maxSize = this.maxSize;\r\n let val = this.val;\r\n if (!this.showAll && this.valSize > maxSize && maxSize > 0) {\r\n val = getStringByMaxSize(val, maxSize) + '...';\r\n }\r\n return val;\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.full-text {\r\n color: #2A63F3;\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text-hide.vue?vue&type=template&id=76d332c4&scoped=true&\"\nimport script from \"./text-hide.vue?vue&type=script&lang=js&\"\nexport * from \"./text-hide.vue?vue&type=script&lang=js&\"\nimport style0 from \"./text-hide.vue?vue&type=style&index=0&id=76d332c4&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"76d332c4\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{ref:\"textHide\",staticClass:\"text-hide-by-line ellipsis\",style:({\n lineClamp: _vm.showAll ? _vm.contentLine + 2 : _vm.maxLine,\n background: _vm.bgColor,\n})},[(_vm.contentLine === 0)?_c('span',{ref:\"textFixed\",staticClass:\"text-hide-by-line text-hide-by-line-fixed\"},[_vm._t(\"default\"),_c('text-highlight',{attrs:{\"val\":_vm.content,\"highlight-key\":_vm.highlightKey,\"color\":_vm.color}}),_c('span',{staticClass:\"full-text\",staticStyle:{\"position\":\"relative\"}},[_vm._v(\"全文\")])],2):_vm._e(),_vm._t(\"default\"),_c('text-highlight',{attrs:{\"val\":_vm.content,\"highlight-key\":_vm.highlightKey,\"color\":_vm.color}}),(!_vm.hideBtn && _vm.btnType === 'text')?_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.contentLine > _vm.maxLine),expression:\"contentLine > maxLine\"}],staticClass:\"full-text\",style:({\n background: _vm.bgColor,\n position: _vm.showAll ? 'relative' : 'absolute',\n }),on:{\"click\":function($event){$event.stopPropagation();_vm.showAll = !_vm.showAll}}},[_vm._v(\"\\n \"+_vm._s(_vm.showAll ? '收起' : '全文')+\"\\n \")]):_vm._e(),(!_vm.hideBtn && _vm.btnType === 'icon')?_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.contentLine > _vm.maxLine),expression:\"contentLine > maxLine\"}],staticClass:\"full-text-icon\",style:({\n background: _vm.bgColor,\n width: _vm.fontSize + 'px',\n height: _vm.fontSize + 'px',\n }),on:{\"click\":function($event){$event.stopPropagation();_vm.showAll = !_vm.showAll}}},[(_vm.showAll)?_c('img',{attrs:{\"src\":require(\"../assets/icon-152.png\"),\"alt\":\"\"}}):_c('img',{attrs:{\"src\":require(\"../assets/icon-151.png\"),\"alt\":\"\"}})]):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <span class=\"text-hide-by-line ellipsis\" ref=\"textHide\" :style=\"{\r\n lineClamp: showAll ? contentLine + 2 : maxLine,\r\n background: bgColor,\r\n }\">\r\n <span class=\"text-hide-by-line text-hide-by-line-fixed\" ref=\"textFixed\" v-if=\"contentLine === 0\">\r\n <slot></slot>\r\n <text-highlight :val=\"content\" :highlight-key=\"highlightKey\" :color=\"color\"/>\r\n <span class=\"full-text\" style=\"position: relative\">全文</span>\r\n </span>\r\n <slot></slot>\r\n <text-highlight :val=\"content\" :highlight-key=\"highlightKey\" :color=\"color\"/>\r\n <span\r\n class=\"full-text\"\r\n :style=\"{\r\n background: bgColor,\r\n position: showAll ? 'relative' : 'absolute',\r\n }\"\r\n @click.stop=\"showAll = !showAll\"\r\n v-show=\"contentLine > maxLine\"\r\n v-if=\"!hideBtn && btnType === 'text'\"\r\n >\r\n {{ showAll ? '收起' : '全文' }}\r\n </span>\r\n <span\r\n class=\"full-text-icon\"\r\n :style=\"{\r\n background: bgColor,\r\n width: fontSize + 'px',\r\n height: fontSize + 'px',\r\n }\"\r\n @click.stop=\"showAll = !showAll\"\r\n v-show=\"contentLine > maxLine\"\r\n v-if=\"!hideBtn && btnType === 'icon'\"\r\n >\r\n <img src=\"../assets/icon-152.png\" alt=\"\" v-if=\"showAll\">\r\n <img src=\"../assets/icon-151.png\" alt=\"\" v-else>\r\n </span>\r\n </span>\r\n</template>\r\n\r\n<script>\r\n\r\nimport TextHighlight from \"@/components/text-highlight.vue\";\r\nimport {getStringByMaxSize, getStringSize} from \"@/common/util\";\r\nimport TextHide from \"@/components/text-hide.vue\";\r\n\r\nexport default {\r\n name: 'text-hide-by-line',\r\n components: {TextHide, TextHighlight},\r\n props: {\r\n val: {\r\n default: '',\r\n },\r\n maxLine: {\r\n default: 2,\r\n },\r\n hideBtn: {\r\n default: false,\r\n },\r\n bgColor: {\r\n default: '#FFFFFF'\r\n },\r\n btnType: {\r\n default: 'text',\r\n },\r\n highlightKey: {\r\n default: '',\r\n },\r\n color: {\r\n default: '#FF6700',\r\n },\r\n },\r\n data() {\r\n return {\r\n showAll: false,\r\n contentLine: 0,\r\n fontSize: 0,\r\n };\r\n },\r\n computed: {\r\n valSize() {\r\n return getStringSize(this.val);\r\n },\r\n content() {\r\n const maxSize = this.maxSize;\r\n let val = this.val;\r\n if (!this.showAll && this.valSize > maxSize && maxSize > 0) {\r\n val = getStringByMaxSize(val, maxSize) + '...';\r\n }\r\n return val;\r\n },\r\n },\r\n mounted() {\r\n this.$nextTick(() => {\r\n this.heightChangeEvent();\r\n });\r\n },\r\n methods: {\r\n heightChangeEvent(item) {\r\n const content = this.$refs.textHide;\r\n // resize后的处理逻辑\r\n const contentResizeObserver = new ResizeObserver(() => {\r\n this.contentLine = 0;\r\n if (!!this.$refs.textHide) {\r\n this.fontSize = parseFloat(window.getComputedStyle(this.$refs.textHide).fontSize);\r\n }\r\n this.$nextTick(() => {\r\n if (this.contentLine === 0 && !!this.$refs.textFixed) {\r\n const textFixedWidth = parseFloat(this.$refs.textFixed.offsetWidth);\r\n const textHideWidth = parseFloat(this.$refs.textHide.offsetWidth);\r\n this.contentLine = Math.ceil(textFixedWidth / textHideWidth);\r\n }\r\n });\r\n }); // 创建一个observer实例\r\n contentResizeObserver.observe(content);\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.text-hide-by-line {\r\n position: relative;\r\n}\r\n\r\n.ellipsis {\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n /*-webkit-line-clamp: 2;*/\r\n display: -webkit-box;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.full-text {\r\n color: #2A63F3;\r\n position: absolute;\r\n padding: 0 5px;\r\n right: 0;\r\n bottom: 0;\r\n}\r\n\r\n.text-hide-by-line-fixed {\r\n display: block;\r\n white-space: nowrap;\r\n position: fixed;\r\n left: -200vw;\r\n top: -100vh;\r\n}\r\n\r\n.text-hide-by-line-fixed * {\r\n display: inline-block;\r\n}\r\n\r\n.full-text-icon{\r\n position: absolute;\r\n padding: 0 5px;\r\n right: 0;\r\n bottom: 0;\r\n display: inline-block;\r\n align-items: center;\r\n}\r\n\r\n.full-text-icon img{\r\n width: 120%;\r\n display: block;\r\n position: relative;\r\n transform: translateX(-10%) translateY(-20%);\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide-by-line.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-hide-by-line.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text-hide-by-line.vue?vue&type=template&id=b3df1f9c&scoped=true&\"\nimport script from \"./text-hide-by-line.vue?vue&type=script&lang=js&\"\nexport * from \"./text-hide-by-line.vue?vue&type=script&lang=js&\"\nimport style0 from \"./text-hide-by-line.vue?vue&type=style&index=0&id=b3df1f9c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b3df1f9c\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./video-time.vue?vue&type=style&index=0&id=555be09a&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"text-highlight\",domProps:{\"innerHTML\":_vm._s(_vm.content)}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <span class=\"text-highlight\" v-html=\"content\"></span>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'text-highlight',\r\n props: {\r\n val: {\r\n default: '',\r\n },\r\n highlightKey: {\r\n default: '',\r\n },\r\n color: {\r\n default: '#FF6700',\r\n },\r\n },\r\n computed: {\r\n content() {\r\n const highlightKey = this.highlightKey;\r\n const color = this.color;\r\n let val = this.val;\r\n // if (val && highlightKey) {\r\n // val = val.replace(\r\n // RegExp(highlightKey, 'g'),\r\n // `<span style=\"color: ${color}\">${highlightKey}</span>`,\r\n // );\r\n // }\r\n return val;\r\n },\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-highlight.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./text-highlight.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./text-highlight.vue?vue&type=template&id=3ec1bdd9&\"\nimport script from \"./text-highlight.vue?vue&type=script&lang=js&\"\nexport * from \"./text-highlight.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"header-wrap\"},[_c('div',{staticClass:\"header\"},[_c('img',{staticClass:\"return-img\",attrs:{\"src\":require(\"@/assets/return.png\"),\"alt\":\"\"},on:{\"click\":function($event){return _vm.$router.back()}}}),_c('p',{staticClass:\"header-title\"},[_vm._v(\"我的评论\")]),_c('button',{staticClass:\"header-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.swipeCellList.openOrCloseEdit()}}},[_vm._v(\"\\n \"+_vm._s(_vm.swipeCellList && _vm.swipeCellList.edit ? '取消' : '管理')+\"\\n \")])])]),_c('swipe-cell-list',{ref:\"swipeCellList\",attrs:{\"option\":_vm.swipeCellOption},scopedSlots:_vm._u([{key:\"item\",fn:function({item}){return [_c('div',{staticClass:\"my-collection-item-column\"},[_c('div',{staticClass:\"like-me-top\"},[_c('div',{staticClass:\"like-me-top-top\"},[(item.headimg)?_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":item.headimg,\"alt\":\"\"}}):_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":require(\"@/assets/avatar.png\"),\"alt\":\"\"}}),_c('div',{staticClass:\"reply-between-box\"},[_c('div',{staticClass:\"like-me-top-top-sidebar\"},[_c('p',{staticClass:\"like-me-top-top-name\"},[_c('text-hide',{attrs:{\"val\":item.user_name || '匿名用户',\"max-size\":10,\"hide-btn\":true}})],1),_c('p',{staticClass:\"like-me-top-top-time\"},[_vm._v(_vm._s(item.create_at))])])])]),_c('p',{staticClass:\"like-me-top-bottom\"},[_c('text-hide-by-line',{attrs:{\"val\":item.content}})],1)]),_c('div',{staticClass:\"my-collection-module\",on:{\"click\":function($event){return _vm.toDetail(item)}}},[_c('div',{staticClass:\"my-collection-module-top\"},[(item.is_normal === 0)?_c('div',{staticClass:\"my-collection-module-top-img-box\"},[_c('img',{staticClass:\"my-collection-module-top-img\",attrs:{\"src\":require(\"@/assets/icon-175.png\"),\"alt\":\"\"}})]):_c('div',{staticClass:\"my-collection-module-top-img-box\"},[_c('img',{staticClass:\"my-collection-module-top-img\",attrs:{\"src\":item.cover,\"alt\":\"\"}}),_c('span',{staticClass:\"my-collection-module-top-time\"},[_vm._v(\"图文\")])]),_c('div',{staticClass:\"my-collection-module-top-sidebar\"},[_c('div',{staticClass:\"my-collection-module-top-sidebar-top\"},[_c('p',{staticClass:\"my-collection-module-top-sidebar-title\"},[_c('text-highlight',{attrs:{\"val\":item.title,\"highlight-key\":_vm.swipeCellList.searchKeyword}})],1)]),_c('div',{staticClass:\"my-collection-module-top-sidebar-bottom\"},[_c('p',{staticClass:\"my-collection-module-top-sidebar-row1\"},[(item.app_logo)?_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":item.app_logo,\"alt\":\"\"}}):_c('img',{staticClass:\"like-me-top-top-img\",attrs:{\"src\":require(\"@/assets/avatar.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(_vm._s(item.app_name || '匿名用户'))])]),_c('p',{staticClass:\"my-collection-module-top-sidebar-row2\"},[_c('img',{attrs:{\"src\":require(\"@/assets/icon-83.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(_vm._s(item.read_num))])])])])])])])]}}])}),_c('van-overlay',{attrs:{\"show\":_vm.deletePopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.deletePopup = false}}},[_c('div',{staticClass:\"window\"},[_c('span',{staticClass:\"window-text\"},[_vm._v(\"确定要删除该信息\")]),_c('div',{staticClass:\"window-btn-box\"},[_c('button',{staticClass:\"cancel\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.deletePopup = false}}},[_vm._v(\"取消\")]),_c('button',{staticClass:\"confirm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.batchesDel(_vm.checkIds)}}},[_vm._v(\"确定\")])])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 学习服务-图文-我的评论 -->\r\n<template>\r\n <div class=\"wrap\">\r\n\r\n <div class=\"header-wrap\">\r\n <div class=\"header\">\r\n <img src=\"@/assets/return.png\" class=\"return-img\" @click=\"$router.back()\" alt=\"\">\r\n <p class=\"header-title\">我的评论</p>\r\n <button type=\"button\" class=\"header-btn\" @click=\"swipeCellList.openOrCloseEdit()\">\r\n {{ swipeCellList && swipeCellList.edit ? '取消' : '管理' }}\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <swipe-cell-list ref=\"swipeCellList\" :option=\"swipeCellOption\">\r\n <template #item=\"{item}\">\r\n\r\n <div class=\"my-collection-item-column\">\r\n <div class=\"like-me-top\">\r\n <div class=\"like-me-top-top\">\r\n <img :src=\"item.headimg\" class=\"like-me-top-top-img\" v-if=\"item.headimg\" alt=\"\">\r\n <img src=\"@/assets/avatar.png\" class=\"like-me-top-top-img\" v-else alt=\"\">\r\n <div class=\"reply-between-box\">\r\n <div class=\"like-me-top-top-sidebar\">\r\n <p class=\"like-me-top-top-name\">\r\n <text-hide :val=\"item.user_name || '匿名用户'\" :max-size=\"10\" :hide-btn=\"true\"/>\r\n </p>\r\n <p class=\"like-me-top-top-time\">{{ item.create_at }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <p class=\"like-me-top-bottom\">\r\n <text-hide-by-line :val=\"item.content\"/>\r\n </p>\r\n </div>\r\n <div class=\"my-collection-module\" @click=\"toDetail(item)\">\r\n <div class=\"my-collection-module-top\">\r\n <!-- 失效时候显示 -->\r\n <div class=\"my-collection-module-top-img-box\" v-if=\"item.is_normal === 0\">\r\n <img src=\"@/assets/icon-175.png\" class=\"my-collection-module-top-img\" alt=\"\">\r\n </div>\r\n <!-- 正常 -->\r\n <div class=\"my-collection-module-top-img-box\" v-else>\r\n <img :src=\"item.cover\" class=\"my-collection-module-top-img\" alt=\"\">\r\n <span class=\"my-collection-module-top-time\">图文</span>\r\n </div>\r\n <div class=\"my-collection-module-top-sidebar\">\r\n <div class=\"my-collection-module-top-sidebar-top\">\r\n <p class=\"my-collection-module-top-sidebar-title\">\r\n <text-highlight :val=\"item.title\" :highlight-key=\"swipeCellList.searchKeyword\"/>\r\n </p>\r\n </div>\r\n <div class=\"my-collection-module-top-sidebar-bottom\">\r\n <p class=\"my-collection-module-top-sidebar-row1\">\r\n <img :src=\"item.app_logo\" class=\"like-me-top-top-img\" v-if=\"item.app_logo\" alt=\"\">\r\n <img src=\"@/assets/avatar.png\" class=\"like-me-top-top-img\" v-else alt=\"\">\r\n <span>{{ item.app_name || '匿名用户' }}</span>\r\n </p>\r\n <p class=\"my-collection-module-top-sidebar-row2\">\r\n <img src=\"@/assets/icon-83.png\" alt=\"\">\r\n <span>{{ item.read_num }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </template>\r\n </swipe-cell-list>\r\n\r\n\r\n <!-- 删除弹窗 -->\r\n <van-overlay :show=\"deletePopup\" @click=\"deletePopup = false\" z-index=\"99999\">\r\n <div class=\"window\">\r\n <span class=\"window-text\">确定要删除该信息</span>\r\n <div class=\"window-btn-box\">\r\n <button type=\"button\" class=\"cancel\" @click=\"deletePopup = false\">取消</button>\r\n <button type=\"button\" class=\"confirm\" @click=\"batchesDel(checkIds)\">确定</button>\r\n </div>\r\n </div>\r\n </van-overlay>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n ArticleService,\r\n VideoService\r\n} from \"@/common/service\";\r\nimport VideoTime from \"@/components/video-time\";\r\nimport {\r\n Toast\r\n} from \"vant\";\r\nimport SwipeCellList from \"@/components/swipe-cell-list.vue\";\r\nimport TextHide from \"@/components/text-hide.vue\";\r\nimport TextHighlight from \"@/components/text-highlight.vue\";\r\nimport TextHideByLine from \"@/components/text-hide-by-line.vue\";\r\n\r\nexport default {\r\n components: {\r\n TextHideByLine,\r\n TextHighlight,\r\n TextHide,\r\n SwipeCellList,\r\n VideoTime\r\n },\r\n data() {\r\n return {\r\n // 删除弹窗\r\n deletePopup: false,\r\n\r\n checkIds: '',\r\n\r\n swipeCellOption: {\r\n showSearch: true,\r\n searchKey: 'title',\r\n listApi: params => ArticleService.getCommentArticle(params),\r\n itemButtons: [{\r\n text: '删除',\r\n bgColor: '#FFAE18',\r\n click: item => {\r\n this.checkIds = item.id;\r\n this.deletePopup = true;\r\n },\r\n }],\r\n bottomButtons: [{\r\n text: '删除',\r\n bgColor: '#FFAE18',\r\n click: (items = []) => {\r\n if (items.length === 0) {\r\n return Toast('请至少选择一个');\r\n }\r\n this.checkIds = items.map(item => item.id).join(',');\r\n this.deletePopup = true;\r\n },\r\n }],\r\n },\r\n swipeCellList: null,\r\n };\r\n },\r\n mounted() {\r\n this.swipeCellList = this.$refs.swipeCellList;\r\n },\r\n methods: {\r\n toDetail(item) {\r\n if (item.is_normal === 0) return Toast('已下架');\r\n this.$router.push(`/image-text-details?id=${item.article_id}&item_id=${item.item_id}`);\r\n },\r\n\r\n // 删除\r\n batchesDel(ids) {\r\n return ArticleService.batchesDel({\r\n id: ids,\r\n type: 1,\r\n }).then(({msg}) => {\r\n Toast(msg);\r\n this.swipeCellList.resetList();\r\n this.swipeCellList.openOrCloseEdit(true);\r\n });\r\n },\r\n\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n/* 头部样式 */\r\n.header-wrap {\r\n width: 100%;\r\n height: 44px;\r\n /* \theight: 102px; */\r\n display: flex;\r\n flex-direction: column;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n z-index: 500;\r\n background-color: #FFFFFF;\r\n}\r\n\r\n.header-wrap-tab-list-none {\r\n height: 80px;\r\n padding-bottom: 10px;\r\n}\r\n\r\n.header {\r\n width: 100%;\r\n height: 44px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: #FFFFFF;\r\n z-index: 999;\r\n /* padding: 0 15px; */\r\n position: relative;\r\n box-sizing: border-box;\r\n}\r\n\r\n.return-img {\r\n position: absolute;\r\n left: 15px;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n width: 20px;\r\n z-index: 99999;\r\n}\r\n\r\n.header-title {\r\n width: 100%;\r\n text-align: center;\r\n color: #333333;\r\n font-size: 18px;\r\n font-weight:bold;\r\n position: relative;\r\n}\r\n\r\n.full-mark-read {\r\n position: absolute;\r\n right: 73px;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n color: #2A63F3;\r\n font-size: 11px;\r\n padding: 0 6px;\r\n border-radius: 50px;\r\n background-color: #F2F6FF;\r\n height: 20px;\r\n line-height: 20px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.full-mark-read>img {\r\n width: 14px;\r\n margin-right: 2px;\r\n}\r\n\r\n.header-btn {\r\n color: #222222;\r\n font-size: 14px;\r\n position: absolute;\r\n padding: 0 12px;\r\n right: 0;\r\n top: 50%;\r\n transform: translate(0, -50%);\r\n}\r\n\r\n.search-box {\r\n width: 100%;\r\n height: 56px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 12px;\r\n box-sizing: border-box;\r\n\r\n}\r\n\r\n.search-bar {\r\n flex: 1;\r\n height: 36px;\r\n background-color: #FFFFFF;\r\n border-radius: 100px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 15px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.search-icon {\r\n width: 16px;\r\n margin-right: 8px;\r\n}\r\n\r\n.search-input {\r\n flex: 1;\r\n font-size: 14px;\r\n}\r\n\r\n.search-input::placeholder {\r\n color: #888888;\r\n}\r\n\r\n.tab-list>li {\r\n flex: 1;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 38px;\r\n line-height: 38px;\r\n font-size: 16px;\r\n color: #555555;\r\n position: relative;\r\n}\r\n\r\n.tab-list>li.active {\r\n font-size: 18px;\r\n font-weight:bold;\r\n color: #222222;\r\n}\r\n\r\n.tab-list>li.active::after {\r\n content: \"\";\r\n position: absolute;\r\n bottom: 0;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n background: linear-gradient(90deg, #2A63F3, #81B8FF);\r\n border-radius: 2px;\r\n width: 18px;\r\n height: 4px;\r\n}\r\n\r\n\r\n\r\n\r\n.wrap {\r\n width: 100%;\r\n height: calc(100vh - 44px);\r\n display: flex;\r\n flex-direction: column;\r\n margin: 44px 0 0;\r\n box-sizing: border-box;\r\n background: #F4F4F4;\r\n overflow-y: auto;\r\n}\r\n\r\n.wrap-tab-list-none {\r\n height: calc(100vh - 90px);\r\n margin: 90px 0 0;\r\n}\r\n\r\n.sub-list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 12px 15px;\r\n box-sizing: border-box;\r\n /*height: 100%;*/\r\n overflow: auto;\r\n}\r\n\r\n.sub-list>li {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n background-color: #FFFFFF;\r\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n border-radius: 12px;\r\n margin-bottom: 12px;\r\n padding: 10px;\r\n box-sizing: border-box;\r\n position: relative;\r\n}\r\n\r\n\r\n.sub-list>li:last-child {\r\n margin-bottom: 0;\r\n}\r\n\r\n.float-box {\r\n position: fixed;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n bottom: 40px;\r\n z-index: 499;\r\n}\r\n\r\n.float-box>button {\r\n min-width: 175px;\r\n height: 44px;\r\n line-height: 44px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #2A63F3;\r\n border-radius: 100px;\r\n color: #FFFFFF;\r\n font-size: 18px;\r\n font-weight:bold;\r\n}\r\n\r\n.module {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 5px 15px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.time {\r\n width: 100%;\r\n color: #7F7F7F;\r\n font-size: 10px;\r\n margin-bottom: 12px;\r\n}\r\n\r\n.list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.list>li {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 12px;\r\n background-color: #FFFFFF;\r\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n border-radius: 12px;\r\n padding: 12px 10px 14px 18px;\r\n box-sizing: border-box;\r\n position: relative;\r\n}\r\n\r\n.list>li:last-child {\r\n margin-bottom: 0;\r\n}\r\n\r\n.img-box {\r\n width: 26px;\r\n height: 30px;\r\n position: relative;\r\n margin-right: 16px;\r\n}\r\n\r\n.img {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.tag {\r\n width: 34px;\r\n height: 14px;\r\n line-height: 14px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background: linear-gradient(90deg, #FFCD7C, #FFEEBA);\r\n border-radius: 0 7px 0 7px;\r\n color: #222222;\r\n font-size: 12px;\r\n font-weight: bold;\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n}\r\n\r\n.tag-black {\r\n width: 34px;\r\n height: 14px;\r\n line-height: 14px;\r\n background: rgba(0, 0, 0, 0.8);\r\n border-radius: 50px;\r\n color: #FFFFFF;\r\n font-size: 9px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n position: absolute;\r\n right: 8px;\r\n bottom: 8px;\r\n}\r\n\r\n.item-sidebar {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.item-name {\r\n width: 100%;\r\n line-height: 21px;\r\n color: #222222;\r\n font-size: 15px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.row {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 12px;\r\n}\r\n\r\n.avatar {\r\n width: 14px;\r\n height: 14px;\r\n border-radius: 50%;\r\n margin-right: 4px;\r\n object-fit: cover;\r\n}\r\n\r\n.row2 {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 12px;\r\n}\r\n\r\n.play-icon {\r\n width: 12px;\r\n margin-right: 4px;\r\n}\r\n\r\n.item-between {\r\n width: 100%;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n}\r\n\r\n.circle-btn {\r\n width: 13px;\r\n height: 13px;\r\n}\r\n\r\n.circle-icon {\r\n width: 13px;\r\n}\r\n\r\n.font-1 {\r\n font-size: 10px;\r\n color: #888888;\r\n}\r\n\r\n.normal-box-small {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n font-size: 16px;\r\n color: #888888;\r\n padding: 48px 0;\r\n}\r\n\r\n.normal-box-small>img {\r\n width: 195.2px;\r\n margin-bottom: 38px;\r\n}\r\n\r\n.my-collection-list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 0 12px 0;\r\n box-sizing: border-box;\r\n}\r\n\r\n.my-collection-list>li {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n padding-top: 14px;\r\n padding-bottom: 10px;\r\n padding-right: 10px;\r\n padding-left: 10px;\r\n box-sizing: border-box;\r\n background-color: #FFFFFF;\r\n border-radius: 10px;\r\n margin-bottom: 10px;\r\n}\r\n\r\n.my-circle-box {\r\n padding-right: 10px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.my-circle-box>img {\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.my-collection-module {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n background-color: #F3F3F3;\r\n border-radius: 6px;\r\n padding: 10px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.my-collection-module-top {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.my-collection-module-top-img-box {\r\n width: 130px;\r\n height: 73px;\r\n border-radius: 6px;\r\n overflow: hidden;\r\n position: relative;\r\n margin-right: 10px;\r\n}\r\n\r\n.my-collection-module-top-img {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.my-collection-module-top-time {\r\n background: rgba(0, 0, 0, 0.7);\r\n height: 12px;\r\n line-height: 12px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 2px;\r\n font-size: 9px;\r\n color: #FFFFFF;\r\n position: absolute;\r\n right: 7px;\r\n bottom: 4px;\r\n}\r\n\r\n.my-collection-module-top-time-gray {\r\n background: rgba(0, 0, 0, 0.3);\r\n height: 12px;\r\n line-height: 12px;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 2px;\r\n font-size: 9px;\r\n color: #FFFFFF;\r\n position: absolute;\r\n right: 7px;\r\n bottom: 3px;\r\n}\r\n\r\n.my-collection-module-top-sidebar {\r\n flex: 1;\r\n height: 73px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n}\r\n\r\n.my-collection-module-top-sidebar-top {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.my-collection-module-top-sidebar-title {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.my-collection-module-top-sidebar-sub-title {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.my-collection-module-top-sidebar-bottom {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row1 {\r\n color: #666666;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n margin-right: 8px;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row1>span {\r\n max-width: 73px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row1>img {\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n margin-right: 2px;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row2 {\r\n color: #999999;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.my-collection-module-top-sidebar-row2>span {\r\n /* \tmax-width: 45px;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical; */\r\n}\r\n\r\n.my-collection-module-top-sidebar-row2>img {\r\n width: 12px;\r\n margin-right: 2px;\r\n}\r\n\r\n.my-collection-module-bottom {\r\n width: 100%;\r\n height: 45px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.my-collection-module-bottom-btn {\r\n display: flex;\r\n align-items: center;\r\n color: #333333;\r\n font-size: 12px;\r\n}\r\n\r\n.my-collection-module-bottom-btn.active {\r\n color: #2A63F3;\r\n}\r\n\r\n.my-collection-module-bottom-btn>img {\r\n width: 16px;\r\n margin-right: 4px;\r\n}\r\n\r\n.footer {\r\n width: 100%;\r\n height: 83px;\r\n box-sizing: border-box;\r\n padding-top: 8px;\r\n background-color: #FFFFFF;\r\n position: fixed;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 999;\r\n}\r\n\r\n.footer-wrap {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 0 12px;\r\n box-sizing: border-box;\r\n}\r\n\r\n.footer-all-btn {\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 14px;\r\n}\r\n\r\n.footer-all-btn>img {\r\n width: 24px;\r\n margin-right: 4px;\r\n}\r\n\r\n.cancel-collection-btn {\r\n background-color: #FFAF18;\r\n border-radius: 50px;\r\n width: 100px;\r\n height: 40px;\r\n color: #FFFFFF;\r\n font-size: 16px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.cancel-collection-btn.blue {\r\n background-color: #2A63F3;\r\n}\r\n\r\n.font-10 {\r\n color: #666666;\r\n font-size: 11px;\r\n}\r\n\r\n.font-11 {\r\n color: #FF6700;\r\n font-size: 11px;\r\n margin: 0 10px;\r\n}\r\n\r\n.header-tab-list {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n height: 40px;\r\n border-top: 1px solid #F4F4F4;\r\n box-sizing: border-box;\r\n background-color: #FFFFFF;\r\n}\r\n\r\n.header-tab-list>li {\r\n flex: 1;\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color: #222222;\r\n font-size: 15px;\r\n position: relative;\r\n}\r\n\r\n.header-tab-list>li.active {\r\n color: #2A63F3;\r\n font-weight: bold;\r\n}\r\n\r\n.header-tab-list>li.active::after {\r\n content: \"\";\r\n border-radius: 2px;\r\n background-color: #2A63F3;\r\n width: 34px;\r\n height: 3px;\r\n position: absolute;\r\n bottom: 0;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n}\r\n\r\n.header-tab-circle {\r\n color: #FFFFFF;\r\n font-size: 10px;\r\n min-width: 12px;\r\n height: 12px;\r\n line-height: 12px;\r\n padding: 0 2px;\r\n box-sizing: border-box;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 2px;\r\n background-color: #FF5143;\r\n border-radius: 50%;\r\n}\r\n\r\n.subscribe-messages-module {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.subscribe-messages-head-between {\r\n width: 100%;\r\n height: 45px;\r\n border-bottom: 1px solid #F4F4F4;\r\n box-sizing: border-box;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.subscribe-messages-head-left {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.font-12 {\r\n flex: 1;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n color: #222222;\r\n font-size: 15px;\r\n font-weight: bold;\r\n}\r\n\r\n.font-13 {\r\n margin-left: 4px;\r\n border-radius: 50px;\r\n background-color: #FF5143;\r\n padding: 0 5px;\r\n height: 16px;\r\n line-height: 16px;\r\n display: flex;\r\n align-items: center;\r\n color: #FFFFFF;\r\n font-size: 10px;\r\n}\r\n\r\n.subscribe-messages-head-right {\r\n color: #999999;\r\n font-size: 12px;\r\n margin-left: 6px;\r\n}\r\n\r\n.subscribe-messages-bottom {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 9px 0 13px;\r\n}\r\n\r\n.subscribe-messages-bottom-title {\r\n width: 100%;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n color: #222222;\r\n font-size: 13px;\r\n}\r\n\r\n.subscribe-messages-bottom-btn-box {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-top: 12px;\r\n}\r\n\r\n.subscribe-messages-bottom-btn {\r\n color: #222222;\r\n font-size: 11px;\r\n padding: 0 11px;\r\n height: 24px;\r\n line-height: 24px;\r\n border: 1px solid #979797;\r\n box-sizing: border-box;\r\n border-radius: 50px;\r\n width: fit-content;\r\n background-color: #FFFFFF;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.next-unread {\r\n width: 108px;\r\n height: 30px;\r\n border-radius: 15px 0 0 15px;\r\n border: 1px solid #2A63F3;\r\n background-color: #FFFFFF;\r\n position: fixed;\r\n right: 0;\r\n bottom: 68px;\r\n z-index: 9999;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n color: #2A63F3;\r\n font-size: 12px;\r\n}\r\n\r\n.next-unread>img {\r\n width: 12px;\r\n margin-right: 2px;\r\n}\r\n\r\n.like-me-top {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n margin-bottom: 8px;\r\n}\r\n\r\n.like-me-top-top {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.like-me-top-top-img {\r\n width: 34px;\r\n height: 34px;\r\n border-radius: 50%;\r\n margin-right: 8px;\r\n}\r\n\r\n.like-me-top-top-sidebar {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.like-me-top-top-name {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n}\r\n\r\n.like-me-top-top-time {\r\n width: 100%;\r\n color: #999999;\r\n font-size: 10px;\r\n}\r\n\r\n.like-me-top-bottom {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 14px;\r\n margin-top: 10px;\r\n}\r\n\r\n.comment-on {\r\n width: 100%;\r\n color: #666666;\r\n font-size: 14px;\r\n margin-bottom: 10px;\r\n}\r\n\r\n.full-text-btn {\r\n color: #2A63F3;\r\n font-size: 14px;\r\n}\r\n\r\n.reply-between-box {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.reply-btn-blue {\r\n color: #2A63F3;\r\n font-size: 11px;\r\n width: 50px;\r\n height: 24px;\r\n line-height: 24px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n border: 1px solid #2A63F3;\r\n border-radius: 40px;\r\n background-color: #FFFFFF;\r\n}\r\n.my-collection-item-column {\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 10px;\r\n}\r\n.window {\r\n width: calc(100% - 54px);\r\n height: 180px;\r\n border-radius: 12px;\r\n background-color: #FFFFFF;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 38px 25px 32px;\r\n box-sizing: border-box;\r\n position: fixed;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n z-index: 1000;\r\n}\r\n\r\n.window-text {\r\n color: #222222;\r\n font-size: 18px;\r\n}\r\n\r\n.window-btn-box {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-top: 43px;\r\n}\r\n\r\n.window-btn-box>button {\r\n flex: 1;\r\n height: 42px;\r\n font-size: 17px;\r\n margin-right: 27px;\r\n border-radius: 50px;\r\n}\r\n\r\n.window-btn-box>button:last-child {\r\n margin-right: 0;\r\n}\r\n\r\n.window-btn-box>button.cancel {\r\n background-color: #F4F4F4;\r\n color: #333333;\r\n}\r\n\r\n.window-btn-box>button.confirm {\r\n background-color: #2A63F3;\r\n color: #FFFFFF;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./image-text-my-comments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./image-text-my-comments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./image-text-my-comments.vue?vue&type=template&id=43223e64&scoped=true&\"\nimport script from \"./image-text-my-comments.vue?vue&type=script&lang=js&\"\nexport * from \"./image-text-my-comments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./image-text-my-comments.vue?vue&type=style&index=0&id=43223e64&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"43223e64\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAP5JREFUWEft1bENwjAQheE/HRuwA2NQ0TIBFRVLMAjMQEtFyQhIjMAGVAhdYSlCse/OdhGhSxXFdvLl2T4PzOwaZuYhQNqMREKRkJaA1h5r6O8S2gJ34KX9mbF9CRyAI/CZGlNaQzvgDDyBdQeUYG7ACjgBey9oA1yABfBoRI0xb0CSv3pB0r8HyoyRD1q2fQvKhbGCapNyYzwgL6oK4wVZUdWYGpCGasLUgnIoeZ7qTHFrl4qoZZflxv/uPuknRa8a05JQQo5R8qwJ0wM0nj65z1Zg41lnKoyWd0lSck0eB5YXpD4ta8jzHXPfAGlRRUKRkJaA1h5rKBLSEtDav898QiVd7SACAAAAAElFTkSuQmCC\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"video-time\"},[_vm._v(_vm._s(_vm.duration > 0 ? _vm.time : '视频'))])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"video-time\">{{ duration > 0 ? time : '视频'}}</div>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'video-time',\r\n props: {\r\n // 秒\r\n duration: {\r\n default: 0,\r\n },\r\n },\r\n computed: {\r\n time() {\r\n const add0 = num => (num >= 0 && num < 10 ? '0' : '') + num;\r\n const s = this.duration % 60;\r\n const m = (this.duration - s) / 60 % 60;\r\n const h = (this.duration - s - m * 60) / 60 / 60;\r\n return (h > 0 ? `${add0(h)}:` : '') + `${add0(m)}:${add0(m)}`;\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.video-time{\r\n padding: 0 4px;\r\n background-color: #000000;\r\n color: #FFFFFF;\r\n height: 14px;\r\n line-height: 14px;\r\n font-size: 10px;\r\n border-radius: 7px;\r\n opacity: 0.8;\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./video-time.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./video-time.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./video-time.vue?vue&type=template&id=555be09a&scoped=true&\"\nimport script from \"./video-time.vue?vue&type=script&lang=js&\"\nexport * from \"./video-time.vue?vue&type=script&lang=js&\"\nimport style0 from \"./video-time.vue?vue&type=style&index=0&id=555be09a&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"555be09a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|