hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/nodifyData/nodifyData.js.map

1 line
24 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/nodifyData/nodifyData.vue?a0b6","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/nodifyData/nodifyData.vue?b7e1","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/nodifyData/nodifyData.vue?0a39","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/nodifyData/nodifyData.vue?9dc1","uni-app:///pagesA/nodifyData/nodifyData.vue","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/nodifyData/nodifyData.vue?5c37","webpack:///D:/chenq/chen/hengmei/hengmei/pagesA/nodifyData/nodifyData.vue?e81f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,4G,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,mBAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuH;AACvH;AAC8D;AACL;AACa;;;AAGtE;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yFAAU;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,kRAEN;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAAurB,CAAgB,sqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoE3sB;AACA;AACA;AACA,gCAFA,EADA;;AAKA,MALA,kBAKA;AACA;AACA,uCADA;AAEA;AACA,0DADA;AAEA,iEAFA;AAGA,0DAHA;AAIA,wDAJA;AAKA,0DALA;AAMA,iEANA;AAOA,iEAPA;AAQA,wDARA,CAFA;;AAYA,mBAZA;AAaA,gBAbA;AAcA,kCAdA;AAeA,iBAfA;AAgBA,gCAhBA;AAiBA,iBAjBA;AAkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCA1BA;AA2BA,6BA3BA;AA4BA,kBA5BA;AA6BA,eA7BA;AA8BA,qBA9BA;AA+BA,oBA/BA,EA+BA;AACA,iBAhCA,EAgCA;AACA,qBAjCA,EAiCA;AACA,kBAlCA;;AAoCA,GA1CA;AA2CA;AACA;AACA,eAFA,yBAEA;AACA;AACA,KAJA;AAKA,gBALA,0BAKA;AACA;AACA,KAPA,EA3CA;;AAoDA,QApDA,oBAoDA;AACA;AACA;AACA,GAvDA;AAwDA,UAxDA,sBAwDA;AACA;AACA,GA1DA;AA2DA,QA3DA,kBA2DA,OA3DA,EA2DA;AACA;AACA;AACA;AACA,oCAJA,CAIA;AACA,yDALA,CAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAHA,CAGA;AACA,8CAJA,CAIA;AACA,4CALA,CAKA;AACA,gCANA,CAMA;AACA,iHAPA,CAOA;AACA,6HARA,CAQA;AACA,8FATA,CASA;AACA,mFAVA,CAUA;AACA,KAXA,MAWA;AACA,oDADA,CACA;AACA,mDAFA,CAEA;AACA,iDAHA,CAGA;AACA,qCAJA,CAIA;AACA;AACA,GA1FA;AA2FA;AACA,cADA,wBACA;AACA;AACA,2CADA,EACA;AACA,0CAFA,EAEA;AACA,wCAHA,EAGA;AACA,4BAJA,EAIA;AACA,qCALA,EAKA;AACA,iCANA,EAMA;AACA,mCAPA,EAOA;AACA,oCARA,CAQA;AARA;AAUA;AACA;AACA;AACA;AACA;AACA;AACA,0CADA;;AAGA,aAJA,MAIA;AACA;AACA;AACA,WARA,EAQA,IARA;AASA;AACA,OAbA,EAaA,mBAbA;AAcA,KA1BA;AA2BA,eA3BA,uBA2BA,QA3BA,EA2BA,SA3BA,EA2BA;AACA;AACA;AACA,oJADA;AAEA;AACA,4CADA,EAFA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA,SAXA;;AAaA,KA1CA;AA2CA,eA3CA,yBA2CA;AACA;AACA;AACA;AACA;AACA,KAhDA;AAiDA,aAjDA,qBAiDA,CAjDA,EAiDA;AACA;AACA;AACA,KApDA;AAqDA,cArDA,wBAqDA;AACA;AACA,gBADA;AAEA;AACA;AACA,SAJA;;AAMA,KA5DA;AA6DA,gBA7DA,wBA6DA,CA7DA,EA6DA;AACA;AACA,KA/DA;AAgEA,cAhEA,sBAgEA,CAhEA,EAgEA;AACA;AACA,KAlEA;AAmEA,iBAnEA,yBAmEA,CAnEA,EAmEA;;AAEA,KArEA;AAsEA,WAtEA,mBAsEA,KAtEA,EAsEA;AACA;AACA,iEADA,CACA;AACA,0CAFA,CAEA;AACA;AACA,KA3EA;AA4EA,UA5EA,kBA4EA,KA5EA,EA4EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAxHA,GA3FA,E;;;;;;;;;;;;;ACpEA;AAAA;AAAA;AAAA;AAA0+B,CAAgB,+6BAAG,EAAC,C;;;;;;;;;;;ACA9/B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesA/nodifyData/nodifyData.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesA/nodifyData/nodifyData.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./nodifyData.vue?vue&type=template&id=cf9503ea&\"\nvar renderjs\nimport script from \"./nodifyData.vue?vue&type=script&lang=js&\"\nexport * from \"./nodifyData.vue?vue&type=script&lang=js&\"\nimport style0 from \"./nodifyData.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/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 = \"pagesA/nodifyData/nodifyData.vue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nodifyData.vue?vue&type=template&id=cf9503ea&\"","var components\ntry {\n components = {\n simpleAddress: function() {\n return import(\n /* webpackChunkName: \"components/simple-address/simple-address\" */ \"@/components/simple-address/simple-address.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 var l0 = _vm.__map(_vm.dataList, function(itemd, indexd) {\n var $orig = _vm.__get_orig(itemd)\n\n var g0 = indexd == 2 ? itemd.title.charAt(0) : null\n var g1 = indexd == 2 ? itemd.title.charAt(1) : null\n var g2 = indexd == 2 ? itemd.title.charAt(2) : null\n var g3 = indexd == 2 ? itemd.title.charAt(3) : null\n var g4 = indexd == 3 || indexd == 7 ? itemd.title.charAt(0) : null\n var g5 = indexd == 3 || indexd == 7 ? itemd.title.charAt(1) : null\n return {\n $orig: $orig,\n g0: g0,\n g1: g1,\n g2: g2,\n g3: g3,\n g4: g4,\n g5: g5\n }\n })\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nodifyData.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nodifyData.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<!-- 状态栏 -->\r\n\t\t<status-nav :titleVal=\"'修改资料'\" :whereCome=\"whereCome\" :statusTitle=\"true\"></status-nav>\r\n\t\t<!-- 自定义二级分类 -->\r\n\t\t<!-- 列表 -->\r\n\t\t<view :style=\"{paddingTop: statusHeight+'px'}\" class=\"fon28 pad-x20\">\r\n\t\t\t<view v-for=\"(itemd,indexd) in dataList\" :key=\"indexd\"\r\n\t\t\tclass=\"disjbac borbot mar-zy40\" :class=\"(indexd!=1 && indexd!=5 && indexd!=6) ? 'pad-sx40':''\">\r\n\t\t\t\t<!-- 标题 -->\r\n\t\t\t\t<view class=\"col9 flexs\" style=\"width: 17.8%;\">\r\n\t\t\t\t\t<view v-if=\"indexd!=2 && indexd!=3 && indexd!=7\">{{itemd.title}}:</view>\r\n\t\t\t\t\t<!-- 恒美ID -->\r\n\t\t\t\t\t<view v-if=\"indexd==2\" class=\"disjb\">\r\n\t\t\t\t\t\t<view class=\"disjb width100\">\r\n\t\t\t\t\t\t\t<view>{{itemd.title.charAt(0)}}</view>\r\n\t\t\t\t\t\t\t<view>{{itemd.title.charAt(1)}}</view>\r\n\t\t\t\t\t\t\t<view>{{itemd.title.charAt(2)}}{{itemd.title.charAt(3)}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view>:</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 性别、地址 -->\r\n\t\t\t\t\t<view v-if=\"indexd==3 || indexd==7\" class=\"disjb\">\r\n\t\t\t\t\t\t<view class=\"disjb width100\">\r\n\t\t\t\t\t\t\t<view>{{itemd.title.charAt(0)}}</view>\r\n\t\t\t\t\t\t\t<view>{{itemd.title.charAt(1)}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view>:</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"disac fe width100 tright\">\r\n\t\t\t\t\t<!-- 内容 -->\r\n\t\t\t\t\t<view v-if=\"itemd.content!='' && (indexd!=1 && indexd!=5 && indexd!=6)\" :class=\"indexd==1?'nic':'col3'\" class=\"mar-y20 width100\" :style=\"{marginRight:indexd==2?'39rpx':''}\">{{itemd.content}}</view>\r\n\t\t\t\t\t<!-- 性别下拉弹框 -->\r\n\t\t\t\t\t<picker v-if=\"indexd==3\" class=\"col3 mar-y20 width100\" @change=\"changePicker\" :value=\"current\" :range=\"pickerData\">\r\n\t\t\t\t\t\t<view>{{pickerData[current]}}</view>\r\n\t\t\t\t\t</picker>\r\n\t\t\t\t\t<!-- 出生日期下拉框 -->\r\n\t\t\t\t\t<picker v-if=\"indexd==4\" mode=\"date\" class=\"col3 mar-y20 width100\" @change=\"changeTime\" :value=\"currentt\" :range=\"pickerTime\">\r\n\t\t\t\t\t\t<view>{{pickerTime[currentt]}}</view>\r\n\t\t\t\t\t</picker>\r\n\t\t\t\t\t<!-- 地址下拉框 -->\r\n\t\t\t\t\t<!-- <picker v-if=\"indexd==7\" mode=\"multiSelector\" class=\"col3 mar-y20 width100\" @change=\"changeAddress\" :value=\"currenta\" :range=\"pickerAddress\">\r\n\t\t\t\t\t\t<view>{{pickerAddress[0]}}{{pickerAddress[1]}}{{pickerAddress[2]}}</view>\r\n\t\t\t\t\t</picker> -->\r\n\t\t\t\t\t<!-- <view v-if=\"indexd==7\" @tap=\"openPicker\" class=\"width100 mar-y20\">{{region}}</view> -->\r\n\t\t\t\t\t<view v-if=\"indexd==7\" @tap=\"openAddres2\" class=\"width100 mar-y20\">{{pickerText}}</view>\r\n\t\t\t\t\t<!-- 用户昵称、真实姓名、联系电话输入框 -->\r\n\t\t\t\t\t<input @focus=\"inputFo(indexd)\" @blur=\"inputB(indexd)\" v-if=\"indexd==1 || indexd==5 || indexd==6\" :disabled=\"indexd==6\" :type=\"(indexd==1 || indexd==5)?'text':'number'\" :maxlength=\"indexd==6?11:10\" v-model=\"itemd.content\" class=\"mar-y20 tright pad-sx40 width100\" style=\"border: none;\" :placeholder=\"itemd.fcon\"/>\r\n\t\t\t\t\t<!-- 用户头像 -->\r\n\t\t\t\t\t<image v-if=\"indexd==0\" :src=\"itemd.imgSrc || moHead\" :class=\"indexd==0?'head_img':'head_next'\" class=\"\" mode=\"aspectFill\"></image>\r\n\t\t\t\t\t<!-- <image @tap=\"chooseHead\" v-if=\"itemd.imgSrc!=''\" :src=\"itemd.imgSrc\" :class=\"indexd==0?'head_img':'head_next'\" class=\"\" mode=\"aspectFill\"></image> -->\r\n\t\t\t\t\t<!-- 前进键 -->\r\n\t\t\t\t\t<image v-if=\"indexd!=0 && indexd!=2\" src=\"/static/public/nexth.png\" class=\"head_next flexs\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"\" @tap=\"updataInfo\" style=\"height: 90rpx;line-height: 90rpx;margin: 80rpx 100rpx 120rpx 100rpx;\" class=\"radius20 fon40 bold colf tc\" :style=\"{background:publicColor}\">{{btnCon}}</view>\r\n\t\t<!-- 底部弹框 --> \r\n\t\t<!-- <city @choseVal=\"choseValue\" :lotusAddressData=\"lotusAddressData\"></city> -->\r\n\t\t<simple-address ref=\"simpleAddress\" :pickerValueDefault=\"cityPickerValueDefault\" @onConfirm=\"onConfirm\" themeColor=\"#007AFF\"></simple-address>\r\n\t\t<!-- 底部客服 -->\r\n\t\t<public-customer :nbottom=\"100\"></public-customer>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport simpleAddress from '@/components/simple-address/simple-address.vue';\r\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\t// city,\r\n\t\t\tsimpleAddress\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tmoHead:'/static/public/logo.png',\r\n\t\t\t\tdataList:[\r\n\t\t\t\t\t{title:'用户头像',content:'',imgSrc:'',fcon:''},\r\n\t\t\t\t\t{title:'用户昵称',content:'',imgSrc:'',fcon:'请输入用户昵称'},\r\n\t\t\t\t\t{title:'恒美ID',content:'',imgSrc:'',fcon:''},\r\n\t\t\t\t\t{title:'性别',content:'',imgSrc:'',fcon:''},\r\n\t\t\t\t\t{title:'出生日期',content:'',imgSrc:'',fcon:''},\r\n\t\t\t\t\t{title:'真实姓名',content:'',imgSrc:'',fcon:'请输入真实姓名'},\r\n\t\t\t\t\t{title:'联系电话',content:'',imgSrc:'',fcon:'请输入联系电话'},\r\n\t\t\t\t\t{title:'地址',content:'',imgSrc:'',fcon:''},\r\n\t\t\t\t],\r\n\t\t\t\tisKuang:true,\r\n\t\t\t\tcurrent:0,\r\n\t\t\t\tpickerData:['未知','男','女'],\r\n\t\t\t\tcurrentt:0,\r\n\t\t\t\tpickerTime:['1997-01-01'],\r\n\t\t\t\tcurrenta:0,\r\n\t\t\t\t// pickerAddress:['四川省 ','成都市 ','青羊区'],\r\n\t\t\t\t// lotusAddressData:{\r\n\t\t\t\t// visible:false,\r\n\t\t\t\t// provinceName:'',\r\n\t\t\t\t// cityName:'',\r\n\t\t\t\t// townName:'',\r\n\t\t\t\t// },\r\n\t\t\t\t// region:'四川省成都市成华区',\r\n\t\t\t\tcityPickerValueDefault: [0, 0, 1],\r\n\t\t\t\tpickerText: '四川省成都市成华区',\r\n\t\t\t\tbtnCon:'保存',\r\n\t\t\t\tuinfo:{},\r\n\t\t\t\taddressInfo:[],\r\n\t\t\t\tnewProvice:'',//当前省份\r\n\t\t\t\tnewCity:'',//当前城市\r\n\t\t\t\tnewDistrict:'',//当前区县\r\n\t\t\t\twhereCome:0,\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 主题颜色\r\n\t\t\tpublicColor() {\r\n\t\t\t\treturn this.$store.state.publicColor\r\n\t\t\t},\r\n\t\t\tstatusHeight() {\r\n\t\t\t\treturn this.$store.state.statusHeight\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t// 禁用小程序分享\r\n\t\t\tthis.$toolAll.tools.disableShareEv();\r\n\t\t},\r\n\t\tonUnload() {\r\n\t\t\tuni.removeStorageSync('firstInfo')\r\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tif(options.whereNum==2){\r\n\t\t\t\tthis.whereCome = options.whereNum\r\n\t\t\t}\r\n\t\t\tlet chuo = new Date().getTime()// 获取当前时间戳\r\n\t\t\tlet time = this.$toolAll.tools.timestampToTime(chuo)// 转换日期格式为XXXX-XX-XX\r\n\t\t\t// 获取当前位置的经纬度\r\n\t\t\t// wx.getLocation({\r\n\t\t\t// \tsuccess:(res)=> {\r\n\t\t\t// \t\t// 逆解析经纬度\r\n\t\t\t// \t\tthis.getDistrict(res.latitude, res.longitude)\r\n\t\t\t// \t},\r\n\t\t\t// })\r\n\t\t\tlet firstObj = uni.getStorageSync('firstInfo')\r\n\t\t\tif(firstObj==''){\r\n\t\t\t\tlet obj = uni.getStorageSync('uinfo')\r\n\t\t\t\tif(obj!='') this.uinfo = obj\r\n\t\t\t\tthis.dataList[0].imgSrc = obj.headimgurl//用户头像\r\n\t\t\t\tthis.dataList[1].content = obj.nickname//用户昵称\r\n\t\t\t\tthis.dataList[2].content = obj.coding//恒美ID\r\n\t\t\t\tthis.current = obj.gender//性别1男2女,0未知\r\n\t\t\t\tobj.birthday!='' ? this.pickerTime = [obj.birthday.slice(0,10)] : this.pickerTime = [time.slice(0,10)]//出生日期\r\n\t\t\t\tobj.real_name!=null && obj.real_name !='' ? this.dataList[5].content = obj.real_name : this.dataList[5].fcon = '未知'//真实姓名\r\n\t\t\t\tobj.mobile!='' ? this.dataList[6].content = obj.mobile : this.dataList[6].fcon = '未知'//电话\r\n\t\t\t\tif(obj.county!='') this.pickerText = obj.province + obj.city + obj.county//省市区县\r\n\t\t\t} else {\r\n\t\t\t\tthis.dataList[0].imgSrc = firstObj.headimgurl//用户头像\r\n\t\t\t\tthis.dataList[1].content = firstObj.nickname//用户昵称\r\n\t\t\t\tthis.dataList[2].content = firstObj.coding//恒美ID\r\n\t\t\t\tthis.current = firstObj.gender//性别1男2女,0未知\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tupdataInfo(){//修改资料事件\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\treal_name:this.dataList[5].content,//姓名\r\n\t\t\t\t\tnickname:this.dataList[1].content,//昵称\r\n\t\t\t\t\tmobile:this.dataList[6].content,//手机号\r\n\t\t\t\t\tgender:this.current,//性别0未知1男2女\r\n\t\t\t\t\tprovince:this.addressInfo[0],//省份\r\n\t\t\t\t\tcity:this.addressInfo[1],//市\r\n\t\t\t\t\tcounty:this.addressInfo[2],//区县\r\n\t\t\t\t\tbirthday:this.pickerTime[0]//生日出生年月日期格式2021-08-10\r\n\t\t\t\t}\r\n\t\t\t\tthis.$requst.post('user/edit-info',params).then(res=>{\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tthis.$toolAll.tools.showToast('资料修改成功')\r\n\t\t\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\t\t\tif(this.whereCome==2){\r\n\t\t\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\t\t\turl:'/pages/tabbar/my/my'\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tuni.navigateBack({delta:1})\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}\r\n\t\t\t\t},error=>{})\r\n\t\t\t},\r\n\t\t\tgetDistrict(latitude, longitude) {//获取当前位置的省市区县\r\n\t\t\t\tlet ya = this\r\n\t\t\t wx.request({\r\n\t\t\t\t\turl: `https://apis.map.qq.com/ws/geocoder/v1/?location=${latitude},${longitude}&key=B2ABZ-SIDKS-WD2O3-6CJ2U-CDZOT-U3FKF`,\r\n\t\t\t\t\theader: {\r\n\t\t\t\t\t\t'Content-Type':'application/json'\r\n\t\t\t\t\t},\r\n\t\t\t\t\tsuccess:function(res) {\r\n\t\t\t\t\t\t// console.log('地址数据:',res)\r\n\t\t\t\t\t\tya.newProvice = res.data.result.address_component.province\r\n\t\t\t\t\t\tya.newCity = res.data.result.address_component.city\r\n\t\t\t\t\t\tya.newDistrict = res.data.result.address_component.district\r\n\t\t\t\t\t\tif(ya.pickerText=='') ya.pickerText = ya.newProvice + ya.newCity + ya.newDistrict\r\n\t\t\t\t\t}\r\n\t\t\t })\r\n\t\t\t},\r\n\t\t\topenAddres2() {//地址弹框事件\r\n\t\t\t\t// 根据 label 获取\r\n\t\t\t\tvar index = this.$refs.simpleAddress.queryIndex([this.newProvice, this.newCity, this.newDistrict], 'label');\r\n\t\t\t\tthis.cityPickerValueDefault = index.index;\r\n\t\t\t\tthis.$refs.simpleAddress.open();\r\n\t\t\t},\r\n\t\t\tonConfirm(e) {//地址确认事件\r\n\t\t\t\tthis.pickerText = e.labelArr[0]+e.labelArr[1]+e.labelArr[2];\r\n\t\t\t\tthis.addressInfo = [e.labelArr[0],e.labelArr[1],e.labelArr[2]]\r\n\t\t\t},\r\n\t\t\tchooseHead(){//选择头像事件\r\n\t\t\t\tuni.chooseImage({\r\n\t\t\t\t\tcount:1,\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tthis.dataList[0].imgSrc = res.tempFilePaths[0]\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tchangePicker(e){//性别选择\r\n\t\t\t\tthis.current = e.detail.value\r\n\t\t\t},\r\n\t\t\tchangeTime(e){//出生日期选择\r\n\t\t\t\tthis.pickerTime = [e.detail.value]\r\n\t\t\t},\r\n\t\t\tchangeAddress(e){\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tinputFo(index){//输入框获取焦点\r\n\t\t\t\tif(this.dataList[index].content!=''){\r\n\t\t\t\t\tthis.dataList[index].fcon = this.dataList[index].content//将当前输入框的实际值赋值给当前输入框的placeholder属性\r\n\t\t\t\t\tthis.dataList[index].content = ''//清空当前输入框的实际值\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tinputB(index){//输入框失去焦点\r\n\t\t\t\tif(index==1){\r\n\t\t\t\t\tif(this.dataList[1].content==''){\r\n\t\t\t\t\t\tthis.dataList[1].content = this.uinfo.nickname\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(index==5){\r\n\t\t\t\t\tif(this.dataList[5].content==''){\r\n\t\t\t\t\t\tthis.dataList[5].content = this.uinfo.real_name\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(index==6){\r\n\t\t\t\t\tif(this.dataList[6].content==''){\r\n\t\t\t\t\t\tthis.dataList[6].content = this.uinfo.mobile\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t//打开picker\r\n\t\t\t// openPicker() {\r\n\t\t\t// this.lotusAddressData.visible = true;\r\n\t\t\t// this.lotusAddressData.provinceName = this.newProvice;\r\n\t\t\t// this.lotusAddressData.cityName = this.newCity;\r\n\t\t\t// this.lotusAddressData.townName = this.newDistrict;\r\n\t\t\t// },\r\n\t\t\t//回传已选的省市区的值\r\n\t\t\t// choseValue(res){\r\n\t\t\t// //res数据源包括已选省市区与省市区code\r\n\t\t\t// // console.log(res);\r\n\t\t\t// this.lotusAddressData.visible = res.visible;//visible为显示与关闭组件标识true显示false隐藏\r\n\t\t\t// //res.isChose = 1省市区已选 res.isChose = 0;未选\r\n\t\t\t// if(res.isChose){\r\n\t\t\t// this.lotusAddressData.provinceName = res.province;//省\r\n\t\t\t// this.lotusAddressData.cityName = res.city;//市\r\n\t\t\t// this.lotusAddressData.townName = res.town;//区\r\n\t\t\t// this.region = `${res.province} ${res.city} ${res.town}`; //region为已选的省市区的值\r\n\t\t\t// \t\tthis.regionObj = {\r\n\t\t\t// \t\t\tprovince:res.province,\r\n\t\t\t// \t\t\tprovinceCode:res.provinceCode,\r\n\t\t\t// \t\t\tcity:res.city,\r\n\t\t\t// \t\t\tcityCode:res.cityCode,\r\n\t\t\t// \t\t\ttown:res.town,\r\n\t\t\t// \t\t\ttownCode:res.townCode\r\n\t\t\t// \t\t}\r\n\t\t\t// }\r\n\t\t\t// },\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\npage{background-color: #FFFFFF;}\r\n</style>\r\n","import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nodifyData.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nodifyData.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1660123645983\n var cssReload = require(\"D:/HbuilderX/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":""}