3 lines
33 KiB
JavaScript
3 lines
33 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d5252a3"],{"0c343":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'#funding[data-v-6429f429]{background:#ffdfc4;min-height:100vh}#funding .userList[data-v-6429f429]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:.9rem 0 0 0}#funding .userList .lis[data-v-6429f429]{width:20%;margin-bottom:1.0625rem}#funding .userList .lis img[data-v-6429f429]{width:1.875rem;height:1.875rem}#funding .userList .lis .name[data-v-6429f429]{font-size:.625rem;font-family:Source Han Sans CN;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#funding .userList .lis[data-v-6429f429]:nth-child(n+5){margin-bottom:0}#funding .allUserList[data-v-6429f429]{overflow-y:scroll}#funding .popupClose_left[data-v-6429f429]{color:#aaaab3}#funding .posterBox[data-v-6429f429]{border-radius:.3125rem;width:17.5rem;height:23.4375rem;background:#fff}#funding .posterClose[data-v-6429f429]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-top:1rem}#funding .posterClose img[data-v-6429f429]{width:1.7813rem;height:1.7813rem}#funding .payBox[data-v-6429f429]{padding:1.5938rem;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-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#funding .payBox .paylis[data-v-6429f429]{background:#f0f0f1;border-radius:.1875rem;padding:.5313rem .9375rem;font-size:.875rem;color:#6e6e79;margin-right:.875rem;margin-bottom:.625rem}#funding .payBox .paylis input[data-v-6429f429]{width:4.4rem;height:100%;border:none}#funding .payBox .lastpaylis[data-v-6429f429]{margin-right:0;margin-bottom:.625rem}#funding .payBox .paylisSelectColor[data-v-6429f429]{color:#f14e4e}#funding .btn[data-v-6429f429]{position:fixed;bottom:0;left:0;width:100%;height:3.125rem;background:#fff;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}#funding .btn .viewbtn[data-v-6429f429]{color:#fff;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)}#funding .btn .finish[data-v-6429f429],#funding .btn .viewbtn[data-v-6429f429]{text-align:center;line-height:2.5rem;font-size:.9375rem;font-weight:700;width:20rem;height:2.5rem;border-radius:1.25rem}#funding .btn .finish[data-v-6429f429]{color:#6b6b6b;background:#dcdcdc}#funding .btn .failview[data-v-6429f429],#funding .btn .successview[data-v-6429f429]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#funding .btn .failview .left[data-v-6429f429],#funding .btn .successview .left[data-v-6429f429]{width:9.375rem;height:2.5rem;line-height:2.5rem;text-align:center;background:#dcdcdc;border-radius:1.25rem;font-size:.9375rem;font-weight:700;color:#6b6b6b;margin-right:1.5625rem}#funding .btn .failview .left img[data-v-6429f429],#funding .btn .successview .left img[data-v-6429f429]{width:100%;height:100%;border-radius:1.25rem}#funding .btn .failview .right[data-v-6429f429],#funding .btn .successview .right[data-v-6429f429]{width:9.375rem;height:2.5rem;line-height:2.5rem;text-align:center;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);border-radius:1.25rem;font-size:.9375rem;font-weight:700;color:#fff}#funding .btn .failview .lefsuccess[data-v-6429f429],#funding .btn .successview .lefsuccess[data-v-6429f429]{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}#funding .contenbox[data-v-6429f429]{padding:0 .625rem;padding-bottom:4.125rem}#funding .contenbox .applyUser_title[data-v-6429f429]{position:relative;font-size:.75rem;color:red;font-weight:400}#funding .contenbox .applyUser_title[data-v-6429f429]:before{right:68%}#funding .contenbox .applyUser_title[data-v-6429f429]:after,#funding .contenbox .applyUser_title[data-v-6429f429]:before{position:absolute;content:"";top:.5rem;width:2.1875rem;height:.0313rem;background:red;opacity:.2}#funding .contenbox .applyUser_title[data-v-6429f429]:after{left:68%}#funding .contenbox .videoDetail[data-v-6429f429]{margin-top:.625rem;background:#fff;border-radius:.3125rem;padding:.9063rem}#funding .contenbox .videoDetail .videoHtml[data-v-6429f429]{margin-top:.9375rem}#funding .contenbox .videoDetail .videoHtml video[data-v-6429f429]{width:100%;height:100%}#funding .contenbox .friendBox[data-v-6429f429]{margin-top:.625rem;background:#fff;border-radius:.3125rem;padding:.9063rem .6875rem}#funding .contenbox .friendBox .friend_user[data-v-6429f429]:last-child{margin-top:.2813rem;border-bottom:none}#funding .contenbox .friendBox .friend_user[data-v-6429f429]{padding:.9063rem 0 0 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-bottom:.0313rem solid #efefef}#funding .contenbox .friendBox .friend_user .left[data-v-6429f429]{width:1.875rem;height:1.875rem;border-radius:100%;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.4063rem}#funding .contenbox .friendBox .friend_user .left img[data-v-6429f429]{width:100%;height:100%;border-radius:100%}#funding .contenbox .friendBox .friend_user .rigth[data-v-6429f429]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding-bottom:.9375rem;overflow:hidden}#funding .contenbox .friendBox .friend_user .rigth .right_top[data-v-6429f429]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:.4688rem;width:100%;overflow:hidden}#funding .contenbox .friendBox .friend_user .rigth .right_top .name[data-v-6429f429]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2b2b2b;font-size:.8125rem;text-align:left}#funding .contenbox .friendBox .friend_user .rigth .right_top .price[data-v-6429f429]{font-size:.625rem;font-weight:400;color:red;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}#funding .contenbox .friendBox .friend_user .rigth .right_conten[data-v-6429f429]{text-align:left;font-size:.6875rem;font-weight:400;color:#666;margin-bottom:.625rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}#funding .contenbox .friendBox .friend_user .rigth .right_time[data-v-6429f429]{text-align:left;font-size:.625rem;color:#999}#funding .contenbox .applyUser[data-v-6429f429]{margin-top:.625rem;max-height:12.1875rem;background:#fff;border-radius:.3125rem;padding:.9063rem}#funding .contenbox .applyUser .showMore[data-v-6429f429]{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;width:100%;font-size:.625rem;color:#2b2b2b;line-height:1.25rem;opacity:.6;margin-top:.575rem}#funding .contenbox .applyUser .applyUser_title[data-v-6429f429]{position:relative;font-size:.75rem;color:red;font-weight:400}#funding .contenbox .applyUser .applyUser_title[data-v-6429f429]:before{position:absolute;content:"";right:68%;top:.5rem;width:2.1875rem;height:.0313rem;background:red;opacity:.2}#funding .contenbox .applyUser .applyUser_title[data-v-6429f429]:after{position:absolute;content:"";left:68%;top:.5rem;width:2.1875rem;height:.0313rem;background:red;opacity:.2}#funding .contenbox .priceBox[data-v-6429f429]{margin-top:.625rem;padding:.9375rem;height:6.4063rem;background:#fff;border-radius:.3125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}#funding .contenbox .priceBox .posview[data-v-6429f429]{position:absolute;bottom:0;right:0;width:4rem}#funding .contenbox .priceBox .posview img[data-v-6429f429]{width:100%;height:100%}#funding .contenbox .priceBox .dBox[data-v-6429f429]{width:5.8125rem;height:4.625rem;background-repeat:no-repeat;background-size:cover;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#funding .contenbox .priceBox .dBox .price[data-v-6429f429]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:.625rem;font-weight:700;color:#fff;width:5rem;margin:0 auto}#funding .contenbox .priceBox .dBox .price .one[data-v-6429f429]{line-height:.625rem}#funding .contenbox .priceBox .dBox .txt[data-v-6429f429]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-weight:500;font-size:.625rem;color:#fff;opacity:.8}#funding .contenbox .priceBox .dBoxOne[data-v-6429f429]{background-image:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2Fcrowd_activity_good_icons1.png)}#funding .contenbox .priceBox .dBoxTwo[data-v-6429f429]{background-image:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2Fcrowd_activity_good_icons2.png)}#funding .contenbox .priceBox .dBoxThr[data-v-6429f429]{background-image:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2Fcrowd_activity_good_icons3.png)}#funding .contenbox .activityGood[data-v-6429f429]{height:4.6875rem;background:#fff;border-radius:.3125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:.625rem}#funding .contenbox .activityGood .activityGood_right[data-v-6429f429]{text-align:left;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#funding .contenbox .activityGood .activityGood_right .title[data-v-6429f429]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:left;font-size:.75rem;color:#2b2b2b}#funding .contenbox .activityGood .activityGood_right .price[data-v-6429f429]{font-size:.625rem;color:red}#funding .contenbox .activityGood .activityGood_img[data-v-6429f429]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.4063rem;width:3.4375rem;height:3.4375rem;border-radius:.125rem}#funding .contenbox .activityGood .activityGood_img img[data-v-6429f429]{width:100%;height:100%;border-radius:.125rem}#funding .topuser[data-v-6429f429]{padding:1.25rem .9375rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center}#funding .topuser[data-v-6429f429],#funding .topuser .topuser_left[data-v-6429f429]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}#funding .topuser .topuser_left[data-v-6429f429]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-ms-flex-align:center}#funding .topuser .topuser_left .image[data-v-6429f429]{width:2.5rem;height:2.5rem;margin-right:.4063rem;background:#ffdfc4;border-radius:100%}#funding .topuser .topuser_left .image img[data-v-6429f429]{width:100%;height:100%;border-radius:100%}#funding .topuser .topuser_left .user[data-v-6429f429]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}#funding .topuser .topuser_left .user .name[data-v-6429f429]{font-size:.875rem;font-weight:500;color:#2e2e2e;margin-bottom:.5938rem}#funding .topuser .topuser_left .user .introduce[data-v-6429f429]{font-size:.75rem;font-weight:400;color:#2e2e2e;opacity:.8;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}#funding .topuser .topuser_right[data-v-6429f429]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:1.4375rem;height:1.4375rem;background:#ffecdc;border-radius:50%;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}#funding .topuser .topuser_right img[data-v-6429f429]{width:.8438rem;height:.6563rem}.allUserListMore[data-v-6429f429]{padding-bottom:1rem;color:#999;text-align:center}',""]),t.exports=e},"1da1":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));i("d3b7");function n(t,e,i,n,a,r,o){try{var s=t[r](o),c=s.value}catch(l){return void i(l)}s.done?e(c):Promise.resolve(c).then(n,a)}function a(t){return function(){var e=this,i=arguments;return new Promise((function(a,r){var o=t.apply(e,i);function s(t){n(o,a,r,s,c,"next",t)}function c(t){n(o,a,r,s,c,"throw",t)}s(void 0)}))}}},55815:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"funding"}},[i("c-title",{attrs:{hide:!1,text:t.infoData.belongs_to_activity?t.infoData.current_activity_member.nickname+"的"+t.infoData.belongs_to_activity.title:"众筹活动"}}),i("div",{staticClass:"topuser"},[i("div",{staticClass:"topuser_left"},[i("div",{staticClass:"image"},[t.infoData.current_activity_member?i("img",{attrs:{src:t.infoData.current_activity_member.avatar_image,alt:""}}):t._e()]),i("div",{staticClass:"user"},[t.infoData.current_activity_member?i("div",{staticClass:"name"},[t._v(t._s(t.infoData.current_activity_member.nickname))]):t._e(),i("div",{staticClass:"introduce"},[t._v(t._s(t.infoData.initiator_comment))])])]),i("div",{staticClass:"topuser_right",on:{click:t.posterShowTap}},[i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2Fcrowd_activity_good_icons_share%402x.png",alt:""}})])]),i("div",{staticClass:"contenbox"},[t.infoData.belongs_to_activity?i("div",{staticClass:"activityGood",on:{click:t.toActive}},[i("div",{staticClass:"activityGood_img"},[i("img",{attrs:{src:t.infoData.belongs_to_activity.image_url,alt:""}})]),i("div",{staticClass:"activityGood_right"},[i("div",{staticClass:"title"},[t._v(t._s(t.infoData.belongs_to_activity.title))]),i("div",{staticClass:"price"},[t._v(t._s(t.$i18n.t("money"))+t._s(t.infoData.belongs_to_activity.amount))])])]):t._e(),i("div",{staticClass:"priceBox"},[i("div",{staticClass:"dBox dBoxOne"},[i("div",{staticClass:"price"},[t.infoData.belongs_to_activity?[i("div",{staticClass:"one"},[t._v("¥"+t._s(t.strSliceFirst(t.infoData.belongs_to_activity.amount)))]),i("div",{staticClass:"one"},[t._v(t._s(t.strSliceLast(t.infoData.belongs_to_activity.amount)))])]:[i("div",{staticClass:"one"},[t._v("¥0.00")])]],2),i("div",{staticClass:"txt"},[t._v("目标金额")])]),i("div",{staticClass:"dBox dBoxTwo"},[i("div",{staticClass:"price"},[t.infoData.preparation_amount?[i("div",{staticClass:"one"},[t._v("¥"+t._s(t.strSliceFirst(t.infoData.preparation_amount)))]),i("div",{staticClass:"one"},[t._v(t._s(t.strSliceLast(t.infoData.preparation_amount)))])]:[i("div",{staticClass:"one"},[t._v("¥0.00")])]],2),i("div",{staticClass:"txt"},[t._v("已筹金额")])]),i("div",{staticClass:"dBox dBoxThr"},[t.infoData.support_count?i("div",{staticClass:"price"},[t._v(t._s(t.infoData.support_count))]):i("div",{staticClass:"price"},[t._v("0")]),i("div",{staticClass:"txt"},[t._v("支持人数(名)")])]),1==t.infoData.status?i("div",{staticClass:"posview"},[i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/crowd_activity_good_success@2x.png"}})]):t._e()]),t.infoData.joined_member?i("div",{staticClass:"applyUser"},[i("div",{staticClass:"applyUser_title"},[t._v("报名人员 ("+t._s(t.infoData.joined_member.length)+")")]),i("div",{staticClass:"userList"},t._l(t.infoData.joined_member,(function(e,n){return i("div",{key:n,staticClass:"lis"},[i("img",{attrs:{src:e.avatar_image,alt:""}}),i("div",{staticClass:"name"},[t._v(t._s(e.nickname))])])})),0),i("div",{staticClass:"showMore",on:{click:function(e){t.allUserShow=!0}}},[t._v("全部报名人员"),i("van-icon",{attrs:{name:"arrow-down"}})],1)]):t._e(),t.infoData.belongs_to_activity&&t.infoData.belongs_to_activity.video_url?i("div",{staticClass:"videoDetail"},[i("div",{staticClass:"applyUser_title"},[t._v("视频详情")]),i("div",{staticClass:"videoHtml"},[i("video",{ref:"goods_vedio",staticStyle:{width:"100%",height:"30vh","object-fit":"scale-down"},attrs:{id:"goods_vedio",src:t.infoData.belongs_to_activity.video_url,poster:t.infoData.belongs_to_activity.video_cover_url,controls:"","webkit-playsinline":"true",playsinline:"true","x5-playsinline":"true","x-webkit-airplay":"true","x5-video-ignore-metadata":"true",width:"100%",height:"100%"}},[i("source",{attrs:{src:t.infoData.belongs_to_activity.video_url}})])])]):t._e(),t.infoData.has_many_order?i("div",{staticClass:"friendBox"},[i("div",{staticClass:"applyUser_title"},[t._v("好友支持")]),t._l(t.infoData.has_many_order,(function(e,n){return i("div",{key:n,staticClass:"friend_user"},[i("div",{staticClass:"left"},[e.has_pay_member?i("img",{attrs:{src:e.has_pay_member.avatar_image,alt:""}}):t._e()]),e.has_pay_member?i("div",{staticClass:"rigth"},[i("div",{staticClass:"right_top"},[i("div",{staticClass:"name"},[t._v(t._s(e.has_pay_member.nickname))]),i("div",{staticClass:"price"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.amount))])]),e.support_comment?i("div",{staticClass:"right_conten"},[t._v(t._s(e.support_comment))]):t._e(),i("div",{staticClass:"right_time"},[t._v(t._s(e.pay_time))])]):t._e()])}))],2):t._e()]),i("div",{staticClass:"btn set-pc-style"},[0==t.infoData.status?[i("div",{staticClass:"viewbtn",on:{click:t.payShowTap}},[t._v("去支持")])]:t._e(),3==t.infoData.status?[i("div",{staticClass:"finish"},[t._v("活动已结束")])]:t._e(),2==t.infoData.status?[i("div",{staticClass:"failview"},[i("div",{staticClass:"left"},[t._v("众筹失败")]),i("div",{staticClass:"right",on:{click:t.toActive}},[t._v("我要报名")])])]:t._e(),1==t.infoData.status?[i("div",{staticClass:"successview"},[i("div",{staticClass:"left lefsuccess"},[t._v("众筹成功")]),i("div",{staticClass:"right",on:{click:t.toActive}},[t._v("我要报名")])])]:t._e()],2),i("van-popup",{style:{height:"60%"},attrs:{closeable:"",round:"",position:"bottom"},model:{value:t.allUserShow,callback:function(e){t.allUserShow=e},expression:"allUserShow"}},[i("van-nav-bar",{attrs:{title:"全部报名人员"}}),t.infoData.joined_member?i("div",{staticClass:"userList allUserList"},t._l(t.infoData.joined_member,(function(e,n){return i("div",{key:n,staticClass:"lis"},[[i("img",{attrs:{src:e.avatar_image,alt:""}}),i("div",{staticClass:"name"},[t._v(t._s(e.nickname))])]],2)})),0):t._e()],1),i("van-popup",{style:{height:"30%"},attrs:{round:"",position:"bottom"},model:{value:t.payShow,callback:function(e){t.payShow=e},expression:"payShow"}},[i("van-nav-bar",{attrs:{title:"请选择支持金额"},scopedSlots:t._u([{key:"left",fn:function(){return[i("span",{staticClass:"popupClose_left",on:{click:function(e){t.payShow=!1}}},[t._v("取消")])]},proxy:!0},{key:"right",fn:function(){return[i("span",{on:{click:t.allUserComfirm}},[t._v("确认")])]},proxy:!0}])}),i("div",{staticClass:"payBox"},[t._l(t.payPrice,(function(e,n){return i("div",{key:n,staticClass:"paylis",class:t.priceIndex==n?"paylisSelectColor":"",on:{click:function(i){return t.tapPriceSelect(e,n)}}},[t._v(t._s(e)+"元")])})),i("div",{staticClass:"paylis lastpaylis"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.diyPayprice,expression:"diyPayprice"}],attrs:{type:"number",placeholder:"自定义金额"},domProps:{value:t.diyPayprice},on:{input:[function(e){e.target.composing||(t.diyPayprice=e.target.value)},t.tapPayShowInp]}})])],2)],1),i("yz-goodsposter",{attrs:{posterData:t.poster_Data,defaultImg:t.poster,width:"18.875rem"},on:{finish:t.uploadImageM},model:{value:t.posterShow,callback:function(e){t.posterShow=e},expression:"posterShow"}})],1)},a=[],r=i("c7eb"),o=i("1da1"),s=(i("e7e5"),i("d399")),c=(i("81b2"),i("0eb6"),i("b7ef"),i("8bd4"),i("ac1f"),i("1276"),i("c19f"),i("ace4"),i("d3b7"),i("5cc6"),i("907a"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("fa9e"),i("77d9"),i("fb6a"),i("c846")),l={data:function(){return{payShow:!1,allUserShow:!1,infoData:[],allUserShowList:[],allUserpage:1,payPrice:[],diyPayprice:"",priceIndex:null,posterShow:!1,poster_Data:{poster_data:null,background:{}},poster_id:null,isNewPosterPlugin:!1}},activated:function(){this.init(),this.getData()},methods:{init:function(){this.posterShow=!1,this.payShow=!1,this.allUserShow=!1},toActive:function(){this.$router.push(this.fun.getUrl("crowd_activity_good",{id:this.infoData.activity_id}))},uploadImageM:function(t){var e=this,i=this.infoData.belongs_to_activity.new_poster_id;this.dataURL=t;var n=this.fun.getRealUrl("member.qrcode.uploadLocal",{local_upload:1,poster_id:i,is_new:this.isNewPosterPlugin?1:0}),a=new FormData;a.append("file",this.dataURItoBlob(this.dataURL)),axios.post(n,a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){1==t.data.result?$http.post("member.qrcode.poster-record",{poster_id:i,image:t.data.data.img_url,is_new:e.isNewPosterPlugin?1:0}).then((function(t){1===t.result||Object(s["a"])(t.msg)})).catch((function(t){})):Object(s["a"])(t.data.msg)})).catch((function(t){}))},dataURItoBlob:function(t){for(var e=atob(t.split(",")[1]),i=t.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(e.length),a=new Uint8Array(n),r=0;r<e.length;r++)a[r]=e.charCodeAt(r);return new Blob([n],{type:i})},postImgUrl:function(t){var e=this;$http.get("plugin.crowdfunding.frontend.activity-member.promotePoster",{new_poster_id:t,activity_member_id:this.infoData.id},"加载中").then((function(t){1===t.result?(e.poster_Data.poster_data=t.data.style_data,e.poster_Data.background.src=t.data.background.src,e.poster_Data.background.type=t.data.background.type,e.isNewPosterPlugin=t.data.new,e.posterShow=!0):e.$dialog.alert({message:t.msg})})).catch((function(t){}))},posterShowTap:function(){var t=this;return Object(o["a"])(Object(r["a"])().mark((function e(){var i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.infoData.belongs_to_activity.new_poster_id,e.next=3,t.postImgUrl(i);case 3:case"end":return e.stop()}}),e)})))()},allUserComfirm:function(){var t=this,e="";e=0==this.priceIndex||this.priceIndex?this.payPrice[this.priceIndex]:this.diyPayprice,$http.get("plugin.crowdfunding.frontend.pre-activity-order.crowdfunding",{activity_member_id:this.infoData.id,amount:e},"加载中").then((function(e){1===e.result?(t.$router.push(t.fun.getUrl("crowd_activity_OrderPay",{sn:e.data.order_sn})),t.payShow=!1):(t.$dialog.alert({message:e.msg}),t.payShow=!1)})).catch((function(t){}))},tapPayShowInp:function(){this.priceIndex=null},tapPriceSelect:function(t,e){this.PaypriceOnece=t,this.priceIndex=e},payShowTap:function(){var t=this;this.payShow=!0,this.payPrice=[],this.diyPayprice="",this.priceIndex=null,$http.get("plugin.crowdfunding.frontend.activity.fixedAmount",{},"加载中").then((function(e){1===e.result?(t.payPrice=e.data,e.data.length>0&&(t.priceIndex=0)):Object(s["a"])(res.msg)})).catch((function(t){}))},strSliceFirst:function(t){return t.slice(0,7)},strSliceLast:function(t){return t.slice(7,14)},getData:function(){var t=this;$http.get("plugin.crowdfunding.frontend.activity-member.show",{activity_member_id:this.$route.params.id},"加载中").then((function(e){1===e.result?(t.infoData=e.data,t.fun.setWXTitle(t.infoData.belongs_to_activity.title)):Object(s["a"])(res.msg)})).catch((function(t){}))}},components:{yzGoodsposter:c["a"]}},d=l,f=(i("b225"),i("2877")),u=Object(f["a"])(d,n,a,!1,null,"6429f429",null);e["default"]=u.exports},b225:function(t,e,i){"use strict";i("cdab")},c7eb:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("b636"),i("944a"),i("0c47"),i("23dc"),i("d9e2"),i("3410"),i("159b"),i("b0c0"),i("131a"),i("fb6a");var n=i("53ca");function a(){
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
a=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function l(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(B){l=function(t,e,i){return t[e]=i}}function d(t,e,i,n){var a=e&&e.prototype instanceof p?e:p,r=Object.create(a.prototype),o=new j(n||[]);return r._invoke=function(t,e,i){var n="suspendedStart";return function(a,r){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw r;return S()}for(i.method=a,i.arg=r;;){var o=i.delegate;if(o){var s=_(o,i);if(s){if(s===u)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var c=f(t,e,i);if("normal"===c.type){if(n=i.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(n="completed",i.method="throw",i.arg=c.arg)}}}(t,i,o),r}function f(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(B){return{type:"throw",arg:B}}}t.wrap=d;var u={};function p(){}function g(){}function m(){}var b={};l(b,o,(function(){return this}));var h=Object.getPrototypeOf,v=h&&h(h(D([])));v&&v!==e&&i.call(v,o)&&(b=v);var x=m.prototype=p.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){function a(r,o,s,c){var l=f(t[r],t,o);if("throw"!==l.type){var d=l.arg,u=d.value;return u&&"object"==Object(n["a"])(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){a("next",t,s,c)}),(function(t){a("throw",t,s,c)})):e.resolve(u).then((function(t){d.value=t,s(d)}),(function(t){return a("throw",t,s,c)}))}c(l.arg)}var r;this._invoke=function(t,i){function n(){return new e((function(e,n){a(t,i,e,n)}))}return r=r?r.then(n,n):n()}}function _(t,e){var i=t.iterator[e.method];if(void 0===i){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=f(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function D(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:S}}function S(){return{value:void 0,done:!0}}return g.prototype=m,l(x,"constructor",m),l(m,"constructor",g),g.displayName=l(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},w(y.prototype),l(y.prototype,s,(function(){return this})),t.AsyncIterator=y,t.async=function(e,i,n,a,r){void 0===r&&(r=Promise);var o=new y(d(e,i,n,a),r);return t.isGeneratorFunction(i)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(x),l(x,c,"Generator"),l(x,o,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){for(;e.length;){var n=e.pop();if(n in t)return i.value=n,i.done=!1,i}return i.done=!0,i}},t.values=D,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(i,n){return o.type="throw",o.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],o=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var s=i.call(r,"catchLoc"),c=i.call(r,"finallyLoc");if(s&&c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,u):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),C(i),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;C(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:D(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),u}},t}},cdab:function(t,e,i){var n=i("0c343");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("499e").default;a("46701882",n,!0,{sourceMap:!1,shadowMode:!1})}}]); |