setinfo.js.map 14 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/set/setinfo.vue?ddc2","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/set/setinfo.vue?3f1c","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/set/setinfo.vue?ceae","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/set/setinfo.vue?47f4","uni-app:///pages/set/setinfo.vue","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/set/setinfo.vue?4780","webpack:///C:/Users/Administrator/Desktop/xmt_new/pages/set/setinfo.vue?710f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,+F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,gBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;AACc;;;AAGpE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAimB,CAAgB,2nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0BrnB;;;;AAIA;;;;AAIA;;;AAGA,uD;;;;AAIA;AACA,MADA,kBACA;AACA;AACA,mBADA;AAEA,iBAFA;AAGA,kBAHA;AAIA,gBAJA;AAKA,kBALA,EAKA;AACA,0BANA,EAMA;AACA,iBAPA,CAOA;AAPA;AASA,GAXA;AAYA;AACA,2CADA,CAZA;;AAeA,QAfA,oBAeA;AACA;AACA;;AAEA;AACA;AACA;AACA,KANA;AAOA,GAvBA;;AAyBA;AACA,6CADA;AAEA,SAFA,iBAEA,GAFA,EAEA;AACA;AACA,gBADA;;AAGA,KANA;AAOA,UAPA,oBAOA;AACA;AACA;AACA,oBADA;AAEA,UAFA,CAEA;AACA;AACA;AACA;AACA,OANA;AAOA,KAhBA;;AAkBA,WAlBA,qBAkBA;AACA;AACA;AACA,mCADA;AAEA,6BAFA;AAGA,8BAHA;;AAKA,UALA,CAKA;AACA;AACA;AACA;AACA;AACA,mCADA;;AAGA,SAJA,EAIA,IAJA;AAKA;AACA,OAdA;AAeA,WAfA,CAeA;AACA;AACA,OAjBA;AAkBA,KAtCA,GAzBA,E;;;;;;;;;;;;;ACzCA;AAAA;AAAA;AAAA;AAA4oC,CAAgB,knCAAG,EAAC,C;;;;;;;;;;;ACAhqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/set/setinfo.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/set/setinfo.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./setinfo.vue?vue&type=template&id=90a1a40c&\"\nvar renderjs\nimport script from \"./setinfo.vue?vue&type=script&lang=js&\"\nexport * from \"./setinfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./setinfo.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/set/setinfo.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./setinfo.vue?vue&type=template&id=90a1a40c&\"","var components\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./setinfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./setinfo.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"row1\">\r\n\t\t\t<text class=\"tit\">企业头像</text>\r\n\t\t\t<view class=\"background-img\" @click.stop=\"imgsub\">\r\n\t\t\t\t<image class=\"background-img\" v-model=\"qyList.headimg\" :src=\"qyList.headimg\" mode=\"aspectFill\">\r\n\t\t\t\t</image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"row\">\r\n\t\t\t<text class=\"tit\">企业名称</text>\r\n\t\t\t<input class=\"input\" type=\"text\" v-model=\"qyList.name\" placeholder-class=\"placeholder\" />\r\n\t\t</view>\r\n\t\t<view class=\"row\">\r\n\t\t\t<text class=\"tit\">企业简介</text>\r\n\t\t\t<input class=\"input\" type=\"text\" placeholder-class=\"placeholder\" disabled value=\"修改\" style=\"color: #3075ff;\"\r\n\t\t\t\t@click=\"navto('/pages/set/bjq')\" />\r\n\t\t</view>\r\n\t\t<view class=\"\" v-html=\"content\" style=\"padding: 20rpx;background-color: #fff;text-align: justify;\">\r\n\t\t\t\r\n\t\t</view>\r\n\t\t<view class=\"add-btn\" @click=\"confirm\">提交</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tchangeInformation,\r\n\t\tenterprise\r\n\t} from '@/api/user.js'\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapMutations\r\n\t} from 'vuex';\r\n\timport {\r\n\t\tupload\r\n\t} from '@/api/order.js';\r\n\timport {\r\n\t\tuserEdit,\r\n\t\tlogout\r\n\t} from '@/api/set.js';\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tuserInfo1: '',\r\n\t\t\t\tshow: false,\r\n\t\t\t\tpassword: '',\r\n\t\t\t\tqyList: {},\r\n\t\t\t\tmaxText: 225, //最大字数\r\n\t\t\t\tcurrentWordNumber: 0, //当前字数\r\n\t\t\t\tcontent: '', //企业简介\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t...mapState('user', ['userInfo'])\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tenterprise().then(res => {\r\n\t\t\t\tconsole.log(res, '信息');\r\n\r\n\t\t\t\tthis.qyList = res.data\r\n\t\t\t\t// res.data.introduce = JSON.parse(JSON.stringify(res.data.introduce))\r\n\t\t\t\tthis.content = res.data.introduce.replace(/<img/g,\"<img style='max-width:100%;height:auto;'\");\r\n\t\t\t})\r\n\t\t},\r\n\r\n\t\tmethods: {\r\n\t\t\t...mapMutations('user', ['logout']),\r\n\t\t\tnavto(url) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\timgsub() {\r\n\t\t\t\tconsole.log('上传头像')\r\n\t\t\t\tupload({\r\n\t\t\t\t\tfilename: ''\r\n\t\t\t\t}).then(data => {\r\n\t\t\t\t\tconsole.log(\"data\", data);\r\n\t\t\t\t\tthis.qyList.headimg = data[0].url;\r\n\t\t\t\t\tconsole.log(this.qyList.headimg, '22312');\r\n\t\t\t\t})\r\n\t\t\t},\r\n\r\n\t\t\tconfirm() {\r\n\t\t\t\tlet obj = this\r\n\t\t\t\tchangeInformation({\r\n\t\t\t\t\t\theadimg: obj.qyList.headimg,\r\n\t\t\t\t\t\tname: obj.qyList.name,\r\n\t\t\t\t\t\tintroduce: obj.content,\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(e => {\r\n\t\t\t\t\t\t// console.log(e, '返回');\r\n\t\t\t\t\t\tobj.$api.msg('修改成功');\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tuni.switchTab({\r\n\t\t\t\t\t\t\t\turl: '/pages/user/user'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\tconsole.log(e, '1');\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(e => {\r\n\t\t\t\t\t\tconsole.log(e, '2');\r\n\t\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.row1 {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tposition: relative;\r\n\t\tpadding: 0 30upx;\r\n\t\theight: 110upx;\r\n\t\tbackground: #fff;\r\n\t\tmargin-bottom: 20upx;\r\n\r\n\t\t.tit {\r\n\t\t\tflex-shrink: 0;\r\n\t\t\twidth: 200rpx;\r\n\t\t\tfont-size: $font-lg;\r\n\t\t\tcolor: $font-color-dark;\r\n\t\t}\r\n\r\n\t\t.background-img {\r\n\t\t\twidth: 80rpx;\r\n\t\t\theight: 80rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tbackground: #f2f2f2;\r\n\t\t}\r\n\t}\r\n\r\n\t.row {\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tpadding: 0 30upx;\r\n\t\tmin-height: 110upx;\r\n\t\tbackground: #fff;\r\n\t\talign-items: flex-start;\r\n\t\tline-height: 110rpx;\r\n\r\n\t\t.tit {\r\n\t\t\tflex-shrink: 0;\r\n\t\t\twidth: 200upx;\r\n\t\t\tfont-size: $font-lg;\r\n\t\t\tcolor: $font-color-dark;\r\n\t\t}\r\n\r\n\t\t.input {\r\n\t\t\tflex: 1;\r\n\t\t\ttext-align: right;\r\n\t\t\tfont-size: $font-base;\r\n\t\t\tcolor: $color-gray;\r\n\t\t\theight: 110rpx;\r\n\t\t}\r\n\r\n\t\t.currentWordNumber {\r\n\t\t\tcolor: #999999;\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 0;\r\n\t\t\tbottom: 0;\r\n\t\t\tmargin: -100rpx 30rpx;\r\n\t\t}\r\n\t}\r\n\r\n\t.add-btn {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tmargin: 158rpx auto 30rpx;\r\n\t\twidth: 560rpx;\r\n\t\theight: 80rpx;\r\n\t\tbackground: linear-gradient(0deg, #2E58FF, #32C6FF);\r\n\t\tborder-radius: 40px;\r\n\t\tcolor: #FFFFFF;\r\n\t}\r\n\r\n\t.out {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tmargin: 0 auto 30rpx;\r\n\t\twidth: 560rpx;\r\n\t\theight: 80rpx;\r\n\t\tborder: 1px solid #32C6FF;\r\n\t\tbackground: #FFFFFF;\r\n\t\tborder-radius: 40px;\r\n\t\tcolor: #32C6FF;\r\n\t}\r\n\r\n\t.psw-wrapper {\r\n\t\twidth: 548rpx;\r\n\t\theight: 344rpx;\r\n\t\tbackground-color: #ffffff;\r\n\r\n\t\t.psw-title {\r\n\t\t\twidth: 100%;\r\n\t\t\tfont-size: 35rpx;\r\n\t\t\tpadding: 43rpx 0 49rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-weight: 800;\r\n\t\t}\r\n\r\n\t\t.psw-ipt {\r\n\t\t\tdisplay: block;\r\n\t\t\tbackground-color: #dce3ed;\r\n\t\t\theight: 90rpx;\r\n\t\t\twidth: 464rpx;\r\n\t\t\tpadding-left: 30rpx;\r\n\t\t\tmargin: 0 auto;\r\n\t\t\tfont-size: 80rpx;\r\n\t\t}\r\n\r\n\t\t.psw-btn text {\r\n\t\t\tdisplay: inline-block;\r\n\t\t\ttext-align: center;\r\n\t\t\twidth: 50%;\r\n\t\t\tpadding-top: 29rpx;\r\n\t\t\tfont-size: 35rpx;\r\n\t\t}\r\n\r\n\t\t.psw-qd {\r\n\t\t\tcolor: #32C6FF;\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./setinfo.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./setinfo.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1660177692973\n var cssReload = require(\"D:/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":""}