1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/yzm/worknew/wardrobe/pages/dapei/index.vue?d3d5","webpack:///D:/yzm/worknew/wardrobe/pages/dapei/index.vue?8938","webpack:///D:/yzm/worknew/wardrobe/pages/dapei/index.vue?0a35","webpack:///D:/yzm/worknew/wardrobe/pages/dapei/index.vue?462b","uni-app:///pages/dapei/index.vue","webpack:///D:/yzm/worknew/wardrobe/pages/dapei/index.vue?f886","webpack:///D:/yzm/worknew/wardrobe/pages/dapei/index.vue?c4c2"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,4F,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,yQAEN;AACP,KAAK;AACL;AACA,aAAa,yNAEN;AACP,KAAK;AACL;AACA,aAAa,yNAEN;AACP,KAAK;AACL;AACA,aAAa,+NAEN;AACP,KAAK;AACL;AACA,aAAa,2RAEN;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;;;;;;;;;;;;;;ACnEA;AAAA;AAAA;AAAA;AAAmvB,CAAgB,gwBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgFvwB;AACA,0G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CACA,0CADA,I,eAGA,EACA,IADA,kBACA,CACA,SACA,cADA,EAEA,cAFA,EAGA,eAHA,EAIA,cAJA,EAKA,eALA,EAMA,UANA,EAOA,aAPA,EAQA,cARA,EASA,cATA,EAUA,OAVA,EAWA,QAXA,EAYA,YAZA,EAaA,UAbA,GAeA,CAjBA,EAkBA,MAlBA,kBAkBA,CAlBA,EAkBA,CAEA,CApBA,EAqBA,MArBA,oBAqBA,CACA,cACA,aACA,cACA,eACA,CA1BA,EA2BA,OA3BA,qBA2BA,CACA,mCACA,iBAEA,CA/BA,EAgCA,WACA,OADA,qBACA,kBACA,gBACA,kBACA,aADA,EAEA,aAFA,EAGA,gCACA,8BACA,gCACA,CANA,EAOA,uBACA,CARA,EASA,+BACA;AACA,oCACA,YACA,wBADA,EAEA,0BAFA,EADA,EAKA,gCACA;AACA,yDAFA,CAGA;AACA,iDAJA,CAKA;AACA,yDACA,iBACA,CAbA,EAcA,0BACA;AACA;AACA;AACA;AACA;AACA,aApBA,EAqBA,kCACA,CAtBA,IAwBA,CAnCA,IAqCA,CAxCA,EAyCA,OAzCA,qBAyCA,CACA,sBACA,cACA,aACA,cACA,CA9CA,EA+CA,MA/CA,kBA+CA,CA/CA,EA+CA,CACA,cACA,gBACA,CAlDA,EAmDA,MAnDA,oBAmDA,CACA;AACA;AACA;AACA,2CADA;AAEA,sBAFA;AAGA,gBAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA,WAHA,MAGA;AACA;AACA;AACA;AACA,eAFA,MAEA;AACA;AACA;AACA;AACA;AACA,eAFA,MAEA;AACA;AACA;AACA;AACA,WAbA,MAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SA5BA,MA4BA;AACA;AACA;AACA;AACA,OArCA;AAsCA,KA5FA;AA6FA,SA7FA,mBA6FA;AACA;AACA;AACA,oDADA;AAEA,sBAFA;AAGA,gBAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAVA,MAUA;AACA;AACA;AACA,OAlBA;AAmBA,KAlHA;AAmHA,YAnHA,sBAmHA;AACA;AACA;AACA,KAtHA;AAuHA,YAvHA,sBAuHA;AACA;AACA;AACA,kDADA;AAEA,sBAFA;AAGA,6GAHA;AAIA,UAJA,CAIA;AACA;AACA;AACA;AACA;AACA,aAFA,MAEA;AACA;AACA;AACA;AACA,WAPA,MAOA;AACA;AACA;AACA,SAXA,MAWA;AACA;AACA;AACA,OAnBA;AAoBA,KA7IA;AA8IA,aA9IA,uBA8IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sEADA;AAEA,qBAFA;AAGA;AACA,qEADA,EAHA;;AAMA;AACA,yBADA,EANA;;AASA,wBATA;AAUA;AACA;AACA,SAZA;AAaA;AACA;AACA,SAfA;;AAiBA,KA9KA;AA+KA,UA/KA,kBA+KA,IA/KA,EA+KA,IA/KA,EA+KA;AACA;AACA;AACA,sGADA;;AAGA,OAJA,MAIA;AACA;AACA,mDADA;;AAGA;;AAEA,KA1LA;AA2LA,kBA3LA,0BA2LA,IA3LA,EA2LA;AACA;AACA;AACA;AACA,8DADA;;AAGA,OALA,MAKA;AACA;AACA;AACA,mEADA;;AAGA;AACA;AACA;AACA;AACA,KA1MA;AA2MA,SA3MA,mBA2MA;AACA;AACA,gDADA;;;AAIA,KAhNA;AAiNA,YAjNA,sBAiNA;AACA;AACA,mCADA;;AAGA,KArNA,EAhCA,E;;;;;;;;;;;;;ACrFA;AAAA;AAAA;AAAA;AAAk5C,CAAgB,m2CAAG,EAAC,C;;;;;;;;;;;ACAt6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/dapei/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/dapei/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=0f9d8351&\"\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/dapei/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=0f9d8351&\"","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 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 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 tmEmpty: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-empty/tm-empty\" */ \"@/tm-vuetify/components/tm-empty/tm-empty.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 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 _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=\"false\"></tm-menubars>\r\n\t\t<view class=\"C1b1b1b pb-20\">\r\n\t\t\t<tm-tabs align=\"left\" class=\"qiehuan1\" v-model=\"activeIndex\" :list=\"list\" range-key=\"title\"></tm-tabs>\r\n\t\t</view>\r\n\t\t<!-- 天气 -->\r\n\t\t<scroll-view class=\"scroll-view_H\" scroll-x=\"true\">\r\n\t\t\t<view class=\"scroll-view-item_H\" v-if=\"alltouList.length !=0\">\r\n\t\t\t\t<image v-if=\"alltouList[0].data !=0\" class=\"chuanda\" :src=\"alltouList[0].data.makeAppointmentCollocation.image\"></image>\r\n\t\t\t\t<view v-else class=\"chuanda\">\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-white text-size-lg\">{{tianqiList.city}}市</view>\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-size-lg mt-15 text-weight-b\" style=\"color: #FFCC00;\">{{tianqiList.temp}}°C</view>\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-white text-size-lg mt-15\">{{tianqiList.weather}}</view>\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-gray text-size-lg mt-10\">最低{{tianqiList.templow}}°c 最高{{tianqiList.temphigh}}°c</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"mt-20 text-align-center\" v-if=\"tianqiList\">\r\n\t\t\t\t\t<image class=\"taiyang\" src=\"/static/img/106.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">{{tianqiList.templow}}°c~{{tianqiList.temphigh}}°c</text>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">{{tianqiList.week}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"alltouList[0]\" class=\"bianji\" @click=\"bianji(1,alltouList[0].data)\">{{alltouList[0].data !=0?'更换穿搭':'添加穿搭'}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"scroll-view-item_H\" v-if=\"alltouList.length !=0\">\r\n\t\t\t\t<image v-if=\"alltouList[1].data !=0\" class=\"chuanda\" :src=\"alltouList[1].data.makeAppointmentCollocation.image\"></image>\r\n\t\t\t\t<view v-else class=\"chuanda\">\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-white text-size-lg\">{{tianqiList.city}}市</view>\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-size-lg mt-15 text-weight-b\" style=\"color: #FFCC00;\">{{tianqiList.daily[1].day.temphigh}}°C</view>\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-white text-size-lg mt-15\">{{tianqiList.daily[1].day.weather}}</view>\r\n\t\t\t\t\t<view v-if=\"tianqiList\" class=\"text-gray text-size-lg mt-10\">{{tianqiList.daily[1].day.winddirect}} {{tianqiList.daily[1].day.windpower}}°c</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"mt-20 text-align-center\" v-if=\"tianqiList\">\r\n\t\t\t\t\t<image class=\"taiyang\" src=\"/static/img/106.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">最高温度{{tianqiList.daily[1].day.temphigh}}°C</text>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">{{tianqiList.daily[1].week}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"alltouList[1]\" class=\"bianji\" @click=\"bianji(2,alltouList[1].data)\">{{alltouList[1].data !=0?'更换穿搭':'添加穿搭'}}</view>\r\n\t\t\t</view>\r\n\t\t\t<!-- <view class=\"scroll-view-item_H\">\r\n\t\t\t\t\r\n\t\t\t\t<view class=\"mt-20 text-align-center\">\r\n\t\t\t\t\t<image class=\"taiyang\" src=\"/static/img/106.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">16°c~20°c</text>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">星期一</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"bianji\" @click=\"bianji(2)\">添加穿搭</view>\r\n\t\t\t</view> -->\r\n\t\t\t<!-- <view class=\"scroll-view-item_H\">\r\n\t\t\t\t<image class=\"chuanda\" src=\"/static/img/107.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t<view class=\"mt-20 text-align-center\">\r\n\t\t\t\t\t<image class=\"taiyang\" src=\"/static/img/106.png\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">16°c~20°c</text>\r\n\t\t\t\t\t<text class=\"text-size-s ml-15\">星期一</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"bianji\" @click=\"bianji()\">编辑穿搭</view>\r\n\t\t\t</view> -->\r\n\t\t</scroll-view>\r\n\t\t<div class=\"zhuti\">\r\n\t\t\t<!-- 衣橱 1-->\r\n\t\t\t<tm-sheet class=\"yichu\" style=\"margin-bottom: 40px !important;\">\r\n\t\t\t\t<tm-tabs @change=\"fenlei\" class=\"C1b1b1b qiehuan\" color=\"white\" align=\"left\" v-model=\"activeIndex1\" :list=\"listfl\" range-key=\"title\"></tm-tabs>\r\n\t\t\t\t<view class=\"yiguicla black pa-6 ma-4 fl\" v-for=\"(item,index) in quanbuList\" @click=\"zidingyibianji(item)\">\r\n\t\t\t\t\t<image :src=\"item.image\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t<view class=\"text-size-m mt-20 mb-20 ml-10\">{{item.title}}</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<tm-empty v-if=\"quanbuList.length ==0\" label=\"暂无数据\" color=\"white\" icon=\"icon-paperplane-fill\"></tm-empty>\r\n\t\t\t\t<view v-if=\"total>quanbuList.length\" style=\"clear: both;\" class=\"more ma-40 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<tm-button :round=\"24\" class=\"sao\" block @click=\"zidingyi()\">自定义搭配</tm-button>\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\nimport qqmapsdk from '../../js_sdk/qqmap-wx-jssdk.js'\r\nconst QQMapWX = new qqmapsdk({\r\n\tkey: 'KNABZ-OAVCJ-O5IFJ-KBNST-SVIIZ-2EB3G'\r\n});\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tlist:[ '预约穿搭'],\r\n\t\t\tactiveIndex:0,\r\n\t\t\tactiveIndex1:0,\r\n\t\t\tquanbuList:[],\r\n\t\t\tchooseindex:-1,\r\n\t\t\tlistfl:[],\r\n\t\t\tlistflall:[],\r\n\t\t\talltouList:[],\r\n\t\t\ttianqiList:[],\r\n\t\t\tpage:1,\r\n\t\t\ttotal:0,\r\n\t\t\tpagesize:10,\r\n\t\t\tcity:'南京'\r\n\t\t};\r\n\t},\r\n\tonLoad(e) {\r\n\t\t\r\n\t},\r\n\tonShow(){\r\n\t\tthis.page=1;\r\n\t\tthis.getFl();\r\n\t\tthis.touFun();\r\n\t\tthis.getCity()\r\n\t},\r\n\tcreated() {\r\n\t\tthis.sys = uni.getSystemInfoSync();\r\n\t\tthis.gettianqi();\r\n\t\t\r\n\t},\r\n\tmethods: {\r\n\t\tgetCity(){\r\n\t\t\tvar that=this;\r\n\t\t\tuni.getLocation({\r\n\t\t\t\ttype: 'wgs84',\r\n\t\t\t\tgeocode: true,\r\n\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\tthis.latitude = res.latitude;\r\n\t\t\t\t\tthis.longitude = res.longitude;\r\n\t\t\t\t},\r\n\t\t\t\tfail: () => {\r\n\t\t\t\t},\r\n\t\t\t\tcomplete: () => {\r\n\t\t\t\t\t// 解析地址\r\n\t\t\t\t\tQQMapWX.reverseGeocoder({\r\n\t\t\t\t\t\tlocation: {\r\n\t\t\t\t\t\t\tlatitude: this.latitude,\r\n\t\t\t\t\t\t\tlongitude: this.longitude\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\t\t// 省\r\n\t\t\t\t\t\t\tlet province = res.result.ad_info.province;\r\n\t\t\t\t\t\t\t// 市\r\n\t\t\t\t\t\t\tlet city = res.result.ad_info.city;\r\n\t\t\t\t\t\t\t//区\r\n\t\t\t\t\t\t\tlet district=res.result.ad_info.district;\r\n\t\t\t\t\t\t\tthat.city=city;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfail: function(res) {\r\n\t\t\t\t\t\t\t// uni.showToast({\r\n\t\t\t\t\t\t\t// \ttitle: '定位失败',\r\n\t\t\t\t\t\t\t// \tduration: 2000,\r\n\t\t\t\t\t\t\t// \ticon: \"none\"\r\n\t\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tcomplete: function(res) {\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tshuaxin(){\r\n\t\t\tthis.activeIndex1=0;\r\n\t\t\tthis.page=1;\r\n\t\t\tthis.getFl();\r\n\t\t\tthis.touFun();\r\n\t\t},\r\n\t\tfenlei(e){\r\n\t\t\tthis.page=1;\r\n\t\t\tthis.getKxuan()\r\n\t\t},\r\n\t\ttouFun(){\r\n\t\t\tvar that=this;\r\n\t\t\t// 11\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Collocation/selectStyle\",\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\tvar dataList=res.data.data;\r\n\t\t\t\t\tif(dataList.length==0){\r\n\t\t\t\t\t\tthat.alltouList[0]={data:0}\r\n\t\t\t\t\t\tthat.alltouList[1]={data:0}\r\n\t\t\t\t\t}else if(dataList.length==1){\r\n\t\t\t\t\t\tfor(let i=0;i<dataList.length;i++){\r\n\t\t\t\t\t\t\tif(dataList[i].type==1){\r\n\t\t\t\t\t\t\t\tthat.alltouList[0]={data:dataList[i]}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tthat.alltouList[0]={data:0}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(dataList[i].type==2){\r\n\t\t\t\t\t\t\t\tthat.alltouList[1]={data:dataList[i]}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tthat.alltouList[1]={data:0}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tfor(let i=0;i<dataList.length;i++){\r\n\t\t\t\t\t\t\tif(dataList[i].type==1){\r\n\t\t\t\t\t\t\t\tthat.alltouList[0]={data:dataList[i]}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(dataList[i].type==2){\r\n\t\t\t\t\t\t\t\tthat.alltouList[1]={data:dataList[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}\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.alltouList[0]={data:0}\r\n\t\t\t\t\tthat.alltouList[1]={data:0}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tgetFl(){\r\n\t\t\tvar that=this;\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Category/getCollocationClassList\",\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\t// that.listfl=['全部'];\r\n\t\t\t\t\t\tthat.listfl=[];\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.listfl.push(res.data.data[i].category_name)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthat.listflall=res.data.data;\r\n\t\t\t\t\t\tthat.getKxuan();\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthat.listfl=[];\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t},\r\n\t\tgengmore() {\r\n\t\t\tthis.page=this.page+1;\r\n\t\t\tthis.getKxuan();\r\n\t\t},\r\n\t\tgetKxuan(){\r\n\t\t\tvar that=this;\r\n\t\t\tmyRequest({\r\n\t\t\t\turl: \"/api/Collocation/getCollocationList\",\r\n\t\t\t\tmethod:'post',\r\n\t\t\t\tdata:{category_id:that.listflall[that.activeIndex1].id,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\tif(this.page==1){\r\n\t\t\t\t\t\t\tthat.quanbuList=res.data.data.data;\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\tthat.quanbuList=that.quanbuList.concat(res.data.data.data);\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}else{\r\n\t\t\t\t\t\tthat.quanbuList=[];\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\tgettianqi(){\r\n\t\t\tvar that=this;\r\n\t\t\t// uni.getLocation({\r\n\t\t\t// \ttype: 'wgs84',\r\n\t\t\t// \tgeocode:true,//设置该参数为true可直接获取经纬度及城市信息\r\n\t\t\t// \tsuccess: function (res) {\r\n\t\t\t// \t\t// that.addrDel = res;\r\n\t\t\t// \t},\r\n\t\t\t// \tfail: function () {\r\n\t\t\t// \t\tuni.showToast({\r\n\t\t\t// \t\t\ttitle: '获取地址失败,将导致部分功能不可用',\r\n\t\t\t// \t\t\ticon:'none'\r\n\t\t\t// \t\t});\r\n\t\t\t// \t}\r\n\t\t\t// });\r\n\t\t\tuni.request({\r\n\t\t\t\turl: \"https://jisutqybmf.market.alicloudapi.com/weather/query\",\r\n\t\t\t\tmethod: \"get\",\r\n\t\t\t\theader: {\r\n\t\t\t\t\t'Authorization':'APPCODE b838ad36bbd741ad97bbe22e50be1847'\r\n\t\t\t\t},\r\n\t\t\t\tdata:{\r\n\t\t\t\t\tcity:that.city\r\n\t\t\t\t},\r\n\t\t\t\tdataType:'json',\r\n\t\t\t\tsuccess : function(data) {\r\n\t\t\t\t\tthat.tianqiList=data.data.result;\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\tbianji(type,data){\r\n\t\t\tif(data.makeAppointmentCollocation){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/bianjigh/index?type=\"+type+'&id='+data.id+\"&old=\"+data.collocation_id,\r\n\t\t\t\t})\r\n\t\t\t}else{\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/bianjigh/index?type=\"+type,\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\t\r\n\t\t},\r\n\t\tzidingyibianji(item){\r\n\t\t\tif(item.type==2){\r\n\t\t\t\t// 衣橱\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/baocun/index?id=\"+item.id+\"&type=2\",\r\n\t\t\t\t})\r\n\t\t\t}else{\r\n\t\t\t\t// 大数据推荐1\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/zidingyikan/index?id=\"+item.id+\"&type=2\",\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\t// uni.navigateTo({\r\n\t\t\t// \turl: \"/pages/zidingyi/index?type=1\",\r\n\t\t\t// })\r\n\t\t},\r\n\t\tdapei(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/dapeizidingyi/index?type=1\",\r\n\t\t\t})\r\n\t\t\t\r\n\t\t},\r\n\t\tzidingyi(){\r\n\t\t\tuni.navigateTo({\r\n\t\t\t\turl: \"/pages/changan/index\",\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/deep/ .qiehuan1 .text-primary{color: white !important;}\r\n\t.chuanda{width: 100%;height: 144px;}\r\n\t.taiyang{width: 25px;}\r\n\t.bianji{border: 1px solid #303440;width: 80px;height: 30px;background: #303440;font-size: 15px;\r\n\ttext-align: center;line-height: 30px;border-radius: 5px;margin: 0 auto;margin-top: 10px;border:1px solid white;}\r\n\t.scroll-view_H {\r\n\t\twhite-space: nowrap;\r\n\t\twidth: 100%;\r\n\t\tbackground: #1B1B1B;\r\n\t\tpadding-bottom: 15px;\r\n\t}\r\n\t.scroll-view-item {\r\n\t\theight: 300rpx;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 36rpx;\r\n\t}\r\n\t.scroll-view-item_H {\r\n\t\tdisplay: inline-block;\r\n\t\twidth: 150px;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 36rpx;\r\n\t\tmargin-left: 10px;\r\n\t\tbackground: #0D0D0D;\r\n\t\tpadding: 6px;\r\n\t\tborder-radius: 10px;\r\n\t}\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: 47%;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.sao{width: 60%;display: block;margin: 0 auto;margin-bottom: 60px;}\r\n\t/deep/ .scroll-view_H{height:245px !important;}\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 // 1678780469788\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":""}
|