1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/feedback/feedback.vue?014c","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/feedback/feedback.vue?bad5","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/feedback/feedback.vue?beb3","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/feedback/feedback.vue?51f8","uni-app:///pagesMy/feedback/feedback.vue","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/feedback/feedback.vue?0ddd","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/feedback/feedback.vue?1e7e"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","title","value5","fileList1","components","methods","deletePic","afterRead","lists","fileListLen","item","i","result","status","message","url","uploadFilePromise","filePath","goback","uni"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,iBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiI;AACjI;AAC4D;AACL;AACsC;;;AAG7F;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,+FAAM;AACR,EAAE,wGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,0SAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP,KAAK;AACL;AACA,aAAa,6SAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAA0rB,CAAgB,wrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;AC+B9sB;AAAA;AAAA;AAAA,eACA;EACAC;IACA;MACAC;MACAC;MACAC;IAEA;EACA;EAEAC,aAEA;EACAC;IACAC;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACA;gBACAC;gBACAC;gBACAD;kBACA,4DACAE,MAEA;gBACA;gBACAC;cAAA;gBAAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAC;gBACAF;gBACA;kBACAG;kBACAC;kBACAC;gBACA;gBACAN;cAAA;gBARAE;gBAAA;gBAAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAUA;IACAK;MACA;QACAD;QACAE;MACA;QACA;QACA;MAAA,CACA;IAEA;IACAC;MACAC;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACrFA;AAAA;AAAA;AAAA;AAAi0C,CAAgB,uvCAAG,EAAC,C;;;;;;;;;;;ACAr1C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesMy/feedback/feedback.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesMy/feedback/feedback.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./feedback.vue?vue&type=template&id=1cdc0972&scoped=true&\"\nvar renderjs\nimport script from \"./feedback.vue?vue&type=script&lang=js&\"\nexport * from \"./feedback.vue?vue&type=script&lang=js&\"\nimport style0 from \"./feedback.vue?vue&type=style&index=0&id=1cdc0972&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1cdc0972\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesMy/feedback/feedback.vue\"\nexport default component.exports","export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./feedback.vue?vue&type=template&id=1cdc0972&scoped=true&\"","var components\ntry {\n components = {\n uniIcons: function () {\n return import(\n /* webpackChunkName: \"node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons\" */ \"@dcloudio/uni-ui/lib/uni-icons/uni-icons.vue\"\n )\n },\n \"u-Textarea\": function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u--textarea/u--textarea\" */ \"@/uni_modules/uview-ui/components/u--textarea/u--textarea.vue\"\n )\n },\n uUpload: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-upload/u-upload\" */ \"@/uni_modules/uview-ui/components/u-upload/u-upload.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./feedback.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./feedback.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"container\">\r\n\t\t\t<view class=\"my-header\">\r\n\t\t\t\t<view class=\"my-icons\" @click=\"goback\"> <uni-icons type=\"left\" color=\"#ffffff\" size=\"16\"></uni-icons>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"my-text\">意见反馈</view>\r\n\t\t\t\t<view class=\"my-icons\"></view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 顶部区域 -->\r\n\t\t\t<view class=\"box-top\">\r\n\t\t\t\t<view class=\"top-title\">\r\n\t\t\t\t\t反馈内容\r\n\t\t\t\t</view>\r\n\t\t\t\t<u--textarea v-model=\"value5\" placeholder=\"请填写您的反馈和建议\" border=\"bottom\"></u--textarea>\r\n\t\t\t\t<view class=\"top-title\" style=\"border-bottom: none;\">\r\n\t\t\t\t\t相关截图(选填)\r\n\t\t\t\t</view>\r\n\t\t\t\t<u-upload :fileList=\"fileList1\" @afterRead=\"afterRead\" @delete=\"deletePic\" name=\"1\" multiple\r\n\t\t\t\t\t:maxCount=\"5\"></u-upload>\r\n\t\t\t\t<view class=\"anniu\">\r\n\t\t\t\t\t<text>提交反馈</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\r\n\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport upload from '@/utils/upload.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttitle: '',\r\n\t\t\t\tvalue5: '',\r\n\t\t\t\tfileList1: [],\r\n\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tcomponents: {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tdeletePic(event) {\r\n\t\t\t\tthis[`fileList${event.name}`].splice(event.index, 1)\r\n\t\t\t},\r\n\t\t\t// 新增图片\r\n\t\t\tasync afterRead(event) {\r\n\t\t\t\t// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式\r\n\t\t\t\tlet lists = [].concat(event.file)\r\n\t\t\t\tlet fileListLen = this[`fileList${event.name}`].length\r\n\t\t\t\tlists.map((item) => {\r\n\t\t\t\t\tthis[`fileList${event.name}`].push({\r\n\t\t\t\t\t\t...item,\r\n\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\tfor (let i = 0; i < lists.length; i++) {\r\n\t\t\t\t\tconst result = await this.uploadFilePromise(lists[i].url)\r\n\t\t\t\t\tlet item = this[`fileList${event.name}`][fileListLen]\r\n\t\t\t\t\tthis[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {\r\n\t\t\t\t\t\tstatus: 'success',\r\n\t\t\t\t\t\tmessage: '',\r\n\t\t\t\t\t\turl: result\r\n\t\t\t\t\t}))\r\n\t\t\t\t\tfileListLen++\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tuploadFilePromise(url) {\r\n\t\t\t\tupload({\r\n\t\t\t\t\turl: '/common/upload',\r\n\t\t\t\t\tfilePath: url,\r\n\t\t\t\t}).then((res) => {\r\n\t\t\t\t\t// console.log('images', res.fileName);\r\n\t\t\t\t\t// this.images.push(res.fileName)\r\n\t\t\t\t})\r\n\r\n\t\t\t},\r\n\t\t\tgoback() {\r\n\t\t\t\tuni.navigateBack()\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t.content {\r\n\t\tbackground: #ffffff;\r\n\t}\r\n\r\n\t.container {\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding-top: 88px;\r\n\t\tz-index: 999999999;\r\n\t}\r\n\r\n\t.my-header {\r\n\t\twidth: 100%;\r\n\t\theight: 88px;\r\n\t\tbackground: #1678ff;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tcolor: #ffffff;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 0px 15px;\r\n\t\tpadding-top: 40px;\r\n\r\n\t\t.my-icons {\r\n\t\t\twidth: 20px;\r\n\r\n\t\t}\r\n\r\n\t\tposition: fixed;\r\n\t\ttop: 0px;\r\n\t}\r\n\r\n\t.box-top {\r\n\t\twidth: 100%;\r\n\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px;\r\n\t}\r\n\r\n\t.top-title {\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px 0px;\r\n\t\tborder-bottom: 1px solid #e6e6e6;\r\n\t}\r\n\r\n\t.anniu {\r\n\t\twidth: 95%;\r\n\t\tbackground: #1678ff;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: white;\r\n\t\tmargin: 10px auto;\r\n\t\tborder-radius: 50px;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px 0px;\r\n\r\n\t}\r\n</style>","import mod from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./feedback.vue?vue&type=style&index=0&id=1cdc0972&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./feedback.vue?vue&type=style&index=0&id=1cdc0972&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1701167323662\n var cssReload = require(\"D:/Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |