1 |
- {"version":3,"sources":["webpack:///./src/views/feedback-my.vue?ae9c","webpack:///./src/views/feedback-my.vue","webpack:///src/views/feedback-my.vue","webpack:///./src/views/feedback-my.vue?1a10","webpack:///./src/views/feedback-my.vue?c19e","webpack:///./src/components/normal-box.vue","webpack:///src/components/normal-box.vue","webpack:///./src/components/normal-box.vue?1f09","webpack:///./src/components/normal-box.vue?99a8","webpack:///./src/components/normal-box.vue?567a","webpack:///./src/assets/normal.png","webpack:///./src/assets/return.png"],"names":["render","_vm","this","_c","_self","staticClass","attrs","require","on","$event","$router","back","_v","staticStyle","finished","list","length","getList","model","value","loading","callback","$$v","expression","_l","item","index","key","push","id","_s","content","status","_e","desc","create_at","staticRenderFns","components","NormalBox","data","params","page","page_num","mounted","methods","FeedbackService","component","show","hideImg","text","name","props","default","module","exports"],"mappings":"kHAAA,W,2CCAA,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,SAAyBC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,QAAQC,WAAWR,EAAG,IAAI,CAACE,YAAY,gBAAgB,CAACJ,EAAIW,GAAG,YAAYT,EAAG,WAAW,CAACU,YAAY,CAAC,MAAQ,QAAQP,MAAM,CAAC,SAAWL,EAAIa,SAAS,mBAAkB,EAAM,gBAAgBb,EAAIc,KAAKC,OAAS,EAAI,QAAU,IAAIR,GAAG,CAAC,KAAOP,EAAIgB,SAASC,MAAM,CAACC,MAAOlB,EAAImB,QAASC,SAAS,SAAUC,GAAMrB,EAAImB,QAAQE,GAAKC,WAAW,YAAY,CAACpB,EAAG,KAAK,CAACE,YAAY,QAAQJ,EAAIuB,GAAIvB,EAAIc,MAAM,SAASU,EAAKC,GAAO,OAAOvB,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9C,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAI8C,KAAM5C,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAAEJ,EAAI+C,QAAS7C,EAAG,MAAM,CAACG,MAAM,CAAC,IAAMC,EAAQ,WAA2BN,EAAIgC,KAAKhC,EAAIW,GAAG,OAAOX,EAAI6B,GAAG7B,EAAIgD,MAAM,QAAQhD,EAAIgC,MAEjPG,EAAkB,GCOP,GACfc,kBACAC,OACAJ,MACAK,YAEAH,MACAG,gBAEAJ,SACAI,cCnBoV,I,wBCQhVN,EAAY,eACd,EACA9C,EACAoC,GACA,EACA,KACA,WACA,MAIa,OAAAU,E,2CCnBf,W,qBCAAO,EAAOC,QAAU,IAA0B,2B,mBCA3CD,EAAOC,QAAU,s7B","file":"js/chunk-060d2b55.baec637e.js","sourcesContent":["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!./feedback-my.vue?vue&type=style&index=0&id=3b01fb10&prod&scoped=true&lang=css&\"","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\")},on:{\"click\":function($event){return _vm.$router.back()}}}),_c('p',{staticClass:\"header-title\"},[_vm._v(\"我的反馈\")])]),_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(`/feedback-situation?id=${item.id}`)}}},[_c('div',{staticClass:\"item-row-between\"},[_c('p',{staticClass:\"item-name\"},[_vm._v(_vm._s(item.content))]),(item.status === 0)?_c('span',{staticClass:\"tag\"},[_vm._v(\"待处理\")]):_vm._e(),(item.status === 1)?_c('span',{staticClass:\"tag\"},[_vm._v(\"处理中\")]):_vm._e(),(item.status === 2)?_c('span',{staticClass:\"tag green\"},[_vm._v(\"已处理\")]):_vm._e()]),_c('p',{staticClass:\"item-content\"},[_vm._v(\"\\n \"+_vm._s(item.desc)+\"\\n \")]),_c('div',{staticClass:\"item-row-between\"},[_c('button',{staticClass:\"btn\",attrs:{\"type\":\"button\"}},[_vm._v(\"查看详情\")]),_c('span',{staticClass:\"time\"},[_vm._v(_vm._s(item.create_at))])])])}),0),_c('normal-box',{attrs:{\"show\":_vm.list.length === 0}})],1)],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\">\r\n\t\t\t<img src=\"../assets/return.png\" class=\"return-img\" @click=\"$router.back()\">\r\n\t\t\t<p class=\"header-title\">我的反馈</p>\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(`/feedback-situation?id=${item.id}`)\">\r\n <div class=\"item-row-between\">\r\n <p class=\"item-name\">{{ item.content }}</p>\r\n <span class=\"tag\" v-if=\"item.status === 0\">待处理</span>\r\n <span class=\"tag\" v-if=\"item.status === 1\">处理中</span>\r\n <span class=\"tag green\" v-if=\"item.status === 2\">已处理</span>\r\n </div>\r\n <p class=\"item-content\">\r\n {{ item.desc }}\r\n </p>\r\n <div class=\"item-row-between\">\r\n <button type=\"button\" class=\"btn\">查看详情</button>\r\n <span class=\"time\">{{ item.create_at }}</span>\r\n </div>\r\n </li>\r\n </ul>\r\n <normal-box :show=\"list.length === 0\" />\r\n </van-list>\r\n\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\nimport {FeedbackService} from \"@/common/service\";\r\nimport NormalBox from \"@/components/normal-box\";\r\n\r\n export default {\r\n\t\tcomponents: {NormalBox},\r\n\r\n data() {\r\n return {\r\n params: {\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 mounted() {\r\n this.getList();\r\n },\r\n methods: {\r\n getList() {\r\n this.loading = true;\r\n FeedbackService.getFeedbackList(this.params).then(({data}) => {\r\n const list = data.list;\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\t}\r\n</script>\r\n\r\n<style scoped>\r\n\t.wrap {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tbackground-color: #F3F3F3;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tpadding: 56px 15px 15px;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t/* 头部样式 */\r\n\t.header {\r\n\t\twidth: 100%;\r\n\t\theight: 44px;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tz-index: 999;\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.list {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.list>li {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tbox-shadow: 0 0 12px rgba(0, 0, 0, 0.04);\r\n\t\tpadding: 12px 10px;\r\n\t\tbox-sizing: border-box;\r\n\t\tmargin-bottom: 12px;\r\n\t\tborder-radius: 12px;\r\n\t}\r\n\r\n\t.item-row-between {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.item-name {\r\n\t\tflex: 1;\r\n\t\tfont-size: 14px;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #222222;\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}\r\n\r\n\t.tag {\r\n\t\theight: 16px;\r\n\t\tline-height: 16px;\r\n\t\tbackground-color: #CEDCFF;\r\n\t\tborder-radius: 2px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\twidth: fit-content;\r\n\t\tpadding: 0 6px;\r\n\t\tcolor: #2A63F3;\r\n\t\tfont-size: 10px;\r\n\t\tmargin-left: 10px;\r\n\t}\r\n\r\n\t.tag.green {\r\n\t\tcolor: #6AA86C;\r\n\t\tbackground-color: #E4F1E4;\r\n\t}\r\n\r\n\t.item-content {\r\n\t\twidth: 100%;\r\n\t\tcolor: #666666;\r\n\t\tfont-size: 10px;\r\n\t\tmargin: 8px 0;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-line-clamp: 2;\r\n\t\toverflow: hidden;\r\n\t\ttext-overflow: ellipsis;\r\n\t\t-webkit-box-orient: vertical;\r\n\t}\r\n\r\n\r\n\t.btn {\r\n\t\twidth: 74px;\r\n\t\theight: 24px;\r\n\t\tline-height: 24px;\r\n\t\tborder-radius: 50px;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tborder: 1px solid #C2C2C2;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tcolor: #222222;\r\n\t\tfont-size: 12px;\r\n\t}\r\n\r\n\t.time {\r\n\t\tfont-size: 10px;\r\n\t\tcolor: #999999;\r\n\t}\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!./feedback-my.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!./feedback-my.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./feedback-my.vue?vue&type=template&id=3b01fb10&scoped=true&\"\nimport script from \"./feedback-my.vue?vue&type=script&lang=js&\"\nexport * from \"./feedback-my.vue?vue&type=script&lang=js&\"\nimport style0 from \"./feedback-my.vue?vue&type=style&index=0&id=3b01fb10&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 \"3b01fb10\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('div',{staticClass:\"normal-box-small\"},[(_vm.hideImg)?_c('img',{attrs:{\"src\":require(\"../assets/normal.png\")}}):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.text)+\"\\n\")]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"normal-box-small\" v-if=\"show\">\r\n <img src=\"../assets/normal.png\" v-if=\"hideImg\">\r\n {{ text }}\r\n </div>\r\n</template>\r\n\r\n<script>\r\n\r\nexport default {\r\n name: 'normal-box',\r\n props: {\r\n show: {\r\n default: false,\r\n },\r\n text: {\r\n default: '暂无数据',\r\n },\r\n hideImg: {\r\n default: true,\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\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: 14px;\r\n color: #999992;\r\n padding: 50px 0;\r\n}\r\n\r\n.normal-box-small > img {\r\n width: 150px;\r\n margin-bottom: 9px;\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!./normal-box.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!./normal-box.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./normal-box.vue?vue&type=template&id=51f5bfbc&scoped=true&\"\nimport script from \"./normal-box.vue?vue&type=script&lang=js&\"\nexport * from \"./normal-box.vue?vue&type=script&lang=js&\"\nimport style0 from \"./normal-box.vue?vue&type=style&index=0&id=51f5bfbc&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 \"51f5bfbc\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./normal-box.vue?vue&type=style&index=0&id=51f5bfbc&prod&scoped=true&lang=css&\"","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=\""],"sourceRoot":""}
|