(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-share-share"],{"08c1":function(e,t,i){"use strict";var a=i("6766"),n=i.n(a);n.a},"0e96":function(e,t,i){"use strict";var a=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t._API_checkCode=t._API_ChangeBindPhone=t._API_ChangeBindCode=t._API_GzhWebInits=t._API_GzhWebInit=t._API_Logout=t._API_UpdataPsw=t._API_LoginByPsw=t._API_GetVerifyCode=t._API_LoginWX=t._API_Login=t._API_Reg=void 0;var n=a(i("cacb")),o=function(e){return n.default.get("/login/register",e)};t._API_Reg=o;var r=function(e){return n.default.get("/login/login",e)};t._API_Login=r;var c=function(e){return n.default.get("/login/wechat_login",e)};t._API_LoginWX=c;var l=function(e){return n.default.get("/login/judge_login",e)};t._API_GetVerifyCode=l;var d=function(e){return n.default.post("/user/login",e)};t._API_LoginByPsw=d;var b=function(e){return n.default.post("/user/update_pass",e)};t._API_UpdataPsw=b;var s=function(e){return n.default.get("/logout",e)};t._API_Logout=s;var f=function(e){return n.default.get("/wechat/wechat")};t._API_GzhWebInit=f;var w=function(e){return n.default.get("/wechat/wechats")};t._API_GzhWebInits=w;var x=function(e){return n.default.get("/user/send_code",e)};t._API_ChangeBindCode=x;var u=function(e){return n.default.get("/user/change_num",e)};t._API_ChangeBindPhone=u;var p=function(e){return n.default.get("/login/get_user_openid",e)};t._API_checkCode=p},1928:function(e,t,i){"use strict";var a;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return a}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{attrs:{id:"share_container"}},[a("v-uni-view",{staticStyle:{display:"none"},attrs:{id:"erweima"}}),a("v-uni-image",{staticStyle:{width:"0",height:"0"},attrs:{src:i("6f9d")}}),a("v-uni-view",{attrs:{id:"imgWrapper"}},[e.src?a("v-uni-image",{staticClass:"showCan",attrs:{src:e.src}}):e._e()],1),a("v-uni-view",{staticClass:"basecolor sharetext"},[e._v(e._s(e.src?"长按二维码发送给代理即可邀请加入":""))])],1)},o=[]},"37c8":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-c2ca59aa]{margin-top:%?10?%}.app-item uni-input[data-v-c2ca59aa], .app-item uni-picker[data-v-c2ca59aa], .app-item uni-textarea[data-v-c2ca59aa]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-c2ca59aa]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-c2ca59aa]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-c2ca59aa]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-c2ca59aa]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-c2ca59aa]{color:#fff;background:#f76454}.small-btn[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-c2ca59aa]{color:#999;border-color:#999}.login-btn[data-v-c2ca59aa]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-c2ca59aa]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-c2ca59aa]{margin-right:%?20?%}.border-right[data-v-c2ca59aa]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-c2ca59aa]{margin-right:%?6?%}.position-center[data-v-c2ca59aa]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-c2ca59aa]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-c2ca59aa]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-c2ca59aa]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-c2ca59aa]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-c2ca59aa]{color:#f76454}.swiper-nav[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-c2ca59aa]{color:#f76454}.swiper-nav .moveBar[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-c2ca59aa]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-c2ca59aa]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-c2ca59aa]{width:100%;height:100%}.article-header[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-c2ca59aa]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-c2ca59aa]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-c2ca59aa]{color:#f76454}.article-footer[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-c2ca59aa]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-c2ca59aa]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-c2ca59aa]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-c2ca59aa]{color:#f76454}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */#share_container[data-v-c2ca59aa]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}#imgWrapper[data-v-c2ca59aa]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}#imgWrapper .showCan[data-v-c2ca59aa]{width:%?680?%;height:%?960?%;border-radius:%?14?%;box-shadow:0 0 23px 2px rgba(194,133,58,.5)}.sharetext[data-v-c2ca59aa]{font-size:%?80?%;text-align:center;margin:%?8?% 0;box-sizing:border-box;padding:%?30?% %?24?%}',""]),e.exports=t},6766:function(e,t,i){var a=i("37c8");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("d38928e4",a,!0,{sourceMap:!1,shadowMode:!1})},"6f9d":function(e,t,i){e.exports=i.p+"staticsss/img/avatar.e0e8b509.jpg"},"94fb":function(e,t,i){"use strict";var a=i("4ea4");i("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("5530")),o=i("0e96"),r=i("2f62"),c={name:"ShareIndex",data:function(){return{src:""}},computed:(0,n.default)({},(0,r.mapState)(["userinfo"])),created:function(){var e=this,t=document.createElement("script");t.type="text/javascript",t.src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js",document.getElementsByTagName("head")[0].appendChild(t);var i=this.userinfo,a=i.nickname;i.id;t.onload=function(){(0,o._API_GzhWebInit)().then((function(t){setTimeout((function(){var i=document.getElementsByTagName("img")[0];$("#erweima").qrcode({width:333,height:333,text:t.url}),document.getElementsByTagName("canvas")[0].getContext("2d").drawImage(i,123,123,80,80),wx.config(t),wx.ready((function(){wx.updateAppMessageShareData({title:"我是".concat(e.$store.state.userinfo.nickname,", 邀请你加入大卫博士"),desc:"传递健康,改变命运。",link:t.url,imgUrl:"http://api.app.jiuweiyun.cn/public/uploads/logo.jpg"})})),wx.error((function(e){return window.history.replaceState({},"","/api/gzh/david")})),uni.hideLoading();var n=document.createElement("canvas"),o=n.getContext("2d");window.devicePixelRatio;n.width=uni.upx2px(680),n.height=uni.upx2px(960),o.fillStyle="#ffffff",o.fillRect(0,0,uni.upx2px(680),uni.upx2px(960)),o.fillStyle="#000000",o.font="".concat(uni.upx2px(42),"px Arial"),o.textAlign="center",o.drawImage(i,uni.upx2px(276),uni.upx2px(16),uni.upx2px(128),uni.upx2px(128)),o.fillText("“".concat(a.length>18?a.slice(0,18)+"...":a,"”"),uni.upx2px(340),uni.upx2px(206)),o.fillStyle="#333333",o.font="".concat(uni.upx2px(36),"px Arial"),o.fillText("邀请你加入大卫博士",uni.upx2px(340),uni.upx2px(271)),o.drawImage(document.getElementsByTagName("canvas")[0],uni.upx2px(80),uni.upx2px(332),uni.upx2px(517),uni.upx2px(518)),o.font="".concat(uni.upx2px(36),"px Arial"),o.fillStyle="#F76454",o.fillText("长按-识别二维码-填写信息",uni.upx2px(340),uni.upx2px(910)),e.src=n.toDataURL("image/png")}),567)}))}}};t.default=c},ac70:function(e,t,i){"use strict";i.r(t);var a=i("94fb"),n=i.n(a);for(var o in a)"default"!==o&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},db2c:function(e,t,i){"use strict";i.r(t);var a=i("1928"),n=i("ac70");for(var o in n)"default"!==o&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("08c1");var r,c=i("f0c5"),l=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"c2ca59aa",null,!1,a["a"],r);t["default"]=l.exports}}]);