chunk-7f08916c.008254f8.js.map 7.2 KB

1
  1. {"version":3,"sources":["webpack:///./src/assets/images/noCoupon.png","webpack:///./src/views/user/coupon/UserCoupon.vue?e4e4","webpack:///./src/views/user/coupon/UserCoupon.vue?4f2f","webpack:///./src/views/user/coupon/UserCoupon.vue?90f8","webpack:///./src/views/user/coupon/UserCoupon.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","ref","couponsList","length","staticClass","_l","item","index","key","class","_type","_v","_s","coupon_price","use_min_price","applicable_type","coupon_title","_end_time","_add_time","_msg","_e","loading","_m","staticRenderFns","attrs","NAME","name","components","props","data","watch","$route","n","that","getUseCoupons","mounted","methods","type","then","res","component"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,gC,yCCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAI,aAAa,CAAEN,EAAIO,YAAYC,OAAS,EAAGJ,EAAG,MAAM,CAACK,YAAY,eAAeT,EAAIU,GAAIV,EAAe,aAAE,SAASW,EAAKC,GAAO,OAAOR,EAAG,MAAM,CAACS,IAAID,EAAMH,YAAY,oCAAoC,CAACL,EAAG,MAAM,CAACK,YAAY,QAAQK,MAAqB,IAAfH,EAAKI,MAAc,YAAc,IAAI,CAACX,EAAG,MAAM,CAACJ,EAAIgB,GAAG,iBAAiBZ,EAAG,OAAO,CAACK,YAAY,OAAO,CAACT,EAAIgB,GAAGhB,EAAIiB,GAAGN,EAAKO,mBAAmBd,EAAG,MAAM,CAACK,YAAY,WAAW,CAACT,EAAIgB,GAAG,IAAIhB,EAAIiB,GAAGN,EAAKQ,eAAe,WAAWf,EAAG,MAAM,CAACK,YAAY,QAAQ,CAACL,EAAG,MAAM,CAACK,YAAY,mBAAmB,CAA2B,IAAzBE,EAAKS,gBAAuBhB,EAAG,OAAO,CAACK,YAAY,aAAaK,MAAqB,IAAfH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,IAGbS,MAAO,CACLC,OAAQ,SAAgBC,GACtB,IAAIC,EAAOrC,KAEPoC,EAAEN,OAASD,GACbQ,EAAKC,kBAIXC,QAAS,WACPvC,KAAKsC,iBAEPE,QAAS,CACPF,cAAe,WACb,IAAID,EAAOrC,KACPyC,EAAO,EACX,eAAeA,GAAMC,MAAK,SAAUC,GAClCN,EAAK/B,YAAcqC,EAAIV,KACvBI,EAAKZ,SAAU,QCxF+b,I,YCOldmB,EAAY,eACd,EACA9C,EACA6B,GACA,EACA,KACA,KACA,MAIa,aAAAiB,E","file":"h5/js/chunk-7f08916c.008254f8.js","sourcesContent":["module.exports = __webpack_public_path__ + \"h5/img/noCoupon.e524084b.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\"},[(_vm.couponsList.length > 0)?_c('div',{staticClass:\"coupon-list\"},_vm._l((_vm.couponsList),function(item,index){return _c('div',{key:index,staticClass:\"item acea-row row-center-wrapper\"},[_c('div',{staticClass:\"money\",class:item._type === 0 ? 'moneyGray' : ''},[_c('div',[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\"},[_vm._v(_vm._s(item.coupon_price))])]),_c('div',{staticClass:\"pic-num\"},[_vm._v(\"满\"+_vm._s(item.use_min_price)+\"元可用\")])]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"condition line1\"},[(item.applicable_type === 0)?_c('span',{staticClass:\"line-title\",class:item._type === 0 ? 'bg-color-huic' : 'bg-color-check'},[_vm._v(\"通用劵\")]):(item.applicable_type === 1)?_c('span',{staticClass:\"line-title\",class:item._type === 0 ? 'bg-color-huic' : 'bg-color-check'},[_vm._v(\"品类券\")]):_c('span',{staticClass:\"line-title\",class:item._type === 0 ? 'bg-color-huic' : 'bg-color-check'},[_vm._v(\"商品券\")]),_c('span',[_vm._v(_vm._s(item.coupon_title))])]),_c('div',{staticClass:\"data acea-row row-between-wrapper\"},[(item._end_time === 0)?_c('div',[_vm._v(\"不限时\")]):_c('div',[_vm._v(_vm._s(item._add_time)+\"-\"+_vm._s(item._end_time))]),(item._type === 0)?_c('div',{staticClass:\"bnt gray\"},[_vm._v(_vm._s(item._msg))]):_c('div',{staticClass:\"bnt bg-color-red\"},[_vm._v(_vm._s(item._msg))])])])])}),0):_vm._e(),(_vm.couponsList.length === 0 && _vm.loading === true)?_c('div',{staticClass:\"noCommodity\"},[_vm._m(0)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"noPictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":require(\"@assets/images/noCoupon.png\")}})])}]\n\nexport { render, staticRenderFns }","import \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { getCouponsUser } from \"@api/user\";\nvar NAME = \"UserCoupon\";\nexport default {\n name: \"UserCoupon\",\n components: {},\n props: {},\n data: function data() {\n return {\n couponsList: [],\n loading: false\n };\n },\n watch: {\n $route: function $route(n) {\n var that = this;\n\n if (n.name === NAME) {\n that.getUseCoupons();\n }\n }\n },\n mounted: function mounted() {\n this.getUseCoupons();\n },\n methods: {\n getUseCoupons: function getUseCoupons() {\n var that = this,\n type = 0;\n getCouponsUser(type).then(function (res) {\n that.couponsList = res.data;\n that.loading = true;\n });\n }\n }\n};","import mod from \"-!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./UserCoupon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./UserCoupon.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserCoupon.vue?vue&type=template&id=458209d6&\"\nimport script from \"./UserCoupon.vue?vue&type=script&lang=js&\"\nexport * from \"./UserCoupon.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}