(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/weixinTip/index"],{"176b":function(t,n,i){},"5c59":function(t,n,i){"use strict";i.r(n);var e=i("b84b"),o=i.n(e);for(var r in e)["default"].indexOf(r)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(r);n["default"]=o.a},"66df":function(t,n,i){"use strict";i.r(n);var e=i("c1ab"),o=i("5c59");for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(r);i("ff8d");var u=i("828b"),c=Object(u["a"])(o["default"],e["b"],e["c"],!1,null,"f74330b0",null,!1,e["a"],void 0);n["default"]=c.exports},b84b:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{showTip:!1,marginRight:"10px",fixedRight:52}},mounted:function(){var n=this;t.canIUse("checkIsAddedToMyMiniProgram")?this.checkIsAddedToMyMiniProgram():(this.showTip=!0,setTimeout((function(){n.hideTip()}),1e3*this.duration))},props:{tips:{type:String,default:"点击添加到我的小程序"},duration:{type:Number,default:5},color:{type:String,default:"#FFFFFF"}},methods:{checkIsAddedToMyMiniProgram:function(){var n=this;try{t.checkIsAddedToMyMiniProgram({success:function(t){t.added?n.showTip=!1:(n.showTip=!0,setTimeout((function(){n.hideTip()}),1e3*n.duration))},fail:function(){n.showTip=!0,setTimeout((function(){n.hideTip()}),1e3*n.duration)}})}catch(i){}},hideTip:function(){this.showTip=!1,this.$emit("change")}},computed:{contentStyle:function(){return{backgroundColor:this.color,marginRight:this.marginRight}},fixedTop:function(){var n=t.getMenuButtonBoundingClientRect(),i=t.getSystemInfoSync().statusBarHeight;return{top:i+n.height+8+"px"}},addStyle:function(){return{"border-color":"transparent transparent "+this.color+" transparent",right:this.fixedRight+"px"}}}};n.default=i}).call(this,i("3223")["default"])},c1ab:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,i=(t._self._c,t.showTip?t.__get_style([t.fixedTop]):null),e=t.showTip?t.__get_style([t.contentStyle]):null,o=t.showTip?t.__get_style([t.addStyle]):null;t.$mp.data=Object.assign({},{$root:{s0:i,s1:e,s2:o}})},o=[]},ff8d:function(t,n,i){"use strict";var e=i("176b"),o=i.n(e);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/weixinTip/index-create-component',
    {
        'components/weixinTip/index-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("66df"))
        })
    },
    [['components/weixinTip/index-create-component']]
]);
