index.js.map
25.8 KB
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/index.vue?ba12","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/index.vue?252c","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/index.vue?9b54","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/index.vue?09a9","uni-app:///pages/index/index.vue","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/index.vue?d9ad","webpack:///D:/vue/kaoshi3-fangweishangcheng/pages/index/index.vue?f933"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/index/index.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=57280228&\"\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 \"!../../../../高级前台制作/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/index/index.vue\"\nexport default component.exports","export * from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=57280228&\"","var components\ntry {\n components = {\n uSticky: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-sticky/u-sticky\" */ \"uview-ui/components/u-sticky/u-sticky.vue\"\n )\n },\n uNavbar: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uSearch: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-search/u-search\" */ \"uview-ui/components/u-search/u-search.vue\"\n )\n },\n uTabs: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tabs/u-tabs\" */ \"uview-ui/components/u-tabs/u-tabs.vue\"\n )\n },\n uModal: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-modal/u-modal\" */ \"uview-ui/components/u-modal/u-modal.vue\"\n )\n },\n uIcon: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.vue\"\n )\n },\n uEmpty: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-empty/u-empty\" */ \"uview-ui/components/u-empty/u-empty.vue\"\n )\n },\n customWaterfallsFlow: function() {\n return import(\n /* webpackChunkName: \"components/custom-waterfalls-flow/custom-waterfalls-flow\" */ \"@/components/custom-waterfalls-flow/custom-waterfalls-flow.vue\"\n )\n },\n uRate: function() {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-rate/u-rate\" */ \"uview-ui/components/u-rate/u-rate.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 this$1 = this\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.searchState = 2\n }\n\n _vm.e1 = function() {\n return (this$1.historyListShow = false)\n }\n\n _vm.e2 = function() {\n return (this$1.historyListShow = true)\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <!-- 顶部navbar -->\r\n <u-sticky bgColor=\"#fff\">\r\n <u-navbar @leftClick=\"searchState = 2\" placeholder :autoBack=\"true\">\r\n <template #center>\r\n <view class=\"topSearchBox\">\r\n <u-search\r\n placeholder=\"请输入商家名称\"\r\n :clearabled=\"true\"\r\n :showAction=\"false\"\r\n v-model=\"searchValue\"\r\n @search=\"searchHandler1\"\r\n ></u-search>\r\n </view>\r\n </template>\r\n </u-navbar>\r\n <!-- 粘性tabs -->\r\n <u-tabs\r\n v-if=\"searchState == 1\"\r\n :list=\"list1\"\r\n :lineWidth=\"40\"\r\n lineColor=\"#6E16FF\"\r\n :inactiveStyle=\"inactiveStyle\"\r\n :activeStyle=\"activeStyle\"\r\n :scrollable=\"false\"\r\n ></u-tabs>\r\n </u-sticky>\r\n\r\n <!-- 清空历史记录模态框 -->\r\n <u-modal\r\n :show=\"historyListShow\"\r\n showCancelButton\r\n @cancel=\"() => (this.historyListShow = false)\"\r\n @confirm=\"confirmRemoveHistorySearchHandler\"\r\n :content=\"content\"\r\n ></u-modal>\r\n\r\n <!-- 版心 -->\r\n <template v-if=\"searchState == 2\">\r\n <view class=\"mainBox\">\r\n <view class=\"flexJ\" v-if=\"historyGoodsSearchList.length !== 0\">\r\n <view class=\"historyText\">历史搜索</view>\r\n <u-icon name=\"trash\" @click=\"() => (this.historyListShow = true)\"></u-icon>\r\n </view>\r\n\r\n <!-- 搜索记录 -->\r\n <view class=\"flexA historySearchBox\">\r\n <view\r\n class=\"historySearchText flexC\"\r\n v-for=\"item in historyGoodsSearchList\"\r\n :key=\"item\"\r\n @click=\"hotSearchHandler(item)\"\r\n >\r\n {{ item }}\r\n </view>\r\n </view>\r\n\r\n <!-- 热门搜索 -->\r\n <view class=\"hotSearchBox\">\r\n <view class=\"flexA\" style=\"margin-bottom: 32rpx\">\r\n <image style=\"width: 32rpx; height: 32rpx\" src=\"/static/hotsearch.png\" mode=\"scaleToFill\" />\r\n <view class=\"hotsearchText\">热门搜索</view>\r\n </view>\r\n\r\n <!-- 热门搜索内容 -->\r\n <view class=\"hotCentent\">\r\n <view class=\"leftHotList\">\r\n <view\r\n class=\"flexA\"\r\n style=\"margin-bottom: 32rpx\"\r\n v-for=\"item in firstList\"\r\n :key=\"item.id\"\r\n @click=\"hotSearchHandler(item.title)\"\r\n >\r\n <view\r\n class=\"index\"\r\n :style=\"{ background: item.id == 1 ? '#f03f30' : item.id == 2 ? '#f2b738' : item.id == 3 ? '#a3b5e1' : '' }\"\r\n >\r\n {{ item.id }}\r\n </view>\r\n <text>{{ item.title }}</text>\r\n </view>\r\n </view>\r\n <view class=\"line\"></view>\r\n <view class=\"rightHotList\">\r\n <view\r\n class=\"flexA\"\r\n style=\"margin-bottom: 32rpx\"\r\n v-for=\"item in secondList\"\r\n :key=\"item.id\"\r\n @click=\"hotSearchHandler(item.title)\"\r\n >\r\n <view class=\"index\">{{ item.id }}</view>\r\n <text>{{ item.title }}</text>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </template>\r\n <template v-if=\"searchState == 0\">\r\n <view style=\"margin-top: 300rpx\">\r\n <u-empty />\r\n </view>\r\n <!-- <u-empty mode=\"car\" icon=\"http://cdn.uviewui.com/uview/empty/car.png\"></u-empty> -->\r\n </template>\r\n <template v-if=\"searchState == 1\">\r\n <!-- <view v-for=\"item in searchList1\" :key=\"item.id\">\r\n {{ item.title }}\r\n <image style=\"width: 200rpx; height: 300rpx\" :src=\"item.image\" mode=\"scaleToFill\" />\r\n {{ item.content }}\r\n </view> -->\r\n <view class=\"mainBox\">\r\n <custom-waterfalls-flow :value=\"searchList1\" ref=\"waterfallsFlowRef\" imageKey=\"image\" :seat=\"2\" @imageClick=\"toDetailHandler\">\r\n <view class=\"item\" v-for=\"(item, index) in searchList1\" :key=\"index\" slot=\"slot{{index}}\">\r\n <view class=\"title flexC\">{{ item.title }}</view>\r\n <view class=\"flexJ\">\r\n <view class=\"flexA headerBox\">\r\n <image :src=\"item.user.avatar\" mode=\"scaleToFill\" />\r\n <view>{{ item.user.user_name }}</view>\r\n </view>\r\n <view class=\"flexA\">\r\n <u-rate activeIcon=\"heart-fill\" inactiveIcon=\"heart\" :count=\"count\" v-model=\"value\"></u-rate>\r\n <view class=\"numText\">{{ item.id }}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </custom-waterfalls-flow>\r\n </view>\r\n </template>\r\n\r\n <!-- <view @click=\"toListHandler\">跳转列表搜索</view> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport { getList } from '@/api'\r\nexport default {\r\n data() {\r\n return {\r\n list1: [\r\n {\r\n name: '美容美发',\r\n },\r\n {\r\n name: '长发造型',\r\n },\r\n {\r\n name: '好物分享',\r\n },\r\n {\r\n name: '吹风机',\r\n },\r\n {\r\n name: '好物评测',\r\n },\r\n ],\r\n list: [],\r\n // 未选择样式\r\n inactiveStyle: {\r\n color: 'rgba(0,0,0,0.4)',\r\n fontSize: '27rpx',\r\n },\r\n // 选择样式\r\n activeStyle: {\r\n color: 'rgba(50, 50, 51, 1)',\r\n fontSize: '27rpx',\r\n fontWeight: '700',\r\n },\r\n hotList: [\r\n { id: 1, title: '小米春季新款吹风机' },\r\n { id: 2, title: 'Dyson黑色吹风机' },\r\n { id: 3, title: '便宜好用的吹风机' },\r\n { id: 4, title: '小米春季新款吹风机' },\r\n { id: 5, title: '高端吹风机' },\r\n { id: 6, title: '小米春季新款吹风机' },\r\n { id: 7, title: 'supersonic吹风机' },\r\n { id: 8, title: '超低价吹风机' },\r\n { id: 9, title: '明星同款吹风机' },\r\n { id: 10, title: '万能吹风机' },\r\n ],\r\n firstList: [],\r\n secondList: [],\r\n // 清空历史记录参数\r\n historyListShow: false,\r\n content: '您确定要清空历史记录吗?',\r\n // 搜索结果 0 有结果 1没有结果\r\n searchState: 2,\r\n historyGoodsSearchList: [],\r\n searchList: [],\r\n // 搜索框值\r\n searchValue: '',\r\n // 热门搜索数据\r\n hotSearchList: [],\r\n // 搜索出来的内容\r\n searchList1: [],\r\n curPage: 1,\r\n count: 1,\r\n value: 1,\r\n }\r\n },\r\n onLoad(options) {\r\n this.firstList = this.hotList.slice(0, 5)\r\n this.secondList = this.hotList.slice(5)\r\n this.historyGoodsSearchList = uni.getStorageSync('historySearchList', this.historyGoodsSearchList) || []\r\n },\r\n methods: {\r\n // async getList(val) {\r\n // const { data } = await getList({\r\n // type_id: '', //\tinteger\t否\t论坛类型\r\n // keywords: val, //\tstring\t否\t关键词\r\n // order: 1, //\tstring\t是\t排序,1:评论,0:时间\r\n // page: 1, //\tinteger\t是\t页码\r\n // rows: 4, //\tinteger\t是\t条数\r\n // })\r\n // console.log(data)\r\n // if (data.data.length == 0) {\r\n // this.searchState = 0\r\n // } else {\r\n // this.searchState = 1\r\n // setTimeout(() => {\r\n // this.searchList1 = data.data\r\n // this.searchList1.forEach((item, index) => {\r\n // item.image = JSON.parse(data.data[index].file).imgList[0]\r\n // })\r\n // },600)\r\n // }\r\n // },\r\n async getList(val) {\r\n const { data } = await getList({\r\n type_id: '', //\tinteger\t否\t论坛类型\r\n keywords: val || '', //\tstring\t否\t关键词\r\n order: 1, //\tstring\t是\t排序,1:评论,0:时间\r\n page: this.curPage, //\tinteger\t是\t页码\r\n rows: 13, //\tinteger\t是\t条数\r\n })\r\n console.log(data)\r\n if (data.data.length == 0) {\r\n this.searchState = 0\r\n } else {\r\n this.searchState = 1\r\n setTimeout(() => {\r\n this.last_page = data.last_page\r\n // this.list = this.list.concat(data.data)\r\n this.searchList1 = data.data\r\n this.searchList1.forEach((item, index) => {\r\n item.image = JSON.parse(data.data[index].file).imgList[0]\r\n })\r\n }, 300)\r\n }\r\n },\r\n // 确定清空历史搜索记录\r\n confirmRemoveHistorySearchHandler() {\r\n uni.removeStorageSync('historySearchList')\r\n this.historyGoodsSearchList = []\r\n this.historyListShow = false\r\n uni.showToast({\r\n title: '清空历史记录成功',\r\n icon: 'success',\r\n })\r\n },\r\n // 搜索\r\n searchHandler1(val) {\r\n this.historyGoodsSearchList.indexOf(this.searchValue) == '-1'\r\n ? (() => {\r\n this.historyGoodsSearchList.push(this.searchValue)\r\n uni.setStorageSync('historySearchList', this.historyGoodsSearchList)\r\n if (this.historyGoodsSearchList.length > 10) {\r\n this.historyGoodsSearchList.shift()\r\n }\r\n // 调接口\r\n this.getList(val)\r\n })()\r\n : // : ''\r\n // 调接口\r\n this.getList(val)\r\n },\r\n // 热门搜索\r\n hotSearchHandler(val) {\r\n // console.log(val)\r\n this.searchValue = val\r\n this.historyGoodsSearchList.indexOf(val) == '-1'\r\n ? (() => {\r\n this.historyGoodsSearchList.push(val)\r\n uni.setStorageSync('historySearchList', this.historyGoodsSearchList)\r\n if (this.historyGoodsSearchList.length > 10) {\r\n this.historyGoodsSearchList.shift()\r\n }\r\n // 调接口\r\n this.getList(val)\r\n })()\r\n : // : ''\r\n // 调接口\r\n this.getList(val)\r\n },\r\n toDetailHandler(e){\r\n // console.log(JSON.stringify(e.user))\r\n uni.navigateTo({ url: `/pages/index/detail?itemId=${e.id}&userInfo=${JSON.stringify(e.user)}` })\r\n },\r\n toListHandler() {\r\n uni.navigateTo({ url: '/pages/index/list' })\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\npage {\r\n background: #fff;\r\n}\r\n.topSearchBox {\r\n margin-right: 118rpx;\r\n}\r\n.mainBox {\r\n padding: 34rpx 32rpx 0;\r\n box-sizing: border-box;\r\n}\r\n.historyText {\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n margin-bottom: 32rpx;\r\n}\r\n.historySearchBox {\r\n flex-wrap: wrap;\r\n}\r\n.u-search__content {\r\n min-width: 426rpx !important;\r\n}\r\n/* .noSearchList {\r\n height: 100vh;\r\n background: #f6f8fa;\r\n} */\r\n.historySearchText {\r\n padding: 8rpx 12rpx;\r\n box-sizing: border-box;\r\n border-radius: 154rpx;\r\n background: rgba(247, 248, 250, 1);\r\n margin-right: 24rpx;\r\n margin-bottom: 24rpx;\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 24rpx;\r\n}\r\n.hotsearchText {\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 28rpx;\r\n font-weight: 700;\r\n margin-left: 10rpx;\r\n}\r\n.hotSearchBox {\r\n margin-top: 40rpx;\r\n border-radius: 20rpx;\r\n padding: 32rpx;\r\n box-sizing: border-box;\r\n background: linear-gradient(180.1deg, rgba(254, 242, 240, 1) 0%, rgba(255, 251, 248, 1) 35%, rgba(255, 255, 255, 0) 100%);\r\n}\r\n.hotCentent {\r\n display: flex;\r\n > .line {\r\n height: 328rpx;\r\n width: 2rpx;\r\n background: #e5e8ec;\r\n margin-right: 24rpx;\r\n }\r\n > .leftHotList {\r\n width: 286rpx;\r\n height: 40rpx;\r\n .index {\r\n width: 24rpx;\r\n height: 24rpx;\r\n border-radius: 8rpx;\r\n background: rgba(200, 201, 204, 1);\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 20rpx;\r\n text-align: center;\r\n margin-right: 16rpx;\r\n }\r\n text {\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 26rpx;\r\n }\r\n > .flexB {\r\n margin-bottom: 32rpx;\r\n }\r\n }\r\n > .rightHotList {\r\n width: 286rpx;\r\n height: 40rpx;\r\n .index {\r\n width: 24rpx;\r\n height: 24rpx;\r\n border-radius: 8rpx;\r\n background: rgba(200, 201, 204, 1);\r\n color: rgba(255, 255, 255, 1);\r\n font-size: 20rpx;\r\n text-align: center;\r\n margin-right: 16rpx;\r\n }\r\n text {\r\n color: rgba(50, 50, 51, 1);\r\n font-size: 26rpx;\r\n }\r\n > .flexB {\r\n margin-bottom: 32rpx;\r\n }\r\n }\r\n}\r\n\r\n.title {\r\n color: rgba(0, 0, 0, 0.9);\r\n font-size: 28rpx;\r\n margin: 16rpx 0;\r\n}\r\n.headerBox {\r\n color: rgba(0, 0, 0, 0.6);\r\n font-size: 24rpx;\r\n image {\r\n width: 48rpx;\r\n height: 48rpx;\r\n border-radius: 50%;\r\n margin-right: 8rpx;\r\n }\r\n}\r\n.item {\r\n padding: 0 16rpx 16rpx;\r\n box-sizing: border-box;\r\n}\r\n.numText {\r\n color: rgba(0, 0, 0, 0.4);\r\n font-size: 24rpx;\r\n margin-left: 8rpx;\r\n}\r\n</style>\r\n","import mod from \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 \"-!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../高级前台制作/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../高级前台制作/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 // 1670378477443\n var cssReload = require(\"D:/高级前台制作/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":""}