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 line
3.6 KiB
1 line
3.6 KiB
3 years ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesB/pages/activity/GroupRule/index"],{"2af2":function(t,n,i){"use strict";(function(t){i("ef82");o(i("66fd"));var n=o(i("c14f"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,i("543d")["createPage"])},5692:function(t,n,i){"use strict";var o;i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return r})),i.d(n,"a",(function(){return o}));var e=function(){var t=this,n=t.$createElement,i=(t._self._c,t.storeCombination?t.storeCombination.price.split("."):null),o=t.storeCombination?t.storeCombination.price.split("."):null,e=Array(t.storeCombination.people-1);t.$mp.data=Object.assign({},{$root:{g0:i,g1:o,l0:e}})},r=[]},"5b05":function(t,n,i){},"6b29":function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i("70e6"),e=i("2df4"),r=i("b6d1"),a=function(){i.e("components/CountDown").then(function(){return resolve(i("fdd5"))}.bind(null,i)).catch(i.oe)},u="GroupRule",s={name:u,components:{CountDown:a},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,r.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,e.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,o.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,o.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"])},b2cf:function(t,n,i){"use strict";i.r(n);var o=i("6b29"),e=i.n(o);for(var r in o)"default"!==r&&function(t){i.d(n,t,(function(){return o[t]}))}(r);n["default"]=e.a},b5c1:function(t,n,i){"use strict";var o=i("5b05"),e=i.n(o);e.a},c14f:function(t,n,i){"use strict";i.r(n);var o=i("5692"),e=i("b2cf");for(var r in e)"default"!==r&&function(t){i.d(n,t,(function(){return e[t]}))}(r);i("b5c1");var a,u=i("f0c5"),s=Object(u["a"])(e["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);n["default"]=s.exports}},[["2af2","common/runtime","common/vendor"]]]);
|