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
20 KiB
1 lines
20 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Documents/high-mini/pages/user/mineCoupons/mineCoupons.vue?3fef","webpack:///D:/Documents/high-mini/pages/user/mineCoupons/mineCoupons.vue?b347","webpack:///D:/Documents/high-mini/pages/user/mineCoupons/mineCoupons.vue?c07d","webpack:///D:/Documents/high-mini/pages/user/mineCoupons/mineCoupons.vue?1a4a","uni-app:///pages/user/mineCoupons/mineCoupons.vue","webpack:///D:/Documents/high-mini/pages/user/mineCoupons/mineCoupons.vue?a9c9","webpack:///D:/Documents/high-mini/pages/user/mineCoupons/mineCoupons.vue?86ab"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,oH;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;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;AAAuuB,CAAgB,4vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkC3vB,gE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AACA,mB,eACA,EACA,IADA,kBACA,CACA,SACA,yBADA,EAEA,cAFA,EAGA,+BAHA,EAIA,eAJA,EAKA,UALA,EAMA,YANA,EAOA,mBAPA,EAQA,eARA,GAUA,CAZA,EAaA,YAbA,wBAaA,CAbA,EAaA,CACA,OADA,CAEA;AACA,kEACA,CAjBA,EAmBA,MAnBA,oBAmBA,CACA,0BACA,CArBA,EAsBA,aAtBA,2BAsBA,CACA,yBACA,CAxBA,EAyBA,WACA,QADA,oBACA,OADA,EACA,CACA,2BACA,6BACA,iBACA,sBACA;AACA;AACA,OALA,MAKA;AACA;AACA;AACA;AACA;AACA;AACA,KAdA;AAeA,eAfA,uBAeA,IAfA,EAeA;AACA;AACA,mEADA;;AAGA,KAnBA;AAoBA;AACA,qBArBA,6BAqBA,IArBA,EAqBA;AACA;AACA,uBADA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBADA;AAEA,oBAFA;AAGA,+BAHA;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA,SALA,MAKA;AACA;AACA;AACA;AACA,OAVA;AAWA,KAhDA,EAzBA,E;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAi1C,CAAgB,kzCAAG,EAAC,C;;;;;;;;;;;ACAr2C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/mineCoupons/mineCoupons.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/mineCoupons/mineCoupons.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./mineCoupons.vue?vue&type=template&id=abb13fcc&\"\nvar renderjs\nimport script from \"./mineCoupons.vue?vue&type=script&lang=js&\"\nexport * from \"./mineCoupons.vue?vue&type=script&lang=js&\"\nimport style0 from \"./mineCoupons.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\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/mineCoupons/mineCoupons.vue\"\nexport default component.exports","export * from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineCoupons.vue?vue&type=template&id=abb13fcc&\"","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 \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineCoupons.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineCoupons.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"topTabBar\">\r\n\t\t\t<view class=\"grid\" v-for=\"(grid,tbIndex) in businType\" :key=\"tbIndex\" @click=\"showType(tbIndex)\">\r\n\t\t\t\t<view class=\"text\" :class=\"[tbIndex==tabbarIndex?'on':'']\">{{grid}}</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<view v-if=\"productList == '' \" class=\"mart60 fotct font14 fcor666\">\r\n\t\t\t<image style=\"width: 100px;height: 100px;\"\r\n\t\t\t\tsrc=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAPoElEQVR4Xu1daXBcRxGefqusIisJUS6UiwApU4TiKkhxQ8UU91Gc5XAYE8na995KsoiVkBPiXTuxndiWHMmr9+atLYMxhJiQOyE4IcoB4aaAgiKFCyoQElS5lEocKZG0r6l2zUuthazdfvv20s783e6Z7p7v9XT3zOyA0K2hLQANrb1WXmgANDgINAA0ABrcAg2uvvYAGgANboEGV197AA2AxrQAIoLneWtJe9M00wCAjWiJhvMAqVTKaG9vXwsAV+RPOCKuGx8fT6dSKb+RgNAwANi7d29sYmKCvvhvF5jg9W1tbenly5fnGgEIix4AY2NjTfv371+LiN/iTCgAXLl06dL0smXLZjl89Ua7aAEgpTxCCEFf/OUlTspVQoi0ZVkzJfZTk+yLDgBDQ0PNzc3NtL5fFqXFEXHj9PR0uq+v76Uo+612X4sGALt27TpyenqavvhLymzUTfF4PN3R0fFimcepSPd1D4CBgYGWJUuWUFR/McdiAHBfLpdLE08sFqMY4Rwm/9UHDhxI9/f3T3H4ao22bgEgpVyi1viLOEYNJj6ZTN6Xz+c4zjlhgCCEuEbFCJMcOWqFtu4AsHv37tapqSly9d/kGBEA7s7lchvmTvzcPkoAwuaWlpb0ypUrX+DIVW3augFAJpM5ir5QALiQabQ7fN/fUmjiowICAGyZmZlJ9/T0HGDKWRXymgfAzp07j56dnaUv/gKOhRDxJkQc4k58VEAQQmxtampKr1q16nmO3JWmrV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V6k1fqaUTmqVd9ECIDD42NhY0/79+6mgRPl80Q0Arly6dGl62bJlVE9YtG3RAyCYub1798YmJiYoRqD8fqG2vq2tLb18+XKqHyz61jAACGYylUoZ7e3tlDVQnPByQ8R14+Pj6VQqRfWChmkNB4BgZhERPM87+ICkaZppAKACUMO1hgVAw830YRTWAGhwJGgAaAA0uAUaXH3tATQAGtwCDa6+9gAaAA1ugQZX/3+DPb4XwPiylgAAAABJRU5ErkJggg==\">\r\n\t\t\t</image>\r\n\t\t\t<view class=\"mart10\">暂无数据</view>\r\n\t\t</view>\r\n\r\n\r\n\t\t<view class=\"product-list mart20\">\r\n\t\t\t<view class=\"product\" v-for=\"product in productList\" :key=\"product.id\"\r\n\t\t\t\t@click=\"jumpMineCou(product.highCouponModel.id)\">\r\n\t\t\t\t<image mode=\"widthFix\" :src=\"imageUrl+product.highCouponModel.couponImg\"></image>\r\n\t\t\t\t<view class=\"name\">{{ product.highCouponModel.couponName }}</view>\r\n\t\t\t\t<view class=\"info\">\r\n\t\t\t\t\t<view class=\"price\">¥{{ product.highCouponModel.discountPrice}}</view>\r\n\t\t\t\t\t<view class=\"slogan\"\r\n\t\t\t\t\t\tv-if=\"product.highCouponModel.discountPrice !== product.highCouponModel.salesPrice\">\r\n\t\t\t\t\t\t¥{{ product.highCouponModel.salesPrice}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"loading-text\" v-if=\"productList != '' \">{{ loadingText }}</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tgetUserCouponList\r\n\t} from \"../../../Utils/Api.js\"; //您的api路径\r\n\tlet app = getApp();\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tbusinType: ['未使用', '已使用'],\r\n\t\t\t\ttabbarIndex: 0,\r\n\t\t\t\timageUrl: app.globalData.imgUrl,\r\n\t\t\t\tproductList: [],\r\n\t\t\t\tpageNum: 1,\r\n\t\t\t\tpageSize: 10,\r\n\t\t\t\tisNoMoreData: false,\r\n\t\t\t\tloadingText: ''\r\n\t\t\t}\r\n\t\t},\r\n\t\tonPageScroll(e) {\r\n\t\t\treturn;\r\n\t\t\t//兼容iOS端下拉时顶部漂移\r\n\t\t\tthis.headerPosition = e.scrollTop >= 0 ? \"fixed\" : \"absolute\";\r\n\t\t},\r\n\r\n\t\tonLoad() {\r\n\t\t\tthis.getUserCouponList(1);\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\t\t\tthis.getUserCouponList();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tshowType(tbIndex) {\r\n\t\t\t\tthis.tabbarIndex = tbIndex;\r\n\t\t\t\tif (this.tabbarIndex === 0) {\r\n\t\t\t\t\tthis.pageNum = 1;\r\n\t\t\t\t\tthis.productList = []\r\n\t\t\t\t\tthis.isNoMoreData = false;\r\n\t\t\t\t\tthis.getUserCouponList(1);\r\n\t\t\t\t} else if (this.tabbarIndex === 1) {\r\n\t\t\t\t\tthis.pageNum = 1;\r\n\t\t\t\t\tthis.productList = []\r\n\t\t\t\t\tthis.isNoMoreData = false;\r\n\t\t\t\t\tthis.getUserCouponList(2);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tjumpMineCou(item) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '../../goods/coupon-details/coupon-details?id=' + item\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t//赠券卡券列表\r\n\t\t\tgetUserCouponList(item) {\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '加载中...'\r\n\t\t\t\t})\r\n\t\t\t\tif (this.isNoMoreData) {\r\n\t\t\t\t\tuni.hideLoading()\r\n\t\t\t\t\tthis.loadingText = '到底了';\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tlet pagenum = this.pageNum;\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\tpageNum: pagenum,\r\n\t\t\t\t\tstatus: item,\r\n\t\t\t\t\tpageSize: this.pageSize\r\n\t\t\t\t}\r\n\r\n\t\t\t\tgetUserCouponList(params).then(res => {\r\n\t\t\t\t\tif (res.return_code == '000000' && res.return_data.list != '') {\r\n\t\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t\t\tthis.isNoMoreData = res.return_data.list.length == this.pageSize ? false : true;\r\n\t\t\t\t\t\tthis.pageNum = res.return_data.list.length == this.pageSize ? ++pagenum : pagenum;\r\n\t\t\t\t\t\tthis.productList = this.productList.concat(res.return_data.list);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.productList = [];\r\n\t\t\t\t\t\tuni.hideLoading()\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}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.loading-text {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\theight: 60upx;\r\n\t\tcolor: #979797;\r\n\t\tfont-size: 24upx;\r\n\t}\r\n\r\n\t.topTabBar {\r\n\t\twidth: 100%;\r\n\t\tbackground-color: #f8f8f8;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-around;\r\n\r\n\t\t.grid {\r\n\t\t\twidth: 20%;\r\n\t\t\theight: 80upx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tcolor: #444;\r\n\t\t\tfont-size: 28upx;\r\n\r\n\t\t\t.text {\r\n\t\t\t\theight: 76upx;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\r\n\t\t\t\t&.on {\r\n\t\t\t\t\tcolor: #f06c7a;\r\n\t\t\t\t\tborder-bottom: solid 4upx #f06c7a;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.product-list {\r\n\t\twidth: 92%;\r\n\t\tpadding: 0 4% 3vw 4%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tflex-wrap: wrap;\r\n\r\n\t\t.product {\r\n\t\t\twidth: 48%;\r\n\t\t\tborder-radius: 20upx;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tmargin: 0 0 15px 0;\r\n\t\t\tbox-shadow: 0upx 5upx 25upx rgba(0, 0, 0, 0.1);\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tborder-radius: 20upx 20upx 0 0;\r\n\t\t\t}\r\n\r\n\t\t\t.name {\r\n\t\t\t\twidth: 92%;\r\n\t\t\t\tpadding: 10upx 4%;\r\n\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\ttext-align: justify;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\tfont-size: 30upx;\r\n\t\t\t}\r\n\r\n\t\t\t.info {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\talign-items: flex-end;\r\n\t\t\t\twidth: 92%;\r\n\t\t\t\tpadding: 10upx 4% 10upx 4%;\r\n\r\n\t\t\t\t.price {\r\n\t\t\t\t\tcolor: #e65339;\r\n\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.slogan {\r\n\t\t\t\t\tcolor: #807c87;\r\n\t\t\t\t\tfont-size: 24upx;\r\n\t\t\t\t\ttext-decoration: line-through;\r\n\t\t\t\t\tmargin-right: 50px;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\n","import mod from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineCoupons.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\hBuilderX\\\\HBuilderXv3.0.5.20210107\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./mineCoupons.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1617270860243\n var cssReload = require(\"E:/hBuilderX/HBuilderXv3.0.5.20210107/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":""} |