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
14 KiB
1 lines
14 KiB
{"version":3,"sources":["webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/PromotionGood.vue?347a","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/PromotionGood.vue?4b0d","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/PromotionGood.vue?e6c9","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/PromotionGood.vue?e8e4","uni-app:///components/PromotionGood.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/PromotionGood.vue?0b59","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/components/PromotionGood.vue?8e40"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AAC6M;AAC7M,gBAAgB,iNAAU;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;AAA4zB,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsCh1B;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;AAAy+C,CAAgB,q4CAAG,EAAC,C;;;;;;;;;;;ACA7/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 \"!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./PromotionGood.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\n\t\t<view class=\"sh-title-card mb10\">\n\t\t\t<view class=\"title-box\">\n\t\t\t\t<image class=\"title-bg\" :src=\"`${$VUE_APP_RESOURCES_URL}/images/title1.png`\" mode=\"aspectFill\" />\n\t\t\t\t<view class=\"title-text\">为你推荐</view>\n\t\t\t\t<!-- <view class=\"title-text\" :style=\"{ color: detail.color }\">为你推荐</view> -->\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"hot-goods mx20 mb10\" v-if=\"benefit.length\">\n\t\t\t<view class=\"goods-list x-f\">\n\t\t\t\t<view class=\"goods-item\" v-for=\"(item, promotionGoodIndex) in benefit\" :key=\"promotionGoodIndex\">\n\t\t\t\t\t<view class=\"goods-box\" @tap=\"routerGo(item)\">\n\t\t\t\t\t\t<view class=\"img-box\">\n\t\t\t\t\t\t\t<!-- <image class=\"tag-img\" :src=\"item.image\" mode=\"\"></image> -->\n\t\t\t\t\t\t\t<image class=\"img\" :src=\"item.image\" lazy-load mode=\"aspectFill\"></image>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t\t<view class=\"tip one-t\">{{ item.storeName }}</view>\n\t\t\t\t\t\t<view class=\"title more-t\">{{ item.storeName }}</view>\n\t\t\t\t\t\t<view class=\"price-box\">\n\t\t\t\t\t\t\t<view class=\"flex x-bc align-end\">\n\t\t\t\t\t\t\t\t<view class=\"current\">{{ item.activity_type === 'groupon' ? item.price : item.otPrice }}\n\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t<view class=\"sales miso-font\">仅剩:{{ item.stock }}{{ item.unitName }}</view>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t<view class=\"x-f tag-box\">\n\t\t\t\t\t\t\t\t<!-- <view class=\"discount\">新人礼</view>\n\t\t\t\t\t<view class=\"discount\">满100减60</view> -->\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t</view>\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n\n</template>\n<script>\n\texport default {\n\t\tname: 'PromotionGood',\n\t\tprops: ['benefit'],\n\t\tdata: function () {\n\t\t\treturn {};\n\t\t},\n\t\tmethods: {\n\t\t\trouterGo(item) {\n\t\t\t\tthis.$yrouter.push({\n\t\t\t\t\tpath: '/pages/shop/GoodsCon/index',\n\t\t\t\t\tquery: {\n\t\t\t\t\t\tid: item.id\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tmounted() {\n }\n\t};\n</script>\n\n<style lang=\"scss\">\n\t.sh-title-card {\n\t\twidth: 750rpx;\n\t}\n\n\t.title-box {\n\t\twidth: 710rpx;\n\t\theight: 88rpx;\n\t\tmargin: 0 auto;\n\t\tposition: relative;\n\t\tborder-radius: 30rpx;\n\n\t\t.title-bg {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\n\t\t.title-text {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\ttransform: translate(-50%, -50%);\n\t\t\tfont-weight: bold;\n\t\t}\n\t}\n\n\t.goods-box {\n\t\twidth: 345rpx;\n\t\tbackground: #fff;\n\t\tpadding-bottom: 20rpx;\n\t\tborder-radius: 20rpx;\n\t\toverflow: hidden;\n\n\t\t.img-box {\n\t\t\twidth: 345rpx;\n\t\t\theight: 345rpx;\n\t\t\toverflow: hidden;\n\t\t\tposition: relative;\n\n\t\t\t.tag-img {\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t\ttop: 0;\n\t\t\t\tz-index: 2;\n\t\t\t\twidth: 80rpx;\n\t\t\t\theight: 40rpx;\n\t\t\t}\n\n\t\t\t.img {\n\t\t\t\twidth: 345rpx;\n\t\t\t\theight: 345rpx;\n\t\t\t\tbackground-color: #ccc;\n\t\t\t}\n\t\t}\n\n\t\t.tip {\n\t\t\twidth: 346rpx;\n\t\t\tline-height: 56rpx;\n\t\t\tbackground: rgba(246, 242, 234, 1);\n\t\t\tfont-size: 22rpx;\n\t\t\tfont-family: PingFang SC;\n\t\t\tfont-weight: 400;\n\t\t\tcolor: rgba(168, 112, 13, 1);\n\t\t\tpadding: 0 20rpx;\n\t\t}\n\n\t\t.title {\n\t\t\tfont-size: 24rpx;\n\t\t\tfont-family: PingFang SC;\n\t\t\tfont-weight: 500;\n\t\t\tline-height: 36rpx;\n\t\t\theight: 72rpx;\n\t\t\tmargin: 20rpx 20rpx 10rpx;\n\t\t}\n\n\t\t.price-box {\n\t\t\tpadding: 10rpx 20rpx 0;\n\t\t\twidth: 344rpx;\n\t\t\tbox-sizing: border-box;\n\n\t\t\t.sales {\n\t\t\t\tfont-size: 20rpx;\n\t\t\t\tfont-family: PingFang SC;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tcolor: rgba(153, 153, 153, 1);\n\t\t\t\tline-height: 20rpx;\n\t\t\t\tmargin-bottom: 20rpx;\n\t\t\t}\n\n\t\t\t.current {\n\t\t\t\tfont-size: 30rpx;\n\t\t\t\tfont-weight: 500;\n\t\t\t\tcolor: rgba(225, 33, 43, 1);\n\t\t\t\tline-height: 30rpx;\n\t\t\t\tmargin-bottom: 20rpx;\n\n\t\t\t\t&:before {\n\t\t\t\t\tcontent: '¥';\n\t\t\t\t\tfont-size: 26rpx;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.original {\n\t\t\t\tfont-size: 22rpx;\n\t\t\t\tfont-weight: 400;\n\t\t\t\ttext-decoration: line-through;\n\t\t\t\tcolor: rgba(153, 153, 153, 1);\n\t\t\t\tmargin-left: 14rpx;\n\t\t\t\tline-height: 22rpx;\n\t\t\t\tmargin-bottom: 10rpx;\n\n\t\t\t\t&:before {\n\t\t\t\t\tcontent: '¥';\n\t\t\t\t\tfont-size: 20rpx;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.tag-box {\n\t\t\t\t.discount {\n\t\t\t\t\tline-height: 28rpx;\n\t\t\t\t\tborder: 1rpx solid rgba(225, 33, 43, 1);\n\t\t\t\t\tborder-radius: 8rpx;\n\t\t\t\t\tfont-size: 18rpx;\n\t\t\t\t\tfont-family: PingFang SC;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: rgba(225, 33, 43, 1);\n\t\t\t\t\tpadding: 0 8rpx;\n\t\t\t\t\tmargin-right: 10rpx;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 为你推荐\n\t.hot-goods {\n\t\t// background: linear-gradient(#fff 200rpx, #f6f6f6 500rpx, #f6f6f6);\n\t\t// border-radius: 20rpx;\n\n\t\t.goods-list {\n\t\t\tflex-wrap: wrap;\n\t\t\twidth: 710rpx;\n\n\t\t\t.goods-item {\n\t\t\t\tmargin-right: 20rpx;\n\t\t\t\tmargin-bottom: 20rpx;\n\t\t\t\twidth: 345rpx;\n\t\t\t\tbox-shadow: 0px 0px 10rpx 4rpx rgba(199, 199, 199, 0.22);\n\t\t\t\tborder-radius: 20rpx;\n\n\t\t\t\t&:nth-child(2n) {\n\t\t\t\t\tmargin-right: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 // 1635513141670\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} |