bztang-admin/addons/yun_shop/static/app/js/chunk-2bcb40d0.44614997.js

1 line
10 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2bcb40d0"],{"40a2":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{attrs:{id:"goods"}},[e("c-title",{attrs:{hide:!1,text:t.infoData.title}}),e("div",{staticClass:"topimg",style:{backgroundImage:"url("+t.infoData.image_url+")"}},[e("div",{staticClass:"timeLimit"},[e("div",{staticClass:"price"},[e("div",{staticClass:"priceSpan"},[t._v(t._s(t.$i18n.t("money")))]),e("div",{staticClass:"priceTxt"},[t._v(t._s(t.infoData.amount))])]),e("div",{staticClass:"rightPrice"},[1==t.infoData.status||0==t.infoData.status?[e("div",{staticClass:"rightPrice_txt"},[t._v("距离众筹"+t._s(1==t.infoData.status?"结束":"开始"))]),e("van-count-down",{attrs:{time:0==t.infoData.status?Number(t.infoData.start_at+"000")-t.nowtime:Number(t.infoData.end_at+"000")-t.nowtime},scopedSlots:t._u([{key:"default",fn:function(i){return[e("div",{staticClass:"rightPrice_time"},[e("div",{staticClass:"day"},[t._v(t._s(i.days)+"天")]),e("div",{staticClass:"hour"},[t._v(t._s(i.hours>9?i.hours:"0"+i.hours))]),e("div",{staticClass:"mark"},[t._v(":")]),e("div",{staticClass:"min"},[t._v(t._s(i.minutes>9?i.minutes:"0"+i.minutes))]),e("div",{staticClass:"mark"},[t._v(":")]),e("div",{staticClass:"second"},[t._v(t._s(i.seconds>9?i.seconds:"0"+i.seconds))])])]}}],null,!1,981635913)})]:t._e(),2==t.infoData.status?[e("div",{staticClass:"rightPrice_txt"},[t._v("众筹已结束")])]:t._e()],2)])]),e("div",{staticClass:"title"},[t._v(t._s(t.infoData.title))]),e("div",{staticClass:"contenBox"},[e("div",{staticClass:"explain"},[e("div",{staticClass:"explain_head"},[t._v("众筹说明")]),e("div",{staticClass:"explain_html"},[t._v(t._s(t.infoData.illustrate))])]),e("div",{staticClass:"goodsDetail"},[e("div",{staticClass:"explain_head"},[t._v("活动说明")]),e("div",{staticClass:"explain_html",domProps:{innerHTML:t._s(t.infoData.rich_text)}})])]),e("div",{staticClass:"btn"},[3==t.infoData.status||t.infoData.is_activity_member?[e("div",{staticClass:"registered"},[t._v("已报名")])]:0==t.infoData.status?[e("div",{staticClass:"NotStarted"},[t._v("未开始")])]:1==t.infoData.status?[e("div",{staticClass:"activity"},[e("div",{staticClass:"activity_left",on:{click:function(i){return t.toOrder(t.infoData,"pay")}}},[t._v("我要自费")]),e("div",{staticClass:"activity_right",on:{click:function(i){return t.toOrder(t.infoData)}}},[t._v("我要众筹")])])]:2==t.infoData.status?[e("div",{staticClass:"finish"},[t._v("活动已结束")])]:t._e()],2)],1)},r=[],n=(e("e7e5"),e("d399")),o={data:function(){return{infoData:[],nowtime:(new Date).valueOf()}},activated:function(){this.getData()},methods:{toOrder:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=t.id;i?this.$route.params.uid?this.$router.push(this.fun.getUrl("crowd_activity_Order",{id:e,uid:this.$route.params.uid},{self:!0})):this.$router.push(this.fun.getUrl("crowd_activity_Order",{id:e},{self:!0})):this.$route.params.uid?this.$router.push(this.fun.getUrl("crowd_activity_Order",{id:e,uid:this.$route.params.uid})):this.$router.push(this.fun.getUrl("crowd_activity_Order",{id:e}))},getData:function(){var t=this;$http.get("plugin.crowdfunding.frontend.activity.show",{activity_id:this.$route.params.id},"加载中").then((function(i){1===i.result?(t.infoData=i.data,t.fun.setWXTitle(t.infoData.title)):Object(n["a"])(i.msg)})).catch((function(t){}))}}},s=o,d=(e("9774"),e("2877")),f=Object(d["a"])(s,a,r,!1,null,"f728bf62",null);i["default"]=f.exports},4908:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'#goods[data-v-f728bf62]{padding-bottom:3rem}.btn[data-v-f728bf62]{position:fixed;bottom:0;width:23.4375rem;height:3.125rem;background:#fff}.btn[data-v-f728bf62],.btn .activity[data-v-f728bf62]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.btn .activity .activity_left[data-v-f728bf62]{background:-webkit-gradient(linear,left top,right top,from(#f9c500),to(#f8c400));background:-webkit-linear-gradient(left,#f9c500,#f8c400);background:linear-gradient(90deg,#f9c500,#f8c400);-webkit-box-shadow:0 .0938rem .2813rem 0 rgba(129,50,0,.06),0 .2188rem .4688rem 0 rgba(253,237,160,.2),0 -.125rem .375rem 0 rgba(243,39,0,.56);box-shadow:0 .0938rem .2813rem 0 rgba(129,50,0,.06),0 .2188rem .4688rem 0 rgba(253,237,160,.2),0 -.125rem .375rem 0 rgba(243,39,0,.56);color:#be4000}.btn .activity .activity_left[data-v-f728bf62],.btn .activity .activity_right[data-v-f728bf62]{width:9.375rem;height:2.5rem;border-radius:1.25rem;text-align:center;line-height:2.5rem;font-size:.9375rem;font-weight:700}.btn .activity .activity_right[data-v-f728bf62]{margin-left:1.5625rem;background:-webkit-gradient(linear,left top,right top,from(#f47000),to(#f25301));background:-webkit-linear-gradient(left,#f47000,#f25301);background:linear-gradient(90deg,#f47000,#f25301);-webkit-box-shadow:0 .0938rem .2813rem 0 rgba(129,50,0,.06),0 .2188rem .4688rem 0 rgba(253,237,160,.2),0 -.125rem .375rem 0 rgba(176,75,1,.56);box-shadow:0 .0938rem .2813rem 0 rgba(129,50,0,.06),0 .2188rem .4688rem 0 rgba(253,237,160,.2),0 -.125rem .375rem 0 rgba(176,75,1,.56);color:#fff}.btn .NotStarted[data-v-f728bf62]{background:#dcdcdc;color:#6b6b6b}.btn .NotStarted[data-v-f728bf62],.btn .registered[data-v-f728bf62]{width:20rem;height:2.5rem;border-radius:40px;margin:0 auto;font-size:.9375rem;line-height:2.5rem;font-weight:700}.btn .registered[data-v-f728bf62]{background:#ffe5e5;color:red}.btn .finish[data-v-f728bf62]{width:20rem;height:2.5rem;background:#dcdcdc;border-radius:1.25rem;margin:0 auto;font-size:.9375rem;line-height:2.5rem;color:#6b6b6b;font-weight:700}.contenBox[data-v-f728bf62]{background:#ffdfc4;padding:.625rem;padding-bottom:1rem}.contenBox .goodsDetail[data-v-f728bf62]{width:100%;background:#fff;margin-top:.625rem;padding-top:.9063rem;padding-bottom:.9rem}.contenBox .goodsDetail .explain_html[data-v-f728bf62]{width:100%;overflow:hidden;text-align:left;font-size:.8125rem;margin-top:.9063rem}.contenBox .goodsDetail .explain_html[data-v-f728bf62] ::v-deepimg{max-width:100%!important;height:auto!important}.contenBox .goodsDetail .explain_head[data-v-f728bf62]{font-size:.75rem;font-weight:400;color:red;position:relative}.contenBox .goodsDetail .explain_head[data-v-f728bf62]:before{content:"";position:absolute;right:61%;top:.2188rem;width:2.1875rem;height:.0313rem;background:red;opacity:.2}.contenBox .goodsDetail .explain_head[data-v-f728bf62]:after{content:"";position:absolute;left:61%;top:7px;width:70px;height:1px;background:red;opacity:.2}.contenBox .explain[data-v-f728bf62]{width:100%;background:#fff;padding:.9063rem .4688rem 1.0313rem .6563rem}.contenBox .explain .explain_head[data-v-f728bf62]{font-size:.75rem;font-weight:400;color:red;position:relative}.contenBox .explain .explain_html[data-v-f728bf62]{width:100%;overflow:hidden;text-align:left;font-size:.8125rem;margin-top:.9063rem}.contenBox .explain .explain_html[data-v-f728bf62] ::v-deepimg{max-width:100%!important;height:auto!important}.contenBox .explain .explain_head[data-v-f728bf62]:before{right:61%}.contenBox .explain .explain_head[data-v-f728bf62]:after,.contenBox .explain .explain_head[data-v-f728bf62]:before{content:"";position:absolute;top:7px;width:70px;height:1px;background:red;opacity:.2}.contenBox .explain .explain_head[data-v-f728bf62]:after{left:61%}.title[data-v-f728bf62]{padding:.9063rem 2.5313rem 1.0313rem .625rem;font-size:.8125rem;font-weight:700;color:#2b2b2b;line-height:1.3125rem;text-align:left;background:#fff}.topimg[data-v-f728bf62]{height:22.1875rem;width:100%;position:relative;background-size:100% 100%;background-repeat:no-repeat}.topimg .timeLimit[data-v-f728bf62]{width:100%;height:3.4375rem;position:absolute;bottom:0;left:0;background-image:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2Fcrowd_activity_good_limit.png);background-size:contain;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 .875rem}.topimg .timeLimit[data-v-f728bf62],.topimg .timeLimit .price[data-v-f728bf62]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.topimg .timeLimit .price[data-v-f728bf62]{color:#fff;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;max-width:9.0313rem;overflow:hidden}.topimg .timeLimit .price .priceSpan[data-v-f728bf62]{font-size:.625rem}.topimg .timeLimit .price .priceTxt[data-v-f728bf62]{max-width:9.0313rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.1rem}.topimg .timeLimit .rightPrice_time[data-v-f728bf62]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;font-size:.75rem}.topimg .timeLimit .rightPrice_time .day[data-v-f728bf62]{font-weight:400;color:red;font-size:.75rem}.topimg .timeLimit .rightPrice_time .hour[data-v-f728bf62],.topimg .timeLimit .rightPrice_time .min[data-v-f728bf62],.topimg .timeLimit .rightPrice_time .second[data-v-f728bf62]{width:1.2188rem;height:1.3125rem;background:#ff3200;border-radius:.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:.75rem;margin:0 8px}.topimg .timeLimit .rightPrice_time .second[data-v-f728bf62]{margin-right:0}.topimg .timeLimit .rightPrice_txt[data-v-f728bf62]{text-align:right;font-weight:400;color:red;font-size:.75rem;margin-bottom:.3rem}',""]),t.exports=i},9774:function(t,i,e){"use strict";e("f8f6")},f8f6:function(t,i,e){var a=e("4908");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=e("499e").default;r("f212f658",a,!0,{sourceMap:!1,shadowMode:!1})}}]);