1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///G:/item/appBase/pages/set/set.vue?c4d7","webpack:///G:/item/appBase/pages/set/set.vue?d71e","webpack:///G:/item/appBase/pages/set/set.vue?e9c7","webpack:///G:/item/appBase/pages/set/set.vue?1d7d","uni-app:///pages/set/set.vue","webpack:///G:/item/appBase/pages/set/set.vue?c823","webpack:///G:/item/appBase/pages/set/set.vue?9680"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,uF;AACAA,UAAU,CAACC,YAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgH;AAChH;AACuD;AACL;AACc;;;AAGhE;AAC2K;AAC3K,gBAAgB,oLAAU;AAC1B,EAAE,yEAAM;AACR,EAAE,8EAAM;AACR,EAAE,uFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kFAAU;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,wLAEN;AACP,KAAK;AACL;AACA,aAAa,sNAEN;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;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8B/oB;AACA,+C;;;AAGA;AACA;AACA,oBADA,EACA,wBADA,EADA;;AAIA,MAJA,kBAIA;AACA;;;AAGA,GARA;AASA;AACA,6CADA;AAEA,SAFA,iBAEA,GAFA,EAEA;AACA;AACA,gBADA;;AAGA,KANA;AAOA;AACA,YARA,sBAQA;AACA;AACA;AACA,2BADA;AAEA;AACA;AACA;AACA;AACA,aAFA,EAEA,KAFA,CAEA;AACA;AACA,aAJA;AAKA;AACA;AACA,SAXA;;AAaA,KAvBA;AAwBA;AACA,gBAzBA,wBAyBA,CAzBA,EAyBA;AACA;AACA;AACA;AACA,KA7BA,GATA,E;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAqpC,CAAgB,snCAAG,EAAC,C;;;;;;;;;;;ACAzqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/set/set.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/set/set.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./set.vue?vue&type=template&id=21926b68&\"\nvar renderjs\nimport script from \"./set.vue?vue&type=script&lang=js&\"\nexport * from \"./set.vue?vue&type=script&lang=js&\"\nimport style0 from \"./set.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\work\\\\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/set/set.vue\"\nexport default component.exports","export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./set.vue?vue&type=template&id=21926b68&\"","var components\ntry {\n components = {\n uniList: function() {\n return import(\n /* webpackChunkName: \"components/uni-list/uni-list\" */ \"@/components/uni-list/uni-list.vue\"\n )\n },\n uniListItem: function() {\n return import(\n /* webpackChunkName: \"components/uni-list-item/uni-list-item\" */ \"@/components/uni-list-item/uni-list-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 \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./set.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./set.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"container\">\r\n\t\t<uni-list>\r\n\t\t <uni-list-item title=\"个人资料\" @click=\"navTo('/pages/set/userinfo')\" ></uni-list-item>\r\n\t\t\t<uni-list-item title=\"修改密码\" @click=\"navTo('/pages/set/password')\" ></uni-list-item>\r\n\t\t <uni-list-item title=\"实名认证\" @click=\"navTo('/pages/set/phone')\" ></uni-list-item>\r\n\t\t <uni-list-item title=\"收货地址\" @click=\"navTo('/pages/set/address')\" ></uni-list-item>\r\n\t\t</uni-list>\r\n\t\t<uni-list class=\"margin-t-20\">\r\n\t\t <uni-list-item title=\"消息推送\" :switch-checked='true' :show-switch=\"true\" :show-arrow=\"false\" switch-color='#5dbc7c' @switchChange='switchChange'> \r\n\t\t\t</uni-list-item>\r\n\t\t</uni-list>\r\n\t\t\r\n\t\t<uni-list class=\"margin-t-20\">\r\n\t\t <uni-list-item title=\"清除缓存\" ></uni-list-item>\r\n\t\t <uni-list-item title=\"检查更新\" >\r\n\t\t\t\t<template slot=\"right\">\r\n\t\t\t\t\t当前版本 1.0.3\r\n\t\t\t\t</template>\r\n\t\t\t</uni-list-item>\r\n\t\t</uni-list>\r\n\t\t<view class=\"list-cell log-out-btn\" @click=\"toLogout\">\r\n\t\t\t<text class=\"cell-tit\">退出登录</text>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport uniList from \"@/components/uni-list/uni-list.vue\"\r\n\timport uniListItem from \"@/components/uni-list-item/uni-list-item.vue\"\r\n\timport { logout } from '@/api/set.js';\r\n\timport { \r\n\t mapMutations \r\n\t} from 'vuex';\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tuniList,uniListItem\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t...mapMutations('user',['logout']),\r\n\t\t\tnavTo(url){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:url\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//退出登录\r\n\t\t\ttoLogout(){\r\n\t\t\t\tlet obj = this;\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t content: '确定要退出登录么',\r\n\t\t\t\t success: (e)=>{\r\n\t\t\t\t \tif(e.confirm){\r\n\t\t\t\t\t\t\tlogout({}).then((e) => {\r\n\t\t\t\t\t\t\t\tuni.navigateBack();\r\n\t\t\t\t\t\t\t}).catch((e) => {\r\n\t\t\t\t\t\t\t\tconsole.log(e);\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t \t\tobj.logout();\r\n\t\t\t\t \t}\r\n\t\t\t\t }\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t//switch切换触发方法\r\n\t\t\tswitchChange(e){\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t\tlet statusTip = e.value ? '打开': '关闭';\r\n\t\t\t\tthis.$api.msg(`${statusTip}消息推送`);\r\n\t\t\t},\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang='scss'>\r\n\tpage{\r\n\t\tbackground: $page-color-base;\r\n\t}\r\n\t.list-cell{\r\n\t\tdisplay:flex;\r\n\t\talign-items:baseline;\r\n\t\tpadding: 20rpx $page-row-spacing;\r\n\t\tline-height:60rpx;\r\n\t\tposition:relative;\r\n\t\tbackground: #fff;\r\n\t\tjustify-content: center;\r\n\t\t&.log-out-btn{\r\n\t\t\tmargin-top: 40rpx;\r\n\t\t\t.cell-tit{\r\n\t\t\t\tcolor: $uni-color-primary;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tmargin-right: 0;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.cell-tit{\r\n\t\t\tflex: 1;\r\n\t\t\tfont-size: $font-base + 2rpx;\r\n\t\t\tcolor: $font-color-dark;\r\n\t\t\tmargin-right:10rpx;\r\n\t\t}\r\n\t\t.cell-tip{\r\n\t\t\tfont-size: $font-base;\r\n\t\t\tcolor: $font-color-light;\r\n\t\t}\r\n\t\tswitch{\r\n\t\t\ttransform: translateX(16rpx) scale(.84);\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./set.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./set.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618025084354\n var cssReload = require(\"D:/work/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":""}
|