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

{"version":3,"sources":["webpack:////Users/piao/Documents/Project/yshopmall_uni/main.js","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?270d","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?ba74","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?b55c","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?3fbd","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?ebb2","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?ead3","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?d6b6","webpack:////Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.vue?9373"],"names":["createPage","Page","NAME","name","components","ProductConSwiper","CountDown","UserEvaluation","ProductWindow","StorePoster","props","data","domStatus","posterData","image","title","price","code","posterImageStatus","reply","replyCount","replyChance","imgUrls","storeInfo","itemNew","groupListCount","groupList","swiperTip","direction","autoplay","disableOnInteraction","delay","loop","speed","observer","observeParents","attr","cartAttr","productSelect","store_name","stock","unique","cart_num","cartNum","watch","$yroute","n","that","mountedStart","mounted","methods","openAlone","$yrouter","replace","path","productId","id","query","then","res","$set","sliderImageArr","pinkOkList","pink","setProductSelect","length","substring","code_base","getImageBase64","setPosterImageStatus","groupRule","push","goReply","product_id","setGroupListCount","changeFun","opt","action","value","undefined","changeattr","ChangeCartNum","$dialog","message","unitName","openTeam","uniqueId","combinationId","new","cartId","catch","err","error","msg","response"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,6G;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;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C;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAA0tC,CAAgB,qnCAAG,EAAC,C;;;;;;;;;;;ACA9uC,uC","file":"pages/activity/GroupDetails/index.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue'\nimport Page from './pages/activity/GroupDetails/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=77b998a0&scoped=true&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=77b998a0&scoped=true&lang=css&\"\nimport style1 from \"./index.vue?vue&type=style&index=1&id=77b998a0&scoped=true&lang=css&\"\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 \"77b998a0\",\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('77b998a0')) {\n api.createRecord('77b998a0', component.options)\n } else {\n api.reload('77b998a0', component.options)\n }\n module.hot.accept(\"./index.vue?vue&type=template&id=77b998a0&scoped=true&\", function () {\n api.rerender('77b998a0', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"Users/piao/Documents/Project/yshopmall_uni/pages/activity/GroupDetails/index.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!./index.vue?vue&type=template&id=77b998a0&scoped=true&\"","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!./index.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!./index.vue?vue&type=script&lang=js&\"","//\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//\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n// import { swiper, swiperSlide } from \"vue-awesome-swiper\";\n\nimport ProductConSwiper from \"@/components/ProductConSwiper\";\nimport CountDown from \"@/components/CountDown\";\nimport UserEvaluation from \"@/components/UserEvaluation\";\nimport ProductWindow from \"@/components/ProductWindow\";\nimport StorePoster from \"@/components/StorePoster\";\nimport { getCombinationDetail } from \"@/api/activity\";\nimport { postCartAdd } from \"@/api/store\";\nimport { imageBase64 } from \"@/api/public\";\nconst NAME = \"GroupDetails\";\n\nexport default {\n name: \"GroupDetails\",\n components: {\n ProductConSwiper,\n CountDown,\n UserEvaluation,\n // swiper,\n // swiperSlide,\n ProductWindow,\n StorePoster\n },\n props: {},\n data: function() {\n return {\n domStatus: false,\n posterData: {\n image: \"\",\n title: \"\",\n price: \"\",\n code: \"\"\n },\n posterImageStatus: false,\n reply: [],\n replyCount: 0,\n replyChance: 0,\n imgUrls: [],\n storeInfo: {},\n itemNew: {},\n groupListCount: 2,\n groupList: {},\n swiperTip: {\n direction: \"vertical\",\n autoplay: {\n disableOnInteraction: false,\n delay: 2000\n },\n loop: true,\n speed: 1000,\n observer: true,\n observeParents: true\n },\n attr: {\n cartAttr: false,\n productSelect: {\n image: \"\",\n store_name: \"\",\n price: \"\",\n stock: \"\",\n unique: \"\",\n cart_num: 1\n }\n },\n cartNum:1\n };\n },\n watch: {\n $yroute: function(n) {\n var that = this;\n if (n.name === NAME) {\n that.mountedStart();\n }\n }\n },\n mounted: function() {\n this.mountedStart();\n },\n methods: {\n openAlone: function() {\n this.$yrouter.replace({ path: \"/detail/\" + this.storeInfo.productId });\n },\n mountedStart: function() {\n var that = this;\n let id = that.$yroute.query.id;\n getCombinationDetail(id).then(res => {\n that.$set(that, \"storeInfo\", res.data.storeInfo);\n that.$set(that, \"imgUrls\", res.data.storeInfo.sliderImageArr);\n that.$set(that, \"itemNew\", res.data.pinkOkList);\n that.$set(that, \"groupList\", res.data.pink);\n that.$set(that, \"reply\", [res.data.reply]);\n that.$set(that, \"replyCount\", res.data.replyCount);\n that.$set(that, \"replyChance\", res.data.replyChance);\n that.setProductSelect();\n that.posterData.image = that.storeInfo.image;\n if (that.storeInfo.title.length > 30) {\n that.posterData.title = that.storeInfo.title.substring(0, 30) + \"...\";\n } else {\n that.posterData.title = that.storeInfo.title;\n }\n that.posterData.price = that.storeInfo.price;\n that.posterData.code = that.storeInfo.code_base;\n that.domStatus = true;\n //that.getImageBase64();\n });\n },\n getImageBase64: function() {\n let that = this;\n imageBase64(this.posterData.image, that.posterData.code).then(res => {\n that.posterData.image = res.data.image;\n that.posterData.code = res.data.code;\n });\n },\n setPosterImageStatus: function() {\n // var sTop = document.body || document.documentElement;\n // sTop.scrollTop = 0;\n this.posterImageStatus = !this.posterImageStatus;\n },\n groupRule: function(id) {\n var that = this;\n that.$yrouter.push({\n path: \"/pages/activity/GroupRule/main\",\n query: { id }\n });\n },\n goReply: function() {\n var that = this;\n that.$yrouter.push({\n path: \"/pages/shop/EvaluateList/main\",\n query: { id: that.storeInfo.product_id }\n });\n },\n setGroupListCount: function() {\n this.groupListCount = this.groupListCount + 2;\n },\n //将父级向子集多次传送的函数合二为一;\n changeFun: function(opt) {\n if (typeof opt !== \"object\") opt = {};\n let action = opt.action || \"\";\n let value = opt.value === undefined ? \"\" : opt.value;\n this[action] && this[action](value);\n },\n changeattr: function(res) {\n var that = this;\n that.attr.cartAttr = res;\n },\n ChangeCartNum: function(res) {\n var that = this;\n that.attr.productSelect.cart_num = 1;\n that.cartNum = 1;\n that.$dialog.message(\"每人每次限购1\" + that.storeInfo.unitName);\n },\n setProductSelect: function() {\n var that = this;\n var attr = that.attr;\n attr.productSelect.image = that.storeInfo.image;\n attr.productSelect.store_name = that.storeInfo.title;\n attr.productSelect.price = that.storeInfo.price;\n attr.productSelect.stock = that.storeInfo.stock;\n attr.cartAttr = false;\n that.$set(that, \"attr\", attr);\n },\n openTeam: function() {\n var that = this;\n if (that.attr.cartAttr == false) {\n that.attr.cartAttr = !this.attr.cartAttr;\n } else {\n var data = {};\n data.productId = that.storeInfo.productId;\n data.cartNum = that.attr.productSelect.cart_num;\n data.uniqueId = that.attr.productSelect.unique;\n data.combinationId = that.storeInfo.id;\n data.new = 1;\n postCartAdd(data)\n .then(res => {\n that.$yrouter.push({\n path: \"/pages/order/OrderSubmission/main\",\n query: { id: res.data.cartId }\n });\n })\n .catch(err => {\n this.$dialog.error(err.msg||err.response.data.msg);\n });\n }\n }\n }\n};\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../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/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./index.vue?vue&type=style&index=0&id=77b998a0&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../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/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./index.vue?vue&type=style&index=0&id=77b998a0&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../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/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./index.vue?vue&type=style&index=1&id=77b998a0&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../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/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../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!./index.vue?vue&type=style&index=1&id=77b998a0&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}