mineInfo.js.map
14.6 KB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?81e7","webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?8099","webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?3b21","webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?4e49","uni-app:///pages/mine/mineInfo.vue","webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?4059","webpack:///C:/Users/憨批/Desktop/工作/项目/biomassShop-uniapp/pages/mine/mineInfo.vue?c46f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,kG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;AACc;;;AAGrE;AAC0K;AAC1K,gBAAgB,mLAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;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,2RAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP;AACA;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,iDAAiD,EAAE,IAAI,EAAE;;AAEzD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsD/oB,S;AACA;AACA,MADA,kBACA;AACA;AACA,iBADA;AAEA,mBAFA;AAGA,+BAHA;AAIA;AACA,qCADA;AAEA,sBAFA;AAGA,6BAHA,EAJA;;;AAUA,GAZA;AAaA,QAbA,oBAaA;AACA;AACA,GAfA;AAgBA;AACA,cADA,wBACA;AACA;AACA,KAHA;AAIA;AACA,gBALA,0BAKA;AACA;AACA,gBADA,EACA;AACA,4CAFA,EAEA;AACA,wCAHA,EAGA;AACA;AACA;AACA;AACA,SAPA;;AASA,KAfA;AAgBA;AACA,QAjBA,kBAiBA;AACA;AACA,qBADA;AAEA,sBAFA;;AAIA,KAtBA,EAhBA,E;;;;;;;;;;;;;ACvDA;AAAA;AAAA;AAAA;AAA0rC,CAAgB,upCAAG,EAAC,C;;;;;;;;;;;ACA9sC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/mine/mineInfo.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/mine/mineInfo.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./mineInfo.vue?vue&type=template&id=26236bb4&\"\nvar renderjs\nimport script from \"./mineInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./mineInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./mineInfo.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Bin\\\\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/mine/mineInfo.vue\"\nexport default component.exports","export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=template&id=26236bb4&\"","var components\ntry {\n components = {\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n },\n uInput: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-input/u-input\" */ \"uview-ui/components/u-input/u-input.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.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 this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.userInfoList.mobile.replace(/^(\\d{3})\\d{4}(\\d+)/, \"$1****$2\")\n\n if (!_vm._isMounted) {\n _vm.e0 = function() {\n return (this$1.show = true)\n }\n\n _vm.e1 = function() {\n return (this$1.userInfoList.userName = \"\")\n }\n\n _vm.e2 = function() {\n return (this$1.show = false)\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <view class=\"userInfoBox\">\r\n <view class=\"avatarBox flexJ\">\r\n <view>头像</view>\r\n <image :src=\"userInfoList.avatar\" @click=\"chooseAvatar\" />\r\n </view>\r\n <view class=\"nickName flexJ\">\r\n <view>昵称</view>\r\n <view @click=\"() => (this.show = true)\">\r\n {{ userInfoList.userName }}\r\n </view>\r\n </view>\r\n <view class=\"mobile flexJ\">\r\n <view>手机号</view>\r\n <view class=\"flexA\">\r\n <view>{{\r\n userInfoList.mobile.replace(/^(\\d{3})\\d{4}(\\d+)/, \"$1****$2\")\r\n }}</view>\r\n <view class=\"change\">修改</view>\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"botBtn flexC\" @click=\"save\">保存</view>\r\n\r\n <!-- 修改昵称模态框 -->\r\n <u-modal\r\n :show=\"show\"\r\n :showConfirmButton=\"false\"\r\n :title=\"title\"\r\n @close=\"closeModal\"\r\n :closeOnClickOverlay=\"closeOnClickOverlay\"\r\n >\r\n <view class=\"slot-content\">\r\n <view class=\"slot-content1\">\r\n <u-input v-model=\"userInfoList.userName\" placeholder=\"请输入新昵称\">\r\n <template slot=\"suffix\">\r\n <u-icon\r\n @click=\"() => (this.userInfoList.userName = '')\"\r\n name=\"close\"\r\n ></u-icon>\r\n </template>\r\n </u-input>\r\n </view>\r\n <view class=\"modalBtn flexJ\">\r\n <view class=\"flexC aaa\" @click=\"() => (this.show = false)\">取消</view>\r\n <view class=\"flexC\">确认</view>\r\n </view>\r\n </view>\r\n </u-modal>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nvar that;\r\nexport default {\r\n data() {\r\n return {\r\n show: false,\r\n title: \"修改昵称\",\r\n closeOnClickOverlay: true,\r\n userInfoList: {\r\n avatar: \"/static/headImg.png\",\r\n userName: \"张三\",\r\n mobile: \"15600000180\",\r\n },\r\n };\r\n },\r\n onLoad() {\r\n that = this;\r\n },\r\n methods: {\r\n closeModal() {\r\n this.show = false;\r\n },\r\n // 获取头像\r\n chooseAvatar() {\r\n uni.chooseImage({\r\n count: 1, //默认9\r\n sizeType: [\"original\", \"compressed\"], //可以指定是原图还是压缩图,默认二者都有\r\n sourceType: [\"album\", \"camera \"], //从相册选择\r\n success: function (res) {\r\n // console.log(JSON.stringify(res.tempFilePaths));\r\n that.userInfoList.avatar = res.tempFilePaths;\r\n },\r\n });\r\n },\r\n // 保存\r\n save() {\r\n uni.showToast({\r\n title: \"保存成功\",\r\n duration: 1000,\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #f5f6fa;\r\n}\r\n.userInfoBox {\r\n background: #fff;\r\n > .avatarBox {\r\n padding: 16rpx 32rpx;\r\n box-sizing: border-box;\r\n image {\r\n width: 72rpx;\r\n height: 72rpx;\r\n border-radius: 50%;\r\n }\r\n }\r\n > .nickName,\r\n .mobile {\r\n padding: 32rpx;\r\n box-sizing: border-box;\r\n border-top: 2rpx solid #ededed;\r\n }\r\n}\r\n.change {\r\n color: rgba(33, 83, 212, 1);\r\n font-size: 28rpx;\r\n margin-left: 16rpx;\r\n}\r\n.botBtn {\r\n width: 686rpx;\r\n height: 88rpx;\r\n border-radius: 28rpx;\r\n background: rgba(98, 205, 206, 1);\r\n margin: 0 auto;\r\n margin-top: 64rpx;\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 32rpx;\r\n font-weight: 700;\r\n}\r\n.slot-content1 {\r\n margin-top: 48rpx;\r\n}\r\n.modalBtn {\r\n margin-top: 68rpx;\r\n > .aaa {\r\n margin-right: 20rpx;\r\n }\r\n view {\r\n width: 264rpx;\r\n height: 76rpx;\r\n border-radius: 84rpx;\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n }\r\n view:nth-child(1) {\r\n color: rgba(0, 0, 0, 0.9);\r\n background: rgba(245, 246, 250, 1);\r\n }\r\n view:nth-child(2) {\r\n color: rgba(255, 255, 255, 1);\r\n background: rgba(98, 205, 206, 1);\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Bin\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineInfo.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1663029098585\n var cssReload = require(\"D:/Bin/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":""}