1 |
- {"version":3,"sources":["webpack:///./src/views/supplier/supplier-collection.vue","webpack:///./src/views/supplier/components/image-text-recommend1.vue","webpack:///src/views/supplier/components/image-text-recommend1.vue","webpack:///./src/views/supplier/components/image-text-recommend1.vue?1b07","webpack:///./src/views/supplier/components/image-text-recommend1.vue?7600","webpack:///src/views/supplier/supplier-collection.vue","webpack:///./src/views/supplier/supplier-collection.vue?363a","webpack:///./src/views/supplier/supplier-collection.vue?994a","webpack:///./src/views/supplier/components/image-text-item.vue","webpack:///src/views/supplier/components/image-text-item.vue","webpack:///./src/views/supplier/components/image-text-item.vue?a214","webpack:///./src/views/supplier/components/image-text-item.vue?efe1","webpack:///./src/assets/icon-80.png","webpack:///./src/components/text-hide-by-line.vue?188e","webpack:///./src/views/supplier/components/image-text-item.vue?e86d","webpack:///./src/components/text-hide.vue?1036","webpack:///./src/views/image-text/components/image-text-collection-item.vue","webpack:///src/views/image-text/components/image-text-collection-item.vue","webpack:///./src/views/image-text/components/image-text-collection-item.vue?e487","webpack:///./src/views/image-text/components/image-text-collection-item.vue?a8aa","webpack:///./src/assets/icon-83.png","webpack:///./src/assets/icon-84.png","webpack:///./src/assets/icon-79.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-25.png","webpack:///./src/views/supplier/supplier-collection.vue?6019","webpack:///./src/views/supplier/components/image-text-recommend1.vue?5259","webpack:///./src/views/image-text/components/image-text-collection-item.vue?a374","webpack:///./src/assets/return.png"],"names":["render","_vm","this","_c","_self","staticClass","attrs","require","on","$event","$router","back","info","title","_v","_s","params","id","ref","staticRenderFns","finished","list","length","getList","model","value","loading","callback","$$v","expression","_l","item","index","key","$refs","isLoginVip","next","is_release","is_vip","toDetail","components","ImageTextItem","InformationListItem","IsLoginVip","NormalBox","data","type","is_tj","page","page_num","props","mounted","methods","SupplierService","component","TextHideByLine","ImageTextCollectionItem","ImageTextRecommend","sort_type","item_list","beforeDestroy","Toast","switchSet","GeneralService","msg","checkSort","getArticleDetail","message","duration","$emit","itemData","keyMap","isVip","_e","class","newImagesArr","item2","index2","appLogo","appName","readNum","createAt","TextHide","DateTime","default","url","desc","imagesArr","computed","module","exports","cover","is_recently","num","name","content","highlightKey","color","hideBtn","directives","rawName","valSize","maxSize","stopPropagation","showAll","TextHighlight","val","style","lineClamp","contentLine","maxLine","background","bgColor","_t","staticStyle","btnType","position","width","fontSize","height","heightChangeEvent","contentResizeObserver","domProps"],"mappings":"mJAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,aAAaC,MAAM,CAAC,IAAMC,EAAQ,QAAuB,IAAM,IAAIC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,QAAQC,WAAWR,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACF,EAAG,oBAAoB,CAACG,MAAM,CAAC,IAAML,EAAIW,KAAKC,OAAS,OAAO,WAAW,EAAE,YAAW,MAAS,KAAKV,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,MAAM,CAACG,MAAM,CAAC,IAAMC,EAAQ,QAAwB,IAAM,MAAMJ,EAAG,OAAO,CAACF,EAAIa,GAAGb,EAAIc,GAAGd,EAAIe,OAAOH,cAAcV,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EA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,kCCAjB,W,kCCAA,W,kCCAA,W,0CCAAD,EAAOC,QAAU","file":"js/chunk-6d9c1717.a289f085.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"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\"},[_c('text-hide-by-line',{attrs:{\"val\":_vm.info.title || '合集列表',\"max-line\":1,\"hide-btn\":true}})],1)]),_c('div',{staticClass:\"head\"},[_c('div',{staticClass:\"head-left\"},[_c('img',{attrs:{\"src\":require(\"@/assets/icon-79.png\"),\"alt\":\"\"}}),_c('span',[_vm._v(_vm._s(_vm.params.title))])])]),_c('div',{staticClass:\"list\"},[_c('image-text-recommend',{attrs:{\"id\":_vm.params.id}})],1),_c('is-login-vip',{ref:\"isLoginVip\",attrs:{\"type\":\"vip\",\"to-login-text\":\"VIP资料请登录后查看\",\"open-vip-text\":\"开通VIP查看本材料\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('van-list',{attrs:{\"finished\":_vm.finished,\"finished-text\":_vm.list.length > 0 ? '没有更多了' : ''},on:{\"load\":_vm.getList},model:{value:(_vm.loading),callback:function ($$v) {_vm.loading=$$v},expression:\"loading\"}},[_c('div',{staticClass:\"list\"},[_vm._l((_vm.list),function(item,index){return _c('image-text-item',{key:index,attrs:{\"data\":item},on:{\"click\":function($event){_vm.$refs.isLoginVip.next(item.is_release !== 1 ? false : item.is_vip, () => _vm.toDetail(item.id))}}})}),_c('normal-box',{attrs:{\"show\":_vm.list.length === 0}})],2),_c('is-login-vip',{ref:\"isLoginVip\",attrs:{\"type\":\"vip\",\"to-login-text\":\"VIP资料请登录后查看\",\"open-vip-text\":\"开通VIP查看本材料\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- h5/视频 -->\r\n<template>\r\n <van-list v-model=\"loading\" :finished=\"finished\" :finished-text=\"list.length > 0 ? '没有更多了' : ''\" @load=\"getList\">\r\n <div class=\"list\">\r\n <!-- 推荐 -->\r\n <image-text-item\r\n v-for=\"(item, index) in list\"\r\n :key=\"index\"\r\n :data=\"item\"\r\n @click=\"$refs.isLoginVip.next(item.is_release !== 1 ? false : item.is_vip, () => toDetail(item.id))\"\r\n />\r\n <!-- 无数据时显示 -->\r\n <normal-box :show=\"list.length === 0\"/>\r\n </div>\r\n \r\n <!-- 显示开通vip -->\r\n <is-login-vip\r\n ref=\"isLoginVip\"\r\n type=\"vip\"\r\n to-login-text=\"VIP资料请登录后查看\"\r\n open-vip-text=\"开通VIP查看本材料\"\r\n />\r\n </van-list>\r\n\r\n</template>\r\n\r\n<script>\r\nimport {\r\n SupplierService\r\n} from \"@/common/service\";\r\nimport {\r\n Dialog\r\n} from \"vant\"; \r\nimport NormalBox from \"@/components/normal-box\";\r\nimport IsLoginVip from \"@/components/is-login-vip.vue\";\r\nimport InformationListItem from \"@/views/information/components/information-list-item.vue\";\r\nimport ImageTextItem from \"./image-text-item.vue\";\r\n\r\nexport default {\r\n components: {\r\n ImageTextItem,\r\n InformationListItem,\r\n IsLoginVip,\r\n NormalBox\r\n },\r\n data() {\r\n return {\r\n params: {\r\n type: 0, // 类型1单个2系列\r\n is_tj: 1, // 是否推荐0否1是\r\n page: 1, // 页数\r\n page_num: 20, // 每页数\r\n },\r\n list: [],\r\n loading: false,\r\n finished: false,\r\n\r\n };\r\n },\r\n props:{\r\n id:{\r\n \r\n }\r\n },\r\n mounted() {\r\n },\r\n methods: {\r\n getList() {\r\n this.loading = true;\r\n this.params.third_classify=this.id\r\n SupplierService.getGoodsListByClassify(this.params).then(({data}) => {\r\n const list = data.list;\r\n // 展开集合视频,并合并到列表\r\n // const list = data.list.reduce((arr, item) => {\r\n // const {id, label_name, video_arr} = item;\r\n // // 展开集合视频\r\n // const newList = video_arr.map(item2 => ({\r\n // ...item2,\r\n // videoArrId: item2.id,\r\n // id,\r\n // label_name,\r\n // video_arr,\r\n // }))\r\n // // 判断是否是集合,是则将集合合并到列表\r\n // if (video_arr.length > 1) {\r\n // arr.push({ ...video_arr[0], videoArrId: video_arr[0].id, ...item});\r\n // }\r\n // // 集合视频合并到列表\r\n // arr.push(...newList);\r\n // return arr;\r\n // }, []);\r\n this.list = this.params.page === 1 ? list : [...this.list, ...list];\r\n if (list.length < this.params.page_num) {\r\n this.finished = true;\r\n } else {\r\n this.params.page++;\r\n }\r\n }).catch(() => {\r\n this.finished = true;\r\n }).finally(() => {\r\n this.loading = false;\r\n });\r\n },\r\n\r\n toDetail(id, item_id) {\r\n this.$router.push(`/supplier-details?id=${id}`)\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.list {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 10px 0 0;\r\n box-sizing: border-box;\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-recommend1.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-recommend1.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./image-text-recommend1.vue?vue&type=template&id=198cc658&scoped=true&\"\nimport script from \"./image-text-recommend1.vue?vue&type=script&lang=js&\"\nexport * from \"./image-text-recommend1.vue?vue&type=script&lang=js&\"\nimport style0 from \"./image-text-recommend1.vue?vue&type=style&index=0&id=198cc658&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 \"198cc658\",\n null\n \n)\n\nexport default component.exports","<!-- 图文模块-合集列表 -->\r\n<template>\r\n\t<div class=\"wrap\">\r\n \r\n\t <div class=\"header\">\r\n\t\t<img src=\"@/assets/return.png\" class=\"return-img\" @click=\"$router.back()\" alt=\"\">\r\n\t\t<p class=\"header-title\">\r\n <!-- 合集列表-->\r\n\t\t <text-hide-by-line :val=\"info.title || '合集列表'\" :max-line=\"1\" :hide-btn=\"true\"/>\r\n\t\t</p>\r\n\t </div>\r\n \r\n\t <div class=\"head\">\r\n\t\t<div class=\"head-left\">\r\n\t\t <img src=\"@/assets/icon-79.png\" alt=\"\">\r\n\t\t <span>{{ params.title }}</span>\r\n\t\t</div>\r\n\t\t<!-- <div class=\"head-right active\" @click=\"switchSet()\" v-if=\"info.follow_switch\">\r\n\t\t <img src=\"@/assets/icon-81.png\" alt=\"\">\r\n\t\t 已订阅\r\n\t\t</div>\r\n\t\t<div class=\"head-right\" @click=\"switchSet()\" v-else>\r\n\t\t <img src=\"@/assets/icon-113.png\" alt=\"\">\r\n\t\t 订阅\r\n\t\t</div> -->\r\n\t </div>\r\n \r\n\t <!-- <div class=\"box-between\">\r\n\t\t<div class=\"box-between-left\" :class=\"{desc: params.sort_type === 3}\" @click=\"checkSort()\">\r\n\t\t <img src=\"@/assets/icon-82.png\" alt=\"\">\r\n\t\t {{ params.sort_type === 2 ? '正序' : '倒序' }}\r\n\t\t</div>\r\n\t\t<div class=\"box-between-right\">\r\n\t\t {{ info.item_list.length }}个图文\r\n\t\t</div>\r\n\t </div> -->\r\n \r\n\t <div class=\"list\">\r\n\t\t<image-text-recommend :id=\"params.id\"></image-text-recommend>\r\n\t </div>\r\n \r\n\t <is-login-vip\r\n\t\t ref=\"isLoginVip\"\r\n\t\t type=\"vip\"\r\n\t\t to-login-text=\"VIP资料请登录后查看\"\r\n\t\t open-vip-text=\"开通VIP查看本材料\"\r\n\t />\r\n\t</div>\r\n </template>\r\n \r\n <script>\r\n import ImageTextRecommend from \"./components/image-text-recommend1\";\r\n\r\n\r\n import {SupplierService, GeneralService} from \"@/common/service\";\r\n import NormalBox from \"@/components/normal-box.vue\";\r\n import ImageTextCollectionItem from \"@/views/image-text/components/image-text-collection-item.vue\";\r\n import IsLoginVip from \"@/components/is-login-vip.vue\";\r\n import {Dialog, Toast} from \"vant\";\r\n import TextHideByLine from \"@/components/text-hide-by-line.vue\";\r\n \r\n export default {\r\n\tcomponents: {TextHideByLine, IsLoginVip, ImageTextCollectionItem, NormalBox,ImageTextRecommend},\r\n\tdata() {\r\n\t return {\r\n\t\tparams: {\r\n\t\t id: 0,\r\n\t\t sort_type: 1, // 1 默认 2 正序 3 倒序\r\n\t\t title:'',\r\n\t\t},\r\n\t\tinfo: {\r\n\t\t id: 0,\r\n\t\t item_list: [],\r\n\t\t},\r\n\t };\r\n\t},\r\n\tmounted() {\r\n\t const option = this.$route.query;\r\n\t this.params.id = parseInt(option.id || 0);\r\n\t this.params.title = option.title \r\n\t// if (this.params.id > 0) {\r\n\t// \tthis.getArticleDetail();\r\n\t// }\r\n\t},\r\n\tbeforeDestroy() {\r\n\t Toast.clear();\r\n\t},\r\n\tmethods: {\r\n\t switchSet() {\r\n\t\tGeneralService.switchSet({\r\n\t\t id: this.params.id,\r\n\t\t type: 4,\r\n\t\t}).then(({data, msg}) => {\r\n\t\t this.$set(this.info, 'follow_switch', data.status);\r\n\t\t Toast(msg);\r\n\t\t})\r\n\t },\r\n \r\n\t checkSort() {\r\n\t\tthis.params.sort_type = this.params.sort_type !== 2 ? 2 : 3;\r\n\t\tthis.getArticleDetail();\r\n\t },\r\n \r\n\t getArticleDetail() {\r\n\t\tToast.loading({\r\n\t\t message: '加载中..',\r\n\t\t duration: 0,\r\n\t\t});\r\n\t\tSupplierService.getGoodsListByClassify(this.params).then(({data}) => {\r\n\t\t const title = data.detail.title || '';\r\n\t\t data.detail['title'] = title.length > 10 ? title.substring(0, 9) + '...' : title;\r\n\t\t this.info = data.detail;\r\n\t\t}).finally(() => {\r\n\t\t Toast.clear();\r\n\t\t});\r\n\t },\r\n \r\n\t toDetail(item) {\r\n\t\tthis.$router.push(`/image-text-details?id=${item.article_id}&title=${item.title}`)\r\n\t }\r\n\t},\r\n }\r\n </script>\r\n \r\n <style scoped>\r\n .wrap {\r\n\twidth: 100%;\r\n\tmin-height: 100vh;\r\n\tbackground-color: #F4F4F4;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tpadding: 55px 12px 11px;\r\n\tbox-sizing: border-box;\r\n }\r\n \r\n /* 头部样式 */\r\n .header {\r\n\twidth: 100%;\r\n\theight: 44px;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tbackground-color: #FFFFFF;\r\n\tz-index: 999;\r\n }\r\n \r\n .return-img {\r\n\tposition: absolute;\r\n\tleft: 15px;\r\n\ttop: 50%;\r\n\ttransform: translate(0, -50%);\r\n\twidth: 20px;\r\n }\r\n \r\n .header-title {\r\n\tcolor: #333333;\r\n\tfont-size: 18px;\r\n\tfont-weight:bold;\r\n }\r\n \r\n .head {\r\n\twidth: 100%;\r\n\theight: 62px;\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n\tbackground-color: #FFFFFF;\r\n\tpadding: 0 10px 0 14px;\r\n\tbox-sizing: border-box;\r\n\tborder-radius: 8px;\r\n }\r\n \r\n .head-left {\r\n\tflex: 1;\r\n\tcolor: #2A63F3;\r\n\tfont-size: 14px;\r\n\tfont-weight: bold;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n }\r\n \r\n .head-left > img {\r\n\twidth: 22px;\r\n\tmargin-right: 4px;\r\n }\r\n \r\n .head-left > span {\r\n\tflex: 1;\r\n\tdisplay: -webkit-box;\r\n\t-webkit-line-clamp: 1;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\t-webkit-box-orient: vertical;\r\n }\r\n \r\n .head-right {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\twidth: 80px;\r\n\theight: 28px;\r\n\tline-height: 28px;\r\n\tbackground: rgba(42, 99, 243, 0.1);\r\n\tcolor: #2A63F3;\r\n\tborder-radius: 40px;\r\n\tfont-size: 13px;\r\n\tfont-weight: bold;\r\n }\r\n \r\n .head-right > img {\r\n\twidth: 14px;\r\n\tmargin-right: 2px;\r\n }\r\n \r\n .head-right.active {\r\n\tbackground-color: #2A63F3;\r\n\tcolor: #FFFFFF;\r\n }\r\n \r\n .box-between {\r\n\twidth: 100%;\r\n\theight: 52px;\r\n\tdisplay: flex;\r\n\tjustify-content: space-between;\r\n\talign-items: center;\r\n }\r\n \r\n .box-between-left {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tcolor: #222222;\r\n\tfont-size: 13px;\r\n }\r\n \r\n .box-between-left > img {\r\n\twidth: 13px;\r\n\tmargin-right: 4px;\r\n }\r\n \r\n .box-between-left.desc > img {\r\n\ttransform: rotate(180deg);\r\n }\r\n \r\n .box-between-right {\r\n\tcolor: #333333;\r\n\tfont-size: 14px;\r\n }\r\n \r\n .list {\r\n\twidth: 100%;\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-collection.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-collection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./supplier-collection.vue?vue&type=template&id=5d342b0a&scoped=true&\"\nimport script from \"./supplier-collection.vue?vue&type=script&lang=js&\"\nexport * from \"./supplier-collection.vue?vue&type=script&lang=js&\"\nimport style0 from \"./supplier-collection.vue?vue&type=style&index=0&id=5d342b0a&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 \"5d342b0a\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"image-text-item\",on:{\"click\":function($event){return _vm.$emit('click', _vm.itemData)}}},[_c('div',{staticClass:\"item-title\"},[_c('p',[_vm._v(\"\\n \"+_vm._s(_vm.itemData[_vm.keyMap.title])+\"\\n \"),(_vm.itemData[_vm.keyMap.isVip] === 1)?_c('img',{attrs:{\"src\":require(\"@/assets/icon-84.png\"),\"alt\":\"\"}}):_vm._e()])]),_c('ul',{staticClass:\"img-list\",class:{'one': _vm.itemData.newImagesArr.length === 1, 'more': _vm.itemData.newImagesArr.length > 1}},_vm._l((_vm.itemData.newImagesArr),function(item2,index2){return _c('li',{key:index2},[_c('img',{attrs:{\"src\":item2,\"alt\":\"\"}})])}),0),_c('div',{staticClass:\"item-bottom\"},[_c('p',{staticClass:\"item-bottom-row\"},[(_vm.itemData[_vm.keyMap.appLogo])?_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.itemData[_vm.keyMap.appLogo],\"alt\":\"\"}}):_c('img',{staticClass:\"avatar\",attrs:{\"src\":require(\"@/assets/avatar.png\"),\"alt\":\"\"}}),_c('text-hide',{attrs:{\"val\":_vm.itemData[_vm.keyMap.appName] || '匿名用户',\"max-size\":10,\"hide-btn\":true}})],1),(_vm.itemData[_vm.keyMap.readNum])?_c('p',{staticClass:\"item-bottom-row2\"},[_c('img',{staticClass:\"eye\",attrs:{\"src\":require(\"@/assets/icon-83.png\"),\"alt\":\"\"}}),_vm._v(\"\\n \"+_vm._s(_vm.itemData[_vm.keyMap.readNum])+\"\\n \")]):_vm._e(),_c('date-time',{staticClass:\"item-bottom-eye-time\",attrs:{\"time\":_vm.itemData[_vm.keyMap.createAt],\"template\":\"YYYY-MM-DD\"}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- h5/视频 -->\r\n<template>\r\n <div class=\"image-text-item\" @click=\"$emit('click', itemData)\">\r\n <div class=\"item-title\">\r\n <p>\r\n {{ itemData[keyMap.title] }}\r\n <img src=\"@/assets/icon-84.png\" v-if=\"itemData[keyMap.isVip] === 1\" alt=\"\">\r\n </p>\r\n </div>\r\n <ul\r\n class=\"img-list\"\r\n :class=\"{'one': itemData.newImagesArr.length === 1, 'more': itemData.newImagesArr.length > 1}\"\r\n >\r\n <li v-for=\"(item2, index2) in itemData.newImagesArr\" :key=\"index2\">\r\n <img :src=\"item2\" alt=\"\">\r\n <!-- \t<span class=\"tag\" v-if=\"index2 === item.images_arr.length - 1 && item.is_vip\">VIP</span> -->\r\n </li>\r\n </ul>\r\n <div class=\"item-bottom\">\r\n <p class=\"item-bottom-row\">\r\n <img :src=\"itemData[keyMap.appLogo]\" class=\"avatar\" v-if=\"itemData[keyMap.appLogo]\" alt=\"\">\r\n <img src=\"@/assets/avatar.png\" class=\"avatar\" v-else alt=\"\">\r\n <text-hide :val=\"itemData[keyMap.appName] || '匿名用户'\" :max-size=\"10\" :hide-btn=\"true\"/>\r\n </p>\r\n <p class=\"item-bottom-row2\" v-if=\"itemData[keyMap.readNum]\">\r\n <img src=\"@/assets/icon-83.png\" class=\"eye\" alt=\"\">\r\n {{ itemData[keyMap.readNum] }}\r\n </p>\r\n <date-time class=\"item-bottom-eye-time\" :time=\"itemData[keyMap.createAt]\" template=\"YYYY-MM-DD\" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n\r\nimport DateTime from \"@/components/date-time.vue\";\r\nimport TextHide from \"@/components/text-hide.vue\";\r\n\r\nexport default {\r\n components: {TextHide, DateTime},\r\n props: {\r\n data: {\r\n type: Object,\r\n default: () => ({}),\r\n },\r\n keyMap: {\r\n type: Object,\r\n default: () => ({\r\n url: 'url',\r\n isVip: 'is_vip',\r\n title: 'name',\r\n desc: 'desc',\r\n appLogo: 'supplier_logo',\r\n appName: 'supplier_name',\r\n readNum: 'read_num',\r\n createAt: 'create_at',\r\n imagesArr: 'cover_arr',\r\n }),\r\n }\r\n },\r\n computed: {\r\n itemData() {\r\n const item = this.data;\r\n item['newImagesArr'] = item[this.keyMap['imagesArr']] || [];\r\n\r\n if (item['newImagesArr'].length < 3) {\r\n item['newImagesArr'].length = 1;\r\n } else {\r\n item['newImagesArr'].length = 3;\r\n }\r\n return item;\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.image-text-item {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n margin-bottom: 12px;\r\n background-color: #FFFFFF;\r\n padding: 0 10px;\r\n box-sizing: border-box;\r\n border-radius: 12px;\r\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n}\r\n\r\n.item-title {\r\n width: 100%;\r\n color: #222222;\r\n font-size: 17px;\r\n margin: 10px 0 8px;\r\n}\r\n\r\n.item-title > p {\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.item-title img {\r\n width: 24px;\r\n margin-left: 4px;\r\n}\r\n\r\n.item-bottom {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n margin-top: 5px;\r\n padding-bottom: 10px;\r\n}\r\n\r\n.item-bottom-row {\r\n display: flex;\r\n align-items: center;\r\n color: #777777;\r\n font-size: 12px;\r\n margin-right: 9px;\r\n}\r\n\r\n.item-bottom-row span {\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.avatar {\r\n width: 16px;\r\n height: 16px;\r\n object-fit: cover;\r\n margin-right: 4px;\r\n border-radius: 50%;\r\n}\r\n\r\n.item-bottom-row2 {\r\n width: max-content;\r\n display: flex;\r\n align-items: center;\r\n color: #888888;\r\n font-size: 11px;\r\n white-space: nowrap\r\n}\r\n\r\n.eye {\r\n width: 14px;\r\n margin-right: 2px;\r\n}\r\n\r\n.item-bottom-eye-time {\r\n color: #888888;\r\n font-size: 11px;\r\n margin-left: 8px;\r\n}\r\n\r\n.img-list {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.img-list > li {\r\n flex: 1;\r\n position: relative;\r\n overflow: hidden;\r\n /* border-radius: 7px; */\r\n}\r\n\r\n.img-list.more > li {\r\n margin: 0 2.5px;\r\n}\r\n\r\n.img-list > li > img {\r\n display: block;\r\n object-fit: cover;\r\n}\r\n\r\n.img-list.more {\r\n}\r\n\r\n.img-list.more li {\r\n max-width: calc(33.3333% - 5px);\r\n flex: 1 1 calc(33.3333% - 5px);\r\n margin-bottom: 5px;\r\n}\r\n\r\n.img-list > li:last-child {\r\n margin-right: 0;\r\n}\r\n\r\n.img-list.more > li > img {\r\n width: 100%;\r\n height: 59px;\r\n border-radius: 4px;\r\n}\r\n\r\n.img-list.one > li > img {\r\n width: 100%;\r\n height: calc((100vw - 50px) / 3);\r\n border-radius: 6px;\r\n margin-bottom: 5px;\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-item.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-item.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./image-text-item.vue?vue&type=template&id=ceec0f44&scoped=true&\"\nimport script from \"./image-text-item.vue?vue&type=script&lang=js&\"\nexport * from \"./image-text-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./image-text-item.vue?vue&type=style&index=0&id=ceec0f44&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 \"ceec0f44\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAoRJREFUWEftlk2ITmEUx39/SpaEDaNhwwZZWpiQGYoxSqmJslISRRQmTGKGIVEiKStFSkkzZoHXR1jYITZsfNsgliKOzttzdWfmPvfeyfs2qTnb53z8n//5FCMsGuH4jAL4fxgwsxlAM7AQmA9MASaFGvoCfAKeAA+AiqQ3ZeqrkAEzawW2AMuAMWWcAr+BG8AZSf15NlEAZjbbHQBLSwaNqd0Ctkp6maWQCcDMNgDngPERrwY8B16F95nAHIh21Xdgo6SLg/0NAWBmh4C9EWc/gbPAcUnv0s7MbDqwE9gMjMsA7qAPSjqQfhsAwMw6gMORX3uhrZF0Py8lZtYEXAUmR/R2SzqWvP0FYGbtwKWcnzeng5uZd8GC4OiRJO+CqgQQlQgTXqDtkq64bhWAmU0LOZ0QQX1K0rag653QDexIBfgBnAD2SfoV9E4C2yP+vnrNSPqYAPBWWZFTcI1Jzs3sCLAnotsjydPon2oA3uYUZp+kNpnZIuBeTl6fSZoXnDrt7yPUuooz0ZCkw8yeAlXbiDQ5gDvAkhylXkmrA4BVQG9eEQJtkvqC/jWgahuRigPwQeEjNib1BHDXAfhs9/kdk3qmYHFShE6r05slPkDqUYT9kloTAFNDG06MgEi34Vig6x/b8Ftoww/pQbQWuBzZeD6CazWInNF1kjzWwOVhZruAoxEWajWKOyT1JDGylpEvi846LaNuSfvTH4yt4/XA+WGsY7+W5has402SLgxmN+8gmQWcBloKBk/R822/qCS9yFIsc5KtDCfZ8mGeZDfDSXY9D2EhgMTYzBrDxPR9n3WUfgYeAw/DUfq6iJohXVDGoNY6pRmodeBoG9YrUMzvKAN/AO4CEBj6AgP6AAAAAElFTkSuQmCC\"","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!./image-text-item.vue?vue&type=style&index=0&id=ceec0f44&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:\"list-item\",on:{\"click\":function($event){return _vm.$emit('click', _vm.itemData)}}},[_c('div',{staticClass:\"item-img-box\"},[(_vm.itemData.cover)?_c('img',{staticClass:\"item-img\",attrs:{\"src\":_vm.itemData.cover,\"alt\":\"暂无图片\"}}):_vm._e(),(_vm.itemData[_vm.keyMap.isVip] === 1)?_c('img',{staticClass:\"item-tag\",attrs:{\"src\":require(\"@/assets/icon-25.png\"),\"alt\":\"\"}}):_vm._e(),(_vm.itemData[_vm.keyMap.is_recently]==1)?_c('div',{staticClass:\"last-view\"},[_c('img',{attrs:{\"src\":require(\"@/assets/icon-80.png\"),\"alt\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t上次查看\\n\\t\\t\\t\")]):_vm._e()]),_c('div',{staticClass:\"item-sidebar\"},[_c('p',{staticClass:\"item-name\"},[_vm._v(_vm._s(_vm.num)+_vm._s(_vm.itemData[_vm.keyMap.title]))]),_c('div',{staticClass:\"item-between\"},[_c('p',{staticClass:\"eye-row\"},[_c('img',{attrs:{\"src\":require(\"@/assets/icon-83.png\"),\"alt\":\"\"}}),_vm._v(\"\\n \"+_vm._s(_vm.itemData[_vm.keyMap.readNum])+\"\\n \")]),_c('date-time',{staticClass:\"time\",attrs:{\"time\":_vm.itemData[_vm.keyMap.createAt],\"template\":\"YYYY-MM-DD\"}})],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div class=\"list-item\" @click=\"$emit('click', itemData)\">\r\n\t\t<div class=\"item-img-box\">\r\n\t\t\t<img :src=\"itemData.cover\" class=\"item-img\" alt=\"暂无图片\" v-if=\"itemData.cover\">\r\n\t\t\t<img v-if=\"itemData[keyMap.isVip] === 1\" src=\"@/assets/icon-25.png\" class=\"item-tag\" alt=\"\">\r\n\t\t\t<div class=\"last-view\" v-if=\"itemData[keyMap.is_recently]==1\">\r\n\t\t\t\t<img src=\"@/assets/icon-80.png\" alt=\"\">\r\n\t\t\t\t上次查看\r\n\t\t\t</div>\r\n\t\t</div>\r\n <div class=\"item-sidebar\">\r\n <p class=\"item-name\">{{ num }}{{ itemData[keyMap.title] }}</p>\r\n <div class=\"item-between\">\r\n <p class=\"eye-row\">\r\n <img src=\"@/assets/icon-83.png\" alt=\"\">\r\n {{ itemData[keyMap.readNum] }}\r\n </p>\r\n <date-time class=\"time\" :time=\"itemData[keyMap.createAt]\" template=\"YYYY-MM-DD\" />\r\n </div>\r\n </div>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport DateTime from \"@/components/date-time.vue\";\r\n\r\n\texport default {\r\n\t\tname: 'image-text-collection-item',\r\n\t\tcomponents: {\r\n\t\t\tDateTime\r\n\t\t},\r\n\t\tprops: {\r\n num: {\r\n default: '',\r\n },\r\n\t\t\tdata: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => ({}),\r\n\t\t\t},\r\n\t\t\tkeyMap: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => ({\r\n is_recently:'is_recently',\r\n\t\t\t\t\tisVip: 'is_vip',\r\n\t\t\t\t\ttitle: 'title',\r\n cover: 'cover',\r\n\t\t\t\t\tappLogo: 'app_logo',\r\n\t\t\t\t\tappName: 'app_name',\r\n\t\t\t\t\treadNum: 'read_num',\r\n\t\t\t\t\tcreateAt: 'create_at',\r\n\t\t\t\t}),\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\titemData() {\r\n\t\t\t\treturn this.data;\r\n\t\t\t},\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style scoped>\r\n\t.list-item {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tmargin-bottom: 10px;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tborder-radius: 10px;\r\n\t\tpadding: 12px 10px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t.list-item:last-child {\r\n\t\tmargin-bottom: 0;\r\n\t}\r\n\r\n .item-img-box {\r\n width: 100px;\r\n height: 55px;\r\n position: relative;\r\n border-radius: 6px;\r\n margin-right: 10px;\r\n overflow: hidden;\r\n }\r\n\r\n .item-img {\r\n width: 100%;\r\n height: 100%;\r\n\r\n }\r\n\r\n .item-tag {\r\n position: absolute;\r\n right: 4px;\r\n top: 4px;\r\n width: 26px;\r\n }\r\n\r\n .last-view {\r\n width: 100%;\r\n height: 100%;\r\n background: rgba(0, 0, 0, 0.6);\r\n color: #FFFFFF;\r\n font-size: 11px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n }\r\n\r\n .last-view>img {\r\n width: 16px;\r\n }\r\n\r\n .item-sidebar {\r\n flex: 1;\r\n height: 55px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n }\r\n\r\n .item-name {\r\n width: 100%;\r\n font-size: 14px;\r\n color: #333333;\r\n font-weight: bold;\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 .item-between {\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 .eye-row {\r\n display: flex;\r\n align-items: center;\r\n color: #999999;\r\n font-size: 10px;\r\n }\r\n\r\n .eye-row>img {\r\n width: 14px;\r\n margin-right: 2px;\r\n }\r\n\r\n .time {\r\n color: #999999;\r\n font-size: 10px;\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-collection-item.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-collection-item.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./image-text-collection-item.vue?vue&type=template&id=d6096028&scoped=true&\"\nimport script from \"./image-text-collection-item.vue?vue&type=script&lang=js&\"\nexport * from \"./image-text-collection-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./image-text-collection-item.vue?vue&type=style&index=0&id=d6096028&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 \"d6096028\",\n null\n \n)\n\nexport default component.exports","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/8e6I0cVioVKZ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2EDN5VbeW4CcyA0efTpFRi0PRG1QhmJJ7t29IljQDRFNpN4MqchewjetQrAv9aIjWAAmbIKMNMsxj5BX8VbMfISzrzLAGxprAVgTZszZ296Cx88oCP+G2NDRrNJIPvS96HJnLXSPA7W/1qFdSOHiaipfRQYKKkH1nPJ5l5rKOBK3C0WvnkYcewbZsSLRHWJbejJdzktTeH3TiXcI96QVWkqdpyVic/jxmYcU/TeSUCptOK9KQhcCi6fYZQ/AKQ5FzKjUzWGPqFjHLyZ0Pg8vyM5UaJsQjwoBvSh69BWSaMZ+SgaYYfeAI/PM7+gG97BMLm+fDhqawzDJHL6ydSq4tUsArw/jJwy+iD6ngOew7XOfAX3u9YPHPqB6kAAAAASUVORK5CYII=\"","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,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUCAYAAAD/Rn+7AAAAAXNSR0IArs4c6QAABENJREFUSEvFln9MVWUYxz/ve/1BIgmoISGyXK0lKKZsjCLWxGY2dU1cK1QEamoToZaZtW6CseVmDWdsOYYTWGGKioxyFaKmondOgVvQVq0oWuhWrh/ErBv3nnZ+Xc4999w7aq3uP+eec97zvs/z/X6f7/MI5apbQQhAol2FcVXvpeW/+Q7LGm2t5buwd8Zap+faedoZwwg5iBAduKgX01f1Y/kJLcBIG6sbaO/MoMx7WzLBdbaAnRK3JhS+vx/peovrvz0nMh7zqXHaAjQPNjO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U8sOo/m/nQcu4pnuybkzBIF1vgHwagSt0KLDMa5GGUMMH/5V50I6gddRQenelIyY8hRAPIcUcFAcLijbjhVH2D+dBY5+/ANRjk+jHsb9SAAAAAElFTkSuQmCC\"","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-collection.vue?vue&type=style&index=0&id=5d342b0a&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!./image-text-recommend1.vue?vue&type=style&index=0&id=198cc658&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!./image-text-collection-item.vue?vue&type=style&index=0&id=d6096028&prod&scoped=true&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAm5JREFUWEft2MnLTlEYAPDfZx4yK8WCWLBgwQIbSobIkMiwYiMbJX+JWLFRSmJBUoYyLCjDQoREQgghikQiQ4/OW8eXvPfe976fV31ne8+9z+8+59xzn3O6dHjr6nCfXmCrI9RTGeyH2XiEl2XQPQEci5MJ+AlLcKkost3AcTiH6RloN3Z0AnACzmNqhvmBFTj1r4ETE25KBvmObdhbFBf92jHEgYrMBbLRvmEL9pfBtQM4LeHGZ5Cv2ITDZXF1A2fgLOLDaLQv2IhjVXB1AmfhDMZkkM9YW+aD+NNL1DEH5+I0RmYBPmJ1WmKqJu/Xfa0C5+MEhmWKD2kpudiSLN3cCnARjmNIBnmHZbhaB66VDC7HEQzKIG/Tb+x6XbiqwDU4hAEZ5BUW43aduCrA9TiIqE4a7TliuO/VjSsLjA8hSqV8zj3BQjxsB64scDRiKPPs3UzZe9MJwDBEmbSz2/J0JyFLFaJFX6jKMrMdu7oh76ehflY0cNF+VYDx7K3Ygz5ZoCjnYz4+Lhq8SL+qwHj2ZuxD3yzQ04R8UCR4kT6tAOP5G3AA/bNgL9KcvFsE0KxPq8B4fhQFUesNzIK9Tgv3rWaAZtfrAEaM+P8exeAsYPz6luJaM8TfrtcFjBjxgUTxMDQL+D7hr1RF1gkMw7xUfg3PQFF+rcSFKsi6gWGYkwrYURkoNuwxV2NLUKq1AxiAmWkLEKcKjRZbgHUpw4WR7QIGIE4T4lSh+yZqAS4XFbYTGIY4VYg9cpwyNFrHHH00QJMTchLidGFVOkwqlMR2Z7CBGIHYJsTf5UYhWerUU8Aypt/69gIrp+5/GeKfiUBcKeCBb1YAAAAASUVORK5CYII=\""],"sourceRoot":""}
|