index.js.map 25 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/yzm/worknew/wardrobe/pages/chuanghome/index.vue?0141","webpack:///D:/yzm/worknew/wardrobe/pages/chuanghome/index.vue?399c","webpack:///D:/yzm/worknew/wardrobe/pages/chuanghome/index.vue?0ed8","webpack:///D:/yzm/worknew/wardrobe/pages/chuanghome/index.vue?2638","uni-app:///pages/chuanghome/index.vue","webpack:///D:/yzm/worknew/wardrobe/pages/chuanghome/index.vue?550f","webpack:///D:/yzm/worknew/wardrobe/pages/chuanghome/index.vue?a63a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/chuanghome/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/chuanghome/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=9685f676&\"\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/chuanghome/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=9685f676&\"","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 tmButton: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-button/tm-button\" */ \"@/tm-vuetify/components/tm-button/tm-button.vue\"\n )\n },\n tmTranslate: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-translate/tm-translate\" */ \"@/tm-vuetify/components/tm-translate/tm-translate.vue\"\n )\n },\n tmForm: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-form/tm-form\" */ \"@/tm-vuetify/components/tm-form/tm-form.vue\"\n )\n },\n tmInput: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-input/tm-input\" */ \"@/tm-vuetify/components/tm-input/tm-input.vue\"\n )\n },\n tmPickers: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-pickers/tm-pickers\" */ \"@/tm-vuetify/components/tm-pickers/tm-pickers.vue\"\n )\n },\n tmDialog: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-dialog/tm-dialog\" */ \"@/tm-vuetify/components/tm-dialog/tm-dialog.vue\"\n )\n },\n tmMessage: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-message/tm-message\" */ \"@/tm-vuetify/components/tm-message/tm-message.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 var l0 =\n _vm.active == 3\n ? _vm.__map(_vm.reqData.role, function(item1, index1) {\n var $orig = _vm.__get_orig(item1)\n\n var m0 = _vm.show == index1 ? _vm.obTstr2(item1.body_arr) : null\n return {\n $orig: $orig,\n m0: m0\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n l0: l0\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\" style=\"padding-bottom: 70px !important;\">\r\n\t\t\t\t<image v-if=\"(active==1 || active==2)\" class=\"jindu\" src=\"/static/img/49.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t<image v-if=\"active==3\" class=\"jindu\" src=\"/static/img/50.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t<image v-if=\"active==4\" class=\"jindu\" src=\"/static/img/51.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t<view class=\"wenzi flex-between flex-center\" style=\"margin-top: 10px;\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text class=\"text-white text-size-m\">创建家庭</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-white text-size-m\">创建角色</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-white text-size-m\">创建成功</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- <view class=\"wenzi flex-between flex-center\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<text class=\"text-size-s\">2022-11-28</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-s\">等待审批</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-s\">等待审批</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view> -->\r\n\t\t\t\t<view v-if=\"active==1\">\r\n\t\t\t\t\t<view class=\"mt-20 ml-15\">\r\n\t\t\t\t\t\t<text class=\"text-white text-size-m\">*扫描柜体上的二维码和衣柜绑定</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<image block class=\"zhanshi\" mode=\"widthFix\" src=\"/static/img/48.png\"></image>\r\n\t\t\t\t\t<tm-button :round=\"24\" class=\"sao mb-40\" @click=\"saoma()\" block>扫二维码</tm-button>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"active==2\">\r\n\t\t\t\t\t<tm-translate ref=\"a_1\" :auto=\"true\" animation-name=\"zoomIn\">\r\n\t\t\t\t\t\t<image block class=\"nicheng\" mode=\"widthFix\" src=\"/static/img/52.png\"></image>\r\n\t\t\t\t\t</tm-translate>\r\n\t\t\t\t\t<view class=\"text-align-center mt-20 mb-40\">\r\n\t\t\t\t\t\t<text class=\"text-size-m\">衣柜和手机关联成功</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"black shuru pa-30\">\r\n\t\t\t\t\t\t<tm-form>\r\n\t\t\t\t\t\t\t<view class=\"text-size-m\">请输入家庭名称</view>\r\n\t\t\t\t\t\t\t<tm-input name=\"title\" v-model=\"reqData.familyname\" clear placeholder=\"相亲相爱一家人\"></tm-input>\r\n\t\t\t\t\t\t</tm-form>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<tm-button :round=\"24\" class=\"sao mb-40 mt-40\" @click=\"chuangjianFun()\" block>创建家庭</tm-button>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"active==3\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<view class=\"fl zuo\" style=\"width:70px;\">\r\n\t\t\t\t\t\t\t<view class=\"flex-center flex-col\" style=\"position: relative;width: 70px;height: 70px;\" v-for=\"(item,index) in reqData.role\">\r\n\t\t\t\t\t\t\t\t<image @click=\"qiehuanren(index)\" block v-if=\"index==0\" mode=\"widthFix\" src=\"/static/img/53.png\"></image>\r\n\t\t\t\t\t\t\t\t<image @click=\"qiehuanren(index)\" block v-else mode=\"widthFix\" src=\"/static/img/61.png\"></image>\r\n\t\t\t\t\t\t\t\t<image src=\"/static/icon/error.png\" class=\"error\" @click=\"shanchu(item.timestamp)\" v-if=\"(show==index && index !=0)\"></image>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"flex-center flex-col\" style=\"position: relative;margin-top: 40px;\" v-if=\"reqData.role.length<4\">\r\n\t\t\t\t\t\t\t\t<image block mode=\"widthFix\" src=\"/static/img/54.png\" @click=\"add()\"></image>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"fr you black mt-30\" style=\"width: calc(100% - 100px);\" v-for=\"(item1,index1) in reqData.role\" v-if=\"show==index1\">\r\n\t\t\t\t\t\t\t<tm-input :required=\"true\" title=\"用户名\" v-model=\"item1.username\" placeholder=\"你想叫自己什么\" align=\"right\"></tm-input>\r\n\t\t\t\t\t\t\t<tm-input :required=\"true\" title=\"身高(cm)\" v-model=\"item1.height\" align=\"right\"></tm-input>\r\n\t\t\t\t\t\t\t<tm-input :required=\"true\" title=\"体重(kg)\" v-model=\"item1.weight\" align=\"right\"></tm-input>\r\n\t\t\t\t\t\t\t<tm-pickers class=\"tan\" :default-value.sync=\"item1.body_arr\" rang-key=\"title\" :list=\"chelianglis\">\r\n\t\t\t\t\t\t\t\t<tm-input name=\"shencai\" title=\"身材\" placeholder=\"请选择身材\" disabled :value=\"obTstr2(item1.body_arr)\" right-icon=\"icon-angle-right\"></tm-input>\r\n\t\t\t\t\t\t\t</tm-pickers>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"clear: both;\"></view>\r\n\t\t\t\t\t<tm-button :round=\"24\" class=\"sao mb-40\" style=\"margin-top: 50px;\" @click=\"tijiao()\" block>下一步</tm-button>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"active==4\">\r\n\t\t\t\t\t<tm-translate ref=\"a_1\" :auto=\"true\" animation-name=\"zoomIn\">\r\n\t\t\t\t\t\t<image block class=\"nicheng\" mode=\"widthFix\" src=\"/static/img/52.png\"></image>\r\n\t\t\t\t\t</tm-translate>\r\n\t\t\t\t\t<view class=\"text-align-center mt-20\">\r\n\t\t\t\t\t\t<text class=\"text-size-m text-white\">家庭创建成功!</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"text-align-center mb-40\">\r\n\t\t\t\t\t\t<text class=\"text-size-m\">衣柜和手机关联成功</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"px-24\">\r\n\t\t\t\t\t\t<tm-button theme=\"primary\" @click=\"quyifu()\" :round=\"24\" block class=\"mt-50 logincla\">添加衣服</tm-button>\r\n\t\t\t\t\t\t<tm-button @click=\"quindex()\" theme=\"primary\" :round=\"24\" block class=\"mt-30 quindex\">进入衣橱</tm-button>\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-dialog @confirm=\"querentm\" :inputVala=\"inputVala\" confirmText=\"确定\" :showCancel=\"false\" model=\"confirm\" v-model=\"show3\" content=\"请确认条码内容是否正确\" theme=\"split\"></tm-dialog>\r\n\t\t</div>\r\n\t\t<!-- 弹出层消息 -->\r\n\t\t<tm-message ref=\"toast\"></tm-message>\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\tshow3:false,\r\n\t\t\tinputVala:'',\r\n\t\t\tshencaiList:[\r\n\t\t\t\t{title:\"梨形\",id:21},\r\n\t\t\t\t{title:\"标准\",id:31},\r\n\t\t\t\t{title:\"胖子\",id:41},\r\n\t\t\t\t{title:\"瘦子\",id:51},\r\n\t\t\t\t{title:\"模特\",id:61},\r\n\t\t\t],\r\n\t\t\tactive:1,\r\n\t\t\tchelianglis:[\r\n\t\t\t\t{title:\"标准\",id:1},\r\n\t\t\t\t{title:\"偏瘦\",id:2},\r\n\t\t\t\t{title:\"偏胖\",id:3},\r\n\t\t\t\t{title:\"梨形\",id:4}\r\n\t\t\t],\r\n\t\t\tshow:0,\r\n\t\t\treqData:{\r\n\t\t\t\twardrode_no:'6943819164690',\r\n\t\t\t\tfamilyname:'',\r\n\t\t\t\trole:[{\r\n\t\t\t\t\tusername:'',\r\n\t\t\t\t\tweight:'',\r\n\t\t\t\t\theight:'',\r\n\t\t\t\t\tbody_type:'',\r\n\t\t\t\t\tbody_arr:[]\r\n\t\t\t\t}]\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t};\r\n\t},\r\n\tonLoad() {\r\n\t\t\r\n\t},\r\n\tcreated() {\r\n\t\tthis.sys = uni.getSystemInfoSync();\r\n\t},\r\n\tmethods: {\r\n\t\tqiehuanren(index){\r\n\t\t\tthis.show=index;\r\n\t\t},\r\n\t\tquyifu(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/luru/index\",\r\n\t\t\t})\r\n\t\t},\r\n\t\tquindex(){\r\n\t\t\tuni.setStorageSync(\"shuaxin\", 1); //赋值\r\n\t\t\tuni.switchTab({\r\n\t\t\t\turl: \"/pages/wardrobe/index\",\r\n\t\t\t\tsuccess: function (e) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t// var page = getCurrentPages()[0]\r\n\t\t\t\t\t// console.log(page)\r\n\t\t\t\t\t// if (page == undefined || page == null) return;\r\n\t\t\t\t\t// page.created(); \r\n\t\t\t\t }\r\n\t\t\t})\r\n\t\t},\r\n\t\ttijiao(){\r\n\t\t\tvar that=this;\r\n\t\t\tvar arr=this.reqData.role;\r\n\t\t\tfor(let i=0;i<arr.length;i++){\r\n\t\t\t\tif(arr[i].username==\"\"){\r\n\t\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请将数据填写完整'})\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}if(arr[i].weight==\"\"){\r\n\t\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请将数据填写完整'})\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}if(arr[i].height==\"\"){\r\n\t\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请将数据填写完整'})\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif(arr[i].body_arr.length !=0){\r\n\t\t\t\t\tarr[i].body_type=arr[i].body_arr[0].data.id;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Family/addFamilyMember\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:that.reqData\r\n\t\t\t}).then(res => {\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tuni.setStorageSync(\"family_id\",res.data.data.family_id)\r\n\t\t\t\t\tthat.$refs.toast.show({model:'success',label:res.data.msg})\r\n\t\t\t\t\tthat.active=4;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.$refs.toast.show({model:'error',label:res.data.msg})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\r\n\t\t},\r\n\t\tadd(){\r\n\t\t\tvar timestamp = Date.parse(new Date());\r\n\t\t\tvar obj={\r\n\t\t\t\tusername:'',\r\n\t\t\t\tweight:'',\r\n\t\t\t\theight:'',\r\n\t\t\t\tbody_type:'',\r\n\t\t\t\tbody_arr:[],\r\n\t\t\t\ttimestamp:timestamp\r\n\t\t\t}\r\n\t\t\tthis.reqData.role.push(obj);\r\n\t\t\tthis.show=this.reqData.role.length-1;\r\n\t\t},\r\n\t\tshanchu(timestamp){\r\n\t\t\tvar index = this.reqData.role.findIndex((item) => {\r\n\t\t\t return item.timestamp == timestamp;\r\n\t\t\t});\r\n\t\t\tthis.reqData.role.splice(index, 1);\r\n\t\t\tthis.show=this.reqData.role.length-1;\r\n\t\t},\r\n\t\tobTstr2(o){\r\n\t\t\tif(Array.isArray(o)){\r\n\t\t\t\tif(o.length.length===0) return \"\";\r\n\t\t\t\tvar name=o[0]?o[0].data.title:'';\r\n\t\t\t\treturn name\r\n\t\t\t}\r\n\t\t\treturn ''\r\n\t\t},\r\n\t\tquerentm(e){\r\n\t\t\tthis.reqData.wardrode_no=e;\r\n\t\t\tthis.active=2;\r\n\t\t},\r\n\t\tsaoma(){\r\n\t\t\tvar that=this;\r\n\t\t\tuni.scanCode({\r\n\t\t\t\tscanType: ['barCode'],\r\n\t\t\t\tsuccess: function (res) {\r\n\t\t\t\t\tconsole.log('条码类型:' + res.scanType);\r\n\t\t\t\t\tconsole.log('条码内容:' + res.result);\r\n\t\t\t\t\tthat.inputVala=res.result;\r\n\t\t\t\t\tthat.show3=true;\r\n\t\t\t\t},\r\n\t\t\t\terror : function(e) {\r\n\t\t\t\t\talert(\"网络异常,请重试\");\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tchuangjianFun(){\r\n\t\t\tvar that=this;\r\n\t\t\tif(that.reqData.familyname==\"\"){\r\n\t\t\t\tthat.$refs.toast.show({model:'warn',label:'请输入家庭名称'})\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tthat.active=3;\r\n\t\t}\r\n\t},\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.zhanshi{\r\n\t\twidth: 100%;\r\n\t\tmargin: 0 auto;\r\n\t\tmargin-top: 10px;\r\n\t\tmargin-bottom: 40px;\r\n\t}\r\n\t/deep/ .tm-menubars .body{\r\n\t\tbackground-color: #1b1b1b !important;\r\n\t}\r\n\t/deep/ .kuang{margin:0 !important;padding: 14px !important;margin-bottom: 40px !important;}\r\n\t/deep/ .kuang uni-button{background-color: #303440 !important;}\r\n\t.jindu{width: 90%;margin: 0 auto;display: block;}\r\n\t.wenzi{width: 94%;margin: 0 auto;}\r\n\t.nicheng{width: 130px;height:132px;display: block;margin:0 auto;margin-top: 50px;}\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.shuru{border:1px solid #303030;border-radius: 10px;}\r\n\t/deep/ .shuru .text-primary.bk{color:#303030 !important;}\r\n\t/deep/ .shuru .border-grey-darken-4-b-1{border-bottom:none !important;}\r\n\t.zuo image{width:60px;display: block;position: absolute}\r\n\t.you{border:1px solid #303030;border-radius: 10px;padding:10px;height: 300px;}\r\n\t/deep/ .you .grey-darken-5{\r\n\t\tbackground-color: #0d0d0d!important;\r\n\t\tpadding: 0px !important;\r\n\t}\r\n\t/deep/ .you .text-red{color: white;}\r\n\t/deep/ .tan .active{background-color: #AAAAAA !important;}\r\n\t/deep/ .tan .tm-poups .grey-darken-5{background-color: gray !important;}\r\n\t/deep/ .tan uni-input{text-align: right;}\r\n\t/deep/ .you .border-grey-darken-4-b-1 {\r\n\t border-bottom: solid 1px #313131 !important;\r\n\t}\r\n\t/deep/ .tm--badges{position: absolute;top: 0px !important;right:6px;width: 18px;height: 18px;}\r\n\t.logincla{margin-top: 100px;}\r\n\t/deep/ .quindex uni-button{background-color: #0A84FF !important;}\r\n\t.error{height:18px !important;width: 18px !important;right: 3px !important;top:6px !important}\r\n\t\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 // 1678780469649\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":""}