You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
25 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/needsOrder/index.vue?065e","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/needsOrder/index.vue?8abd","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/needsOrder/index.vue?7c5e","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/needsOrder/index.vue?2eff","uni-app:///pages/user/needsOrder/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/needsOrder/index.vue?cd44","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/needsOrder/index.vue?7c26"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,uG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AACmN;AACnN,gBAAgB,iNAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAk1B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAG,EAAC,C;;;;;;;;;;;ACAztC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/needsOrder/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/needsOrder/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=26e2e30f&\"\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=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/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/user/needsOrder/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=26e2e30f&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n<!--pages/user/resourcesOrder/index.wxml-->\n<view class=\"order-page\">\n <view class=\"tabs-box acea-row row-between\">\n <view :class=\"'tab ' + (tabActive == 1 ? 'tab-a' : '')\" data-i=\"1\" @tap=\"tabClick\">沟通中</view>\n <view :class=\"'tab ' + (tabActive == 2 ? 'tab-a' : '')\" data-i=\"2\" @tap=\"tabClick\">进行中</view>\n <view :class=\"'tab ' + (tabActive == 3 ? 'tab-a' : '')\" data-i=\"3\" @tap=\"tabClick\">已结束</view>\n </view>\n <view class=\"list\">\n <view class=\"no-list\" v-if=\"list.length == 0\">\n <image src=\"https://download.cyjyyjy.com/no-needs.png\"></image>\n <view>暂无订单</view>\n <view class=\"to-btn\" @tap=\"toDemandHall\">去需求广场</view>\n </view>\n <view v-for=\"(item, index) in list\" :key=\"index\" class=\"item\" v-if=\"tabActive == 1\">\n <view class=\"needs-info-box\">\n <view class=\"n-title-box acea-row row-between\">\n <view>{{item.resourceInfo.name}}</view>\n <!-- <view class=\"status\" wx:if=\"{{item.comminuteState == 3}}\">项目已成立</view> -->\n </view>\n <view class=\"n-price\">需求预算 <text class=\"colO\">{{item.resourceInfo.budget}}</text></view>\n <view class=\"n-desc\">{{item.resourceInfo.content}}</view>\n </view>\n <view class=\"concat-list-box\">\n <!-- <view class=\"open-btn acea-row row-middle\" bindtap=\"openClick\" data-idx=\"{{index}}\">\n <text>{{!item.open ? '展开' : '收起'}}</text> \n <image class=\"arrow-down {{!item.open ? '' : 'arrow-up'}}\" src=\"../../../images/arrow-d.png\"></image>\n </view> -->\n <!-- <view class=\"concat-list {{item.open ? 'list-open' : ''}}\" > -->\n <view v-for=\"(info, index2) in item.partnerInfos\" :key=\"index2\" class=\"info-item\">\n <view class=\" acea-row row-middle\">\n <image :src=\"info.logo\"></image>\n <view class=\"info2\">\n <view class=\"projectinfo-box acea-row-nowrap row-between\">\n <view class=\"acea-row row-middle line1\">\n <view class=\"p-label\">合作方:</view>\n <view>{{info.name}}</view>\n </view>\n <view class=\"status\" v-if=\"info.comminuteState == 1\">已申请</view>\n <view class=\"status\" v-if=\"info.comminuteState == 2\">等待立项</view>\n <view class=\"status\" v-if=\"info.comminuteState == 3\">项目成立中</view>\n <view class=\"status\" v-if=\"info.comminuteState == 4\">已取消立项</view>\n </view>\n <!-- <view cl哦ass=\"tag-item\" wx:if=\"{{info.comminuteState == 1}}\">{{info.cooperationMode}}</view> -->\n </view>\n </view>\n <view class=\"btn-box acea-row row-between row-middle\">\n <view class=\"start-time\">{{info.createTime}}项目开启</view>\n <view class=\"btns acea-row\">\n <view class=\"btn-item\" v-if=\"info.comminuteState == 1\" @tap=\"cancelCommunicate\" :data-info=\"info\">取消沟通</view>\n <view class=\"btn-item\" v-if=\"info.comminuteState == 2 || info.comminuteState == 3\" @tap=\"toCreateProject\" :data-item=\"info\">查看立项书</view>\n <view class=\"btn-item\" v-if=\"info.comminuteState == 2\" @tap=\"confirm\" :data-item=\"item\" :data-id=\"info.communicateId\">确认立项</view>\n <view class=\"btn-item default\" v-if=\"info.comminuteState == 2\" @tap=\"cancelProject\" :data-item=\"item\" :data-id=\"info.communicateId\">取消立项</view>\n </view>\n </view>\n </view>\n <!-- </view> -->\n </view>\n </view>\n <view v-for=\"(item, index) in list\" :key=\"index\" class=\"item\" v-if=\"tabActive != 1\">\n <view class=\"number acea-row row-between row-middle\">\n <text>项目编号 {{item.projectCode}}</text>\n <!-- <view class=\"status\">{{tabActive == 2 ? '进行中' : '已结束'}}</view> -->\n <view class=\"status\" v-if=\"item.projectState != 5\">{{tabActive == 1 ? '沟通中' : tabActive == 2 ? '进行中' : '已结束'}}</view>\n <view class=\"status\" v-else>平台介入中</view>\n </view>\n <view class=\"info-box acea-row row-middle\">\n <image :src=\"item.projectResource.logo\"></image>\n <view class=\"info\">\n <view class=\"i-title line1\">{{item.resourcesDto.title || item.projectResource.name}}</view>\n <view class=\"tag-item\">{{item.cooperationMode}}</view>\n <view class=\"i-desc\" v-if=\"tabActive == 1\">{{item.resourcesDto.detailedDescription}}</view>\n <view class=\"projectinfo-box\">\n <view class=\"acea-row row-middle\" v-if=\"tabActive != 1\">\n <view class=\"p-label\">项目名称:</view>\n <view>{{item.projectName}}</view>\n </view>\n <view class=\"acea-row row-middle line1\" v-if=\"tabActive != 1\">\n <view class=\"p-label\">合作方:</view>\n <view>{{item.partner}}</view>\n </view>\n </view>\n </view>\n </view>\n <view class=\"progress-box\" v-if=\"tabActive != 1\">\n <view v-for=\"(progress, index2) in item.stageResultsDtoList\" :key=\"index2\" class=\"progress-item acea-row row-between row-middle\">\n <view class=\"acea-row row-middle\">\n <image src=\"/static/images/home/progress.png\"></image>\n <text>{{progress.name}} ¥{{progress.money}}</text>\n </view>\n <view class=\"progress-status\" v-if=\"progress.state == 0\">未开始</view>\n <view class=\"progress-status\" v-if=\"progress.state == 1\">申请开启</view>\n <view class=\"progress-status\" v-if=\"progress.state == 2\">进行中</view>\n <view class=\"progress-status colorO\" v-if=\"progress.state == 3\">已结束</view>\n </view>\n </view>\n <view class=\"btn-box acea-row row-between row-bottom\" v-if=\"tabActive != 1\">\n <view class=\"start-time\" v-if=\"tabActive == 2\">{{item.examineTime}}项目开启</view>\n <view v-if=\"tabActive == 3\">项目已圆满结束</view>\n <view class=\"btns acea-row\">\n <view class=\"btn-item\" v-if=\"tabActive == 2 && item.nextStageFlag\" @tap=\"agreenOpen\" :data-item=\"item\">同意开启</view>\n <view class=\"btn-item\" v-if=\"tabActive == 2 && item.deliveryFlag\" @tap=\"deliveryProject\" :data-item=\"item\">同意交付</view>\n <view class=\"btn-item\" v-if=\"tabActive == 2\" @tap=\"toPlatform\" :data-item=\"item\">平台介入</view>\n \n <!-- <view class=\"btn-item\" wx:if=\"{{ tabActive == 3 }}\">合作反馈</view> -->\n </view>\n </view>\n </view>\n </view>\n</view>\n</template>\n\n<script>\n// pages/user/needsOrder/index.js\nconst app = getApp();\n\nexport default {\n data() {\n return {\n tabActive: 1,\n list: []\n };\n },\n\n components: {},\n props: {},\n\n /**\n * 生命周期函数--监听页面加载\n */\n onLoad: function (options) {\n this.getCommunicates();\n },\n\n /**\n * 生命周期函数--监听页面初次渲染完成\n */\n onReady: function () {},\n\n /**\n * 生命周期函数--监听页面显示\n */\n onShow: function () {// this.getCommunicates()\n },\n\n /**\n * 生命周期函数--监听页面隐藏\n */\n onHide: function () {},\n\n /**\n * 生命周期函数--监听页面卸载\n */\n onUnload: function () {},\n\n /**\n * 页面相关事件处理函数--监听用户下拉动作\n */\n onPullDownRefresh: function () {\n if (this.tabActive == 1) {\n this.getCommunicates();\n } else {\n this.getProjectList();\n }\n },\n\n /**\n * 页面上拉触底事件的处理函数\n */\n onReachBottom: function () {},\n\n /**\n * 用户点击右上角分享\n */\n onShareAppMessage: function () {},\n methods: {\n toDemandHall() {\n uni.switchTab({\n url: '/pages/demandHall/index'\n });\n },\n\n tabClick(e) {\n let i = e.currentTarget.dataset.i;\n this.setData({\n tabActive: i\n });\n\n if (i == 1) {\n this.getCommunicates();\n } else {\n this.getProjectList();\n }\n },\n\n // 获取 沟通中\n getCommunicates() {\n app.http('get', 'Communicate/demandCommunicates').then(res => {\n if (res.data.success) {\n if (res.data.data.length > 0) {\n res.data.data.map(item => {\n item.open = false;\n });\n res.data.data[0].open = true;\n }\n\n console.log(res.data.data);\n this.setData({\n list: res.data.data\n });\n uni.stopPullDownRefresh();\n }\n });\n },\n\n //点击展开\n openClick(e) {\n let idx = e.currentTarget.dataset.idx;\n console.log(idx);\n let list = this.list;\n list[idx].open = !list[idx].open;\n this.setData({\n list: list\n });\n },\n\n //获取进行中、已结束列表\n getProjectList() {\n app.http('get', 'Project/listProject', {\n projectState: this.tabActive - 1,\n projectType: 2\n }).then(res => {\n if (res.data.success) {\n res.data.data.map(item => {\n item.stageResultsDtoList.map(stage => {\n if (stage.state == 1) {\n item.showBtn = true;\n }\n });\n });\n this.setData({\n list: res.data.data\n });\n uni.stopPullDownRefresh();\n }\n });\n },\n\n //同意开启下一阶段\n agreenOpen(e) {\n let item = e.currentTarget.dataset.item;\n console.log(item);\n const stage = item.stageResultsDtoList.filter(item => {\n return item.state == 1;\n });\n uni.showModal({\n title: '提示!',\n content: '是否同意开启下阶段?',\n\n success(res) {\n if (res.confirm) {\n app.http('get', 'Project/startNextStage', {\n stageResultId: stage[0].id\n }).then(res => {\n if (res.data.success) {\n uni.showToast({\n title: '操作成功!',\n duration: 2000\n });\n this.getProjectList();\n }\n });\n }\n }\n\n });\n },\n\n // 平台介入\n toPlatform(e) {\n let code = e.currentTarget.dataset.item.projectCode;\n uni.navigateTo({\n url: '/pages/demandHall/platform/index?code=' + code\n });\n },\n\n // 取消沟通\n cancelCommunicate(e) {\n let info = e.currentTarget.dataset.info;\n console.log(info);\n let that = this;\n uni.showModal({\n title: '提示!',\n content: '是否取消沟通?',\n\n success(res) {\n if (res.confirm) {\n app.http('GET', 'Communicate/cancelCommunicates', {\n communicateId: info.communicateId\n }).then(res => {\n if (res.data.success) {\n uni.showToast({\n title: '操作成功!',\n duration: 1500\n });\n setTimeout(() => {\n that.getCommunicates();\n }, 1500);\n }\n });\n }\n }\n\n });\n },\n\n //查看立项书\n toCreateProject(e) {\n let item = e.currentTarget.dataset.item;\n uni.navigateTo({\n url: '/pages/demandHall/createProject/index?state=' + item.comminuteState + '&id=' + item.communicateId\n });\n },\n\n confirm(e) {\n let item = e.currentTarget.dataset.item;\n let communicateId = e.currentTarget.dataset.id;\n let that = this;\n uni.showModal({\n title: '提示!',\n content: '是否确认立项?',\n\n success(res) {\n if (res.confirm) {\n app.http('GET', 'Communicate/aggreProject', {\n projectId: item.partnerInfos[0].projectId\n }).then(res => {\n if (res.data.success) {\n uni.showToast({\n title: '操作成功!',\n duration: 2000\n });\n setTimeout(() => {\n that.getCommunicates();\n }, 2000);\n }\n });\n }\n }\n\n });\n },\n\n cancelProject(e) {\n let item = e.currentTarget.dataset.item;\n let communicateId = e.currentTarget.dataset.id;\n let that = this;\n uni.showModal({\n title: '提示!',\n content: '是否确认取消立项?',\n\n success(res) {\n if (res.confirm) {\n app.http('post', 'Communicate/cancelProject', {\n communicateId: communicateId,\n partnerInfos: item.partnerInfos\n }).then(res => {\n if (res.data.success) {\n uni.showToast({\n title: '操作成功!',\n duration: 2000\n });\n that.getCommunicates();\n }\n });\n }\n }\n\n });\n },\n\n //同意交付\n deliveryProject(e) {\n let item = e.currentTarget.dataset.item;\n uni.showModal({\n title: '提示',\n content: '是否确认提交申请交付',\n success: r => {\n if (r.confirm) {\n app.http('GET', 'Project/deliveryProject', {\n projectId: item.id\n }).then(res => {\n if (res.data.success) {\n uni.showToast({\n title: '操作成功!'\n });\n this.getProjectList();\n }\n });\n }\n }\n });\n }\n\n }\n};\n</script>\n<style>\n/* pages/user/needsOrder/index.wxss */\n@import \"../resourcesOrder/index.css\";\n\n.needs-info-box{\n border: none !important;\n}\n.info2{\n width: calc(100% - 120rpx);\n}\n.info-item image{\n width: 90rpx;\n height: 90rpx;\n margin-right: 24rpx;\n}\n.info-item{\n font-size: 24rpx;\n border-top: 2rpx solid #F0F0F0;\n padding: 20rpx 0;\n}\n.projectinfo-box{\n font-size: 26rpx;\n margin: 2rpx 0;\n}\n.tag-item{\n /* transform: scale(0.8); */\n margin: 0;\n}\n\n.needs-info-box{\n /* padding-bottom: 22rpx; */\n border-bottom: 2rpx solid #F0F0F0;\n margin-bottom: 22rpx;\n}\n.n-title{\n color: #1D1D1D;\n font-size: 32rpx;\n line-height: 44rpx;\n}\n.n-price{\n color: #707070;\n font-size: 28rpx;\n margin: 8rpx 0;\n}\n.n-desc{\n font-size: 24rpx;\n line-height: 34rpx;\n color: #333333;\n}\n.btn-box{\n margin-top: 10rpx;\n}\n.btn-item {\n font-size: 24rpx;\n width: 130rpx;\n height: 50rpx;\n line-height: 50rpx;\n text-align: center;\n background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\n border-radius: 12rpx;\n color: #fff;\n margin-left: 8rpx;\n}\n.status {\n min-width: 150rpx;\n text-align: right;\n}\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635513141531\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""}