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
15 KiB

{"version":3,"sources":["webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/PromotionGood.vue?76de","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/PromotionGood.vue?8cfb","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/PromotionGood.vue?b202","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/PromotionGood.vue?942d","uni-app:///components/PromotionGood.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/PromotionGood.vue?6612","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/PromotionGood.vue?5780"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;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;AAAyzB,CAAgB,y0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsC70B;AACA,uBADA;AAEA,oBAFA;AAGA;AACA;AACA,GALA;AAMA;AACA,YADA,oBACA,IADA,EACA;AACA;AACA,0CADA;AAEA;AACA,qBADA,EAFA;;;AAMA,KARA,EANA;;AAgBA,SAhBA,qBAgBA;AACA,GAjBA,E;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAm+C,CAAgB,27CAAG,EAAC,C;;;;;;;;;;;ACAv/C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/PromotionGood.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./PromotionGood.vue?vue&type=template&id=0c8526b5&\"\nvar renderjs\nimport script from \"./PromotionGood.vue?vue&type=script&lang=js&\"\nexport * from \"./PromotionGood.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PromotionGood.vue?vue&type=style&index=0&lang=scss&\"\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 = \"components/PromotionGood.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!./PromotionGood.vue?vue&type=template&id=0c8526b5&\"","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!./PromotionGood.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!./PromotionGood.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"sh-title-card mb10\">\r\n\t\t\t<view class=\"title-box\">\r\n\t\t\t\t<image class=\"title-bg\" :src=\"`${$VUE_APP_RESOURCES_URL}/images/title1.png`\" mode=\"aspectFill\" />\r\n\t\t\t\t<view class=\"title-text\">为你推荐</view>\r\n\t\t\t\t<!-- <view class=\"title-text\" :style=\"{ color: detail.color }\">为你推荐</view> -->\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"hot-goods mx20 mb10\" v-if=\"benefit.length\">\r\n\t\t\t<view class=\"goods-list x-f\">\r\n\t\t\t\t<view class=\"goods-item\" v-for=\"(item, promotionGoodIndex) in benefit\" :key=\"promotionGoodIndex\">\r\n\t\t\t\t\t<view class=\"goods-box\" @tap=\"routerGo(item)\">\r\n\t\t\t\t\t\t<view class=\"img-box\">\r\n\t\t\t\t\t\t\t<!-- <image class=\"tag-img\" :src=\"item.image\" mode=\"\"></image> -->\r\n\t\t\t\t\t\t\t<image class=\"img\" :src=\"item.image\" lazy-load mode=\"aspectFill\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"tip one-t\">{{ item.storeName }}</view>\r\n\t\t\t\t\t\t<view class=\"title more-t\">{{ item.storeName }}</view>\r\n\t\t\t\t\t\t<view class=\"price-box\">\r\n\t\t\t\t\t\t\t<view class=\"flex x-bc align-end\">\r\n\t\t\t\t\t\t\t\t<view class=\"current\">{{ item.activity_type === 'groupon' ? item.price : item.otPrice }}\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t<view class=\"sales miso-font\">仅剩:{{ item.stock }}{{ item.unitName }}</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"x-f tag-box\">\r\n\t\t\t\t\t\t\t\t<!-- <view class=\"discount\">新人礼</view>\r\n\t\t\t\t\t<view class=\"discount\">满100减60</view> -->\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n\r\n</template>\r\n<script>\r\n\texport default {\r\n\t\tname: 'PromotionGood',\r\n\t\tprops: ['benefit'],\r\n\t\tdata: function () {\r\n\t\t\treturn {};\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\trouterGo(item) {\r\n\t\t\t\tthis.$yrouter.push({\r\n\t\t\t\t\tpath: '/pages/shop/GoodsCon/index',\r\n\t\t\t\t\tquery: {\r\n\t\t\t\t\t\tid: item.id\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\tmounted() {\r\n }\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.sh-title-card {\r\n\t\twidth: 750rpx;\r\n\t}\r\n\r\n\t.title-box {\r\n\t\twidth: 710rpx;\r\n\t\theight: 88rpx;\r\n\t\tmargin: 0 auto;\r\n\t\tposition: relative;\r\n\t\tborder-radius: 30rpx;\r\n\r\n\t\t.title-bg {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\r\n\r\n\t\t.title-text {\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 50%;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translate(-50%, -50%);\r\n\t\t\tfont-weight: bold;\r\n\t\t}\r\n\t}\r\n\r\n\t.goods-box {\r\n\t\twidth: 345rpx;\r\n\t\tbackground: #fff;\r\n\t\tpadding-bottom: 20rpx;\r\n\t\tborder-radius: 20rpx;\r\n\t\toverflow: hidden;\r\n\r\n\t\t.img-box {\r\n\t\t\twidth: 345rpx;\r\n\t\t\theight: 345rpx;\r\n\t\t\toverflow: hidden;\r\n\t\t\tposition: relative;\r\n\r\n\t\t\t.tag-img {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tz-index: 2;\r\n\t\t\t\twidth: 80rpx;\r\n\t\t\t\theight: 40rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.img {\r\n\t\t\t\twidth: 345rpx;\r\n\t\t\t\theight: 345rpx;\r\n\t\t\t\tbackground-color: #ccc;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.tip {\r\n\t\t\twidth: 346rpx;\r\n\t\t\tline-height: 56rpx;\r\n\t\t\tbackground: rgba(246, 242, 234, 1);\r\n\t\t\tfont-size: 22rpx;\r\n\t\t\tfont-family: PingFang SC;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tcolor: rgba(168, 112, 13, 1);\r\n\t\t\tpadding: 0 20rpx;\r\n\t\t}\r\n\r\n\t\t.title {\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tfont-family: PingFang SC;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tline-height: 36rpx;\r\n\t\t\theight: 72rpx;\r\n\t\t\tmargin: 20rpx 20rpx 10rpx;\r\n\t\t}\r\n\r\n\t\t.price-box {\r\n\t\t\tpadding: 10rpx 20rpx 0;\r\n\t\t\twidth: 344rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\r\n\t\t\t.sales {\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tfont-family: PingFang SC;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tcolor: rgba(153, 153, 153, 1);\r\n\t\t\t\tline-height: 20rpx;\r\n\t\t\t\tmargin-bottom: 20rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.current {\r\n\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tcolor: rgba(225, 33, 43, 1);\r\n\t\t\t\tline-height: 30rpx;\r\n\t\t\t\tmargin-bottom: 20rpx;\r\n\r\n\t\t\t\t&:before {\r\n\t\t\t\t\tcontent: '¥';\r\n\t\t\t\t\tfont-size: 26rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.original {\r\n\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\ttext-decoration: line-through;\r\n\t\t\t\tcolor: rgba(153, 153, 153, 1);\r\n\t\t\t\tmargin-left: 14rpx;\r\n\t\t\t\tline-height: 22rpx;\r\n\t\t\t\tmargin-bottom: 10rpx;\r\n\r\n\t\t\t\t&:before {\r\n\t\t\t\t\tcontent: '¥';\r\n\t\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.tag-box {\r\n\t\t\t\t.discount {\r\n\t\t\t\t\tline-height: 28rpx;\r\n\t\t\t\t\tborder: 1rpx solid rgba(225, 33, 43, 1);\r\n\t\t\t\t\tborder-radius: 8rpx;\r\n\t\t\t\t\tfont-size: 18rpx;\r\n\t\t\t\t\tfont-family: PingFang SC;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: rgba(225, 33, 43, 1);\r\n\t\t\t\t\tpadding: 0 8rpx;\r\n\t\t\t\t\tmargin-right: 10rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t// 为你推荐\r\n\t.hot-goods {\r\n\t\t// background: linear-gradient(#fff 200rpx, #f6f6f6 500rpx, #f6f6f6);\r\n\t\t// border-radius: 20rpx;\r\n\r\n\t\t.goods-list {\r\n\t\t\tflex-wrap: wrap;\r\n\t\t\twidth: 710rpx;\r\n\r\n\t\t\t.goods-item {\r\n\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t\tmargin-bottom: 20rpx;\r\n\t\t\t\twidth: 345rpx;\r\n\t\t\t\tbox-shadow: 0px 0px 10rpx 4rpx rgba(199, 199, 199, 0.22);\r\n\t\t\t\tborder-radius: 20rpx;\r\n\r\n\t\t\t\t&:nth-child(2n) {\r\n\t\t\t\t\tmargin-right: 0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\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--8-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-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--8-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-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--8-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!./PromotionGood.vue?vue&type=style&index=0&lang=scss&\"; 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--8-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-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--8-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-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--8-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!./PromotionGood.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635767019716\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":""}