1 |
- {"version":3,"sources":["webpack:///./src/assets/icon-181.png","webpack:///./src/views/supplier/supplier-my-subscriptions.vue?31e7","webpack:///./src/components/text-hide-by-line.vue?188e","webpack:///./src/components/text-hide.vue?1036","webpack:///./src/views/supplier/supplier-my-subscriptions.vue","webpack:///src/views/supplier/supplier-my-subscriptions.vue","webpack:///./src/views/supplier/supplier-my-subscriptions.vue?b7fe","webpack:///./src/views/supplier/supplier-my-subscriptions.vue?2e29","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/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/assets/icon-151.png"],"names":["module","exports","render","_vm","this","_c","_self","staticClass","ref","attrs","require","on","$event","$router","back","_v","tabIndex","unreadChangeAll","swipeCellMessage","list","_e","openOrCloseEdit","_s","edit","swipeCellList","class","active","tabChange","markNum","follow_num","key","swipeCellOptionMessage","scopedSlots","_u","fn","item","unreadChange","id","then","is_read","supplier_name","searchKeyword","create_at","toDetail1","content","swipeCellOption","toDetail","supplier_logo","title","goods_num","recently_title","staticStyle","cancelCatchUpPopup","batchesDel","checkIds","delMessagePopup","staticRenderFns","components","TextHideByLine","TextHighlight","SwipeCellList","data","reply_num","comment_num","praise_num","video_praise_num","comment_praise_num","showSearch","searchKey","nextItemShow","nextItemFilter","getHeaderHeight","listApi","itemButtons","text","bgColor","click","bottomButtons","mounted","methods","getMarkNum","SupplierService","type","Toast","items","swipeCell","component","highlightKey","color","hideBtn","directives","name","rawName","value","valSize","maxSize","expression","stopPropagation","showAll","props","val","default","computed","style","lineClamp","contentLine","maxLine","background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,MAAM,CAAC,IAAMC,EAAQ,QAA0B,IAAM,SAAkB,IAE9P8C,EAAkB,G,oCCmCP,GACfmC,yBACAlC,YAAAyD,gBAAAvD,sBACAwC,OACAC,KACAC,YAEAK,SACAL,WAEAZ,SACAY,YAEA1B,SACA0B,mBAEAQ,SACAR,gBAEAd,cACAc,YAEAb,OACAa,oBAGAxC,gBACA,OACAqC,WACAO,cACAO,aAGAV,UACAR,mBACA,iCAEAlD,mBACA,mBACA,WAIA,OAHA,oCACAwD,6BAEA,IAGAtB,mBAAA,WACA,2BACA,0BAGAC,SACAoC,8BAAA,WACA,sBAEA,iCACA,gBACA,mBACA,2EAEA,wBACA,yCACA,gDACA,2CACA,oCAIAC,gBCnH2V,I,wBCQvV9B,EAAY,eACd,EACApF,EACAsD,GACA,EACA,KACA,WACA,MAIa,OAAA8B,E,2CCnBf,IAAIpF,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,OAAO,CAACE,YAAY,iBAAiB8G,SAAS,CAAC,UAAYlH,EAAImB,GAAGnB,EAAIyC,aAExIY,EAAkB,GCIP,GACfmC,sBACAQ,OACAC,KACAC,YAEAd,cACAc,YAEAb,OACAa,oBAGAC,UACA1D,mBACA,kBACA,WADA,IAEA,WAOA,YC9BwV,I,YCOpV0C,EAAY,eACd,EACApF,EACAsD,GACA,EACA,KACA,KACA,MAIa,OAAA8B,E,4BClBftF,EAAOC,QAAU","file":"js/chunk-27d5336d.8e258aac.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAkFJREFUSEvtlk1rE1EUht9zY5s0mUkXoqCIqAhtkpULC6Jbf4IoiCCJVakfINKFq7YrF0UEP4paJwgiKP4Et4pQF64yaUFURBQUF00madKY+0qkwUxnTKZ2KCLe5ZyP55xzz5lzBRt8ZIN5WAOQkspVLgI8IIBqBUpAA/KyaCVuAMIgwQcGpk6Vjwrx2M8pBceK980noQLT2fIEBJO+TolJO29O/Qe2KhD4Dv+tku69wCgcJ9nZBH3CcREZ9+1ScrpBmXbJDKP05qbUV+t7SprJlkYpcgtAf5Cu66KzLOT5Qj4526njAaZyzlsBd68T9tOckHdFy9jTFZjOlb8A2BIGEMBX2zK3/nXATwC2hZThZ9syt/fIsHIH0GdCAt61LfNsVyAmqIY/lA4rpVxjsdYAtJbS/M7EM0yJ7g4EkM46lwEaa4W49cWx88a1nnOYHqOBurOIlZ33y0BIkO1d2P7e2okCEaAlch2NqDFoz4jTNcNMrnSQkOfeyOQ4FWxovnbJlOwTjTTBR14bHipYyRc9gJUxQt/2GCs1EpN4YanpVDplAxEjUWM1Q63nvEB1rmAlZnr8acr3BBgNA0hgtmiZp7uPRdaZg3B/GEBQXtl5Y+T3wCOMpAYrZSEHwgBSZKm4mDDxVJptf67OGsrWhiLSmPcbB/mDO2z5aZLDC/nkgi9w10nG4puq10G9eTVURfqu1KLRj/1V52GnbDlunIjV6zt0s3HVE6iob9Xv8UvvH0jNF7i+QQ9mHfhNE8xdb60fYvsNLJOMxfQAAAAASUVORK5CYII=\"","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!./supplier-my-subscriptions.vue?vue&type=style&index=0&id=444d8cca&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-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&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{ref:\"header\",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(\"\\n 我的订阅\\n \"),(_vm.tabIndex === 0)?_c('button',{staticClass:\"full-mark-read\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.unreadChangeAll(_vm.swipeCellMessage.list)}}},[_c('img',{attrs:{\"src\":require(\"@/assets/icon-181.png\"),\"alt\":\"\"}}),_vm._v(\"全标已读\\n \")]):_vm._e()]),(_vm.tabIndex === 0)?_c('button',{staticClass:\"header-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.swipeCellMessage.openOrCloseEdit()}}},[_vm._v(\"\\n \"+_vm._s(_vm.swipeCellMessage && _vm.swipeCellMessage.edit ? '取消' : '管理')+\"\\n \")]):_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('ul',{staticClass:\"header-tab-list\"},[_c('li',{class:{active: _vm.tabIndex === 0},on:{\"click\":function($event){return _vm.tabChange(0)}}},[_vm._v(\"\\n 订阅消息\\n \"),(_vm.markNum.follow_num && _vm.markNum.follow_num > 0)?_c('span',{staticClass:\"header-tab-circle\"},[_vm._v(\"\\n \"+_vm._s(_vm.markNum.follow_num)+\"\\n \")]):_vm._e()]),_c('li',{class:{active: _vm.tabIndex === 1},on:{\"click\":function($event){return _vm.tabChange(1)}}},[_vm._v(\"\\n 我的订阅\\n \")])])]),(_vm.tabIndex === 0)?_c('swipe-cell-list',{key:\"1\",ref:\"swipeCellMessage\",attrs:{\"option\":_vm.swipeCellOptionMessage},scopedSlots:_vm._u([{key:\"item\",fn:function({item}){return [_c('div',{staticClass:\"subscribe-messages-module\"},[_c('div',{staticClass:\"subscribe-messages-head-between\",on:{\"click\":function($event){_vm.unreadChange(item.id, 1, false).then(() => item.is_read = 1)}}},[_c('div',{staticClass:\"subscribe-messages-head-left\"},[_c('span',{staticClass:\"font-12\"},[_c('text-highlight',{attrs:{\"val\":item.supplier_name,\"highlight-key\":_vm.swipeCellMessage.searchKeyword}})],1),(item.is_read==0)?_c('span',{staticClass:\"font-13\"},[_vm._v(\"未读\")]):_vm._e()]),_c('div',{staticClass:\"subscribe-messages-head-right\"},[_vm._v(\"\\n \"+_vm._s(item.create_at)+\"\\n \")])]),_c('div',{staticClass:\"subscribe-messages-bottom\",on:{\"click\":function($event){return _vm.toDetail1(item, true)}}},[_c('p',{staticClass:\"subscribe-messages-bottom-title\"},[_vm._v(\"\\n \"+_vm._s(item.content)+\"\\n \")]),_c('div',{staticClass:\"subscribe-messages-bottom-btn-box\"},[_c('button',{staticClass:\"subscribe-messages-bottom-btn\",attrs:{\"type\":\"button\"}},[_vm._v(\"\\n 查看详情\\n \")])])])])]}}],null,false,1798133726)}):_c('swipe-cell-list',{key:\"2\",ref:\"swipeCellList\",attrs:{\"option\":_vm.swipeCellOption},scopedSlots:_vm._u([{key:\"item\",fn:function({item}){return [_c('div',{staticClass:\"my-collection-module\",on:{\"click\":function($event){return _vm.toDetail(item)}}},[_c('div',{staticClass:\"my-collection-module-top\"},[_c('div',{staticClass:\"my-collection-module-top-img-box\"},[_c('img',{staticClass:\"my-collection-module-top-img\",attrs:{\"src\":item.supplier_logo,\"alt\":\"\"}})]),_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('span',{staticClass:\"font-10\"},[_vm._v(\"共\"+_vm._s(item.goods_num)+\"个产品\")]),(!item.recently_title)?_c('span',{staticClass:\"font-11\"},[_vm._v(\"尚未观看\")]):_c('span',{staticClass:\"font-11\",staticStyle:{\"flex\":\"1\"}},[_c('text-hide-by-line',{attrs:{\"val\":`上次看到 ${item.recently_title}`,\"max-line\":1,\"hide-btn\":true}})],1)])])])])]}}])}),_c('van-overlay',{attrs:{\"show\":_vm.cancelCatchUpPopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.cancelCatchUpPopup = 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.cancelCatchUpPopup = false}}},[_vm._v(\"取消\")]),_c('button',{staticClass:\"confirm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.batchesDel(_vm.checkIds)}}},[_vm._v(\"确定\")])])])]),_c('van-overlay',{attrs:{\"show\":_vm.delMessagePopup,\"z-index\":\"99999\"},on:{\"click\":function($event){_vm.delMessagePopup = 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.delMessagePopup = 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\" ref=\"header\">\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\">\r\n 我的订阅\r\n <button\r\n type=\"button\"\r\n class=\"full-mark-read\"\r\n @click=\"unreadChangeAll(swipeCellMessage.list)\"\r\n v-if=\"tabIndex === 0\"\r\n >\r\n <img src=\"@/assets/icon-181.png\" alt=\"\">全标已读\r\n </button>\r\n </p>\r\n <button type=\"button\" class=\"header-btn\" @click=\"swipeCellMessage.openOrCloseEdit()\" v-if=\"tabIndex === 0\">\r\n {{ swipeCellMessage && swipeCellMessage.edit ? '取消' : '管理' }}\r\n </button>\r\n <button type=\"button\" class=\"header-btn\" @click=\"swipeCellList.openOrCloseEdit()\" v-else>\r\n {{ swipeCellList && swipeCellList.edit ? '取消' : '管理' }}\r\n </button>\r\n </div>\r\n <ul class=\"header-tab-list\">\r\n <li :class=\"{active: tabIndex === 0}\" @click=\"tabChange(0)\">\r\n 订阅消息\r\n <span class=\"header-tab-circle\" v-if=\"markNum.follow_num && markNum.follow_num > 0\">\r\n {{ markNum.follow_num }}\r\n </span>\r\n </li>\r\n <li :class=\"{active: tabIndex === 1}\" @click=\"tabChange(1)\">\r\n 我的订阅\r\n </li>\r\n </ul>\r\n </div>\r\n\r\n <swipe-cell-list ref=\"swipeCellMessage\" :option=\"swipeCellOptionMessage\" key=\"1\" v-if=\"tabIndex === 0\">\r\n <template #item=\"{item}\">\r\n\r\n <div class=\"subscribe-messages-module\">\r\n <div class=\"subscribe-messages-head-between\" @click=\"unreadChange(item.id, 1, false).then(() => item.is_read = 1)\">\r\n <div class=\"subscribe-messages-head-left\">\r\n <span class=\"font-12\">\r\n <text-highlight :val=\"item.supplier_name\" :highlight-key=\"swipeCellMessage.searchKeyword\"/>\r\n </span>\r\n <span class=\"font-13\" v-if=\"item.is_read==0\">未读</span>\r\n </div>\r\n <div class=\"subscribe-messages-head-right\">\r\n {{ item.create_at }}\r\n </div>\r\n </div>\r\n <div class=\"subscribe-messages-bottom\" @click=\"toDetail1(item, true)\">\r\n <p class=\"subscribe-messages-bottom-title\">\r\n {{ item.content }}\r\n </p>\r\n <div class=\"subscribe-messages-bottom-btn-box\">\r\n <button type=\"button\" class=\"subscribe-messages-bottom-btn\">\r\n 查看详情\r\n </button>\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 <swipe-cell-list ref=\"swipeCellList\" :option=\"swipeCellOption\" key=\"2\" v-else>\r\n <template #item=\"{item}\">\r\n\r\n <div class=\"my-collection-module\" @click=\"toDetail(item)\">\r\n <div class=\"my-collection-module-top\">\r\n <div class=\"my-collection-module-top-img-box\">\r\n <img :src=\"item.supplier_logo\" class=\"my-collection-module-top-img\" alt=\"\">\r\n <!-- <span class=\"my-collection-module-top-time\">系列</span> -->\r\n <!-- 失效时候显示 -->\r\n <!-- <img src=\"@/assets/icon-175.png\" class=\"my-collection-module-top-img\"> -->\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<!-- <p class=\"my-collection-module-top-sidebar-sub-title\">-->\r\n<!-- {{ item.recently_title }}-->\r\n<!-- </p>-->\r\n </div>\r\n <div class=\"my-collection-module-top-sidebar-bottom\">\r\n <span class=\"font-10\">共{{ item.goods_num }}个产品</span>\r\n <span class=\"font-11\" v-if=\"!item.recently_title\">尚未观看</span>\r\n <span class=\"font-11\" style=\"flex: 1\" v-else>\r\n <text-hide-by-line :val=\"`上次看到 ${item.recently_title}`\" :max-line=\"1\" :hide-btn=\"true\"/>\r\n </span>\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 <van-overlay :show=\"cancelCatchUpPopup\" @click=\"cancelCatchUpPopup = 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=\"cancelCatchUpPopup = 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 <van-overlay :show=\"delMessagePopup\" @click=\"delMessagePopup = 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=\"delMessagePopup = 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 SupplierService,\r\n DatumService,\r\n DemandService, VideoService\r\n} from \"@/common/service\";\r\nimport {\r\n getFileIcon,\r\n getFileType\r\n} from \"@/common/util\";\r\nimport SwipeCellList from \"@/components/swipe-cell-list.vue\";\r\nimport {Toast} from \"vant\";\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: {TextHideByLine, TextHighlight, SwipeCellList},\r\n data() {\r\n return {\r\n tabIndex: 0,\r\n\r\n // 取消订阅弹窗\r\n cancelCatchUpPopup: false,\r\n\r\n // 删除消息\r\n delMessagePopup: false,\r\n\r\n markNum: {\r\n reply_num: 0, // 回复我的\r\n comment_num: 0, // 评论我的\r\n praise_num: 0, // 点赞我的【包含视频点赞和评论点赞】\r\n video_praise_num: 0, // 视频点赞\r\n comment_praise_num: 0, // 评论点赞\r\n follow_num: 0, // 订阅\r\n },\r\n\r\n checkIds: '',\r\n\r\n swipeCellOptionMessage: {\r\n showSearch: true,\r\n searchKey: 'title',\r\n\r\n nextItemShow: true,\r\n nextItemFilter: item => item.is_read !== 1,\r\n getHeaderHeight: () => this.$refs.header.offsetHeight,\r\n\r\n listApi: params => SupplierService.getFollowUpMessage(params),\r\n itemButtons: [{\r\n text: item => item.is_read === 1 ? '标记未读' : '标记已读',\r\n bgColor: '#2A63F3',\r\n click: item => {\r\n const is_read = item.is_read === 1 ? 0 : 1;\r\n return this.unreadChange(item.id, is_read).then(() => {\r\n item.is_read = is_read;\r\n });\r\n },\r\n }, {\r\n text: '删除',\r\n bgColor: '#FFAE18',\r\n click: item => {\r\n this.checkIds = item.id;\r\n this.delMessagePopup = true;\r\n },\r\n }],\r\n bottomButtons: [{\r\n text: '已读',\r\n bgColor: '#2A63F3',\r\n click: (items = []) => {\r\n if (items.length === 0) {\r\n return Toast('请至少选择一个');\r\n }\r\n this.unreadChangeAll(items);\r\n },\r\n }, {\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.delMessagePopup = true;\r\n },\r\n }],\r\n },\r\n swipeCellOption: {\r\n showSearch: true,\r\n searchKey: 'title',\r\n listApi: params => SupplierService.getFollowUpList(params),\r\n itemButtons: [{\r\n text: '取消订阅',\r\n bgColor: '#FFAE18',\r\n click: item => {\r\n this.checkIds = item.supplier_id;\r\n this.cancelCatchUpPopup = 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.supplier_id).join(',');\r\n this.cancelCatchUpPopup = true;\r\n },\r\n }],\r\n },\r\n swipeCellMessage: null,\r\n swipeCellList: null,\r\n };\r\n },\r\n mounted() {\r\n this.swipeCellMessage = this.$refs.swipeCellMessage;\r\n this.swipeCellList = this.$refs.swipeCellList;\r\n this.getMarkNum();\r\n },\r\n methods: {\r\n tabChange(index) {\r\n if (this.tabIndex === index) return;\r\n this.tabIndex = index;\r\n this.$nextTick(() => {\r\n this.swipeCellMessage = this.$refs.swipeCellMessage;\r\n this.swipeCellList = this.$refs.swipeCellList;\r\n });\r\n },\r\n\r\n getMarkNum() {\r\n SupplierService.getMarkNum().then(({data}) => {\r\n this.markNum = data;\r\n });\r\n },\r\n\r\n toDetail1(item, isMsg = false) {\r\n if (isMsg) {\r\n this.unreadChange(item.id, 1, false).then(() => item.is_read = 1);\r\n }\r\n this.$router.push(`/supplier-details?id=${item.goods_id}`)\r\n },\r\n toDetail(item, isMsg = false) {\r\n if (isMsg) {\r\n this.unreadChange(item.id, 1, false).then(() => item.is_read = 1);\r\n }\r\n this.$router.push(`/supplierCollection?id=${item.supplier_id}`);\r\n },\r\n // 标记已读、未读\r\n unreadChange(ids, is_read, showToast = true, updateNum = true) {\r\n return SupplierService.unreadChange({\r\n id: ids,\r\n type: 3, // 消息类型【1 评论我的,2 回复我的 3 订阅消息】\r\n is_read, // 变更类型【0 消息变更为未读 1 变更为已读】\r\n }).then(({msg}) => {\r\n if (showToast) {\r\n Toast(msg);\r\n }\r\n if (updateNum) {\r\n this.getMarkNum();\r\n }\r\n });\r\n },\r\n\r\n // 已读提示\r\n unreadChangeAll(items) {\r\n // items.map(item => item.id).join(',')\r\n return this.unreadChange('', 1, false)\r\n .then(() => {\r\n this.$toast('已将所选消息标为已读');\r\n items.forEach(item => item.is_read = 1);\r\n this.swipeCellList.openOrCloseEdit(true);\r\n });\r\n },\r\n\r\n // 删除\r\n batchesDel(ids) {\r\n const swipeCell = this.tabIndex === 0 ? this.swipeCellMessage : this.swipeCellList;\r\n return SupplierService.batchesDel({\r\n id: ids,\r\n type: this.tabIndex === 0 ? 5 : 4,\r\n }).then(({msg}) => {\r\n Toast(msg);\r\n swipeCell.resetList();\r\n swipeCell.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: 84px;\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.wrap {\r\n width: 100%;\r\n min-height: calc(100vh - 84px);\r\n display: flex;\r\n flex-direction: column;\r\n margin: 84px 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\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;\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: 10px;\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 padding: 10px;\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: 60px;\r\n height: 60px;\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: 78px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-around;\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: 1;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n -webkit-box-orient: vertical;\r\n font-weight: bold;\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-wrap-sidebar {\r\n flex: 1;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n}\r\n\r\n.footer-wrap-sidebar > button {\r\n margin-right: 10px;\r\n}\r\n\r\n.footer-wrap-sidebar > button:last-child {\r\n margin-right: 0;\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 padding: 10px;\r\n box-sizing: border-box;\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 flex: 1;\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.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!./supplier-my-subscriptions.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!./supplier-my-subscriptions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./supplier-my-subscriptions.vue?vue&type=template&id=444d8cca&scoped=true&\"\nimport script from \"./supplier-my-subscriptions.vue?vue&type=script&lang=js&\"\nexport * from \"./supplier-my-subscriptions.vue?vue&type=script&lang=js&\"\nimport style0 from \"./supplier-my-subscriptions.vue?vue&type=style&index=0&id=444d8cca&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 \"444d8cca\",\n null\n \n)\n\nexport default component.exports","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","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","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAP5JREFUWEft1bENwjAQheE/HRuwA2NQ0TIBFRVLMAjMQEtFyQhIjMAGVAhdYSlCse/OdhGhSxXFdvLl2T4PzOwaZuYhQNqMREKRkJaA1h5r6O8S2gJ34KX9mbF9CRyAI/CZGlNaQzvgDDyBdQeUYG7ACjgBey9oA1yABfBoRI0xb0CSv3pB0r8HyoyRD1q2fQvKhbGCapNyYzwgL6oK4wVZUdWYGpCGasLUgnIoeZ7qTHFrl4qoZZflxv/uPuknRa8a05JQQo5R8qwJ0wM0nj65z1Zg41lnKoyWd0lSck0eB5YXpD4ta8jzHXPfAGlRRUKRkJaA1h5rKBLSEtDav898QiVd7SACAAAAAElFTkSuQmCC\""],"sourceRoot":""}
|