pages-GiftPackage-AssistanceJoin.7b7f9052.js 8.75 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-AssistanceJoin"],{"295a":function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"background_img"},[i("v-uni-view",{staticClass:"top_name"},[i("v-uni-view",{staticClass:"top_name_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1),i("v-uni-view",{staticClass:"top_name_text"},[i("v-uni-text",[t._v("秋天的风")])],1)],1),i("v-uni-view",{staticClass:"top_title"},[i("v-uni-text",[t._v("助力成功,自己也拆一个吧~")])],1),i("v-uni-view",{staticClass:"top_title_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/assis10.png"}}),i("v-uni-text",[t._v("活动时间:"+t._s(this.actDate))])],1),i("v-uni-view",{staticClass:"top_button_img"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getJoin.apply(void 0,arguments)}}},[t._v("我也要参加")])],1)],1),i("v-uni-view",{staticClass:"foot_receive"},[i("v-uni-text",[t._v("已有"+t._s(this.countNumber)+"人领取了任务")])],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},5826:function(t,e,i){"use strict";var a=i("78bc"),n=i.n(a);n.a},"76e3":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-28\r\n */.box[data-v-41b6edea]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.background_img[data-v-41b6edea]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/assis00.png);background-size:100% 100%}.top_name[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:%?60?% %?50?% %?20?% %?50?%}.top_name_img[data-v-41b6edea]{width:17%}.top_name_img uni-image[data-v-41b6edea]{width:%?80?%;height:%?80?%;border-radius:50%}.top_name_text[data-v-41b6edea]{width:80%;font-size:%?30?%;color:#fff;padding-top:%?18?%}.top_title[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin-top:%?40?%;color:#fff;font-size:%?35?%}.top_title_img[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_title_img uni-image[data-v-41b6edea]{width:%?447?%;height:%?380?%;padding-top:%?50?%;padding-bottom:%?30?%}.top_title_img uni-text[data-v-41b6edea]{font-size:%?25?%;color:#fff}.top_button_img[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center;margin-top:%?50?%;margin-bottom:%?50?%}.top_button_img uni-text[data-v-41b6edea]{font-size:%?40?%;color:#d01119;background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/assis02.png);background-size:cover;width:%?443?%;height:%?83?%;line-height:%?70?%}.content_title_box[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-bottom:%?1?% dashed #fff;margin:%?0?% %?20?% %?30?% %?20?%}.content_title_title[data-v-41b6edea]{width:31%;text-align:center;color:#fff;font-size:%?27?%;padding-bottom:%?20?%}.content_box[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin-top:%?10?%}.content_box_gift[data-v-41b6edea]{width:60%;font-size:%?25?%;color:#fff;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.content_box_remark[data-v-41b6edea]{font-size:%?25?%;color:#fff;text-decoration:underline}.foot_load[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:%?25?%;color:#fff;margin-top:%?50?%}.foot_receive[data-v-41b6edea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:%?25?%;color:#fff;margin-top:%?30?%;margin-bottom:%?30?%}.font_color[data-v-41b6edea]{color:#b9b5b5;text-decoration:underline}.zhuli_box[data-v-41b6edea]{text-align:center}.libao_box[data-v-41b6edea]{z-index:15;position:fixed;width:70%;top:38%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);height:auto}.layer-img[data-v-41b6edea]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:100%;height:%?500?%;background-image:url(https://mshopimg.yolipai.net/miniapp/images/friendhelp/success.png);background-size:100% 100%}.button-img[data-v-41b6edea]{width:60%;margin:auto;color:#d01119;height:%?75?%;line-height:%?65?%;background-image:url(https://mshopimg.yolipai.net/miniapp/images/friendhelp/participate.png);background-size:100% 100%;position:absolute;left:19%;top:45%;text-align:center}.layer-text[data-v-41b6edea]{position:absolute;left:19%;top:55%;margin-left:%?20?%}.layer-text uni-text[data-v-41b6edea]{font-size:%?25?%;color:#fff}.close-none[data-v-41b6edea]{width:%?70?%;height:%?70?%}.link_div[data-v-41b6edea]{width:%?3?%;height:%?125?%;background:#fff;margin:auto}uni-page-body[data-v-41b6edea]{background:#d01119}body.?%PAGE?%[data-v-41b6edea]{background:#d01119}',""])},"78bc":function(t,e,i){var a=i("76e3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("39dd4bf8",a,!0,{sourceMap:!1,shadowMode:!1})},"79d3":function(t,e,i){"use strict";i.r(e);var a=i("907c"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},"907c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{countNumber:"126",getzlUserID:"",actTaskID:"",getStorageID:"",getUserID:"",actDate:"",IsMyJoin:!1,contentList:[]}},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.getHelpID=t.helpid,this.getzlUserID=t.zluserid,this.GetLis(),this.GetCount()},onShow:function(){},methods:{getJoin:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/help/act/judge",data:{userId:this.getzlUserID,storeId:this.getStorageID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?uni.reLaunch({url:"../GiftPackage/AssistanceAct?stoid="+t.getStorageID+"&userid="+t.getzlUserID}):(console.log(e.data.msg),uni.showToast({icon:"none",title:"暂不满足参与条件!"})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},GetLis:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/help/act/judge",data:{userId:this.getUserID,storeId:this.getStorageID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?t.actDate=t.ToDate(e.data.data.beginDate)+"至"+t.ToDate(e.data.data.endDate):console.log(e.data.msg),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},GetCount:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/help/involve/help/act/people/count",data:{helpId:this.getHelpID,storeId:this.getStorageID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.data.countAll),t.countNumber=e.data.data.countAll):console.log(e.data.msg),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},ToDate:function(t){var e=new Date(1e3*t),i=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var n=e.getDate();return n=n<10?"0"+n:n,i+"-"+a+"-"+n}}};e.default=a},d667:function(t,e,i){"use strict";i.r(e);var a=i("295a"),n=i("79d3");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("5826");var s,d=i("f0c5"),c=Object(d["a"])(n["default"],a["b"],a["c"],!1,null,"41b6edea",null,!1,a["a"],s);e["default"]=c.exports}}]);