1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/yzm/worknew/wardrobe/pages/genghuan/index.vue?cf22","webpack:///D:/yzm/worknew/wardrobe/pages/genghuan/index.vue?d552","webpack:///D:/yzm/worknew/wardrobe/pages/genghuan/index.vue?bece","webpack:///D:/yzm/worknew/wardrobe/pages/genghuan/index.vue?ccec","uni-app:///pages/genghuan/index.vue","webpack:///D:/yzm/worknew/wardrobe/pages/genghuan/index.vue?a4af","webpack:///D:/yzm/worknew/wardrobe/pages/genghuan/index.vue?2b46"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,gG,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,yQAEN;AACP,KAAK;AACL;AACA,aAAa,+NAEN;AACP,KAAK;AACL;AACA,aAAa,mNAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;AACP,KAAK;AACL;AACA,aAAa,qRAEN;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;;;;;;;;;;;;;;AC7EA;AAAA;AAAA;AAAA;AAAmvB,CAAgB,gwBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+DvwB,+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA,EACA,IADA,kBACA,CACA,SACA,WADA,EAEA,QAFA,EAGA,cAHA,EAIA,QAJA,EAKA,SALA,EAMA,UANA,EAOA,cAPA,EAQA,WARA,EASA,WATA,EAUA,OAVA,EAWA,QAXA,EAYA,QAZA,EAaA,OAbA,EAcA,WAdA,EAeA,WAfA,EAgBA,aAhBA,EAiBA,aAjBA,EAkBA,aAlBA,EAmBA,OAnBA,EAoBA,UApBA,GAsBA,CAxBA,EAyBA,MAzBA,kBAyBA,CAzBA,EAyBA,CACA,6CADA,CACA;AACA,+BAFA,CAEA;AACA,qCAHA,CAGA;AACA,GA7BA,EA8BA,OA9BA,qBA8BA,CACA,mCACA,mBACA,oBACA,CAlCA,EAmCA,WACA,MADA,oBACA,kBACA,gBACA,yBACA,0DACA,OACA,CACA,0CANA,CAOA;AACA;AACA;AACA;AACA;AACA,kCACA,8CACA,2CACA,wDACA,8CACA,yCACA,8BAHA,CAGA;AACA,uDAJA,CAIA;AACA,sCACA,mBACA,QADA,EAEA,6BACA,yBACA,CAJA,IAMA,qBAZA,gDAaA,CACA,CACA,OACA,CACA,0BACA,qCADA,EAEA,cAFA,EAGA,iCAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA,WAFA,EAEA,IAFA;AAGA;AACA,SALA,MAKA;AACA;AACA;AACA,OAbA;AAcA,KA/CA;AAgDA,aAhDA,qBAgDA,CAhDA,EAgDA;AACA;AACA;AACA,KAnDA;AAoDA,UApDA,oBAoDA;AACA;AACA;AACA;AACA,qCADA;AAEA,sBAFA;AAGA,8BAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SATA,MASA;AACA;AACA;AACA,OAjBA;AAkBA,KAzEA;AA0EA,WA1EA,qBA0EA;AACA;AACA;AACA;AACA;AACA,KA/EA;AAgFA,SAhFA,mBAgFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAtGA;AAuGA,WAvGA,qBAuGA;AACA;AACA,oCADA;;AAGA,KA3GA;AA4GA,eA5GA,yBA4GA;AACA;AACA;AACA,iCADA;AAEA,sBAFA;AAGA,gBAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SARA,MAQA;AACA;AACA;AACA;AACA,OAjBA;AAkBA,KAhIA;AAiIA,WAjIA,qBAiIA;AACA;AACA;AACA,4CADA;AAEA,sBAFA;AAGA,2GAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAVA,MAUA;AACA;AACA;AACA,OAlBA;AAmBA,KAtJA;AAuJA,mBAvJA,6BAuJA;AACA;AACA;AACA;AACA,KA3JA;AA4JA,gBA5JA,0BA4JA;AACA;AACA;AACA,8CADA;AAEA,sBAFA;AAGA,4DAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAZA,MAYA;AACA;AACA;AACA,SAhBA,MAgBA;AACA;AACA;AACA,OAxBA;AAyBA,KAvLA;AAwLA,QAxLA,gBAwLA,KAxLA,EAwLA;AACA;AACA,KA1LA;AA2LA,cA3LA,wBA2LA;AACA;AACA,mCADA;;AAGA,KA/LA;AAgMA,WAhMA,qBAgMA;AACA;AACA;AACA;AACA,mCADA;AAEA,wBAFA;AAGA,oBAHA;AAIA,oBAJA;;AAMA;AACA;AACA,KA3MA;AA4MA,QA5MA,kBA4MA;AACA;AACA,sCADA;;AAGA,KAhNA;AAiNA,UAjNA,oBAiNA;AACA;AACA,KAnNA,EAnCA,E;;;;;;;;;;;;;AChEA;AAAA;AAAA;AAAA;AAAk5C,CAAgB,m2CAAG,EAAC,C;;;;;;;;;;;ACAt6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/genghuan/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/genghuan/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=7f00358d&\"\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/genghuan/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=7f00358d&\"","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 tmTabs: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-tabs/tm-tabs\" */ \"@/tm-vuetify/components/tm-tabs/tm-tabs.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 tmPoup: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-poup/tm-poup\" */ \"@/tm-vuetify/components/tm-poup/tm-poup.vue\"\n )\n },\n tmSwiper: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-swiper/tm-swiper\" */ \"@/tm-vuetify/components/tm-swiper/tm-swiper.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 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 }\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' }\" :class=\"[$tm.vx.state().tmVuetify.black ? 'black' : ' ']\">\r\n\t\t<tm-menubars title=\"衣柜\" :shadow=\"0\" :showback=\"true\"></tm-menubars>\r\n\t\t<view class=\"C1b1b1b\">\r\n\t\t\t<view class=\"dingwei ml-20\" v-if=\"itemuser!=0\">\r\n\t\t\t\t<image class=\"touxiang\" style=\"vertical-align: middle;\" src=\"/static/img/41.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t<text style=\"vertical-align: middle;\" class=\"text-size-m mr-20\">{{itemuser.username}}的衣橱</text>\r\n\t\t\t\t<!-- <image @click=\"qiehuanFun\" style=\"vertical-align: middle;\" src=\"/static/img/42.png\" mode=\"widthFix\"></image> -->\r\n\t\t\t\t<!-- <text @click=\"qiehuanFun\" style=\"vertical-align: middle;\" class=\"text-size-m\">切换</text> -->\r\n\t\t\t</view>\r\n\t\t\t<view class=\"dingwei\" v-if=\"itemuser==0\">\r\n\t\t\t\t<text style=\"vertical-align: middle;\" class=\"text-size-m mr-20\">暂无家庭成员去添加</text>\r\n\t\t\t\t<image @click=\"tianjia\" style=\"vertical-align: middle;\" src=\"/static/img/42.png\" mode=\"widthFix\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 推荐 -->\r\n\t\t<view class=\"zhuti\">\r\n\t\t\t<!-- 衣橱 -->\r\n\t\t\t<tm-sheet class=\"yichu\" style=\"margin-bottom: 70px !important;\">\r\n\t\t\t\t<tm-tabs class=\"C1b1b1b qiehuan\" @change=\"fenleichangeFun\" color=\"white\" align=\"left\" v-model=\"activeIndex\" :list=\"list\" range-key=\"title\"></tm-tabs>\r\n\t\t\t\t<view style=\"position: relative;\" class=\"yiguicla black pa-6 ma-4 fl\" :class=\"itemoff==index?'C0178FD':''\" v-for=\"(item,index) in quanbuList\" @click=\"yifu(index)\">\r\n\t\t\t\t\t<image :src=\"item.image\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<view class=\"text-align-center text-size-m mt-8\">{{item.brand}}</view>\r\n\t\t\t\t\t<view :class=\"item.is_have==0?'text-gray':''\" class=\"text-align-center text-size-m mt-6 mb-6\">{{item.goods_name}}</view>\r\n\t\t\t\t\t<view v-if=\"item.is_have==0\" class=\"hui\"></view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"clear: both;\"></view>\r\n\t\t\t\t<view v-if=\"quanbuList.length<total\" class=\"more ma-30 pt-40\" @click=\"gengmore()\">\r\n\t\t\t\t\t<image src=\"/static/img/30.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text class=\"text-size-s\">下拉加载更多~</text>\r\n\t\t\t\t</view>\r\n\t\t\t</tm-sheet>\r\n\t\t\t<view class=\"\">\r\n\t\t\t\t<!-- <tm-button @click=\"quxiao1\" :round=\"24\" class=\"fl\" theme=\"gray\" size=\"n\">取消</tm-button> -->\r\n\t\t\t\t<!-- <tm-button :round=\"24\" @click=\"shanchu\" class=\"fl\" theme=\"red\" size=\"n\">删除</tm-button> -->\r\n\t\t\t\t<!-- <tm-button :round=\"24\" @click=\"chuku\" class=\"fl\" theme=\"primary\" size=\"n\">出库</tm-button> -->\r\n\t\t\t\t<tm-button :round=\"24\" @click=\"baocun\" theme=\"primary\" size=\"n\">确定</tm-button>\r\n\t\t\t</view>\r\n\t\t\t<tm-poup v-model=\"show_1\" :position=\"pos\" class=\"tcc\">\r\n\t\t\t\t<view style=\"position: relative !important;\" v-if=\"chukudata.length !=0\">\r\n\t\t\t\t\t<view style=\"height: 10px;\"></view>\r\n\t\t\t\t\t<tm-swiper @change=\"qiehuanLb\" :current=\"current\" :indicator-dots=\"false\" :round=\"6\" :ani3d=\"190\" :autoplay=\"false\" :list=\"list1\"></tm-swiper>\r\n\t\t\t\t\t<view class=\"text-white text-align-center mt-15\">{{chukudata[current].brand}}{{chukudata[current].color}}{{chukudata[current].goods_name}}</view>\r\n\t\t\t\t\t<view class=\"text-white text-align-center mt-10 text-size-s\">{{chukudata[current].description}}</view>\r\n\t\t\t\t\t<image class=\"guayi\" :src=\"chukudata[current].ygimage\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<view class=\"text-white text-align-center mt-15\">衣物位于 {{chukudata[current].ygposition}} {{chukudata[current].is_have}}号衣柜</view>\r\n\t\t\t\t\t<view class=\"text-white text-align-center mt-15\">\r\n\t\t\t\t\t\t<image class=\"aniOn deng\" src=\"/static/img/101.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<text style=\"vertical-align: middle;\">指示灯已亮,请取出衣柜</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"anniu\">\r\n\t\t\t\t\t\t<tm-button @click=\"quxiao()\" theme=\"gray\" size=\"n\">关闭弹框</tm-button>\r\n\t\t\t\t\t\t<tm-button @click=\"chuFun()\" class=\"fr\" theme=\"primary\" size=\"n\">取消出库</tm-button>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</tm-poup>\r\n\t\t\t<!-- 弹出层消息 -->\r\n\t\t\t<tm-message ref=\"toast\"></tm-message>\r\n\t\t\t<tm-dialog v-model=\"show\" :content=\"content\" @confirm=\"queren\"></tm-dialog>\r\n\t\t</view>\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\titemuser:0,\r\n\t\t\tsoso:'',\r\n\t\t\tactiveIndex:0,\r\n\t\t\tlist:[],\r\n\t\t\tlist1:[],\r\n\t\t\tlistlx:[],\r\n\t\t\tquanbuList:[],\r\n\t\t\titemoff:-1,\r\n\t\t\tpagesize:6,\r\n\t\t\tpage:1,\r\n\t\t\ttotal:0,\r\n\t\t\tcount:0,\r\n\t\t\thave:0,\r\n\t\t\tshow:false,\r\n\t\t\tcontent:'',\r\n\t\t\tshow_1:false,\r\n\t\t\tpos:'center',\r\n\t\t\tchukudata:[],\r\n\t\t\tids:[],\r\n\t\t\tcurrent:0\r\n\t\t};\r\n\t},\r\n\tonLoad(e) {\r\n\t\tthis.goods_id=e.goods_id?e.goods_id:'';//是自己的\r\n\t\tthis.id=e.id?e.id:'';//是自己的\r\n\t\tthis.type=e.type?e.type:\"\";//是自己的\r\n\t},\r\n\tcreated() {\r\n\t\tthis.sys = uni.getSystemInfoSync();\r\n\t\tthis.getfenltext()\r\n\t\tthis.fenleichange();\r\n\t},\r\n\tmethods: {\r\n\t\tbaocun(){\r\n\t\t\tvar that=this;\r\n\t\t\tif(this.itemoff==-1){\r\n\t\t\t\tthat.$refs.toast.show({model:'error',label:'请选择衣物'})\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tvar id=this.quanbuList[this.itemoff].id;\r\n\t\t\t// if(that.id==id){\r\n\t\t\t// \tuni.navigateBack();\r\n\t\t\t// \tthat.$refs.toast.show({model:'success',label:'修改成功'})\r\n\t\t\t// \treturn\r\n\t\t\t// }\r\n\t\t\tif(this.type==\"tihuan\"){\r\n\t\t\t\tvar datalist=uni.getStorageSync(\"datalist\");\r\n\t\t\t\tfor(let i=0;i<datalist.length;i++){\r\n\t\t\t\t\tif(datalist[i].id==this.id){\r\n\t\t\t\t\t\tdatalist[i]=this.quanbuList[this.itemoff];\r\n\t\t\t\t\t\tuni.setStorageSync(\"datalist\",datalist)\r\n\t\t\t\t\t\tlet pages = getCurrentPages(); // 当前页面\r\n\t\t\t\t\t\tlet beforePage = pages[pages.length - 2]; // 前一个页面\r\n\t\t\t\t\t\tconsole.log(beforePage)\r\n\t\t\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\t\tdelta: 1,\r\n\t\t\t\t\t\t\tsuccess: function() {\r\n\t\t\t\t\t\t\t\tbeforePage.$vm.huancun()\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Collocation/changeClothes\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:{y_id:that.id,g_id:id}\r\n\t\t\t}).then(res => {\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\tuni.navigateBack();\r\n\t\t\t\t\t},2000)\r\n\t\t\t\t\tthat.$refs.toast.show({model:'success',label:res.data.msg})\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},\r\n\t\tqiehuanLb(e){\r\n\t\t\tvar that=this;\r\n\t\t\tthis.current=e;\r\n\t\t},\r\n\t\tqueren(){\r\n\t\t\tvar that=this;\r\n\t\t\tthis.list1=[]\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Goods/takeClothes\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:{id:that.ids}\r\n\t\t\t}).then(res => {\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tthat.show_1=true;\r\n\t\t\t\t\tthat.chukudata=res.data.data.goodInfo;\r\n\t\t\t\t\tfor(let i=0;i<res.data.data.goodInfo.length;i++){\r\n\t\t\t\t\t\tthat.list1.push(res.data.data.goodInfo[i].image)\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthat.qiu_id=res.data.data.qiu_id;\r\n\t\t\t\t\tthat.$refs.toast.show({model:'success',label:'出库成功'})\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},\r\n\t\tquxiao1(){\r\n\t\t\tfor(let i=0;i<this.quanbuList.length;i++){\r\n\t\t\t\tthis.quanbuList[i].off=false;\r\n\t\t\t\tthis.$forceUpdate()\r\n\t\t\t}\r\n\t\t},\r\n\t\tchuku(){\r\n\t\t\tvar id=[],a=0;\r\n\t\t\tvar that=this;\r\n\t\t\tif(this.quanbuList.length==0){\r\n\t\t\t\tthat.$refs.toast.show({model:'error',label:'请选择衣物'})\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tfor(let i=0;i<this.quanbuList.length;i++){\r\n\t\t\t\tif(this.quanbuList[i].off){\r\n\t\t\t\t\ta=a+1;\r\n\t\t\t\t\tif(this.quanbuList[i].off && this.quanbuList[i].is_have !=0){\r\n\t\t\t\t\t\tid.push(this.quanbuList[i].id)\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(id.length==0){\r\n\t\t\t\tthat.$refs.toast.show({model:'error',label:'请选择在库衣物'})\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\tthis.content=\"有\"+(a-id.length)+\"衣物已经出库,在库衣物将添加至出库清单\"\r\n\t\t\tthis.ids=id;\r\n\t\t\tthis.show=true;\r\n\t\t},\r\n\t\tsosoFun(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/shopsoso/index\",\r\n\t\t\t})\r\n\t\t},\r\n\t\tgetfenltext(){\r\n\t\t\tvar that=this;\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Category/list\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:{}\r\n\t\t\t}).then(res => {\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tif(res.data.data.length != 0){\r\n\t\t\t\t\t\tthat.list=['全部'];\r\n\t\t\t\t\t\tfor(let i=0;i<res.data.data.length;i++){\r\n\t\t\t\t\t\t\tthat.list.push(res.data.data[i].category_name)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthat.listlx=res.data.data;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.list=[];\r\n\t\t\t\t\tthat.listlx=[];\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tgetList(){\r\n\t\t\tvar that=this;\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Goods/classificationData\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:{role_id:that.itemuser.id,id:that.activeIndex,page:that.page,pagesize:that.pagesize}\r\n\t\t\t}).then(res => {\r\n\t\t\t\tif (res.data.code == 200) {\r\n\t\t\t\t\tif(res.data.data.length != 0){\r\n\t\t\t\t\t\tthat.quanbuList=that.quanbuList.concat(res.data.data.data);\r\n\t\t\t\t\t\tfor(let i=0;i<that.quanbuList.length;i++){\r\n\t\t\t\t\t\t\tthat.quanbuList[i].off=false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthat.total=res.data.data.total;\r\n\t\t\t\t\t\tthat.count=res.data.data.count;\r\n\t\t\t\t\t\tthat.have=res.data.data.have;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.quanbuList=[];\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tfenleichangeFun(){\r\n\t\t\tthis.page=1;\r\n\t\t\tthis.quanbuList=[]\r\n\t\t\tthis.getList()\r\n\t\t},\r\n\t\tfenleichange(){\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\tif(res.data.data.length != 0){\r\n\t\t\t\t\t\tvar wu=0;\r\n\t\t\t\t\t\tfor(let i=0;i<res.data.data.length;i++){\r\n\t\t\t\t\t\t\tif(res.data.data[i].checked==1){\r\n\t\t\t\t\t\t\t\twu=1;\r\n\t\t\t\t\t\t\t\tthat.itemuser=res.data.data[i];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(wu==0){\r\n\t\t\t\t\t\t\tthat.itemuser=res.data.data[0];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthat.getList();\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthat.itemuser=0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.itemuser=0;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tyifu(index){\r\n\t\t\tthis.itemoff=index;\r\n\t\t},\r\n\t\tqiehuanFun(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/qiehuan/index\",\r\n\t\t\t})\r\n\t\t},\r\n\t\trandouh(){\r\n\t\t\tlet list2 = [],that=this;\r\n\t\t\tfor(let i=0;i<6;i++){\r\n\t\t\t\tlist2.push({\r\n\t\t\t\t\tsrc:'/static/img/47.png',\r\n\t\t\t\t\ttext:'大号版型夹克',\r\n\t\t\t\t\ttype:'新品',\r\n\t\t\t\t\toff:false\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\tthis.quanbuList=this.quanbuList.concat(list2)\r\n\t\t},\r\n\t\truku(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/putstorage/index\",\r\n\t\t\t})\r\n\t\t},\r\n\t\tquxiao(){\r\n\t\t\tthis.show_1=false;\r\n\t\t},\r\n\t},\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/deep/ uni-scroll-view{\r\n\t\theight: auto !important;\r\n\t}\r\n\t/deep/ .tm-menubars .body{\r\n\t\tbackground-color: #1b1b1b !important;\r\n\t}\r\n\t.shangright{\r\n\t\tpadding: 10px;\r\n\t}\r\n\t// \r\n\t.xiangji image{\r\n\t\twidth: 30px;\r\n\t\theight: 22px;\r\n\t}\r\n\t.suosou image{\r\n\t\twidth: 40px;\r\n\t}\r\n\t/deep/ .icon-search{\r\n\t\tfont-size: 23px !important;\r\n\t\tcolor: #8E8E93 !important;\r\n\t}\r\n\t/deep/ .tm-search{\r\n\t\twidth: 94%;\r\n\t\tmargin: 0 auto;\r\n\t\tbackground-color: #414141 !important;\r\n\t\tborder-radius: 10px;\r\n\t}\r\n\t/deep/ .tm-search .grey-darken-5{\r\n\t\tbackground-color: #414141 !important;\r\n\t}\r\n\t.dingwei{padding-bottom: 20px;}\r\n\t.dingwei image{width: 25px;margin-right: 10px;\t}\r\n\t.dingwei .touxiang{width: 50px;margin-right: 3px;\t}\r\n\t/deep/ .lunbo1{margin:0 !important;padding: 4px !important;margin-top: 5px !important;width: 46.6% !important;}\r\n\t.tuijiantp{width: 100%;}\r\n\t.tuijiantp image{width: 97% !important;}\r\n\t.yichu{margin:0 !important;padding: 4px !important;margin-top: 10px !important;}\r\n\t/deep/ .qiehuan .text-white{\r\n\t\tfont-size: 14px;\r\n\t\tbackground: #303440;\r\n\t\theight: 28px;\r\n\t\tvertical-align: middle;\r\n\t\tline-height: 28px;\r\n\t\tborder-radius: 20px;\r\n\t\tpadding-left: 14px;\r\n\t\tpadding-right: 14px;\r\n\t\tmargin-top: 17%;\r\n\t}\r\n\t/deep/ .qiehuan .tm-tabs-con-item-border{display: none;}\r\n\t.yiguicla image{width: 95%;display: block;margin: 0 auto;margin-top: 5px;}\r\n\t.yiguicla{width: 30%;border-radius: 10px;}\r\n\t.more{text-align: center;}\r\n\t.more image{margin-right: 10px;vertical-align: middle;width: 30px;}\r\n\t.fudong{position:fixed;right:10px;bottom:150px;background: #303030;width: 130px;height: 60px;\r\n\tborder-radius: 30px 0px 0px 30px;font-size: 14px;text-align: center;}\r\n\t.fudimg{width: 60px;height:60px}\r\n\t// .anniu{width: 100%;margin: 0 auto;padding-bottom: 30px;text-align: center;}\r\n\t// /deep/ .tm-button .tm-button-btn uni-button{min-width: 77px !important;}\r\n\t/deep/ .tm-button .red{color: white !important;}\r\n\t\r\n\t/deep/ .tcc .tm-poup-wk{width: 90% !important;position:relative;height: 580px !important;}\r\n\t/deep/ .tcc .uni-swiper-slides{width: 100%;}\r\n\t/deep/ .tcc uni-swiper{width: 100% !important;}\r\n\t/deep/ .uni-swiper-slides{width: 160px !important;}\r\n\t/deep/ .tcc uni-image{width: 160px !important;}\r\n\t.tcc .guayi{width: 70% !important;display: block;margin:0 auto;margin-top:15px !important;}\r\n\t.tcc .deng{width:25px !important;height:25px !important;vertical-align: middle;margin-right:8px;}\r\n\t.aniOn{\r\n\t\tanimation:doudong 0.5s linear infinite;\r\n\t\tbackground:linear-gradient();\r\n\t\tbackground: -webkit-linear-gradient();\r\n\t}\r\n\t@keyframes doudong {\r\n\t\t0%{\r\n\t\t\ttransform: rotate(-2deg) translateX(2rpx) translateY(2rpx);\r\n\t\t}\r\n\t\t25%{\r\n\t\t\ttransform: rotate(0deg) translateX(-2rpx) translateY(-2rpx);\r\n\t\t}\r\n\t\t50%{\r\n\t\t\ttransform: rotate(0deg) translateX(0rpx) translateY(-2rpx);\r\n\t\t}\r\n\t\t75%{\r\n\t\t\ttransform: rotate(0deg) translateX(0rpx) translateY(2rpx);\r\n\t\t}\r\n\t\t100%{\r\n\t\t\ttransform: rotate(-2deg) translateX(2rpx) translateY(2rpx);\r\n\t\t}\r\n\t}\r\n\t/deep/ .tcc .anniu .gray.bk{color: white !important;}\r\n\t// .tcc .anniu{width: 88%;margin: 0 auto;margin-top: 20px;}\r\n\t/deep/ .tm-button{width: 80%;margin: 0 auto;margin-top: 20px;display: block;}\r\n\t/deep/ .tm-button-btn{width: 100% !important;}\r\n\t/deep/ .hui{position: absolute;background: rgba(0,0,0,0.4);z-index: 1;top: 0;left: 0;width: 100%;height: 100%;}\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 // 1678780469633\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":""}
|