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
13 KiB
1 lines
13 KiB
{"version":3,"sources":["webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/CouponListWindow.vue?f678","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/CouponListWindow.vue?8feb","uni-app:///components/CouponListWindow.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/CouponListWindow.vue?2eb4","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/CouponListWindow.vue?40ec","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/CouponListWindow.vue?4b08","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/CouponListWindow.vue?1f86"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA4zB,CAAgB,40BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+Dh1B,wD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yTAGA,EACA,wBADA,EAEA,cACA,wBADA,EAFA,EAKA,SACA,cADA,EAEA,eAFA,EAGA,SACA,sBADA,EAEA,kBAFA,EAHA,EAOA,UACA,YADA,EAEA,WAFA,EAPA,EALA,EAiBA,uBACA,SACA,cADA,EAEA,aAFA,GAIA,CAtBA,EAuBA,SACA,KADA,iBACA,CADA,EACA,CACA,yCACA,iBACA,CAJA,EAKA,MALA,kBAKA,CALA,EAKA,CACA,yCACA,iBACA,CARA,EAvBA,EAiCA,8BAjCA,EAkCA,WACA,yBACA,2BACA,oBACA,CAJA,EAKA,SALA,uBAKA,kBACA,6DACA,4BACA,oBACA,CAHA,EAIA,CAVA,EAWA,KAXA,iBAWA,MAXA,EAWA,CACA,8BACA,2BACA,CAdA,EAeA,+BACA,4BACA,2BACA,CAlBA,EAlCA,E;;;;;;;;;;;;AClEA;AAAA;AAAA;AAAA;AAAogD,CAAgB,49CAAG,EAAC,C;;;;;;;;;;;ACAxhD;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;ACNL;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACsC;;;AAGrG;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,uGAAM;AACR,EAAE,gHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","file":"components/CouponListWindow.js","sourcesContent":["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!./CouponListWindow.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!./CouponListWindow.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <view class=\"coupon-list-window\" :class=\"value === true ? 'on' : ''\">\r\n <view class=\"title\">\r\n 优惠券\r\n <text class=\"iconfont icon-guanbi\" @click=\"close\"></text>\r\n </view>\r\n <view v-if=\"couponList.length > 0\">\r\n <view class=\"coupon-list\">\r\n <div\r\n class=\"item acea-row row-center-wrapper\"\r\n v-for=\"coupon in couponList\"\r\n :key=\"coupon.id\"\r\n @click=\"click(coupon)\"\r\n >\r\n <div class=\"money\">\r\n <div>\r\n ¥<span class=\"num\">{{ coupon.couponPrice }}</span>\r\n </div>\r\n <div class=\"pic-num\">满{{ coupon.useMinPrice }}元可用</div>\r\n </div>\r\n <div class=\"text\">\r\n <div class=\"condition line1\">{{ coupon.couponTitle }}</div>\r\n <div class=\"data acea-row row-between-wrapper\">\r\n <div v-if=\"coupon.endTime === 0\">不限时</div>\r\n <div v-else>截止:{{ coupon.endTime }}</div>\r\n <div\r\n class=\"iconfont icon-xuanzhong1 font-color-red\"\r\n v-if=\"checked === coupon.id\"\r\n ></div>\r\n <div class=\"iconfont icon-weixuanzhong\" v-else></div>\r\n </div>\r\n </div>\r\n </div>\r\n </view>\r\n <view class=\"couponNo bg-color-red\" @click=\"couponNo\">不使用优惠券</view>\r\n </view>\r\n <view v-if=\"!couponList.length && loaded\">\r\n <view class=\"pictrue\">\r\n <image :src=\"`${$VUE_APP_RESOURCES_URL}/images/noCoupon.png`\" class=\"image\" />\r\n </view>\r\n </view>\r\n </view>\r\n <view class=\"mask\" @touchmove.prevent :hidden=\"value === false\" @click=\"close\"></view>\r\n </view>\r\n</template>\r\n<style scoped lang=\"less\">\r\n.coupon-list-window .iconfont {\r\n font-size: 40rpx;\r\n}\r\n.couponNo {\r\n font-size: 30rpx;\r\n font-weight: bold;\r\n color: #fff;\r\n width: 690rpx;\r\n height: 86rpx;\r\n border-radius: 43rpx;\r\n text-align: center;\r\n line-height: 86rpx;\r\n margin: 60rpx auto;\r\n}\r\n</style>\r\n<script>\r\nimport { getOrderCoupon } from \"@/api/order\";\r\nimport DataFormatT from \"@/components/DataFormatT\";\r\n\r\nexport default {\r\n name: \"CouponListWindow\",\r\n components: {\r\n DataFormatT\r\n },\r\n props: {\r\n value: Boolean,\r\n checked: Number,\r\n price: {\r\n type: [Number, String],\r\n default: undefined\r\n },\r\n cartid: {\r\n type: String,\r\n default: \"\"\r\n }\r\n },\r\n data: function() {\r\n return {\r\n couponList: [],\r\n loaded: false\r\n };\r\n },\r\n watch: {\r\n price(n) {\r\n if (n === undefined || n == null) return;\r\n this.getCoupon();\r\n },\r\n cartid(n) {\r\n if (n === undefined || n == null) return;\r\n this.getCoupon();\r\n }\r\n },\r\n mounted: function() {},\r\n methods: {\r\n close: function() {\r\n this.$emit(\"input\", false);\r\n this.$emit(\"close\");\r\n },\r\n getCoupon() {\r\n getOrderCoupon(this.cartid).then(res => {\r\n this.couponList = res.data;\r\n this.loaded = true;\r\n });\r\n },\r\n click(coupon) {\r\n this.$emit(\"checked\", coupon);\r\n this.$emit(\"input\", false);\r\n },\r\n couponNo: function() {\r\n this.$emit(\"checked\", null);\r\n this.$emit(\"input\", false);\r\n }\r\n }\r\n};\r\n</script>\r\n","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--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-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--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!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--10-oneOf-1-5!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!./CouponListWindow.vue?vue&type=style&index=0&id=316c824f&scoped=true&lang=less&\"; 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--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-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--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!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--10-oneOf-1-5!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!./CouponListWindow.vue?vue&type=style&index=0&id=316c824f&scoped=true&lang=less&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635125981410\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 ","import { render, staticRenderFns, recyclableRender, components } from \"./CouponListWindow.vue?vue&type=template&id=316c824f&scoped=true&\"\nvar renderjs\nimport script from \"./CouponListWindow.vue?vue&type=script&lang=js&\"\nexport * from \"./CouponListWindow.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CouponListWindow.vue?vue&type=style&index=0&id=316c824f&scoped=true&lang=less&\"\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 \"316c824f\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/CouponListWindow.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!./CouponListWindow.vue?vue&type=template&id=316c824f&scoped=true&\""],"sourceRoot":""} |