1 |
- {"version":3,"sources":["webpack:///./src/assets/avatar.png","webpack:///./src/assets/search-icon.png","webpack:///./src/assets/icon-6.png","webpack:///./src/assets/icon-83.png","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./src/views/supplier/supplier-search.vue","webpack:///src/views/supplier/supplier-search.vue","webpack:///./src/views/supplier/supplier-search.vue?94c6","webpack:///./src/views/supplier/supplier-search.vue?9430","webpack:///./src/assets/normal.png","webpack:///./src/assets/return.png","webpack:///./src/views/supplier/supplier-search.vue?9b0f"],"names":["module","exports","dP","f","FProto","Function","prototype","nameRE","NAME","configurable","get","this","match","e","render","_vm","_c","_self","staticClass","attrs","require","on","$event","$router","back","_v","domProps","params","search_name","go","class","active","sort_type","checkTab","style","transform","staticStyle","finished","list","length","getList","model","value","loading","callback","$$v","expression","_l","item","index","key","push","id","_s","name","content","label_name","item3","index3","cover_arr","supplier_logo","supplier_name","read_num","_e","replace","staticRenderFns","components","data","page","page_num","mounted","methods","SupplierService","RegExp","component"],"mappings":"mGAAAA,EAAOC,QAAU,IAA0B,2B,qBCA3CD,EAAOC,QAAU,krD,qBCAjBD,EAAOC,QAAU,8sD,mBCAjBD,EAAOC,QAAU,01B,gDCAjB,IAAIC,EAAK,EAAQ,QAAgBC,EAC7BC,EAASC,SAASC,UAClBC,EAAS,wBACTC,EAAO,OAGXA,KAAQJ,GAAU,EAAQ,SAAqBF,EAAGE,EAAQI,EAAM,CAC9DC,cAAc,EACdC,IAAK,WACH,IACE,OAAQ,GAAKC,MAAMC,MAAML,GAAQ,GACjC,MAAOM,GACP,MAAO,Q,iECZTC,EAAS,WAAkB,IAAIC,EAAIJ,KAAKK,EAAGD,EAAIE,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,aAAaC,MAAM,CAAC,IAAMC,EAAQ,SAAw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Ae,oBAAoB7C,EAAG,MAAM,CAACE,YAAY,MAAMC,MAAM,CAAC,IAAMC,EAAQ,QAAwB,IAAM,MAAMJ,EAAG,OAAO,CAACE,YAAY,UAAU,CAACH,EAAIU,GAAGV,EAAIsC,GAAGL,EAAKc,oBAAwC,IAApB/C,EAAIuB,KAAKC,OAAcvB,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,MAAM,CAACG,MAAM,CAAC,IAAMC,EAAQ,WAA0BL,EAAIU,GAAG,gCAAgCV,EAAIgD,MAAM,KAAK/C,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,SAAS,CAACG,MAAM,CAAC,KAAO,UAAUE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOP,EAAIQ,QAAQyC,QAAQ,sBAAsB,CAACjD,EAAIU,GAAG,iBAAiB,IAEhhGwC,EAAkB,G,8CCkFP,GACfC,cACAC,gBACA,OACAxC,QACAC,eACAI,YACAoC,OACAC,aAEA/B,QACAK,WACAN,cAGAiC,mBACA,wBACA,kCACA,gBAEAC,SACA/B,mBAAA,WACA,gBACAgC,kDAAA,aACA,0BAWA,OAVAxB,4BACAyB,wEACA,iCAEAzB,4BACA,qBACAA,qBAEAA,qBAEA,KAEA,+EACA,2BACA,cAEA,mBAEA,oBACA,iBAGAf,qBACA,wBACA,iBACA,mBACA,kBCvIwW,I,wBCQpWyC,EAAY,eACd,EACA5D,EACAmD,GACA,EACA,KACA,WACA,MAIa,aAAAS,E,8BCnBf1E,EAAOC,QAAU,IAA0B,2B,mBCA3CD,EAAOC,QAAU,s7B,kCCAjB","file":"js/chunk-06aab88a.f84ca5b9.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/avatar.0166dac5.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABKtJREFUWEe1l2toXEUUx//n7s2SgEoTaUliq2CNWvWL4qOIaUOIWCrSL0YpWMj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YpGo38PP7e4YrVazedzDJXJZF78dZ8CDABpWeKbD1ENwwAAAABJRU5ErkJggg==\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAipJREFUSEvtlT+I03AUx78vqUlxUwSHLv67gjqI4KAIelUQ3Rx0FYptk3boqG6l251jhzZJcxRnEXRSBO0piA6COKhQOb2lgyC6SdM2efI7ktKL6fWOlgxyvy2/vHw/v+/Le+9HiHlRzDzsAuee8R2ltNVqJfv9/iEAB/yT/FQUZT2bzfa2e7KpQNu29zPzLWa+wcxnAKghcYeI3jPzI1mWH+RyuV9bwScChZvBYHCHme8C2LtNB38A3FcUZXmS60igbdvHXNd9AuBECNQH8JKIPop9Zj4F4BIAJRT3mZmv67r+NXzQf4CNRuO0JEkvAOwbDyai1eFweLtUKn0b36/X60cSicQKMy+GxH97nne5WCx+2KQz/tBsNg97nvcWwMEwjJmvaJo2qNVqajKZPCve93q9d+Vy2TFNcw8RPY+A/pAk6Vw+n/8e6I0cVioVKZVKvWbm8+E0uq57XDjz3T8EcNSPWfM876ZwIZzKsvwlnF4ietPtdi9Uq1VPfDMCmqapATAiiuOZpmnXhDNVVT+NwYLQNcdxTvpOnwK4GqGha5pmjoDtdjvR6XTEDxY9tmkx87Ku6/csy7rIzKtR1UpEi4VC4ZVhGEtEJKo6vNbT6fRCJpMZbjicF9CyrCW/jbYGirexplQAYy8aAY21LYKkx9r4AdQwjAUiejxptDHzxmgjotlHWwCNdXiP13Rs11NUg8dyAUeBZ9mbeuPPIh45BuctOE3v/3f4F13lcCw5+yazAAAAAElFTkSuQmCC\"","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrap\"},[_c('div',{staticClass:\"header-wrap\"},[_c('div',{staticClass:\"header\"},[_c('img',{staticClass:\"return-img\",attrs:{\"src\":require(\"@/assets/return.png\")},on:{\"click\":function($event){return _vm.$router.back()}}}),_c('p',{staticClass:\"header-title\"},[_vm._v(\"搜索\")])]),_c('div',{staticClass:\"search-box\"},[_c('div',{staticClass:\"search-bar\",on:{\"click\":function($event){return _vm.$router.back()}}},[_c('img',{staticClass:\"search-icon\",attrs:{\"src\":require(\"@/assets/search-icon.png\")}}),_c('input',{staticClass:\"search-input\",attrs:{\"type\":\"search\",\"placeholder\":\"请输入关键字进行搜索\",\"disabled\":\"\"},domProps:{\"value\":_vm.params.search_name}})]),_c('button',{staticClass:\"cancel\",on:{\"click\":function($event){return _vm.$router.go(-2)}}},[_vm._v(\"取消\")])]),_c('ul',{staticClass:\"sub-tab-list\"},[_c('li',{class:{ active: _vm.params.sort_type === 1 },on:{\"click\":function($event){return _vm.checkTab(1)}}},[_vm._v(\"默认排序\")]),_c('li',{class:{ active: _vm.params.sort_type === 2 || _vm.params.sort_type === 3},on:{\"click\":function($event){return _vm.checkTab(_vm.params.sort_type === 3 ? 2 : 3)}}},[_vm._v(\"\\n 时间\\n \"),_c('img',{staticClass:\"tab-icon\",style:({transform: `rotate(${_vm.params.sort_type === 3 || _vm.params.sort_type === 1 ? 0 : 180}deg)`}),attrs:{\"src\":require(\"@/assets/icon-6.png\")}})])])]),_c('van-list',{staticStyle:{\"width\":\"100%\"},attrs:{\"finished\":_vm.finished,\"immediate-check\":false,\"finished-text\":_vm.list.length > 0 ? '没有更多了' : ''},on:{\"load\":_vm.getList},model:{value:(_vm.loading),callback:function ($$v) {_vm.loading=$$v},expression:\"loading\"}},[_c('ul',{staticClass:\"list\"},[_vm._l((_vm.list),function(item,index){return _c('li',{key:index,on:{\"click\":function($event){return _vm.$router.push(`/supplier-details?id=${item.id}`)}}},[_c('p',{staticClass:\"item-name\",domProps:{\"innerHTML\":_vm._s(item.name)}}),_c('div',{staticClass:\"imgtext\"},[_c('div',[_c('div',{staticClass:\"text\",domProps:{\"innerHTML\":_vm._s(item.content)}}),_c('div',{staticClass:\"label\"},_vm._l((item.label_name),function(item3,index3){return _c('span',{key:index3},[_vm._v(_vm._s(item3))])}),0)]),_c('div',{staticClass:\"img\"},[_c('img',{staticClass:\"img\",attrs:{\"src\":item.cover_arr[0]}})])]),_c('div',{staticClass:\"item-bottom\"},[_c('p',{staticClass:\"photo-row\"},[(item.supplier_logo)?_c('img',{attrs:{\"src\":item.supplier_logo}}):_c('img',{staticClass:\"avatar\",attrs:{\"src\":require(\"@/assets/avatar.png\")}}),_vm._v(\"\\n \"+_vm._s(item.supplier_name)+\"\\n \")]),_c('img',{staticClass:\"eye\",attrs:{\"src\":require(\"@/assets/icon-83.png\"),\"alt\":\"\"}}),_c('span',{staticClass:\"number\"},[_vm._v(_vm._s(item.read_num))])])])}),(_vm.list.length === 0)?_c('div',{staticClass:\"normal-box-small\"},[_c('img',{attrs:{\"src\":require(\"@/assets/normal.png\")}}),_vm._v(\"\\n 暂无数据\\n \")]):_vm._e()],2)]),_c('div',{staticClass:\"float-box\"},[_c('button',{attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$router.replace('/contact-online')}}},[_vm._v(\"没找到?点我反馈\")])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- 供应商-搜索 -->\r\n<template>\r\n\t<div class=\"wrap\">\r\n\r\n\t\t<div class=\"header-wrap\">\r\n\t\t\t<div class=\"header\">\r\n\t\t\t\t<img src=\"@/assets/return.png\" class=\"return-img\" @click=\"$router.back()\">\r\n\t\t\t\t<p class=\"header-title\">搜索</p>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"search-box\">\r\n\t\t\t\t<div class=\"search-bar\" @click=\"$router.back()\">\r\n\t\t\t\t\t<img src=\"@/assets/search-icon.png\" class=\"search-icon\">\r\n\t\t\t\t\t<input type=\"search\" :value=\"params.search_name\" placeholder=\"请输入关键字进行搜索\" class=\"search-input\" disabled />\r\n\t\t\t\t</div>\r\n <button class=\"cancel\" @click=\"$router.go(-2)\">取消</button>\r\n\t\t\t</div>\r\n\t\t\t<ul class=\"sub-tab-list\">\r\n <li :class=\"{ active: params.sort_type === 1 }\" @click=\"checkTab(1)\">默认排序</li>\r\n <li :class=\"{ active: params.sort_type === 2 || params.sort_type === 3}\" @click=\"checkTab(params.sort_type === 3 ? 2 : 3)\">\r\n 时间\r\n <img src=\"@/assets/icon-6.png\" class=\"tab-icon\" :style=\"{transform: `rotate(${params.sort_type === 3 || params.sort_type === 1 ? 0 : 180}deg)`}\">\r\n </li>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\r\n <van-list\r\n style=\"width: 100%\"\r\n v-model=\"loading\"\r\n :finished=\"finished\"\r\n :immediate-check=\"false\"\r\n :finished-text=\"list.length > 0 ? '没有更多了' : ''\"\r\n @load=\"getList\"\r\n >\r\n <ul class=\"list\">\r\n <li v-for=\"(item, index) in list\" :key=\"index\" @click=\"$router.push(`/supplier-details?id=${item.id}`)\">\r\n <p class=\"item-name\" v-html=\"item.name\"></p>\r\n\t\t <div class=\"imgtext\">\r\n\t\t\t<div>\r\n\t\t\t\t<div class=\"text\" v-html=\"item.content\"></div>\r\n\t\t\t\t<div class=\"label\">\r\n\t\t\t\t\t<span v-for=\"(item3,index3) in item.label_name\" :key=\"index3\" >{{item3}}</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"img\">\r\n\t\t\t\t<img :src=\"item.cover_arr[0]\" class=\"img\"></img>\r\n\t\t\t</div>\r\n\t\t </div>\r\n <!-- <ul class=\"img-list\">\r\n <li :class=\"`len${Math.min(item.cover_arr.length, 3)}`\" v-for=\"(item2, index2) in item.cover_arr\" :key=\"index2\">\r\n <img :src=\"item2\" class=\"img\">\r\n </li>\r\n </ul> -->\r\n <div class=\"item-bottom\">\r\n<!-- <ul class=\"tag-list\">-->\r\n<!-- <li>{{ item.supplier_name }}</li>-->\r\n<!-- <li v-for=\"(item2, index2) in item.label_name || []\" :key=\"index2\">{{ item2 }}</li>-->\r\n<!-- </ul>-->\r\n <p class=\"photo-row\">\r\n <img :src=\"item.supplier_logo\" v-if=\"item.supplier_logo\">\r\n <img src=\"@/assets/avatar.png\" class=\"avatar\" v-else>\r\n {{ item.supplier_name }}\r\n </p>\r\n\t\t\t<img src=\"@/assets/icon-83.png\" class=\"eye\" alt=\"\"></img>\r\n <span class=\"number\">{{ item.read_num }}</span>\r\n </div>\r\n </li>\r\n <div class=\"normal-box-small\" v-if=\"list.length === 0\">\r\n <img src=\"@/assets/normal.png\">\r\n 暂无数据\r\n </div>\r\n </ul>\r\n </van-list>\r\n\r\n\t\t<div class=\"float-box\">\r\n\t\t\t<button type=\"button\" @click=\"$router.replace('/contact-online')\">没找到?点我反馈</button>\r\n\t\t</div>\r\n\r\n\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\nimport {SupplierService} from \"@/common/service\";\r\n\r\nexport default {\r\n\t\tcomponents: {},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tparams: {\r\n search_name: '', // 标题\r\n\t\t\t\t\tsort_type: 1, // 1 默认 2 时间升序 3 时间降序\r\n\t\t\t\t\tpage: 1, // 页数\r\n\t\t\t\t\tpage_num: 20, // 每页数\r\n\t\t\t\t},\r\n\t\t\t\tlist: [],\r\n\t\t\t\tloading: false,\r\n\t\t\t\tfinished: false,\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n const option = this.$route.query;\r\n this.params.search_name = option.key || '';\r\n this.getList();\r\n },\r\n\t\tmethods: {\r\n getList() {\r\n this.loading = true;\r\n SupplierService.searchGoods(this.params).then(({data}) => {\r\n const list = data.list.map(item => {\r\n item.name = (item.name || '').replace(\r\n RegExp(this.params.search_name, 'g'),\r\n `<span style=\"color: #FF6700\">${this.params.search_name}</span>`,\r\n );\r\n item.cover_arr = item.cover_arr || [];\r\n if (item.cover_arr.length < 3) {\r\n item.cover_arr.length = 1;\r\n } else {\r\n item.cover_arr.length = 3;\r\n }\r\n return item;\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 }).finally(() => {\r\n this.loading = false;\r\n });\r\n },\r\n checkTab(sortType) {\r\n this.params.sort_type = sortType;\r\n this.finished = false;\r\n this.params.page = 1;\r\n this.getList();\r\n },\r\n },\r\n\t}\r\n</script>\r\n\r\n<style scoped>\r\n.eye{\r\n\tmargin: 0 4px 0 12px;\r\n\twidth: 14px;\r\n\theight: 14px;\r\n}\r\n.imgtext{\r\n\tjustify-content: space-between;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n}\r\n.text{\r\n\r\n}\r\n.label{\r\n\tpadding: 0 6px;\r\n\tmargin-right: 10px;\r\n\tfont-size: 10px;\r\n\tcolor: #FF6700;\r\nheight: 16px;\r\nbackground: #FFF5EB;\r\nborder-radius: 1px;\r\n}\r\n.img{\r\n\twidth: 120px;\r\nheight: 67px;\r\nborder-radius: 6px;\r\n}\r\n\t/* 头部样式 */\r\n\t.header-wrap {\r\n\t\twidth: 100%;\r\n\t\theight: 118px;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tz-index: 500;\r\n\t\tbackground-color: #FFFFFF;\r\n\t}\r\n\r\n\t.header-wrap-tab-list-none {\r\n\t\theight: 80px;\r\n\t\tpadding-bottom: 10px;\r\n\t}\r\n\r\n\t.header {\r\n\t\twidth: 100%;\r\n\t\theight: 44px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tz-index: 999;\r\n\t\tpadding: 0 15px;\r\n\t\tposition: relative;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t.return-img {\r\n\t\tposition: absolute;\r\n\t\tleft: 15px;\r\n\t\ttop: 50%;\r\n\t\ttransform: translate(0, -50%);\r\n\t\twidth: 20px;\r\n\t}\r\n\r\n\t.header-title {\r\n\t\tcolor: #333333;\r\n\t\tfont-size: 18px;\r\n\t\tfont-weight:bold;\r\n\t}\r\n\r\n\t.search-box {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tpadding: 0 15px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n .search-box .cancel{\r\n padding-left: 15px;\r\n font-size: 15px;\r\n }\r\n\r\n\t.search-bar {\r\n\t\tflex: 1;\r\n\t\theight: 36px;\r\n\t\tbackground-color: #F3F3F3;\r\n\t\tborder-radius: 100px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tpadding: 0 15px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t.search-icon {\r\n\t\twidth: 14px;\r\n\t\tmargin-right: 8px;\r\n\t}\r\n\r\n\t.search-input {\r\n\t\tflex: 1;\r\n\t\tfont-size: 14px;\r\n\t}\r\n\r\n\t.search-input::placeholder {\r\n\t\tcolor: #7F7F7F;\r\n\t}\r\n\r\n\t.tab-list>li {\r\n\t\tflex: 1;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\theight: 38px;\r\n\t\tline-height: 38px;\r\n\t\tfont-size: 16px;\r\n\t\tcolor: #555555;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.tab-list>li.active {\r\n\t\tfont-size: 18px;\r\n\t\tfont-weight:bold;\r\n\t\tcolor: #222222;\r\n\t}\r\n\r\n\t.tab-list>li.active::after {\r\n\t\tcontent: \"\";\r\n\t\tposition: absolute;\r\n\t\tbottom: 0;\r\n\t\tleft: 50%;\r\n\t\ttransform: translate(-50%, 0);\r\n\t\tbackground: linear-gradient(90deg, #2A63F3, #81B8FF);\r\n\t\tborder-radius: 2px;\r\n\t\twidth: 18px;\r\n\t\theight: 4px;\r\n\t}\r\n\r\n\r\n\t.sub-tab-list {\r\n\t\twidth: 100%;\r\n\t\theight: 38px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.sub-tab-list>li {\r\n\t\tflex: 1;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\theight: 38px;\r\n\t\tline-height: 38px;\r\n\t\tfont-size: 14px;\r\n\t\tcolor: #555555;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.sub-tab-list>li.active {\r\n\t\tfont-weight:bold;\r\n\t\tcolor: #222222;\r\n\t}\r\n\r\n\t.sub-tab-list>li.active::after {\r\n\t\tcontent: \"\";\r\n\t\twidth: 18px;\r\n\t\theight: 4px;\r\n\t\tbackground: linear-gradient(90deg, #2A63F3, #81B8FF);\r\n\t\tborder-radius: 2px;\r\n\t\tposition: absolute;\r\n\t\tbottom: 0;\r\n\t\tleft: 50%;\r\n\t\ttransform: translate(-50%, 0);\r\n\t}\r\n\r\n\t.tab-icon {\r\n\t\twidth: 6px;\r\n\t\tmargin-left: 2px;\r\n\t}\r\n\r\n\t.wrap {\r\n\t\twidth: 100%;\r\n\t\theight: calc(100vh - 118px);\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\t\tmargin: 118px 0 0;\r\n\t\tbox-sizing: border-box;\r\n\t\tbackground-color: #F4F4F4;\r\n\t\toverflow-y: auto;\r\n\t}\r\n\r\n\t.wrap-tab-list-none {\r\n\t\theight: calc(100vh - 90px);\r\n\t\tmargin: 90px 0 0;\r\n\t}\r\n\r\n\r\n\t.sub-list {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tpadding: 12px 15px;\r\n\t\tbox-sizing: border-box;\r\n\t\t/*height: 100%;*/\r\n\t\toverflow: auto;\r\n\t}\r\n\r\n\t.sub-list>li {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n\t\tborder-radius: 12px;\r\n\t\tmargin-bottom: 12px;\r\n\t\tpadding: 10px;\r\n\t\tbox-sizing: border-box;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\r\n\t.sub-list>li:last-child {\r\n\t\tmargin-bottom: 0;\r\n\t}\r\n\r\n\t.float-box {\r\n\t\tposition: fixed;\r\n\t\tleft: 50%;\r\n\t\ttransform: translate(-50%, 0);\r\n\t\tbottom: 40px;\r\n\t\tz-index: 499;\r\n\t}\r\n\r\n\t.float-box>button {\r\n\t\tmin-width: 175px;\r\n\t\theight: 44px;\r\n\t\tline-height: 44px;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tbackground-color: #2A63F3;\r\n\t\tborder-radius: 100px;\r\n\t\tcolor: #FFFFFF;\r\n\t\tfont-size: 18px;\r\n\t\tfont-weight:bold;\r\n\t}\r\n\r\n\r\n\t.list {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tpadding: 12px 15px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t\r\n\t.list>li {\r\n\t\twidth: 100%;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\r\n\t\tborder-radius: 12px;\r\n\t\tmargin-bottom: 12px;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tpadding: 10px 10px 14px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t\r\n\t\r\n\t.item-name {\r\n\t\twidth: 100%;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-line-clamp: 1;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t\t-webkit-box-orient: vertical;\r\n\t\tcolor: #222222;\r\n\t\tfont-size: 16px;\r\n\t\tmargin-bottom: 10px;\r\n\t\t/*font-weight: bold;*/\r\n\t}\r\n\t\r\n\t.item-row {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tmargin-top: 14px;\r\n\t}\r\n\t\r\n\t.avatar {\r\n\t\twidth: 18px;\r\n\t\theight: 18px;\r\n\t\tborder-radius: 50%;\r\n\t\tmargin-right: 6px;\r\n\t}\r\n\t\r\n\t.item-row>span {\r\n\t\tflex: 1;\r\n\t\tfont-size: 12px;\r\n\t\tcolor: #999999;\r\n\t}\r\n\t\r\n\t\r\n\t.normal-box-small {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tfont-size: 14px;\r\n\t\tcolor: #999992;\r\n\t\tpadding: 120px 0;\r\n\t}\r\n\t\r\n\t.normal-box-small>img {\r\n\t\twidth: 150px;\r\n\t\tmargin-bottom: 9px;\r\n\t}\r\n\t.img-list {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-wrap: wrap;\r\n\t}\r\n\t\r\n\t.img-list>li {\r\n\t\tflex: 1;\r\n\t\tposition: relative;\r\n\t\toverflow: hidden;\r\n margin: 3.5px 7px 3.5px 0;\r\n\t}\r\n\t\r\n\t.img-list>li:last-child {\r\n\t\tmargin-right: 0;\r\n\t}\r\n\t\r\n\t.img-list>li>img {\r\n\t\twidth: 100%;\r\n\t\theight: 100px;\r\n\t\tdisplay: block;\r\n\t\tobject-fit: cover;\r\n overflow: hidden;\r\n }\r\n .img-list>li.len1>img {\r\n border-radius: 8px;\r\n /*height: calc((100vw - 50px) * (9 / 16));*/\r\n height: 140px;\r\n }\r\n\r\n .img-list>li.len2>img {\r\n border-radius: 6px;\r\n height: calc((100vw - 50px - 7px) / 2 * (9 / 16));\r\n }\r\n\r\n .img-list>li.len3>img {\r\n border-radius: 4px;\r\n height: calc((100vw - 50px - 7px * 2) / 3 * (9 / 16));\r\n }\r\n\t\r\n\t.item-bottom {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\t/* justify-content: space-between; */\r\n\t\talign-items: center;\r\n\t\tmargin-top: 8px;\r\n\t}\r\n\r\n .tag-list {\r\n flex: 1;\r\n display: flex;\r\n flex-wrap: wrap;\r\n overflow: hidden;\r\n }\r\n\r\n .tag-list>li {\r\n max-width: 100%;\r\n height: 18px;\r\n line-height: 18px;\r\n font-size: 10px;\r\n width: fit-content;\r\n padding: 0 6px;\r\n border-radius: 2px;\r\n margin-right: 10px;\r\n margin-bottom: 5px;\r\n color: #4FA753;\r\n background-color: #E8F6EA;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n }\r\n\r\n\t.tag-list>li:first-child {\r\n\t\tcolor: #2A63F3;\r\n\t\tbackground-color: #E7F1FF;\r\n\t}\r\n\r\n\t.number {\r\n\t\tcolor: #999999;\r\n\t\tfont-size: 10px;\r\n\t}\r\n .photo-row {\r\n display: flex;\r\n align-items: center;\r\n color: #222222;\r\n font-size: 10px;\r\n }\r\n\r\n .photo-row>img {\r\n width: 18px;\r\n height: 18px;\r\n border-radius: 50%;\r\n margin-right: 6px;\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-search.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-search.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./supplier-search.vue?vue&type=template&id=39620501&scoped=true&\"\nimport script from \"./supplier-search.vue?vue&type=script&lang=js&\"\nexport * from \"./supplier-search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./supplier-search.vue?vue&type=style&index=0&id=39620501&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 \"39620501\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/normal.bfd5e89f.png\";","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=\"","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-search.vue?vue&type=style&index=0&id=39620501&prod&scoped=true&lang=css&\""],"sourceRoot":""}
|