oil-station/gasStation-uni/unpackage/dist/dev/.sourcemap/mp-weixin/pagesMy/comment/comment.js.map
2024-08-16 18:26:19 +08:00

1 line
16 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/comment/comment.vue?357e","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/comment/comment.vue?38b5","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/comment/comment.vue?fd26","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/comment/comment.vue?fd4b","uni-app:///pagesMy/comment/comment.vue","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/comment/comment.vue?e189","webpack:///D:/workspaces/oilSystem/gasStation-uni/pagesMy/comment/comment.vue?c505"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","title","description","count","value","value1","textlist","text","user","baseUrl","onLoad","onShow","components","methods","editOilOrder","url","method","uni","getUser","goback"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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,uSAEN;AACP,KAAK;AACL;AACA,aAAa,iSAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;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;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAyrB,CAAgB,urBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACyC7sB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;MACA,GACA;QACAA;MACA,GACA;QACAA;MACA,GACA;QACAA;MACA,GACA;QACAA;MACA,GACA;QACAA;MACA,GACA;QACAA;MACA,EACA;MACAC;MACA;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;EACA;EACAC,aAEA;EACAC;IACAC;MAAA;MACA;MACA;QACAC;QACAC;QACAhB;UAAA;UAAA;QAAA;MACA;QACA;UACAiB;YACAhB;UACA;UACA;QACA;MACA;IACA;IACA;IACAiB;MAAA;MACA;QACAH;QACAC;MACA;QACA;UACA;QACA;MACA;IACA;IACAG;MACAF;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACrHA;AAAA;AAAA;AAAA;AAAg0C,CAAgB,svCAAG,EAAC,C;;;;;;;;;;;ACAp1C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesMy/comment/comment.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesMy/comment/comment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./comment.vue?vue&type=template&id=5f954412&scoped=true&\"\nvar renderjs\nimport script from \"./comment.vue?vue&type=script&lang=js&\"\nexport * from \"./comment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./comment.vue?vue&type=style&index=0&id=5f954412&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 \"5f954412\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesMy/comment/comment.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!./comment.vue?vue&type=template&id=5f954412&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 uAlert: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-alert/u-alert\" */ \"@/uni_modules/uview-ui/components/u-alert/u-alert.vue\"\n )\n },\n uRate: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-rate/u-rate\" */ \"@/uni_modules/uview-ui/components/u-rate/u-rate.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 }\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!./comment.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!./comment.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\" size=\"16\"></uni-icons> </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<u-alert :title=\"title\" type=\"primary\" :description=\"description\"></u-alert>\r\n\r\n\t\t\t<view class=\"comment-box\">\r\n\t\t\t\t<view class=\"c-box-top\">您对工作人员满意吗</view>\r\n\t\t\t\t<view class=\"dis\">\r\n\t\t\t\t\t<view class=\"touxiang\">\r\n\t\t\t\t\t\t<image v-if=\"user.avatar\" :src=\"baseUrl + user.avatar\" mode=\"aspectFit\"></image>\r\n\t\t\t\t\t\t<image v-else src=\"../../static/imgs/myx.png\" mode=\"aspectFit\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t<view class=\"username\">{{user.name?user.name:\"未填写\"}}({{user.mobile || \"暂无\"}})</view>\r\n\t\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t\t<u-rate active-color=\"#ffd74e\" :count=\"count\" v-model=\"value\"></u-rate>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- <view class=\"wrap-box\">\r\n\t\t\t\t\t<view class=\"w-box\" v-for=\"(item,index) in textlist\" :key=\"index\" @click=\"textindex\">\r\n\t\t\t\t\t\t{{item.text || \"下次还来\"}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view> -->\r\n\t\t\t\t<u--textarea v-model=\"value1\" placeholder=\"请输入内容\"></u--textarea>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"anniu\" @click=\"editOilOrder\">\r\n\t\t\t\t<text>提交</text>\r\n\t\t\t</view>\r\n\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport request from \"../../utils/request\";\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttitle: '',\r\n\t\t\t\tdescription: '您的宝贵建议,就是我们前进的动力~动动手指,帮助我们做得更好~~',\r\n\t\t\t\tcount: 5,\r\n\t\t\t\tvalue: 0,\r\n\t\t\t\tvalue1: '',\r\n\t\t\t\ttextlist: [{\r\n\t\t\t\t\t\ttext: '外瑞古德'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: '外瑞古德'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: '外瑞古德'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: '外瑞古德'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: '外瑞古德'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: '外瑞古德'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttext: ''\r\n\t\t\t\t\t},\r\n\t\t\t\t],\r\n\t\t\t\tuser:{},\r\n\t\t\t\t// url信息\r\n\t\t\t\tbaseUrl: this.$baseUrl,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e){\r\n\t\t\tthis.orderId = e.orderId\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.getUser()\r\n\t\t},\r\n\t\tcomponents: {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\teditOilOrder(){\r\n\t\t\t\tlet remark = \"评分:\"+this.value+\"分,\"+this.value1\r\n\t\t\t\trequest({\r\n\t\t\t\t\turl: 'business/oilOrder/editOilOrder',\r\n\t\t\t\t\tmethod: 'put',\r\n\t\t\t\t\tdata: {\"id\":this.orderId,\"remark\":remark},\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.data==1) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:\"评论成功\"\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tthis.goback()\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 查询当前登录用户信息\r\n\t\t\tgetUser(){\r\n\t\t\t\trequest({\r\n\t\t\t\t\turl: 'business/userManager/user/getUser',\r\n\t\t\t\t\tmethod: 'get',\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif (res.data) {\r\n\t\t\t\t\t\tthis.user = res.data\r\n\t\t\t\t\t}\r\n\t\t\t\t})\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: #f4f5f6;\r\n\t}\r\n\r\n\t.container {\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding-top: 88px;\r\n\t}\r\n\r\n\t.my-header {\r\n\t\twidth: 100%;\r\n\t\theight: 88px;\r\n\t\tbackground: #ffffff;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tcolor: #000;\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.comment-box {\r\n\t\twidth: 95%;\r\n\t\tborder-radius: 8px;\r\n\t\tbackground-color: #ffffff;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px;\r\n\t\tmargin: 10px auto;\r\n\r\n\t}\r\n\r\n\t.dis {\r\n\t\tdisplay: flex;\r\n\r\n\t}\r\n\r\n\t.wrap-box {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tflex-wrap: wrap;\r\n\t\tmargin: 10px 0px;\r\n\t}\r\n\r\n\t.w-box {\r\n\t\twidth: 70px;\r\n\t\theight: 25px;\r\n\t\tborder-radius: 50px;\r\n\t\tbackground: #f5f6f7;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: #999999;\r\n\t\tmargin-right: 10px;\r\n\t\tmargin-bottom: 5px;\r\n\t\tfont-size: 14px;\r\n\t}\r\n\r\n\t.c-box-top {\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 5px 0px;\r\n\t\tborder-bottom: 1px solid #eee;\r\n\t\tmargin-bottom: 10px;\r\n\t}\r\n\r\n\t.touxiang {\r\n\t\twidth: 65px;\r\n\t\theight: 65px;\r\n\t\tbackground-color: #eef6ff;\r\n\t\tmargin-right: 10px;\r\n\t\toverflow: hidden;\r\n\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\r\n\t}\r\n\r\n\t.username {\r\n\t\tmargin-bottom: 20px;\r\n\t}\r\n\r\n\t.anniu {\r\n\t\twidth: 95%;\r\n\t\theight: 35px;\r\n\t\tmargin: 10px auto;\r\n\t\tborder-radius: 4px;\r\n\t\tbackground: #2463dc;\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}\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!./comment.vue?vue&type=style&index=0&id=5f954412&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!./comment.vue?vue&type=style&index=0&id=5f954412&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1722476426000\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":""}