index.js.map 15 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/yzm/worknew/wardrobe/pages/qiehuan/index.vue?dc63","webpack:///D:/yzm/worknew/wardrobe/pages/qiehuan/index.vue?fe46","webpack:///D:/yzm/worknew/wardrobe/pages/qiehuan/index.vue?1bab","webpack:///D:/yzm/worknew/wardrobe/pages/qiehuan/index.vue?6bf5","uni-app:///pages/qiehuan/index.vue","webpack:///D:/yzm/worknew/wardrobe/pages/qiehuan/index.vue?6ac4","webpack:///D:/yzm/worknew/wardrobe/pages/qiehuan/index.vue?22c5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,+F,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACgM;AAChM,gBAAgB,0MAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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,2OAEN;AACP,KAAK;AACL;AACA,aAAa,yNAEN;AACP,KAAK;AACL;AACA,aAAa,2OAEN;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpDA;AAAA;AAAA;AAAA;AAAmvB,CAAgB,gwBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2CvwB,+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,aADA,EAEA,YAFA,GAIA,CANA,EAOA,MAPA,oBAOA,CAEA,CATA,EAUA,MAVA,oBAUA,CACA,mCACA,qCAEA,4CACA,CACA,eACA,CAjBA,EAkBA,WACA,MADA,kBACA,IADA,EACA,CACA,kBACA,iBACA,iKADA,IAGA,CANA,EAOA,OAPA,qBAOA,CACA,iBACA,6BADA,IAGA,CAXA,EAYA,UAZA,sBAYA,IAZA,EAYA,CACA,gBACA,0BACA,iCADA,EAEA,cAFA,EAGA,iEAHA,IAIA,IAJA,CAIA,gBACA,2BACA,8BADA,CACA;AACA,mDAFA,CAEA;AACA,6BACA,QADA,EAEA,6BACA;AACA,aAJA;;AAMA,SATA,MASA;AACA;AACA;AACA,OAjBA;AAkBA,KAhCA;AAiCA,WAjCA,qBAiCA;AACA;AACA;AACA,8CADA;AAEA,sBAFA;AAGA,4DAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAZA,MAYA;AACA;AACA;AACA,OApBA;AAqBA,KAxDA,EAlBA,E;;;;;;;;;;;;;AC5CA;AAAA;AAAA;AAAA;AAAk5C,CAAgB,m2CAAG,EAAC,C;;;;;;;;;;;ACAt6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/qiehuan/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/qiehuan/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=6409d63e&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../exe/HBuilderX.3.4.7.20220422/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/qiehuan/index.vue\"\nexport default component.exports","export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=6409d63e&\"","var components\ntry {\n components = {\n tmMenubars: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-menubars/tm-menubars\" */ \"@/tm-vuetify/components/tm-menubars/tm-menubars.vue\"\n )\n },\n tmSheet: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-sheet/tm-sheet\" */ \"@/tm-vuetify/components/tm-sheet/tm-sheet.vue\"\n )\n },\n tmCheckbox: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-checkbox/tm-checkbox\" */ \"@/tm-vuetify/components/tm-checkbox/tm-checkbox.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 g0 = _vm.$tm.vx.state()\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :style=\"{ minHeight: sys.windowHeight + 'px' }\"\r\n\t\t:class=\"[$tm.vx.state().tmVuetify.black ? 'black' : ' ']\">\r\n\t\t<tm-menubars title=\"用户新增/切换\" :shadow=\"0\" :showback=\"true\"></tm-menubars>\r\n\t\t<div class=\"zhuti\">\r\n\t\t\t<!-- <tm-sheet class=\"kuang\">\r\n\t\t\t\t<view class=\"mt-2 flex-between flex-center dingwei pt-20 pb-20\">\r\n\t\t\t\t\t<view class=\"touxiang\">\r\n\t\t\t\t\t\t<image class=\"ml-20\" style=\"vertical-align: middle;\" src=\"/static/img/53.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<text style=\"vertical-align: middle;\" class=\"text-size-g text-white\">Hahhhnxsm_</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view >\r\n\t\t\t\t\t\t<text class=\"text-size-g you\" style=\"vertical-align: middle;\">(当前用户)</text>\r\n\t\t\t\t\t\t<tm-checkbox class=\"you\" v-model=\"checked1\" label=\"\"></tm-checkbox>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</tm-sheet> -->\r\n\t\t\t<tm-sheet class=\"kuang\" v-for=\"(item,index) in userList\">\r\n\t\t\t\t<view class=\"mt-2 flex-between flex-center dingwei pt-20 pb-20\">\r\n\t\t\t\t\t<view class=\"touxiang\" @click=\"bianji(item)\">\r\n\t\t\t\t\t\t<image v-if=\"index==0\" class=\"ml-20\" style=\"vertical-align: middle;\" src=\"/static/img/53.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<image v-else class=\"ml-20\" style=\"vertical-align: middle;\" src=\"/static/img/61.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<text style=\"vertical-align: middle;\" class=\"text-size-g text-white\">{{item.username}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view @click=\"qiehuanFun(item)\">\r\n\t\t\t\t\t\t<text v-if=\"item.checked==1\" class=\"text-size-g you\" style=\"vertical-align: middle;\">(当前用户)</text>\r\n\t\t\t\t\t\t<tm-checkbox class=\"you\" v-model=\"item.checked\" label=\"\"></tm-checkbox>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</tm-sheet>\r\n\t\t\t<tm-sheet class=\"kuang\">\r\n\t\t\t\t<view class=\"mt-2 flex-between flex-center dingwei pt-20 pb-20\">\r\n\t\t\t\t\t<view class=\"touxiang\" @click=\"tianjia\">\r\n\t\t\t\t\t\t<image class=\"ml-20\" style=\"vertical-align: middle;\" src=\"/static/img/54.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<text style=\"vertical-align: middle;\" class=\"text-size-g text-white\">新增家庭成员</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</tm-sheet>\r\n\t\t</div>\r\n\t\t\r\n\t</view>\r\n</template>\t\r\n<script>\r\nimport{myRequest} from '@/api/request.js'\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tindexsoyin:0,\r\n\t\t\tuserList:[]\r\n\t\t};\r\n\t},\r\n\tonLoad() {\r\n\t\t\r\n\t},\r\n\tonShow() {\r\n\t\tthis.sys = uni.getSystemInfoSync();\r\n\t\tif(uni.getStorageSync(\"itemuser\")){\r\n\t\t\t\r\n\t\t\tconsole.log(uni.getStorageSync(\"itemuser\"))\r\n\t\t}\r\n\t\tthis.getDate()\r\n\t},\r\n\tmethods: {\r\n\t\tbianji(item){\r\n\t\t\tconsole.log(item)\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/chengyuan/index?username=\"+item.username+'&weight='+item.weight+'&height='+item.height+'&body_type='+item.body_type+'&id='+item.id,\r\n\t\t\t})\r\n\t\t},\r\n\t\ttianjia(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/chengyuan/index\",\r\n\t\t\t})\r\n\t\t},\r\n\t\tqiehuanFun(item){\r\n\t\t\tvar that=this;\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/MemberInfo/switchRole\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:{family_id:uni.getStorageSync(\"family_id\"),id:item.id}\r\n\t\t\t}).then(res => {\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tlet pages = getCurrentPages(); // 当前页面\r\n\t\t\t\t\tlet beforePage = pages[pages.length - 2]; // 前一个页面\r\n\t\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\tdelta: 1,\r\n\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\tbeforePage.$vm.shuaxin()\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.navigateBack();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tgetDate(){\r\n\t\t\tvar that=this;\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/MemberInfo/getFamilyMember\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:{family_id:uni.getStorageSync(\"family_id\")}\r\n\t\t\t}).then(res => {\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tvar data=res.data.data,panduan=0;\r\n\t\t\t\t\tfor(let i=0;i<data.length;i++){\r\n\t\t\t\t\t\tif(data[i].checked!=0){\r\n\t\t\t\t\t\t\tpanduan=1\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tdata[i].checked=data[i].checked==0?false:true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(panduan==0){\r\n\t\t\t\t\t\tdata[0].checked=true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthat.userList=res.data.data;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.userList=[];\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t},\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/deep/ .tm-menubars .body{\r\n\t\tbackground-color: #1b1b1b !important;\r\n\t}\r\n\t.dingwei{width: 100%;margin: 0 auto;margin-top: 10px;}\r\n\t.dingwei image{width: 55px;margin-right: 10px;\t}\r\n\t/deep/ .border-primary-a-1{border-color: #303440;background: #303440;}\r\n\t/deep/ .shuru .grey-darken-5{\r\n\t\tbackground-color: #0d0d0d!important;\r\n\t\tpadding: 0px !important;\r\n\t}\r\n\t.you{text-align: right;}\r\n</style>\r\n","import mod from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1678780469657\n var cssReload = require(\"D:/yzm/exe/HBuilderX.3.4.7.20220422/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":""}