1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-share-share"],{15219:function(e,t,i){"use strict";var n=i("4ea4");i("fb6a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(i("ade3")),r=n(i("5530")),a=i("4cbb"),c=n(i("78d2")),l=i("2f62"),f=(0,o.default)({components:{tkiQrcode:c.default},name:"ShareIndex",data:function(){return{src:"",imp:"../../static/index.html",platform:"",val:"http://192.168.0.12:8080/api/gzh?id=1347",size:450,background:"#fff",foreground:"#000000",pdground:"#000000",lv:3,onval:!0,loadMake:!0,icon:"../../static/avatar.jpg"}},onShow:function(){},computed:(0,r.default)({},(0,l.mapState)(["userinfo"]))},"onShow",(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,n=i.nickname;i.id;t.onload=function(){(0,a._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.woaidakele.cn/public/uploads/logo.jpg"})})),wx.error((function(e){return window.history.replaceState({},"","/api/gzh/david")})),uni.hideLoading();var o=document.createElement("canvas"),r=o.getContext("2d");window.devicePixelRatio;o.width=uni.upx2px(680),o.height=uni.upx2px(960),r.fillStyle="#ffffff",r.fillRect(0,0,uni.upx2px(680),uni.upx2px(960)),r.fillStyle="#000000",r.font="".concat(uni.upx2px(42),"px Arial"),r.textAlign="center",r.drawImage(i,uni.upx2px(276),uni.upx2px(16),uni.upx2px(128),uni.upx2px(128)),r.fillText("“".concat(n.length>18?n.slice(0,18)+"...":n,"”"),uni.upx2px(340),uni.upx2px(206)),r.fillStyle="#333333",r.font="".concat(uni.upx2px(36),"px Arial"),r.fillText("邀请你加入大卫博士",uni.upx2px(340),uni.upx2px(271)),r.drawImage(document.getElementsByTagName("canvas")[0],uni.upx2px(80),uni.upx2px(332),uni.upx2px(517),uni.upx2px(518)),r.font="".concat(uni.upx2px(36),"px Arial"),r.fillStyle="#F76454",r.fillText("长按-识别二维码-填写信息",uni.upx2px(340),uni.upx2px(910)),e.src=o.toDataURL("image/png")}))}))}}));t.default=f},"2e70":function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{attrs:{id:"share_container"}},[n("v-uni-view",{staticStyle:{display:"none"},attrs:{id:"erweima"}}),n("v-uni-image",{staticStyle:{width:"0",height:"0"},attrs:{src:i("ee88")}}),n("v-uni-view",{attrs:{id:"imgWrapper"}},[e.src?n("v-uni-image",{staticClass:"showCan",attrs:{src:e.src}}):e._e()],1),n("v-uni-view",{staticClass:"basecolor sharetext"},[e._v(e._s(e.src?"长按二维码发送给代理即可邀请加入":""))])],1)},r=[]},3512:function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-89f91ee4]{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-89f91ee4]{margin-top:%?10?%}.app-item uni-input[data-v-89f91ee4], .app-item uni-picker[data-v-89f91ee4], .app-item uni-textarea[data-v-89f91ee4]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-89f91ee4]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-89f91ee4]{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-89f91ee4]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-89f91ee4]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-89f91ee4]{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-89f91ee4]{color:#fff;background:#f76454}.small-btn[data-v-89f91ee4]{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-89f91ee4]{color:#999;border-color:#999}.login-btn[data-v-89f91ee4]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-89f91ee4]{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-89f91ee4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-89f91ee4]{margin-right:%?20?%}.border-right[data-v-89f91ee4]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-89f91ee4]{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-89f91ee4]{margin-right:%?6?%}.position-center[data-v-89f91ee4]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-89f91ee4]{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-89f91ee4]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-89f91ee4]{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-89f91ee4]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-89f91ee4]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-89f91ee4]{color:#f76454}.swiper-nav[data-v-89f91ee4]{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-89f91ee4]{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-89f91ee4]{color:#f76454}.swiper-nav .moveBar[data-v-89f91ee4]{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-89f91ee4]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-89f91ee4]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-89f91ee4]{width:100%;height:100%}.article-header[data-v-89f91ee4]{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-89f91ee4]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-89f91ee4]{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-89f91ee4]{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-89f91ee4]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-89f91ee4]{color:#f76454}.article-footer[data-v-89f91ee4]{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-89f91ee4]{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-89f91ee4]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-89f91ee4]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-89f91ee4]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\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/* 文章场景相关 */.qrimg[data-v-89f91ee4]{height:%?1000?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-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}.qrimg .text[data-v-89f91ee4]{font-size:%?36?%;font-weight:700;margin-top:%?30?%}#share_container[data-v-89f91ee4]{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-89f91ee4]{-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-89f91ee4]{width:%?680?%;height:%?960?%;border-radius:%?14?%;box-shadow:0 0 23px 2px rgba(194,133,58,.5)}.sharetext[data-v-89f91ee4]{font-size:%?80?%;text-align:center;margin:%?8?% 0;box-sizing:border-box;padding:%?30?% %?24?%}',""]),e.exports=t},4619:function(e,t,i){"use strict";i.r(t);var n=i("2e70"),o=i("92de");for(var r in o)"default"!==r&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("5a5b");var a,c=i("f0c5"),l=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"89f91ee4",null,!1,n["a"],a);t["default"]=l.exports},"4cbb":function(e,t,i){"use strict";var n=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t._API_checkCode=t._API_ChangeBindPhone=t._API_ChangeBindCode=t._API_GetImage=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 o=n(i("c48d")),r=function(e){return o.default.get("/login/register",e)};t._API_Reg=r;var a=function(e){return o.default.get("/login/login",e)};t._API_Login=a;var c=function(e){return o.default.get("/login/wechat_login",e)};t._API_LoginWX=c;var l=function(e){return o.default.get("/login/judge_login",e)};t._API_GetVerifyCode=l;var f=function(e){return o.default.post("/user/login",e)};t._API_LoginByPsw=f;var d=function(e){return o.default.post("/user/update_pass",e)};t._API_UpdataPsw=d;var b=function(e){return o.default.get("/logout",e)};t._API_Logout=b;var s=function(e){return o.default.get("/wechat/wechat")};t._API_GzhWebInit=s;var w=function(e){return o.default.get("/AddQrCode",e)};t._API_GetImage=w;var x=function(e){return o.default.get("/user/send_code",e)};t._API_ChangeBindCode=x;var u=function(e){return o.default.get("/user/change_num",e)};t._API_ChangeBindPhone=u;var p=function(e){return o.default.get("/login/get_user_openid",e)};t._API_checkCode=p},"5a5b":function(e,t,i){"use strict";var n=i("e7f0"),o=i.n(n);o.a},"92de":function(e,t,i){"use strict";i.r(t);var n=i("15219"),o=i.n(n);for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},e7f0:function(e,t,i){var n=i("3512");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("ecc7e8ea",n,!0,{sourceMap:!1,shadowMode:!1})},ee88:function(e,t,i){e.exports=i.p+"static/img/avatar.7c3ef8af.jpg"}}]);
|