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
24 KiB
1 lines
24 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/personalData/index.vue?1e90","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/personalData/index.vue?70c2","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/personalData/index.vue?7cf1","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/personalData/index.vue?ec5b","uni-app:///pages/user/personalData/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/personalData/index.vue?2398","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/personalData/index.vue?accb"],"names":["createPage","Page"],"mappings":"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","file":"pages/user/personalData/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/personalData/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=7ee4f668&\"\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/user/personalData/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=7ee4f668&\"","var components\ntry {\n components = {\n regionPicker: function() {\n return import(\n /* webpackChunkName: \"components/region-picker/region-picker\" */ \"@/components/region-picker/region-picker.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}\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/user/personalData/index.wxml-->\r\n<view class=\"personal-index\">\r\n <view class=\"back-btn\" :style=\"'top:' + navTopHeight + 'rpx'\" @tap=\"backPage\">\r\n\t\t\t<image src=\"/static/images/back.png\" mode></image>\r\n\t</view>\r\n <view class=\"bg-img-box\"><image src=\"https://download.cyjyyjy.com/personalPage-bg.png\"></image></view>\r\n <view class=\"logo-box acea-row row-column\">\r\n <image src=\"/static/images/logo.png\"></image>\r\n <view>欢迎入驻禅易云生态</view>\r\n </view>\r\n <view class=\"form-box\">\r\n <view class=\"title\">请完善个人信息</view>\r\n <view class=\"form\">\r\n <view class=\"inp-box\">\r\n <view class=\"label\">姓名</view>\r\n <input type=\"text\" placeholder=\"请填写您的真实姓名\" :value=\"form.realName\" @input=\"changeName\" placeholder-style=\"color:#6D6D6D\">\r\n </view>\r\n <view class=\"inp-box\">\r\n <view class=\"label\">身份证号</view>\r\n <input type=\"idcard\" placeholder=\"请填写您的身份证号码\" maxlength=\"18\" @input=\"changeidCard\" :value=\"form.idCard\" placeholder-style=\"color:#6D6D6D\">\r\n </view>\r\n <view class=\"inp-box\">\r\n <view class=\"label\">手机号</view>\r\n <input type=\"text\" placeholder=\"请填写您的手机号\" :value=\"form.phone\" maxlength=\"11\" @input=\"changePhone\" placeholder-style=\"color:#6D6D6D\">\r\n <button v-if=\"form.phone == ''\" class=\"getPhone-btn\" open-type=\"getPhoneNumber\" @getphonenumber=\"getPhoneNumber\">一键获取</button>\r\n </view>\r\n <view class=\"inp-box\">\r\n <view class=\"label\">短信验证码</view>\r\n <view class=\"sencode-box acea-row-nowrap row-between row-middle\">\r\n <input type=\"text\" placeholder=\"请填写短信验证码\" :value=\"form.code\" @input=\"changeCode\" maxlength=\"6\" placeholder-style=\"color:#6D6D6D\">\r\n <view class=\"sendcode-btn\" v-if=\"!disabled\" @tap=\"sendCode\">发送验证码</view>\r\n <view class=\"sendcode-btn default\" v-else>{{ second }}秒后重新发送</view>\r\n </view>\r\n </view>\r\n <view class=\"inp-box\">\r\n <view class=\"label\">所在城市</view>\r\n <region-picker @change=\"bindRegionChange\" :value=\"form.city\">\r\n <view class=\"picker\">\r\n {{form.city}}\r\n </view>\r\n </region-picker>\r\n </view>\r\n <view class=\"inp-box\">\r\n <view class=\"label\">所在行业</view>\r\n <input type=\"text\" placeholder=\"请选择\" @tap=\"toProfession\" disabled=\"disabled\" :value=\"form.profession\" placeholder-style=\"color:#6D6D6D\">\r\n </view>\r\n <view class=\"inp-box noBorder\">\r\n <view class=\"label\">所在职位</view>\r\n <picker @change=\"bindPickerChange\" :value=\"form.position\" :range=\"positionArr\">\r\n <view class=\"picker\">{{form.position}}</view>\r\n </picker>\r\n <!-- <input type=\"text\" placeholder=\"请填写您的职位\" placeholder-style=\"color:#FFE8D8\"/> -->\r\n </view>\r\n </view>\r\n <view class=\"submit-btn\" @tap=\"toComplete\">保存并入驻</view>\r\n </view>\r\n</view>\r\n</template>\r\n\r\n<script>\r\n// pages/user/personalData/index.js\r\nconst app = getApp();\r\n\r\nexport default {\r\n data() {\r\n return {\r\n navTopHeight: app.globalData.menuTop + app.globalData.navTopHeight + 20,\r\n form: {\r\n realName: '',\r\n idcard: '',\r\n phone: '',\r\n code: '',\r\n city: '请选择所在城市',\r\n profession: '',\r\n position: '请选择'\r\n },\r\n disabled: false,\r\n second: 60,\r\n positionArr: ['企业负责人', '高层管理者', '中层管理者', '基层管理者', '普通员工'],\r\n timer: null,\r\n userInfo: \"\"\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.setData({\r\n userInfo: uni.getStorageSync('userInfo')\r\n });\r\n\r\n if (this.userInfo.phone) {\r\n this.setData({//['form.phone']: this.data.userInfo.phone\r\n });\r\n //try fix\r\n this.form.phone = this.userInfo.phone;\r\n }\r\n\r\n if (app.globalData.inviterId) {\r\n this.bindInviter();\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 if (uni.getStorageSync('form')) {\r\n let form = uni.getStorageSync('form');\r\n //try fix\r\n this.form.position = form.position;\r\n //try fix\r\n this.form.code = form.code;\r\n //try fix\r\n this.form.idCard = form.idCard;\r\n //try fix\r\n this.form.city = form.city;\r\n //try fix\r\n this.form.realName = form.realName;\r\n }\r\n },\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 // onShareAppMessage: function () {\r\n // }\r\n ,\r\n methods: {\r\n //绑定上级\r\n bindInviter() {\r\n app.http('get', 'user/bindInviter', {\r\n inviterId: app.globalData.inviterId\r\n }).then(res => {\r\n if (res.data.success) {\r\n console.log('绑定成功');\r\n } else {\r\n console.log('绑定失败');\r\n }\r\n });\r\n },\r\n\r\n setFormStorage() {\r\n uni.setStorageSync('form', this.form);\r\n },\r\n\r\n changeName(e) {\r\n this.setData({//['form.realName']: e.detail.value\r\n });\r\n //try fix\r\n this.form.realName = e.detail.value;\r\n this.setFormStorage();\r\n },\r\n\r\n changePhone(e) {\r\n this.setData({//.form.phone: e.detail.value\r\n });\r\n //try fix\r\n this.form.phone = e.detail.value;\r\n },\r\n\r\n changeidCard(e) {\r\n this.setData({//.form.idCard: e.detail.value\r\n });\r\n //try fix\r\n this.form.idCard = e.detail.value;\r\n this.setFormStorage();\r\n },\r\n\r\n bindRegionChange(e) {\r\n this.setData({//.form.city: e.detail.value.join(' ')\r\n });\r\n //try fix\r\n this.form.city = e.detail.value.join(' ');\r\n this.setFormStorage();\r\n },\r\n\r\n bindPickerChange(e) {\r\n this.setData({//.form.position: this.data.positionArr[e.detail.value]\r\n });\r\n //try fix\r\n this.form.position = this.positionArr[e.detail.value];\r\n this.setFormStorage();\r\n },\r\n\r\n changeCode(e) {\r\n this.setData({//.form.code: e.detail.value\r\n });\r\n //try fix\r\n this.form.code = e.detail.value;\r\n this.setFormStorage();\r\n },\r\n\r\n toProfession() {\r\n uni.navigateTo({\r\n url: '../profession/index'\r\n });\r\n this.setFormStorage();\r\n },\r\n\r\n getPhoneNumber(e) {\r\n if (e.detail.errMsg == 'getPhoneNumber:ok') {\r\n app.http('post', 'wxapp/binding', {\r\n encryptedData: e.detail.encryptedData,\r\n iv: e.detail.iv\r\n }).then(res => {\r\n if (res.data.success) {\r\n this.setData({//['form.phone']: res.data.data.phone\r\n });\r\n //try fix\r\n this.form.phone = res.data.data.phone;\r\n uni.showToast({\r\n title: res.data.msg\r\n });\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n }\r\n },\r\n\r\n backPage() {\r\n uni.navigateBack({\r\n delta: 1\r\n });\r\n },\r\n\r\n sendCode() {\r\n var reg = /^1[3456789]\\d{9}$/;\r\n\r\n if (this.form.phone === '') {\r\n uni.showModal({\r\n title: '手机号码不能为空',\r\n type: 'none'\r\n });\r\n return;\r\n } else if (!reg.test(this.form.phone)) {\r\n uni.showModal({\r\n title: '请输入有效的手机号码',\r\n type: 'none'\r\n });\r\n return;\r\n } else {\r\n if (this.disabled == false) {\r\n clearInterval(this.timer);\r\n this.setData({\r\n disabled: true\r\n });\r\n let timer = setInterval(() => {\r\n //设置延迟执行\r\n this.timeup();\r\n }, 1000);\r\n this.setData({\r\n timer: timer\r\n });\r\n }\r\n\r\n app.http('post', 'user/getVerificationCode', {\r\n phone: this.form.phone\r\n }).then(res => {\r\n if (res.data.success) {\r\n uni.showToast({\r\n title: '短信已发送!'\r\n });\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n }\r\n },\r\n\r\n timeup() {\r\n this.setData({\r\n second: this.second - 1\r\n });\r\n\r\n if (this.second == 0) {\r\n this.second = 60;\r\n this.setData({\r\n disabled: false,\r\n second: 60\r\n });\r\n clearInterval(this.timer);\r\n return;\r\n }\r\n },\r\n\r\n toComplete() {\r\n let data = {\r\n realName: this.form.realName,\r\n idCard: this.form.idCard,\r\n code: this.form.code,\r\n phone: this.form.phone,\r\n city: this.form.city,\r\n industry: this.form.profession,\r\n position: this.form.position\r\n };\r\n app.http('post', 'user/edit', data).then(res => {\r\n if (res.data.success) {\r\n uni.navigateTo({\r\n url: '../completeData/index'\r\n });\r\n app.getInfo();\r\n } else {\r\n uni.showToast({\r\n title: res.data.msg,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/user/personalData/index.wxss */\r\npage{\r\n width: 100%;\r\n height: 100vh;\r\n}\r\n.personal-index{\r\n width: 100%;\r\n height: 100vh;\r\n position: relative;\r\n overflow: hidden;\r\n}\r\n.bg-img-box{\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n}\r\n.bg-img-box image{\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.logo-box{\r\n position: absolute;\r\n top: 220rpx;\r\n left: 32rpx;\r\n width: 100%;\r\n font-size: 40rpx;\r\n color: #EFDACA;\r\n}\r\n.logo-box image{\r\n width: 160rpx;\r\n height: 90rpx;\r\n margin-bottom: 22rpx;\r\n}\r\n\r\n.form-box{\r\n position: absolute;\r\n top: 400rpx;\r\n left: 0;\r\n font-size: 28rpx;\r\n color: #363636;\r\n width: 100%;\r\n padding: 0 32rpx;\r\n}\r\n.title{\r\n font-size: 40rpx;\r\n color: #EFDACA;\r\n}\r\n\r\n.form{\r\n width: 100%;\r\n min-height: 640rpx;\r\n background: linear-gradient(322deg, #DEB99F 0%, #E9D1C0 51%, #E3C9B5 100%);\r\n border-radius: 8rpx;\r\n margin: 62rpx 0;\r\n padding: 16rpx 0;\r\n}\r\n.form .inp-box{\r\n width: 100%;\r\n height: 86rpx;\r\n padding: 0 16rpx;\r\n border-bottom: 2rpx solid #B89F83;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n.form .inp-box .label{\r\n width: 160rpx;\r\n text-align: left;\r\n}\r\n.inp-box input{\r\n text-align: right;\r\n}\r\n.sencode-box{\r\n width: calc(100% - 180rpx);\r\n}\r\n.sencode-box input{\r\n width: 230rpx;\r\n} \r\n.sencode-box .sendcode-btn,.getPhone-btn{\r\n width: 220rpx;\r\n height: 66rpx;\r\n text-align: center;\r\n line-height: 66rpx;\r\n background: #FFFFFF;\r\n color: #BE996F;\r\n box-shadow: 6rpx 6rpx 12rpx #D1BCA5;\r\n border-radius: 8rpx;\r\n position: relative;\r\n}\r\n.sendcode-btn::before{\r\n content: '';\r\n display: inline-block;\r\n width: 2rpx;\r\n height: 40rpx;\r\n background: #C3AA91;\r\n position: absolute;\r\n left: -10rpx;\r\n top: 10rpx;\r\n}\r\n.picker{\r\n color: #6D6D6D;\r\n}\r\n.noBorder{\r\n border: none !important;\r\n}\r\n\r\n.submit-btn{\r\n width: 268rpx;\r\n height: 82rpx;\r\n text-align: center;\r\n line-height: 82rpx;\r\n color: #946F46;\r\n font-size: 32rpx;\r\n background: linear-gradient(322deg, #DEB99F 0%, #E9D1C0 51%, #E3C9B5 100%);\r\n box-shadow: 6rpx 6rpx 20rpx rgba(22, 22, 22, 0.43);\r\n border-radius: 62rpx;\r\n margin: 0 auto;\r\n}\r\n\r\n\r\n.getPhone-btn{\r\n width: 210rpx !important;\r\n padding: 0 !important;\r\n font-size: 28rpx;\r\n font-weight: normal;\r\n color: #BE996F;\r\n margin-left: 10rpx !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 // 1635494610659\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":""} |