chunk-b06c9b54.9e3f5699.js.map 7.2 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/user/CustomerList.vue?6628","webpack:///./src/views/user/CustomerList.vue?c96a","webpack:///src/views/user/CustomerList.vue","webpack:///./src/views/user/CustomerList.vue?89e7","webpack:///./src/views/user/CustomerList.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","item","key","id","on","$event","$router","push","uid","productId","orderId","attrs","avatar","_v","_s","nickname","staticRenderFns","name","data","list","watch","$route","n","params","query","methods","getList","mounted","component"],"mappings":"kHAAA,yBAA2nB,EAAG,G,gECA9nB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gBAAgBN,EAAIO,GAAIP,EAAQ,MAAE,SAASQ,GAAM,OAAOJ,EAAG,MAAM,CAACK,IAAID,EAAKE,GAAGJ,YAAY,oCAAoCK,GAAG,CAAC,MAAQ,SAASC,GAAQZ,EAAIa,QAAQC,KACrR,kBACEN,EAAKO,IACL,IACAf,EAAIgB,WACHhB,EAAIiB,QAAU,YAAcjB,EAAIiB,QAAU,QAC1C,CAACb,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACc,MAAM,CAAC,IAAMV,EAAKW,YAAYf,EAAG,MAAM,CAACE,YAAY,cAAc,CAACN,EAAIoB,GAAGpB,EAAIqB,GAAGb,EAAKc,kBAAiB,IAC3JC,EAAkB,G,wBCiBtB,GACEC,KAAM,eACNC,KAFF,WAGI,MAAO,CACLC,KAAM,GACNV,UAAW,EACXC,QAAS,KAGbU,MAAO,CACLC,OADJ,SACA,GACqB,iBAAXC,EAAEL,OACAK,EAAEC,OAAOd,UAAWf,KAAKe,UAAYa,EAAEC,OAAOd,UAC1D,iBAEYa,EAAEE,MAAMd,QAAShB,KAAKgB,QAAUY,EAAEE,MAAMd,QACpD,mBAIEe,QAAS,CACPC,QADJ,WACA,WACM,OAAN,OAAM,GAAN,kBACQ,EAAR,iBAIEC,QA3BF,WA4BIjC,KAAKgC,UACDhC,KAAK2B,OAAOE,OAAOd,YAC3B,6CACQf,KAAK2B,OAAOG,MAAMd,UAAShB,KAAKgB,QAAUhB,KAAK2B,OAAOG,MAAMd,WCvDqY,I,wBCQrckB,EAAY,eACd,EACApC,EACAwB,GACA,EACA,KACA,WACA,MAIa,aAAAY,E","file":"h5/js/chunk-b06c9b54.9e3f5699.js","sourcesContent":["import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CustomerList.vue?vue&type=style&index=0&id=e76b0d8c&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CustomerList.vue?vue&type=style&index=0&id=e76b0d8c&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"CustomerList\"},_vm._l((_vm.list),function(item){return _c('div',{key:item.id,staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){_vm.$router.push(\n '/customer/chat/' +\n item.uid +\n '/' +\n _vm.productId +\n (_vm.orderId ? '?orderId=' + _vm.orderId : '')\n )}}},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":item.avatar}})]),_c('div',{staticClass:\"text line1\"},[_vm._v(_vm._s(item.nickname))])])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"CustomerList\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-for=\"item in list\"\r\n :key=\"item.id\"\r\n @click=\"\r\n $router.push(\r\n '/customer/chat/' +\r\n item.uid +\r\n '/' +\r\n productId +\r\n (orderId ? '?orderId=' + orderId : '')\r\n )\r\n \"\r\n >\r\n <div class=\"pictrue\"><img :src=\"item.avatar\" /></div>\r\n <div class=\"text line1\">{{ item.nickname }}</div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { serviceList } from \"@api/user\";\r\n\r\nexport default {\r\n name: \"CustomerList\",\r\n data() {\r\n return {\r\n list: [],\r\n productId: 0,\r\n orderId: \"\"\r\n };\r\n },\r\n watch: {\r\n $route(n) {\r\n if (n.name === \"CustomerList\") {\r\n if (n.params.productId) this.productId = n.params.productId;\r\n else this.productId = 0;\r\n\r\n if (n.query.orderId) this.orderId = n.query.orderId;\r\n else this.orderId = \"\";\r\n }\r\n }\r\n },\r\n methods: {\r\n getList() {\r\n serviceList().then(res => {\r\n this.list = res.data;\r\n });\r\n }\r\n },\r\n mounted() {\r\n this.getList();\r\n if (this.$route.params.productId)\r\n this.productId = this.$route.params.productId;\r\n if (this.$route.query.orderId) this.orderId = this.$route.query.orderId;\r\n }\r\n};\r\n</script>\r\n<style scoped>\r\n.CustomerList {\r\n margin-top: 0.13rem;\r\n}\r\n.CustomerList .item {\r\n height: 1.38rem;\r\n border-bottom: 1px solid #eee;\r\n padding: 0 0.24rem;\r\n background-color: #fff;\r\n}\r\n.CustomerList .item .pictrue {\r\n width: 0.9rem;\r\n height: 0.9rem;\r\n border-radius: 50%;\r\n border: 0.03rem solid #fff;\r\n box-shadow: 0 0 0.1rem 0.05rem #f3f3f3;\r\n -webkit-box-shadow: 0 0 0.1rem 0.05rem #f3f3f3;\r\n -moz-box-shadow: 0 0 0.1rem 0.05rem #f3f3f3;\r\n}\r\n.CustomerList .item .pictrue img {\r\n width: 100%;\r\n height: 100%;\r\n border-radius: 50%;\r\n}\r\n.CustomerList .item .text {\r\n width: 5.82rem;\r\n font-size: 0.32rem;\r\n color: #000;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CustomerList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CustomerList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerList.vue?vue&type=template&id=e76b0d8c&scoped=true&\"\nimport script from \"./CustomerList.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomerList.vue?vue&type=style&index=0&id=e76b0d8c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e76b0d8c\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}