profile.js.map 29 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/2024/HBuilderProjects/xcx/pageA/my/profile.vue?cc16","webpack:///D:/2024/HBuilderProjects/xcx/pageA/my/profile.vue?f9ac","webpack:///D:/2024/HBuilderProjects/xcx/pageA/my/profile.vue?2d78","webpack:///D:/2024/HBuilderProjects/xcx/pageA/my/profile.vue?5102","uni-app:///pageA/my/profile.vue","webpack:///D:/2024/HBuilderProjects/xcx/pageA/my/profile.vue?b5d7","webpack:///D:/2024/HBuilderProjects/xcx/pageA/my/profile.vue?2a0a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","loading","avatarUrl","dataTree","dataTreepcs","show","fileList1","avatarInfo","deaultIcon","pInfo","name","rules","type","required","message","trigger","onLoad","sfzh","phone","deptId","dz","methods","onChooseAvatar","uni","src","quality","success","uploadFile","url","filePath","title","fail","duration","icon","dengji","onnodeclick","console","onpopupopened","onpopupclosed","onchange"],"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;AACgL;AAChL,gBAAgB,6KAAU;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,iVAEN;AACP,KAAK;AACL;AACA,aAAa,uSAEN;AACP,KAAK;AACL;AACA,aAAa,+TAEN;AACP,KAAK;AACL;AACA,aAAa,6SAEN;AACP,KAAK;AACL;AACA,aAAa,4WAEN;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;;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAAqqB,CAAgB,inBAAG,EAAC,C;;;;;;;;;;;;;;;;;;AC4FzrB;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QAAAC;MAAA;MACAC;QACA;UACAC;UACAC;UACAC;UACAC;QACA;QACA;UACAH;UACAC;UACAC;UACAC;QACA;QACA,UACA;UACAF;UACAC;UACAC;QACA,EACA;QACA;UACAH;UACAC;UACAC;UACAC;QACA;QACA;UACAH;UACAC;UACAC;UACAC;QACA;MACA;IACA;EACA;EACAC;IAAA;IACA;MACAN;MACAO;MACAC;MACAC;MACAC;IACA;IACA;MACA;MACA;IACA;EACA;EAEAC;IACAC;MAAA;MACA;MACA;MACA;MACA;MACAC;QACAC;QACAC;QACAC;UACA;QACA;MACA;IACA;IAEA,UACAC;MAAA;MACAJ;QACAK;QACAC;QACAnB;QACAgB;UACA;UACA;YACA;YACA;YACA;cAAAI;YAAA;UAEA;QACA;QACAC;UACAR;YACAO;YACAE;YACAC;UACA;QACA;MACA;IACA;IAGAC;MAAA;MACA;MACA;QAAA;QACAX;UACAO;UACAG;QACA;QACA;MACA;MAEA;QAAA;QACAV;UACAO;UACAG;QACA;QACA;MACA;MAEA;MAEA;QAAA;QACAV;UACAO;UACAG;QACA;QACA;MACA;MAEA;QAAA;QACAV;UACAO;UACAG;QACA;QACA;MACA;MAEA;QACAV;UACAO;QACA;QACA;UACAP;YACAO;YACAG;UACA;UACAV;UACA;QACA;UACAA;QACA;MACA,4BAEA;IAEA;IACAY;MACAC;IAEA;IACAC;MACAD;IACA;IACAE;MACAF;IACA;IACAG;MACA;MACAH;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC3QA;AAAA;AAAA;AAAA;AAA4xC,CAAgB,wnCAAG,EAAC,C;;;;;;;;;;;ACAhzC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pageA/my/profile.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pageA/my/profile.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./profile.vue?vue&type=template&id=38568e1e&scoped=true&\"\nvar renderjs\nimport script from \"./profile.vue?vue&type=script&lang=js&\"\nexport * from \"./profile.vue?vue&type=script&lang=js&\"\nimport style0 from \"./profile.vue?vue&type=style&index=0&id=38568e1e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../软件工具/开发工具/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 \"38568e1e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pageA/my/profile.vue\"\nexport default component.exports","export * from \"-!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./profile.vue?vue&type=template&id=38568e1e&scoped=true&\"","var components\ntry {\n components = {\n uLoadingPage: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-loading-page/u-loading-page\" */ \"@/uni_modules/uview-ui/components/u-loading-page/u-loading-page.vue\"\n )\n },\n \"u-Form\": function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u--form/u--form\" */ \"@/uni_modules/uview-ui/components/u--form/u--form.vue\"\n )\n },\n uFormItem: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-form-item/u-form-item\" */ \"@/uni_modules/uview-ui/components/u-form-item/u-form-item.vue\"\n )\n },\n \"u-Input\": function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u--input/u--input\" */ \"@/uni_modules/uview-ui/components/u--input/u--input.vue\"\n )\n },\n uniDataPicker: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker\" */ \"@/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.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 \"-!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./profile.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./profile.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"container\">\r\n\t\t<u-loading-page :loading=\"loading\"></u-loading-page>\r\n\t\t\r\n\t\t\r\n\t\t<view class=\"forms\" v-if=\"!loading\">\r\n\t\t\t\t\t\t \t<u--form :rules=\"rules\"\r\n\t\t\t\t\t\t\t\tlabelPosition=\"left\"\r\n\t\t\t\t\t\t\t\t:model=\"pInfo\" labelWidth=\"120\"\r\n\t\t\t\t\t\t\t\tref=\"uForm\">\r\n\t\t\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\t\t\t\tlabel=\"微信头像\"\r\n\t\t\t\t\t\t\t\t\tprop=\"avatar\"\r\n\t\t\t\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\t\t\t\tref=\"item1\">\r\n\t\t\t\t\t\t\t\t<view style=\"text-align: left;display: inline-block;display: grid;grid-template-columns: 50px calc(100% - 50px);\">\r\n\t\t\t\t\t\t\t\t\t<button v-if=\"!userInfo.avatar\" class=\"avatar-wrapper\" open-type=\"chooseAvatar\" @chooseavatar=\"onChooseAvatar\"></button>\r\n\t\t\t\t\t\t\t\t\t<image class=\"avatarInfo\" v-else mode=\"widthFix\" :src=\"userInfo.avatar\"></image>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\t\t\t\tlabel=\"个人姓名\"\r\n\t\t\t\t\t\t\t\t\tprop=\"name\"\r\n\t\t\t\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\t\t\t\tref=\"item1\">\r\n\t\t\t\t\t\t\t\t<u--input\r\n\t\t\t\t\t\t\t\t\t\tv-model=\"pInfo.name\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"个人姓名\"\r\n\t\t\t\t\t\t\t\t\t\tborder=\"none\"\r\n\t\t\t\t\t\t\t\t></u--input>\r\n\t\t\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\t\t\t\tlabel=\"公民身份号码\"\r\n\t\t\t\t\t\t\t\t\tprop=\"sfzh\"\r\n\t\t\t\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\t\t\t\tref=\"item1\">\r\n\t\t\t\t\t\t\t\t<u--input\r\n\t\t\t\t\t\t\t\t\t\tv-model=\"pInfo.sfzh\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入公民身份号码\"\r\n\t\t\t\t\t\t\t\t\t\tborder=\"none\"\r\n\t\t\t\t\t\t\t\t></u--input>\r\n\t\t\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\t\t\t\tlabel=\"联系电话\"\r\n\t\t\t\t\t\t\t\t\tprop=\"phone\"\r\n\t\t\t\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\t\t\t\tref=\"item1\">\r\n\t\t\t\t\t\t\t\t<u--input\r\n\t\t\t\t\t\t\t\t\t\tv-model=\"pInfo.phone\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入联系电话\"\r\n\t\t\t\t\t\t\t\t\t\tborder=\"none\"\r\n\t\t\t\t\t\t\t\t></u--input>\r\n\t\t\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\t\t\t\tlabel=\"现居住地\"\r\n\t\t\t\t\t\t\t\t\tprop=\"deptId\"\r\n\t\t\t\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\t\t\t\tref=\"item1\">\r\n\t\t\t\t\t\t\t\t<uni-data-picker placeholder=\"请选择现居住地\" popup-title=\"请选择现居住地所属区域\" :localdata=\"dataTreepcs\" v-model=\"pInfo.deptId\"\r\n\t\t\t\t\t\t\t\t\t@change=\"onchange\" @nodeclick=\"onnodeclick\" @popupopened=\"onpopupopened\" @popupclosed=\"onpopupclosed\">\r\n\t\t\t\t\t\t\t\t</uni-data-picker>\r\n\t\t\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<u-form-item\r\n\t\t\t\t\t\t\t\t\tlabel=\"详细地址\"\r\n\t\t\t\t\t\t\t\t\tprop=\"dz\"\r\n\t\t\t\t\t\t\t\t\tborderBottom\r\n\t\t\t\t\t\t\t\t\tref=\"item1\">\r\n\t\t\t\t\t\t\t\t<u--input\r\n\t\t\t\t\t\t\t\t\t\tv-model=\"pInfo.dz\"\r\n\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入详细地址\"\r\n\t\t\t\t\t\t\t\t\t\tborder=\"none\"\r\n\t\t\t\t\t\t\t\t></u--input>\r\n\t\t\t\t\t\t\t</u-form-item>\r\n\t\t\t\t\t\t</u--form>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<view @click=\"dengji\" class=\"djbutton\">保存信息</view>\r\n\t\t</view>\r\n\t</view>\n</template>\n\n<script>\r\n\timport { updateinfos } from \"@/api/user.js\"\r\n\timport { putfiles,getQx} from \"@/api/my.js\"\r\n\timport { baseurl } from \"../../common/setting\"\r\n\texport default {\r\n\t\t data(){\r\n\t\t\t return{\r\n\t\t\t\t loading:true,\r\n\t\t\t\t avatarUrl:'',\r\n\t\t\t\t dataTree:[],\r\n\t\t\t\t dataTreepcs:[],\r\n\t\t\t\t show: true,\r\n\t\t\t\t fileList1: [],\r\n\t\t\t\t avatarInfo:'',\r\n\t\t\t\t deaultIcon:\"\",\r\n\t\t\t\t pInfo:{name:''},\r\n\t\t\t\t rules:{\r\n\t\t\t\t \t'name': {\r\n\t\t\t\t \t\ttype: 'string',\r\n\t\t\t\t \t\trequired: true,\r\n\t\t\t\t \t\tmessage: '请填写姓名',\r\n\t\t\t\t \t\ttrigger: ['blur', 'change']\r\n\t\t\t\t \t},\r\n\t\t\t\t \t'sfzh': {\r\n\t\t\t\t \t\ttype: 'string',\r\n\t\t\t\t \t\trequired: true,\r\n\t\t\t\t \t\tmessage: '请填写公民身份证号码',\r\n\t\t\t\t \t\ttrigger: ['blur', 'change']\r\n\t\t\t\t \t},\r\n\t\t\t\t \t'phone': [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\t\tmessage: '请填写手机号码',\r\n\t\t\t\t\t\t\ttrigger: ['blur', 'change']\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t],\r\n\t\t\t\t\t'deptId': {\r\n\t\t\t\t \t\ttype: 'string',\r\n\t\t\t\t \t\trequired: true,\r\n\t\t\t\t \t\tmessage: '请填写所属区县',\r\n\t\t\t\t \t\ttrigger: ['blur', 'change']\r\n\t\t\t\t \t},\r\n\t\t\t\t\t'dz': {\r\n\t\t\t\t\t\ttype: 'string',\r\n\t\t\t\t\t\trequired: true,\r\n\t\t\t\t\t\tmessage: '请填写信息详细地址',\r\n\t\t\t\t\t\ttrigger: ['blur', 'change']\r\n\t\t\t\t\t}\r\n\t\t\t\t }\r\n\t\t\t }\r\n\t\t },\r\n\t\t onLoad() {\r\n\t\t\tthis.pInfo = {\r\n\t\t\t\tname:this.userInfo.detail.name,\r\n\t\t\t\tsfzh:this.userInfo.detail.sfzh,\r\n\t\t\t\tphone:this.userInfo.detail.phone,\r\n\t\t\t\tdeptId:this.userInfo.dept_id,\r\n\t\t\t\tdz:this.userInfo.detail.dz\r\n\t\t\t}\r\n\t\t \tgetQx(null).then(res=>{\r\n\t\t\t\tthis.dataTreepcs = res.data\r\n\t\t\t\tthis.loading = false\r\n\t\t\t})\r\n\t\t },\r\n\t\r\n\t\t methods:{\r\n\t\t\t onChooseAvatar(e) {\r\n\t\t\t \tconst { avatarUrl } = e.detail \r\n\t\t\t \tthis.avatarInfo=avatarUrl \r\n\t\t\t\t//对临时图片链接进行base64编码\r\n\t\t\t\t//var avatarUrl_base64 = 'data:image/jpeg;base64,' + wx.getFileSystemManager().readFileSync(this.avatarInfo, 'base64')\r\n\t\t\t\t uni.compressImage({\r\n\t\t\t\t\tsrc: avatarUrl,\r\n\t\t\t\t\tquality: 80,\r\n\t\t\t\t\tsuccess: res => {\r\n\t\t\t\t\t this.uploadFile(res.tempFilePath);\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\t /* 上传头像 */\r\n\t\t\t uploadFile(fileUrl){\r\n\t\t\t uni.uploadFile({\r\n\t\t\t url: baseurl+'/blade-resource/oss/endpoint/put-file' ,\r\n\t\t\t filePath: fileUrl,\r\n\t\t\t name: 'file',\r\n\t\t\t success: (res) => {\r\n\t\t\t\t\t let datalink = JSON.parse(res.data)\r\n\t\t\t\t\t if(datalink.code == 200) {\r\n\t\t\t\t\t this.$set(this.pInfo,'avatar',datalink.data.link)\r\n\t\t\t\t\t this.$u.vuex('userInfo.avatar', datalink.data.link)\r\n\t\t\t\t\tthis.$u.func.showToast({title:'头像上传成功'})\r\n\t\t\t\t\t \r\n\t\t\t\t\t }\r\n\t\t\t },\r\n\t\t\t fail: e => {\r\n\t\t\t uni.showToast({\r\n\t\t\t title: '上传失败',\r\n\t\t\t duration: 2000,\r\n\t\t\t icon: \"fail\"\r\n\t\t\t });\r\n\t\t\t }\r\n\t\t\t });\r\n\t\t\t },\r\n\t\t\t \r\n\t\t\t\t\r\n\t\t\t dengji(){\r\n\t\t\t\tlet reg = /^[1][3,4,5,7,8,9][0-9]{9}$/ //正则表达式定义手机号正确格式\r\n\t\t\t\tif (!this.pInfo.phone) { //判断如果手机号(this.tele)为空,提示用户输入手机号\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入手机号',\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t return\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (!reg.test(this.pInfo.phone)) { //判断手机号格式时候正确\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入正确的手机号',\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tlet reg1 = /(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)/ \r\n\t\t\t\t\r\n\t\t\t\tif (!this.pInfo.sfzh) { //判断如果身份证号(this.card)num)为空,提示用户输入身份证号\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入身份证号',\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (!reg1.test(this.pInfo.sfzh)) { //判断身份证号格式时候正确\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入正确的身份证号',\r\n\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t })\r\n\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\t \r\n\t\t\t \tthis.$refs.uForm.validate().then(res => {\r\n\t\t\t \t\tuni.showLoading({\r\n\t\t\t \t\t\ttitle: '加载中'\r\n\t\t\t \t\t});\r\n\t\t\t \t\tthis.$u.api.updateinfos(this.pInfo).then(res=>{\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\ticon:'success'\r\n\t\t\t \t\t\t})\r\n\t\t\t\t\t\tuni.hideLoading()\r\n\t\t\t \t\t this.$u.func.updateInfos(this.pInfo, this.redirect)\r\n\t\t\t \t\t}).finally(()=>{\r\n\t\t\t \t\t\tuni.hideLoading()\r\n\t\t\t \t\t})\r\n\t\t\t \t}).catch(errors => {\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\t onnodeclick(e){\r\n\t\t\t\t console.log(e);\r\n\t\t\t\t\r\n\t\t\t },\r\n\t\t\t onpopupopened(e) {\r\n\t\t\t \tconsole.log('popupopened');\r\n\t\t\t },\r\n\t\t\t onpopupclosed(e) {\r\n\t\t\t \tconsole.log('popupclosed');\r\n\t\t\t },\r\n\t\t\t onchange(e) {\r\n\t\t\t\t this.pInfo.sqmc = e.text\r\n\t\t\t \tconsole.log('onchange:', e);\r\n\t\t\t },\r\n\t\t }\r\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\t.avatar-wrapper{\r\n\t\tbackground: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAEwZJREFUeF7tnVuwFdWZx38LuYNHEA4ocBAEQVEEo2CMGlHEUpHcKmo0FSdTqcpL8jCJk5uVyUMmNWpmMpmHPKUqFePUaIyp3MRLiRiMISoBBRGRiyLXyB0PFwXRNft/uveme+/us3vv3b139z79VXVRnN23tda/1/rWd/l/hjYTa60BzgFmAJOBSe7/O4FR7jEUGAgMcpt/HDgBHAP2u8deYCvwNrAFeF3/N8bYduoydVamxVp7NnCle8wBZgIdCTWqG1gL/B1YrsMY84+EntWU22YOANZafbnXADcBNwIXNKWnwh+yHngKeBJ4zhijmSQzkgkAWGv7F762BYVp+DbgM8CIlPbwIeAPheXnN4UZaYkx5mRK37P0WqkGgLV2CvCVwjr8ZUBTfSQ5fhIOHoXu9+GIjuNw7AM4ruMkfPAhfGTho4+c2/XrB/0MDDgNBvWHQQNg6AAYPgiGD4aOwTBymPNbDaKl4QHgF8aYN2u4rqmnphIA1tp5wN3AzRqf3npEg7jvCOw+DHu7Yd9ROJbQJDx0IIweBp0dMPZ0GD3cAU8VEcyeAH5ijFlW7eRm/54qAFhrFwE/AC7rrSPeOwHbDsDOQ7DrXTj5YbO7zXle/9Ng3BkwfgRMPBOGSDvpXVYWAP1DY8xj1U5s1u+pAIC1Vuv7jwpfytywhp84CVv2OcfubkjbXkwdObYDJo92joG9LxcrgO8bY5Y0a6DDntNSAFhrp2lqBG4Je8G9h+GNd+Dt/fChu2a3utOqPf+0fjBpFJx/FnSe3uvZi7XUGWM2VrtnUr+3BADW2iHuVP9N1yDja5+1zhS/bhfsOZxU05tz3zGnw4XjnCXCBPe2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g4gaWgawXxhj3qzhuqaemmoAeICgrpeecBvwGW+5+6b2VvWHqfDGHwBVYlvSrL189dcKPyMTAPC+vrVWK+01gDgNbyzExLW6ssB64CngSeC5JBw2jQxwtWszB4DyBllrtTRc6R5zlBFb2Fd3VGt4nb93u5nSos+RuXa5MaaFVQDqbIXnsswDIAAQapOik2YAKjuholj6fycwyj0UVa+ZpOh/O+4aZGR/3O8eewFF3YjcbUth+RGd/lZjTFvFO/8/B/qHVZDKMigAAAAASUVORK5CYII=') no-repeat center;\r\n\t\tborder: 0px !important;\r\n\t\toutline: none;\r\n\t\twidth: 50px;\r\n\t\theight: 50px;\r\n\t\tborder-radius: 50%;\r\n\t\tbackground-size: 100%;\r\n\t\tposition: relative;\r\n\t\ttop: -3px;\r\n\t\t&:after {\r\n\t\t\t\tdisplay: none;\r\n\t\t\t}\r\n\t}\r\n\t/deep/ .input-value{\r\n\t\tpadding-left: 0 !important;\r\n\t}\r\n\t.container{\r\n\t\theight: 100vh;\r\n\t\tpadding: 24rpx 24rpx 0;\r\n\t\tbox-sizing: border-box;\r\n\t\tbackground: #F8F8F8;\r\n\t\t\r\n\t\t.avatarInfo{\r\n\t\t\twidth: 100rpx;\r\n\t\t\theight: 100rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t}\r\n\t}\r\n\t.forms{\r\n\t\t\twidth: 100%;\r\n\t\t\tmargin: auto;\r\n\t\t\tbackground: #FFF;\r\n\t\t\tborder-radius: 15px;\r\n\t\t\tpadding:24rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\theight: calc(100vh - 72rpx);\r\n\t\t}\r\n\t\t.djbutton{\r\n\t\t\theight: 88rpx;\r\n\t\t\tbackground: linear-gradient( to top, #65CBFF 0%, #0260FE 100%);\r\n\t\t\tborder-radius: 44rpx;\r\n\t\t\topacity: 0.5;\r\n\t\t\tfont-family: PingFangSC, PingFang SC;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 36rpx;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\tline-height: 88rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-style: normal;\r\n\t\t\tmargin-top: 48rpx;\r\n\t\t}\r\n\t\t/deep/ .input-value-border{\r\n\t\t border: 0 !important;\r\n\t}\n</style>","import mod from \"-!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./profile.vue?vue&type=style&index=0&id=38568e1e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../软件工具/开发工具/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./profile.vue?vue&type=style&index=0&id=38568e1e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1732518207057\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":""}