12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b5776c4a"],{1844:function(t,e,n){t.exports=n.p+"img/prize_background.43fe0763.jpg"},4232:function(t,e,n){t.exports=n.p+"img/post.bafd5f9a.png"},4376:function(t,e,n){},"4d48":function(t,e,n){"use strict";n("68ef"),n("bf60")},"66b9":function(t,e,n){"use strict";n("68ef")},"6d9f":function(t,e,n){"use strict";n.r(e);var a,i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"note",style:t.note},[n("div",{staticClass:"transparent",style:t.transparent},[n("div",{staticClass:"card"},[t._m(0),n("van-row",[t._v("保存邀请卡片(图片)至手机")]),n("van-row",[t._v("转发图片至朋友圈并截图")]),n("van-row",[t._v("将截图发送至"),n("span",{staticStyle:{color:"#F4A460"}},[t._v(" 深大欢欢 ")]),t._v("公众号后台,才可获得本次活动的【匹配资格】和【抽奖机会】")])],1),n("div",{staticStyle:{position:"relative"}},[n("img",{staticStyle:{"max-width":"80%",position:"relative"},attrs:{src:t.share}})]),n("van-button",{attrs:{size:"large",type:"primary"},on:{click:t.Toshare}},[t._v("分享")]),n("van-button",{attrs:{size:"large",type:"primary"},on:{click:t.Toindex}},[t._v("返回首页")])],1)])},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h3",{staticStyle:{color:"white"}},[n("strong",[t._v("提交成功!最后一步")])])}],o=n("ade3"),r=(n("81e6"),n("9ffb")),c=(n("4d48"),n("d1e1")),u=(n("7f7f"),n("66b9"),n("b650")),l=(n("cadf"),n("551c"),n("097d"),n("6d93"),n("6ef9")),f={name:"share",components:(a={},Object(o["a"])(a,u["a"].name,u["a"]),Object(o["a"])(a,c["a"].name,c["a"]),Object(o["a"])(a,r["a"].name,r["a"]),Object(o["a"])(a,"wx",{render:function(t){return t("script",{attrs:{type:"text/javascript",src:"http://res2.wx.qq.com/open/js/jweixin-1.4.0.js"}})}}),a),mounted:{},data:function(){return{note:{backgroundImage:"url("+n("1844")+")"},transparent:{backgroundColor:"rgba(50,50,50,0.7)"},active:0,share:n("4232")}},methods:{Toindex:function(){this.$router.push("index")},Toshare:function(){alert("请点击右上角,即可分享"),Toast({message:"请点击右上角,即可分享"})}},created:function(){localStorage.getItem("frontend-userid")?l["a"].getSigned(["onMenuShareTimeline","onMenuShareAppMessage"],function(){wx.ready(function(){wx.onMenuShareTimeline({title:"用一份礼物,邂逅一段故事",link:"https://gift.fogice.com/?res=timeline",imgUrl:"http://gift.fogice.com/attachment/upload/2018-12-13_22-45-35_dbad3cb10afe017f8ef5158f96c9a7c6c622aa04db557384883f97fe38cae380.png",success:function(){Toast({message:"成功分享到朋友圈"}),this.$router.push("index")},cancel:function(){Toast({message:"分享失败,您取消了分享!"})}}),wx.onMenuShareAppMessage({title:"用一份礼物,邂逅一段故事",desc:"嘿~我送出了一份圣诞礼物 要和我来交换吗",link:"https://gift.fogice.com/?res=appmessage",imgUrl:"http://gift.fogice.com/attachment/upload/2018-12-13_22-45-35_dbad3cb10afe017f8ef5158f96c9a7c6c622aa04db557384883f97fe38cae380.png",type:"",dataUrl:"",success:function(){Toast({message:"成功分享给朋友"}),this.$router.push("index")},cancel:function(){Toast({message:"分享失败,您取消了分享!"})}})})},{}):this.$router.push("login")}},d=f,p=(n("cd88"),n("2877")),g=Object(p["a"])(d,i,s,!1,null,"26492ae9",null);g.options.__file="share.vue";e["default"]=g.exports},"7b0a":function(t,e,n){},"81e6":function(t,e,n){"use strict";n("68ef"),n("7b0a")},"9ffb":function(t,e,n){"use strict";var a=n("fe7e");e["a"]=Object(a["a"])({render:function(){var t,e=this,n=e.$createElement,a=e._self._c||n;return a(e.tag,{tag:"component",class:e.b((t={},t[e.span]=e.span,t["offset-"+e.offset]=e.offset,t)),style:e.style},[e._t("default")],2)},name:"col",props:{span:[Number,String],offset:[Number,String],tag:{type:String,default:"div"}},computed:{gutter:function(){return this.$parent&&Number(this.$parent.gutter)||0},style:function(){var t=this.gutter/2+"px";return this.gutter?{paddingLeft:t,paddingRight:t}:{}}}})},b650:function(t,e,n){"use strict";var a=n("fe7e");e["a"]=Object(a["a"])({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.tag,{tag:"component",class:t.b([t.type,t.size,{block:t.block,plain:t.plain,round:t.round,square:t.square,loading:t.loading,disabled:t.disabled,unclickable:t.disabled||t.loading,"bottom-action":t.bottomAction}]),attrs:{type:t.nativeType,disabled:t.disabled},on:{click:t.onClick}},[t.loading?n("loading",{attrs:{size:"20px",color:"default"===t.type?void 0:""}}):n("span",{class:t.b("text")},[t._t("default",[t._v(t._s(t.text))])],2)],1)},name:"button",props:{text:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,disabled:Boolean,nativeType:String,bottomAction:Boolean,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"}},methods:{onClick:function(t){this.loading||this.disabled||this.$emit("click",t)}}})},bf60:function(t,e,n){},cd88:function(t,e,n){"use strict";var a=n("4376"),i=n.n(a);i.a},d1e1:function(t,e,n){"use strict";var a=n("fe7e");e["a"]=Object(a["a"])({render:function(){var t,e=this,n=e.$createElement,a=e._self._c||n;return a(e.tag,{tag:"component",class:e.b((t={flex:e.flex},t["align-"+e.align]=e.flex&&e.align,t["justify-"+e.justify]=e.flex&&e.justify,t)),style:e.style},[e._t("default")],2)},name:"row",props:{type:String,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},computed:{flex:function(){return"flex"===this.type},style:function(){var t="-"+Number(this.gutter)/2+"px";return this.gutter?{marginLeft:t,marginRight:t}:{}}}})}}]);
- //# sourceMappingURL=chunk-b5776c4a.5b97ff2a.js.map
|