1 line
4.7 KiB
Plaintext
1 line
4.7 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/components/Center.vue?816c","webpack:///./src/components/Center.vue","webpack:///./src/components/Center.vue?0d02"],"names":["class","title","left-arrow","onClickLeft","outset","label","placeholder","type","name","input","value","block","round","size","color","setup","history","back","data","form","mounted","that","this","then","res","status","result","message","error","msg","methods","onSubmit","console","log","$router","push","onSubmit1","__exports__","render"],"mappings":"kHAAA,W,6ICCOA,MAAM,U,GAEJA,MAAM,Q,uBACT,eAA8B,MAA1BA,MAAM,YAAW,QAAI,M,GAatBA,MAAM,W,iBAC2D,M,qNAjBxE,eAmBM,MAnBN,EAmBM,CAlBJ,eAA+E,GAAlEC,MAAM,OAAOC,aAAA,GAAa,YAAY,EAAAC,a,wBACnD,eAaM,MAbN,EAaM,CAZJ,EACA,eAUiB,GAVDC,OAAA,IAAM,C,wBACpB,iBAAiD,CAAjD,eAAiD,GAAtCC,MAAM,OAASC,YAAY,YACtC,eAAiE,GAArDD,MAAM,OAASE,KAAK,SAAUD,YAAY,YACtD,eAA6C,GAAjCD,MAAM,OAASC,YAAY,OACvC,eAA8D,GAAlDD,MAAM,OAAOC,YAAY,UAAUC,KAAK,WACpD,eAIY,GAJDC,KAAK,WAAWH,MAAM,Q,CACpBI,MAAK,gBACd,iBAAgC,CAAhC,eAAgC,G,WAAT,EAAAC,M,qDAAA,EAAAA,MAAK,K,6CAKpC,eAEM,MAFN,EAEM,CADJ,eAAmF,GAAvEH,KAAK,UAAUI,MAAA,GAAMC,MAAA,GAAMC,KAAK,QAAQC,MAAM,W,yBAAU,iBAAE,C,sDAQ7D,GACbN,KAAM,SACNO,MAFa,WAGX,IAAMZ,EAAc,kBAAMa,QAAQC,QAClC,MAAM,CACJd,gBAGJe,KAAK,WACJ,MAAM,CACJC,KAAK,KAGRC,QAba,WAcX,IAAIC,EAAKC,KACT,eAAK,kBAAkB,IAAIC,MAAK,SAAUC,GACzB,GAAZA,EAAIC,OAIPJ,EAAKF,KAAKK,EAAIE,OAHZ,eAAO,CAAEC,QAASH,EAAII,MAAMC,UAOlCC,QAAQ,CACNC,SADM,WAEJC,QAAQC,IAAI,UACZ,eAAS,MACTX,KAAKY,QAAQC,KAAK,WAEpBC,UANM,WAOJ,oB,iCClDN,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E,gB","file":"js/chunk-8487c140.cfb3092b.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Center.vue?vue&type=style&index=0&id=16217292&scoped=true&lang=css\"","<template>\r\n <div class=\"center\">\r\n <van-nav-bar title=\"个人中心\" left-arrow @click-left=\"onClickLeft\"> </van-nav-bar>\r\n <div class=\"boxs\">\r\n <h1 class=\"boxTitle\">个人信息</h1>\r\n <van-cell-group outset>\r\n <van-field label=\"真实姓名\" placeholder=\"请输入真实姓名\"/>\r\n <van-field label=\"手机号码\" type=\"number\" placeholder=\"请输入手机号码\"/>\r\n <van-field label=\"邮箱地址\" placeholder=\"邮箱\"/>\r\n <van-field label=\"身份证号\" placeholder=\"请输入身份证号\" type=\"number\"/>\r\n <van-field name=\"uploader\" label=\"上传头像\">\r\n <template #input>\r\n <van-uploader v-model=\"value\" />\r\n </template>\r\n </van-field>\r\n </van-cell-group>\r\n </div>\r\n <div class=\"nextbtn\" >\r\n <van-button type=\"primary\" block round size=\"large\" color=\"#2f58e4\">保存</van-button>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {setToken,post,exit} from \"../api/http\"\r\nimport {Dialog} from \"vant\";\r\nexport default {\r\n name: \"Center\",\r\n setup() {\r\n const onClickLeft = () => history.back();\r\n return{\r\n onClickLeft\r\n }\r\n },\r\n data:function () {\r\n return{\r\n form:{},\r\n }\r\n },\r\n mounted() {\r\n var that=this\r\n post(\"/app/admin/info\",{}).then(function (res) {\r\n if(res.status!=0){\r\n Dialog({ message: res.error.msg });\r\n return\r\n }\r\n that.form=res.result;\r\n })\r\n\r\n },\r\n methods:{\r\n onSubmit(){\r\n console.log(\"dasdas\")\r\n setToken(null)\r\n this.$router.push('/login')\r\n },\r\n onSubmit1(){\r\n exit()\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.boxs{margin: 15px 0}\r\n.boxTitle{ margin: 0;\r\n padding: 0px 16px 8px;\r\n color: rgba(69,90,100,.6);\r\n font-weight: normal;\r\n font-size: 14px;\r\n line-height: 16px;}\r\n.nextbtn{padding: 0 30px 30px;margin: 20px 0}\r\n</style>\r\n","import { render } from \"./Center.vue?vue&type=template&id=16217292&scoped=true\"\nimport script from \"./Center.vue?vue&type=script&lang=js\"\nexport * from \"./Center.vue?vue&type=script&lang=js\"\n\nimport \"./Center.vue?vue&type=style&index=0&id=16217292&scoped=true&lang=css\"\n\nimport exportComponent from \"D:\\\\work\\\\zqclj\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-16217292\"]])\n\nexport default __exports__"],"sourceRoot":""} |