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
1 lines
25 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/perfectPersonInfo/index.vue?b8be","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/perfectPersonInfo/index.vue?e4d6","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/perfectPersonInfo/index.vue?f188","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/perfectPersonInfo/index.vue?471e","uni-app:///pages/release/perfectPersonInfo/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/perfectPersonInfo/index.vue?16d7","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/release/perfectPersonInfo/index.vue?23a1"],"names":["createPage","Page"],"mappings":"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","file":"pages/release/perfectPersonInfo/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/release/perfectPersonInfo/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=dcae02bc&\"\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 \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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/release/perfectPersonInfo/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=dcae02bc&\"","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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n<!--pages/release/perfectCompanyInfo/index.wxml-->\r\n<view class=\"perfect-companyInfo-page\">\r\n <view class=\"title acea-row row-middle\">个人(团队)简介</view>\r\n <view class=\"form-box\">\r\n <form @submit=\"submit\">\r\n <view class=\"introduction-box\">\r\n <view class=\"introduction-item acea-row row-between-wrapper\">\r\n <view>团队规模<text class=\"red\">*</text></view>\r\n <view class=\"acea-row row-middle\">\r\n <input type=\"number\" placeholder=\"请填写(人数)\" :value=\"form.enterpriseScale\" name=\"enterpriseScale\">\r\n <image src=\"/static/images/home/arrow-r.png\"></image>\r\n </view>\r\n </view>\r\n <view class=\"introduction-item acea-row row-between-wrapper\">\r\n <view>主要承接类型<text class=\"red\">*</text></view>\r\n <view class=\"acea-row row-middle\">\r\n <!-- <input type=\"text\" placeholder=\"请填写\" valaue=\"{{form.industryId}}\" name=\"industryId\" />\r\n <image src=\"../../../images/home/arrow-r.png\"></image> -->\r\n <picker class=\"pick-box\" @change=\"resourcesChange\" :value=\"idx\" :range=\"resourcesList\" :range-key=\"'cagetoryName'\" mode=\"selector\">\r\n <view class=\"picker\">{{resourcesList[resourcesIdx].cagetoryName || '请选择'}}</view>\r\n </picker>\r\n </view>\r\n </view>\r\n <view class=\"introduction-item acea-row row-between-wrapper\">\r\n <view>组建时间<text class=\"red\">*</text></view>\r\n <view class=\"acea-row row-middle\">\r\n <picker @change=\"timeChange\" :value=\"form.establishmentTime\" name=\"establishmentTime\" mode=\"date\">\r\n <view class=\"picker\">{{form.establishmentTime || '请选择'}}</view>\r\n </picker>\r\n <!-- <input type=\"text\" placeholder=\"请填写\" value=\"{{form.establishmentTime}}\" name=\"establishmentTime\" /> -->\r\n <!-- <image src=\"../../../images/home/arrow-r.png\"></image> -->\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"form-item\">\r\n <view class=\"label-box acea-row row-between-wrapper\">\r\n <view>办公地址<text class=\"red\">*</text></view>\r\n <view class=\"chose\" @tap=\"showMap\">去选择地址</view>\r\n </view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" placeholder=\"企业详细地址\" :value=\"form.enterpriseAddress\" name=\"enterpriseAddress\">\r\n </view>\r\n </view>\r\n <view class=\"form-item\">\r\n <view class=\"label-box acea-row row-between-wrapper\">\r\n <view>客服电话<text class=\"red\">*</text></view>\r\n </view>\r\n <view class=\"inp-box\">\r\n <input type=\"text\" placeholder=\"客服电话\" :value=\"form.enterprisePhone\" name=\"enterprisePhone\">\r\n </view>\r\n </view>\r\n <view class=\"form-item\">\r\n <view class=\"label-box acea-row row-between-wrapper\">\r\n <view>关于我们</view>\r\n </view>\r\n <view class=\"textarea-box\">\r\n <textarea :value=\"form.resourceIntroduction\" name=\"resourceIntroduction\" placeholder=\"请填写团队简介\"></textarea>\r\n </view>\r\n </view>\r\n <view class=\"form-item\">\r\n <view class=\"label-box acea-row row-between-wrapper\">\r\n <view>团队展示</view>\r\n </view>\r\n <view class=\"upload-box acea-row\">\r\n <view v-for=\"(item, index) in form.imgPaths\" :key=\"index\" class=\"img-box\">\r\n <image :src=\"item\"></image>\r\n <view class=\"del\" @tap=\"delImg\" :data-idx=\"index\"><image src=\"/static/images/del.png\"></image></view>\r\n </view>\r\n <image src=\"/static/images/upload.png\" @tap=\"upImgs\"></image>\r\n </view>\r\n </view>\r\n <button class=\"submit-btn\" form-type=\"submit\">保存并提交</button>\r\n </form>\r\n </view>\r\n</view>\r\n</template>\r\n\r\n<script>\r\n// pages/release/perfectPersonInfo/index.js\r\nconst util = require(\"../../../utils/util.js\");\r\nconst app = getApp();\r\nimport WxValidate from '../../../utils/WxValidate.js';\r\n\r\nexport default {\r\n data() {\r\n return {\r\n form: {\r\n enterpriseType: 2,\r\n enterpriseScale: '',\r\n businessNature: '',\r\n establishmentTime: '',\r\n enterpriseAddress: '',\r\n latitude: '',\r\n longitude: '',\r\n enterprisePhone: '',\r\n resourceIntroduction: '',\r\n imgPaths: []\r\n },\r\n resourcesList: [],\r\n resourcesIdx: \"\"\r\n };\r\n },\r\n\r\n components: {},\r\n props: {},\r\n\r\n /**\r\n * 生命周期函数--监听页面加载\r\n */\r\n onLoad: function (options) {\r\n this.initValidate(); //验证规则函数\r\n\r\n this.getResourcesCagetory();\r\n\r\n if (options.isEdit) {\r\n this.getEnterpriseInfo();\r\n }\r\n },\r\n\r\n /**\r\n * 生命周期函数--监听页面初次渲染完成\r\n */\r\n onReady: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面显示\r\n */\r\n onShow: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面隐藏\r\n */\r\n onHide: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面卸载\r\n */\r\n onUnload: function () {},\r\n\r\n /**\r\n * 页面相关事件处理函数--监听用户下拉动作\r\n */\r\n onPullDownRefresh: function () {},\r\n\r\n /**\r\n * 页面上拉触底事件的处理函数\r\n */\r\n onReachBottom: function () {},\r\n\r\n /**\r\n * 用户点击右上角分享\r\n */\r\n onShareAppMessage: function () {},\r\n methods: {\r\n showMap() {\r\n let that = this;\r\n uni.getLocation({\r\n type: 'gcj02',\r\n //返回可以用于wx.openLocation的经纬度\r\n success: function (res) {\r\n uni.chooseLocation({\r\n latitude: res.latitude,\r\n longitude: res.longitude,\r\n scale: 28,\r\n success: result => {\r\n console.log(result);\r\n that.setData({//['form.enterpriseAddress']: result.address\r\n //['form.latitude']: result.latitude\r\n //['form.longitude']: result.longitude\r\n });\r\n //try fix\r\n that.form.longitude = result.longitude;\r\n //try fix\r\n that.form.latitude = result.latitude;\r\n //try fix\r\n that.form.enterpriseAddress = result.address;\r\n }\r\n });\r\n }\r\n });\r\n },\r\n\r\n timeChange(e) {\r\n this.setData({//['form.establishmentTime']: e.detail.value\r\n });\r\n //try fix\r\n this.form.establishmentTime = e.detail.value;\r\n },\r\n\r\n //获取详情\r\n getEnterpriseInfo() {\r\n app.http('GET', 'Enterprise/getEnterpriseInfo').then(res => {\r\n if (res.data.success) {\r\n let data = res.data.data;\r\n this.setData({//['form.enterpriseScale']: data.enterpriseScale\r\n //['form.enterpriseAddress']: data.enterpriseAddress\r\n //['form.businessNature']: data.businessNature\r\n //['form.establishmentTime']: data.establishmentTime\r\n //['form.latitude']: data.latitude\r\n //['form.longitude']: data.longitude\r\n //['form.enterprisePhone']: data.enterprisePhone\r\n //['form.resourceIntroduction']: data.resourceIntroduction\r\n //['form.imgPaths']: data.imgPaths\r\n });\r\n //try fix\r\n this.form.imgPaths = data.imgPaths;\r\n //try fix\r\n this.form.resourceIntroduction = data.resourceIntroduction;\r\n //try fix\r\n this.form.enterprisePhone = data.enterprisePhone;\r\n //try fix\r\n this.form.longitude = data.longitude;\r\n //try fix\r\n this.form.latitude = data.latitude;\r\n //try fix\r\n this.form.establishmentTime = data.establishmentTime;\r\n //try fix\r\n this.form.businessNature = data.businessNature;\r\n //try fix\r\n this.form.enterpriseAddress = data.enterpriseAddress;\r\n //try fix\r\n this.form.enterpriseScale = data.enterpriseScale;\r\n }\r\n });\r\n },\r\n\r\n initValidate() {\r\n const rules = {\r\n enterpriseScale: {\r\n required: true\r\n },\r\n industryId: {\r\n required: true\r\n },\r\n establishmentTime: {\r\n required: true\r\n },\r\n enterpriseAddress: {\r\n required: true\r\n },\r\n enterprisePhone: {\r\n required: true\r\n }\r\n };\r\n const messages = {\r\n enterpriseAddress: {\r\n required: '请选择或填写地址'\r\n },\r\n enterpriseScale: {\r\n required: '请填写团队规模'\r\n },\r\n industryId: {\r\n required: '请填写承接类型'\r\n },\r\n establishmentTime: {\r\n required: '请选择组建时间'\r\n },\r\n enterprisePhone: {\r\n required: '请填写客服电话'\r\n }\r\n };\r\n this.WxValidate = new WxValidate(rules, messages);\r\n },\r\n\r\n //获取供应、需求类型\r\n getResourcesCagetory() {\r\n app.http('GET', 'ResourcesCagetory/listResourcesCagetory').then(res => {\r\n // console.log(res)\r\n if (res.data.success) {\r\n this.setData({\r\n resourcesList: res.data.data\r\n });\r\n }\r\n });\r\n },\r\n\r\n resourcesChange(e) {\r\n // console.log(e)\r\n let idx = Number(e.detail.value);\r\n this.setData({//['form.industryId']: this.data.resourcesList[idx].id\r\n\r\n resourcesIdx: idx,\r\n });\r\n //try fix\r\n this.form.industryId = this.resourcesList[idx].id;\r\n },\r\n\r\n upImgs() {\r\n util.chooseImages2(img => {\r\n let imgs = this.form.imgPaths;\r\n imgs.push(img);\r\n this.setData({//['form.imgPaths']: imgs\r\n });\r\n //try fix\r\n this.form.imgPaths = imgs;\r\n });\r\n },\r\n\r\n delImg(e) {\r\n let idx = e.currentTarget.dataset.idx;\r\n let imgPaths = this.form.imgPaths;\r\n imgPaths.splice(idx, 1);\r\n this.setData({//['form.imgPaths']: imgPaths\r\n });\r\n //try fix\r\n this.form.imgPaths = imgPaths;\r\n },\r\n\r\n submit(e) {\r\n let that = this;\r\n uni.showModal({\r\n title: '提示!',\r\n content: '是否确认提交?',\r\n\r\n success(res) {\r\n if (res.confirm) {\r\n const params = e.detail.value;\r\n params.enterpriseType = 2;\r\n params.imgPaths = that.form.imgPaths;\r\n params.industryId = that.form.industryId;\r\n\r\n if (!that.WxValidate.checkForm(params)) {\r\n const error = that.WxValidate.errorList[0];\r\n that.showModal(error);\r\n return false;\r\n }\r\n\r\n app.http('post', 'Enterprise/completeEnterprise', params).then(res => {\r\n if (res.data.success) {\r\n uni.showToast({\r\n title: '提交成功',\r\n duration: 2000\r\n });\r\n setTimeout(() => {\r\n uni.navigateBack({\r\n delta: 1\r\n });\r\n }, 2000);\r\n }\r\n });\r\n } else {\r\n console.log('已取消');\r\n }\r\n }\r\n\r\n });\r\n },\r\n\r\n showModal(error) {\r\n uni.showModal({\r\n content: error.msg,\r\n showCancel: false\r\n });\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/release/perfectCompanyInfo/index.wxss */\r\n.perfect-companyInfo-page{\r\n width: 100%;\r\n padding: 24rpx 40rpx;\r\n border-top: 2rpx solid #EEEEEE;\r\n}\r\n.introduction-box{\r\n font-size: 28rpx;\r\n color: #666666;\r\n padding-bottom: 30rpx;\r\n border-bottom: 2rpx solid #EEEEEE;\r\n}\r\n.introduction-item{\r\n margin-top: 20rpx;\r\n}\r\n.introduction-item input{\r\n /* width: 100rpx; */\r\n text-align: right;\r\n\r\n}\r\n.introduction-item image{\r\n width: 13rpx;\r\n height: 24rpx;\r\n margin-left: 10rpx;\r\n} \r\n.title{\r\n color: #1D1D1D;\r\n font-size: 32rpx;\r\n}\r\n.title::before{\r\n content: '';\r\n display: inline-block;\r\n width: 8rpx;\r\n height: 42rpx;\r\n background: #FF7942; \r\n border-radius: 4rpx;\r\n margin-right: 10rpx;\r\n}\r\n.form-box{\r\n font-size: 28rpx;\r\n color: #666666;\r\n}\r\n.picker{\r\n font-size: 28rpx;\r\n color: #666666;\r\n}\r\n.form-item{\r\n margin-top: 22rpx;\r\n}\r\n.red{\r\n color: #FF0000;\r\n}\r\n.inp-box{\r\n width: 100%;\r\n height: 60rpx;\r\n background: #EEEEEE;\r\n border-radius: 4rpx;\r\n padding-left: 22rpx;\r\n margin-top: 20rpx;\r\n}\r\n.inp-box input{\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.upload-box{\r\n width: 100%;\r\n margin-top: 20rpx;\r\n padding-bottom: 24rpx;\r\n border-bottom: 2rpx solid #EEEEEE;\r\n}\r\n.upload-box image{\r\n width: 120rpx;\r\n height: 120rpx;\r\n border-radius: 8rpx;\r\n}\r\n.img-box{\r\n width: 120rpx;\r\n height: 120rpx;\r\n position: relative;\r\n margin-right: 14rpx;\r\n margin-bottom: 20rpx;\r\n border-radius: 8rpx;\r\n}\r\n.img-box .del{\r\n width: 32rpx;\r\n height: 32rpx;\r\n position: absolute;\r\n top: -16rpx;\r\n right: -12rpx;\r\n font-weight: bold;\r\n}\r\n.del image{\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.textarea-box{\r\n width: 100%;\r\n height: 352rpx;\r\n background: #EEEEEE;\r\n border-radius: 4rpx;\r\n padding: 22rpx;\r\n margin-top: 20rpx;\r\n}\r\n.textarea-box textarea{\r\n width: 100%;\r\n height: 100%;\r\n line-height: 40rpx;\r\n}\r\n.submit-btn{\r\n width: 670rpx !important;\r\n height: 76rpx !important;\r\n background: linear-gradient(144deg, #FFA782 0%, #FF5100 100%);\r\n border-radius: 38rpx;\r\n color: #fff;\r\n font-size: 28rpx !important;\r\n line-height: 76rpx !important;\r\n text-align: center;\r\n margin:40rpx auto !important;\r\n padding: 0 !important;\r\n}\r\n</style>","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 // 1635767015237\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/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":""} |