update-baseinfo.js.map
16.5 KB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/update-baseinfo/update-baseinfo.vue?8049","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/update-baseinfo/update-baseinfo.vue?e276","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/update-baseinfo/update-baseinfo.vue?75a6","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/update-baseinfo/update-baseinfo.vue?d16e","uni-app:///pages/student/my/update-baseinfo/update-baseinfo.vue","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/update-baseinfo/update-baseinfo.vue?dd48","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/my/update-baseinfo/update-baseinfo.vue?33a7"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;AACnB;AACA,qI;AACAA,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACyN;AACzN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;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,wMAEN;AACP,KAAK;AACL;AACA,aAAa,uQAEN;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;AACA;AACA;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAA03B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiC94B,iF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,mBADA,EAEA,QACA,UADA,EAEA,UAFA,EAGA,SAHA,EAIA;AACA,2BALA,EAMA,eANA,EAFA,GAWA,CAbA,EAeA,MAfA,kBAeA,MAfA,EAeA,CACA,gCACA,aACA,iCACA,iCACA,+BAHA,CAIA;AACA,yDACA,2CACA,CACA,CAzBA,EA2BA,WACA,OADA,qBACA,CACA,oCACA,8BACA,uCAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA,OAPA,MAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,gBADA;;AAGA,KA7CA;;AA+CA,aA/CA,qBA+CA,GA/CA,EA+CA;AACA;AACA,kBADA;AAEA,oBAFA;;AAIA,KApDA,EA3BA,E;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAA+mD,CAAgB,+5CAAG,EAAC,C;;;;;;;;;;;ACAnoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/student/my/update-baseinfo/update-baseinfo.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/student/my/update-baseinfo/update-baseinfo.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./update-baseinfo.vue?vue&type=template&id=ea0fe3be&scoped=true&\"\nvar renderjs\nimport script from \"./update-baseinfo.vue?vue&type=script&lang=js&\"\nexport * from \"./update-baseinfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./update-baseinfo.vue?vue&type=style&index=0&id=ea0fe3be&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../../Applications/HBuilderX.app/Contents/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 \"ea0fe3be\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/student/my/update-baseinfo/update-baseinfo.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./update-baseinfo.vue?vue&type=template&id=ea0fe3be&scoped=true&\"","var components\ntry {\n components = {\n uForm: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-form/u-form\" */ \"@/uview-ui/components/u-form/u-form.vue\"\n )\n },\n cInputItem: function() {\n return import(\n /* webpackChunkName: \"components/c-input-item/c-input-item\" */ \"@/components/c-input-item/c-input-item.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 \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./update-baseinfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./update-baseinfo.vue?vue&type=script&lang=js&\"","<template>\n\t<view style=\" width: 100%;height: 100%; display: flex;background-color: #F7F7F7;\" :style=\"vuex_theme\">\n\t\t<view class=\"wrap_box\">\n\t\t\t<view style=\"padding: 0 20rpx;\">\n\t\t\t\t<u-form :model=\"form\" :error-type=\"errorType\" ref=\"uForm\">\n\t\t\t\t\t<c-input-item label=\"身高\" type=\"number1\" name=\"height\" v-model=\"form.height\" :rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<c-input-item label=\"体重\" type=\"number1\" name=\"weight\"v-model=\"form.weight\" :rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<c-input-item label=\"邮箱\" type=\"text1\" name=\"email\" v-model=\"form.email\" :rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<!-- <c-input-item label=\"身份证号\" type=\"text1\" name=\"id_card_no\" v-model=\"form.id_card_no\" :rightIcon=\"false\">\n\t\t\t\t\t</c-input-item> -->\n\t\t\t\t\t<c-input-item label=\"现居住地\" type=\"text1\" name=\"current_address\" v-model=\"form.current_address\"\n\t\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t<c-input-item label=\"户口所在地\" type=\"text1\" name=\"hukou_place\" v-model=\"form.hukou_place\"\n\t\t\t\t\t\t:rightIcon=\"false\">\n\t\t\t\t\t</c-input-item>\n\t\t\t\t\t</c-input-item>\n\t\t\t\t</u-form>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"footer\">\n\t\t\t<view style=\"width: 100%;height: 1rpx;border: 1rpx solid #f7f7f7;\"></view>\n\t\t\t<view style=\"padding: 20rpx 40rpx 70rpx 40rpx;\" >\n\t\t\t\t<view class=\"confirm\" @click=\"confirm\">确认</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport area from '@/common/area';\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tarea,\n\t\t\t\tform:{\n\t\t\t\t\theight:\"\",\n\t\t\t\t\tweight:\"\",\n\t\t\t\t\temail:\"\",\n\t\t\t\t\t// id_card_no:\"\",\n\t\t\t\t\tcurrent_address:\"\",\n\t\t\t\t\thukou_place:\"\"\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t\t\n\t\tonLoad(option) {\n\t\t\tconsole.log(\"option--\",option)\n\t\t\tif(option){\n\t\t\t\tthis.form.height = option.height\n\t\t\t\tthis.form.weight = option.weight\n\t\t\t\tthis.form.email = option.email\n\t\t\t\t// this.form.id_card_no = option.id_card_no\n\t\t\t\tthis.form.current_address = option.current_address\n\t\t\t\tthis.form.hukou_place = option.hukou_place\n\t\t\t}\n\t\t},\n\t\t\n\t\tmethods: {\n\t\t\tconfirm(){\n\t\t\t\tconsole.log(\"confirm--\",this.form)\n\t\t\t\tlet pages = getCurrentPages();\n\t\t\t\tlet prevPage = pages[pages.length - 2];\n\t\t\t\t\n\t\t\t\tif(this.form.height&&(this.form.height<50||this.form.height>250)){\n\t\t\t\t\tthis.showToast(\"身高数据不合理,请重新输入\")\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(this.form.weight&&(this.form.weight<10||this.form.weight>300)){\n\t\t\t\t\tthis.showToast(\"体重数据不合理,请重新输入\")\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif(this.form.email&&this.form.email.length>0){\n\t\t\t\t\tif(this.$u.test.email(this.form.email)){\n\t\t\t\t\t\tprevPage.$vm.detailObj.email= this.form.email\n\t\t\t\t\t}else{\n\t\t\t\t\t\tthis.showToast(\"邮箱错误,请重新输入\")\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tprevPage.$vm.detailObj.email= ''\n\t\t\t\t}\n\t\t\t\t// if(this.form.id_card_no&&this.form.id_card_no.length>0){\n\t\t\t\t// \tif(this.$u.test.idCard(this.form.id_card_no)){\n\t\t\t\t// \t\tprevPage.$vm.detailObj.id_card_no= this.form.id_card_no\n\t\t\t\t// \t}else{\n\t\t\t\t// \t\tthis.showToast(\"身份证号错误,请重新输入\")\n\t\t\t\t// \t\treturn;\n\t\t\t\t// \t}\n\t\t\t\t// }else{\n\t\t\t\t// \tprevPage.$vm.detailObj.id_card_no= ''\n\t\t\t\t// }\n\t\t\t\t\n\t\t\t\tprevPage.$vm.detailObj.height= this.form.height?parseFloat(this.form.height):null\n\t\t\t\tprevPage.$vm.detailObj.weight = this.form.weight?parseFloat(this.form.weight):null\n\t\t\t\t\n\t\t\t\tprevPage.$vm.detailObj.current_address = this.form.current_address?this.form.current_address:\"\"\n\t\t\t\tprevPage.$vm.detailObj.hukou_place = this.form.hukou_place?this.form.hukou_place:\"\"\n\t\t\t\t\n\t\t\t\tuni.navigateBack({\n\t\t\t\t\tdelta: 1\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\tshowToast(msg){\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle:msg,\n\t\t\t\t\ticon:\"none\"\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.wrap_box {\n\t\tpadding: 40rpx;\n\t\tbackground-color: #fff;\n\t\tmargin: 20rpx 20rpx 0 20rpx;\n\t\twidth: 100%;\n\n\t\t.text_black_30 {\n\t\t\tfont-size: 30rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #000000;\n\t\t}\n\n\t\t.text_gray_26 {\n\t\t\tfont-size: 26rpx;\n\t\t\tfont-family: PingFangSC-Light, PingFang SC;\n\t\t\tfont-weight: 300;\n\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\tmargin-top: 16rpx;\n\t\t}\n\n\t\t.text_gray_30 {\n\t\t\tfont-size: 30rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: rgba(0, 0, 0, 0.45);\n\t\t}\n\t}\n\n\t.footer {\n\t\twidth: 100%;\n\t\tbackground-color: #fff;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\tz-index: 999;\n\t\n\t\t.confirm {\n\t\t\tbackground: linear-gradient(180deg, var(--primary-color000) 0%, var(--primary-color) 100%);\n\t\t\tbox-shadow: 0px 2px 20px 0px var(--primary-color03);\n\t\t\tborder-radius: 24px;\n\t\t\tpadding: 24rpx;\n\t\t\ttext-align: center;\n\t\t\tfont-size: 34rpx;\n\t\t\tfont-family: PingFangSC-Regular, PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: #FFFFFF;\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./update-baseinfo.vue?vue&type=style&index=0&id=ea0fe3be&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./update-baseinfo.vue?vue&type=style&index=0&id=ea0fe3be&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1700461805453\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""}