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

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/activity/GroupRule/index"],{"30aa":function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i("8c03"),o=i("fc49"),a=i("8c38"),r=function(){i.e("components/CountDown").then(function(){return resolve(i("7e6d"))}.bind(null,i)).catch(i.oe)},u="GroupRule",s={name:u,components:{CountDown:r},props:{},data:function(){return{currentPinkOrder:"",isOk:0,pinkBool:0,userBool:0,pinkAll:[],pinkT:{},storeCombination:{},pinkId:0,uniqueId:"",count:0,iShidden:!1,userInfo:{}}},watch:{$yroute:function(t){var n=this;t.name===u&&(n.pinkId=n.$yroute.query.id,n.getCombinationPink())}},mounted:function(){var t=this,n=(0,a.handleQrCode)();t.pinkId=n?n.pinkId:t.$yroute.query.id,t.getCombinationPink()},methods:{pay:function(){var n=this,i={};i.productId=n.storeCombination.productId,i.cartNum=n.pinkT.totalNum,i.uniqueId=n.uniqueId,i.combinationId=n.storeCombination.id,i.new=1,(0,o.postCartAdd)(i).then((function(t){n.$yrouter.push({path:"/pages/order/OrderSubmission/index",query:{id:t.data.cartId,pinkid:n.pinkId}})})).catch((function(n){t.showToast({title:n.msg||n.response.data.msg||n.response.data.message,icon:"none",duration:2e3})}))},goPoster:function(){var t=this;this.$yrouter.push({path:"/pages/activity/Poster/index",query:{id:t.pinkId,type:1}})},goOrder:function(){var t=this;this.$yrouter.push({path:"/pages/order/OrderDetails/index",query:{id:t.currentPinkOrder}})},goList:function(){this.$yrouter.push({path:"/pages/activity/GoodsGroup/index"})},goDetail:function(t){this.$yrouter.push({path:"/pages/activity/GroupDetails/index",query:{id:t}})},getCombinationPink:function(){var t=this;(0,e.getCombinationPink)(t.pinkId).then((function(n){t.$set(t,"storeCombination",n.data.storeCombination),t.$set(t,"pinkT",n.data.pinkT),t.$set(t,"pinkAll",n.data.pinkAll),t.$set(t,"count",n.data.count),t.$set(t,"userBool",n.data.userBool),t.$set(t,"pinkBool",n.data.pinkBool),t.$set(t,"isOk",n.data.isOk),t.$set(t,"currentPinkOrder",n.data.currentPinkOrder),t.$set(t,"uniqueId",n.data.uniqueId),t.$set(t,"userInfo",n.data.userInfo)}))},getCombinationRemove:function(){var n=this;(0,e.getCombinationRemove)({id:n.pinkId,cid:n.storeCombination.id}).then((function(n){t.showToast({title:n.msg,icon:"none",duration:2e3})})).catch((function(n){t.showToast({title:n.msg,icon:"none",duration:2e3})}))},lookAll:function(){this.iShidden=!this.iShidden}}};n.default=s}).call(this,i("543d")["default"])},"7b7d":function(t,n,i){"use strict";i.r(n);var e=i("a21b"),o=i("a56b");for(var a in o)"default"!==a&&function(t){i.d(n,t,(function(){return o[t]}))}(a);i("f402");var r,u=i("f0c5"),s=Object(u["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],r);n["default"]=s.exports},"84be":function(t,n,i){},a21b:function(t,n,i){"use strict";var e;i.d(n,"b",(function(){return o})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){return e}));var o=function(){var t=this,n=t.$createElement,i=(t._self._c,t.storeCombination?t.storeCombination.price.split("."):null),e=t.storeCombination?t.storeCombination.price.split("."):null,o=Array(t.storeCombination.people-1);t.$mp.data=Object.assign({},{$root:{g0:i,g1:e,l0:o}})},a=[]},a56b:function(t,n,i){"use strict";i.r(n);var e=i("30aa"),o=i.n(e);for(var a in e)"default"!==a&&function(t){i.d(n,t,(function(){return e[t]}))}(a);n["default"]=o.a},ba0e:function(t,n,i){"use strict";(function(t){i("0371");e(i("66fd"));var n=e(i("7b7d"));function e(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,i("543d")["createPage"])},f402:function(t,n,i){"use strict";var e=i("84be"),o=i.n(e);o.a}},[["ba0e","common/runtime","common/vendor"]]]);