78

parent ea4cd287
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
position: fixed; position: fixed;
background: #f4f4f4; background: #f4f4f4;
} }
/* html{font-size: 1px;} */</style><link href=static/css/app.91d2eea1dfca80994de99748f577fac4.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.f235bd4657a292d36b43.js></script><script type=text/javascript src=static/js/vendor.018a8de532d1d57fb226.js></script><script type=text/javascript src=static/js/app.ed82796814140957723c.js></script></body></html> /* html{font-size: 1px;} */</style><link href=static/css/app.91d2eea1dfca80994de99748f577fac4.css rel=stylesheet></head><body><div id=app></div><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js></script><script></script><script type=text/javascript src=static/js/manifest.f25ebf45fec230d411c5.js></script><script type=text/javascript src=static/js/vendor.018a8de532d1d57fb226.js></script><script type=text/javascript src=static/js/app.ed82796814140957723c.js></script></body></html>
\ No newline at end of file \ No newline at end of file
webpackJsonp([9],{"2Aux":function(n,e,t){n.exports=t.p+"static/img/img_title1.e6e13c0.png"},ATfF:function(n,e){n.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAYAAADeB1slAAAC3UlEQVRIS7WXz0sUYRjHv8/szLgoFGSd8lx/QN26FGWhQVa0lOu6ZT9cRQShgydBolMdpER3x5RKZ9Zii1DCipQ6RAeJDtEhqkMHISgNCszcmZ0nZhw3c0f3x6vvbS6fD+/7/BzCJh/aZD5cAbdEd1qceczgcgpITUq//nqjxK7AikXqmTjpQRfAdFLR9KcbIVm6QWNjhVVhPwOwz4OaBI7KieQ9UUk2BtzcXG5J8w8A1HhQmxltqmYkRCT/BZlDIdWsVO8QUJ+FMncpWvJqqZKcLOLubinz9dNNJrT9g1KPnNAvE8DFitZMU7MlfAWgrmUgA3eVufQFSqUyxUjWrYN0a0MHMXpWAMdk5cdp6n2yWKgkb6GlY5EoEd8GILlQxguZ0ydoIPWzEElegVsnrZFjzHwfQHAJym9kxayl3tT3fJKCBA7EbInsB3gMwBYP+kG2UE2Dxsx6koIFDiTdGt5DTE6Fb/eeayZjBw4Gbw1/XEtSlMCB/LkU3RWQMlMgVHnQWbbpiDqgv/WTFC1wI3CxocqSMQlgtwf9BVCdktBfrpaUJHAl7aEdlqlMALTXgy4Q0Rk5ro+vlJQscCXNoa0WqY9AOOBBM8x0XtX04WWJkGDpJjVllrnNSeG6bNUzdaiafsP5Fha4klAoYFaqQwSczT4P02FF059vogCHFM2YEhbkPBGDWUK7Gjf6hJ/IJ8gmEc7JcWN5/JYeA980ZT4la8kJ4TT1LTTbPqoMjL4SLjSfVvHNJru6LD76TrhVrG52DHyxJaoO9uufhZudT7t+L1uo2ZB2nTtwMC0HArXUNzwnPHByRiYwKc9Lx2lkZD4fPG8d5A59fijPmWFKpdKFwNcV5KwtREPK7GJMeG3xXbwY12XN6BRevHxXR6BTSRjXCn2SNQvNd/kliqlxfbBUeDYGvus7IyxrhrNtCx2/H5DfIK5T4klnqAuflb9Q4yAEGdykJpLTwmQP8Berj0A2h4b2MAAAAABJRU5ErkJggg=="},G3B8:function(n,e,t){n.exports=t.p+"static/img/btn.9815b8e.png"},Ghcl:function(n,e,t){var i=t("XeG8");"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);t("rjj0")("d45a0be8",i,!1,{})},Joag:function(n,e,t){n.exports=t.p+"static/img/img_title6.e0dd387.png"},Jt49:function(n,e,t){n.exports=t.p+"static/img/img_title3.a5fc320.png"},KCO3:function(n,e,t){n.exports=t.p+"static/img/img_title2.9b32656.png"},Kf79:function(n,e,t){n.exports=t.p+"static/img/img_bg.e1ca973.png"},T4lz:function(n,e,t){n.exports=t.p+"static/img/img_title5.2b6f130.png"},XeG8:function(n,e,t){(n.exports=t("FZ+f")(!0)).push([n.i,"\n.fl-r[data-v-2bf665ba] {\n float: right;\n}\n.fr[data-v-2bf665ba] {\n float: right;\n}\n.fl[data-v-2bf665ba] {\n float: left;\n}\n.main-block[data-v-2bf665ba] {\n margin: 5px;\n background: white;\n padding: 5px;\n}\n.clear-both[data-v-2bf665ba]:after {\n content: '';\n display: block;\n clear: both;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-track-piece {\n border-radius: 10px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-thumb {\n background-color: #999;\n border-radius: 10px;\n min-height: 10px;\n}\n@-webkit-keyframes myfirst-data-v-2bf665ba {\n0% {\n -webkit-transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.1);\n}\n100% {\n -webkit-transform: scale(1);\n}\n}\n.van-button--info[data-v-2bf665ba] {\n background: #40A9FF;\n border: 1px solid #40A9FF;\n}\n.van-popup[data-v-2bf665ba] {\n background: transparent;\n}\n.invite-friends[data-v-2bf665ba] {\n margin: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n background-color: #fedbcd;\n}\n.invite-friends img[data-v-2bf665ba] {\n display: block;\n width: 100%;\n height: 100%;\n}\n.invite-friends .header[data-v-2bf665ba] {\n width: 100%;\n}\n.invite-friends .cell[data-v-2bf665ba] {\n width: 90.13333333vw;\n margin: 0.74962519vh auto 4.7976012vh;\n position: relative;\n}\n.invite-friends .cell .cell-content[data-v-2bf665ba] {\n position: absolute;\n width: 40%;\n font-size: 9.6vw;\n font-weight: bold;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n letter-spacing: 1vw;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(1) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: right;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(2) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n font-weight: 500;\n font-size: 4vw;\n padding-top: 0.8vh;\n margin-left: 0.2vw;\n}\n.invite-friends .cell .cell-content.money[data-v-2bf665ba] {\n top: 24vw;\n left: 9vw;\n}\n.invite-friends .cell .cell-content.people[data-v-2bf665ba] {\n top: 24vw;\n right: -1vw;\n}\n.invite-friends .cell .invite-record-btn[data-v-2bf665ba] {\n position: absolute;\n width: 100%;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-size: 3.46666667vw;\n bottom: 1.94902549vh;\n}\n.invite-friends .cell .invite-record-btn p[data-v-2bf665ba] {\n margin-left: 28%;\n}\n.invite-friends .cell .invite-record-btn img[data-v-2bf665ba] {\n margin-right: 35%;\n display: block;\n width: 1.6vw;\n height: 1.49925037vh;\n}\n.invite-friends .cell .invite-record-list[data-v-2bf665ba] {\n width: 90.13333333vw;\n border-radius: 1.33333333vw;\n background-color: #fff;\n margin-top: 2.99850075vh;\n}\n.invite-friends .cell .invite-record-list .container[data-v-2bf665ba] {\n border: 1px dotted #ee8273;\n width: 87.2vw;\n margin: 0.74962519vh 1.33333333vw;\n border-radius: 1.33333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content[data-v-2bf665ba] {\n margin: 1.42428786vh 2vw;\n margin-bottom: 0;\n width: 83.46666667vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .no-record[data-v-2bf665ba] {\n height: 5.69715142vh;\n line-height: 5.69715142vh;\n text-align: center;\n font-size: 3.73333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .record-title[data-v-2bf665ba] {\n height: 5.69715142vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #fbebe3;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #eb7162;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul[data-v-2bf665ba] {\n max-height: 29.23538231vh;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #696765;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(odd) {\n background-color: #fff;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(even) {\n background-color: rgba(251, 235, 227, 0.8);\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li p[data-v-2bf665ba] {\n text-align: center;\n width: 40%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n font-size: 3.46666667vw;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: relative;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record img[data-v-2bf665ba] {\n position: absolute;\n width: 1.6vw;\n height: 1.49925037vh;\n -webkit-transform: translatex(10.66666667vw);\n transform: translatex(10.66666667vw);\n}\n.invite-friends .line[data-v-2bf665ba] {\n height: 50px;\n}\n.invite-friends .invite-btn[data-v-2bf665ba] {\n position: fixed;\n bottom: 0;\n width: 100%;\n padding-top: 2.66666667vw;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n text-align: center;\n background-color: #fff;\n z-index: 9999;\n}\n.invite-friends .invite-btn img[data-v-2bf665ba] {\n width: 67.2vw;\n height: auto;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/h5/wechat/src/components/buy/inviteFriends.vue"],names:[],mappings:";AACA;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;AACA;IACI,4BAA4B;CAC/B;AACD;IACI,8BAA8B;CACjC;AACD;IACI,4BAA4B;CAC/B;CACA;AACD;EACE,oBAAoB;EACpB,0BAA0B;CAC3B;AACD;EACE,wBAAwB;CACzB;AACD;EACE,UAAU;EACV,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,6BAA6B;EAC7B,8BAA8B;MAC1B,2BAA2B;UACvB,uBAAuB;EAC/B,0BAA0B;CAC3B;AACD;EACE,eAAe;EACf,YAAY;EACZ,aAAa;CACd;AACD;EACE,YAAY;CACb;AACD;EACE,qBAAqB;EACrB,sCAAsC;EACtC,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,WAAW;EACX,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;EACf,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,oBAAoB;CACrB;AACD;EACE,oBAAoB;MAChB,YAAY;UACR,QAAQ;EAChB,kBAAkB;CACnB;AACD;EACE,oBAAoB;MAChB,YAAY;UACR,QAAQ;EAChB,iBAAiB;EACjB,eAAe;EACf,mBAAmB;EACnB,mBAAmB;CACpB;AACD;EACE,UAAU;EACV,UAAU;CACX;AACD;EACE,UAAU;EACV,YAAY;CACb;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,eAAe;EACf,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,wBAAwB;EACxB,qBAAqB;CACtB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,kBAAkB;EAClB,eAAe;EACf,aAAa;EACb,qBAAqB;CACtB;AACD;EACE,qBAAqB;EACrB,4BAA4B;EAC5B,uBAAuB;EACvB,yBAAyB;CAC1B;AACD;EACE,2BAA2B;EAC3B,cAAc;EACd,kCAAkC;EAClC,4BAA4B;CAC7B;AACD;EACE,yBAAyB;EACzB,iBAAiB;EACjB,qBAAqB;CACtB;AACD;EACE,qBAAqB;EACrB,0BAA0B;EAC1B,mBAAmB;EACnB,wBAAwB;CACzB;AACD;EACE,qBAAqB;EACrB,YAAY;EACZ,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,0BAA0B;EAC1B,4BAA4B;EAC5B,wBAAwB;EACxB,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,0BAA0B;EAC1B,iBAAiB;CAClB;AACD;EACE,qBAAqB;EACrB,YAAY;EACZ,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,4BAA4B;EAC5B,wBAAwB;EACxB,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,uBAAuB;CACxB;AACD;EACE,2CAA2C;CAC5C;AACD;EACE,mBAAmB;EACnB,WAAW;EACX,wBAAwB;EACxB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,qBAAqB;EACrB,YAAY;EACZ,wBAAwB;EACxB,eAAe;EACf,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,yBAAyB;MACrB,sBAAsB;UAClB,wBAAwB;EAChC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,aAAa;EACb,qBAAqB;EACrB,6CAA6C;UACrC,qCAAqC;CAC9C;AACD;EACE,aAAa;CACd;AACD;EACE,gBAAgB;EAChB,UAAU;EACV,YAAY;EACZ,0BAA0B;EAC1B,gCAAgC;UACxB,wBAAwB;EAChC,mBAAmB;EACnB,uBAAuB;EACvB,cAAc;CACf;AACD;EACE,cAAc;EACd,aAAa;CACd",file:"inviteFriends.vue",sourcesContent:["\n.fl-r[data-v-2bf665ba] {\n float: right;\n}\n.fr[data-v-2bf665ba] {\n float: right;\n}\n.fl[data-v-2bf665ba] {\n float: left;\n}\n.main-block[data-v-2bf665ba] {\n margin: 5px;\n background: white;\n padding: 5px;\n}\n.clear-both[data-v-2bf665ba]:after {\n content: '';\n display: block;\n clear: both;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-track-piece {\n border-radius: 10px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-thumb {\n background-color: #999;\n border-radius: 10px;\n min-height: 10px;\n}\n@-webkit-keyframes myfirst-data-v-2bf665ba {\n0% {\n -webkit-transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.1);\n}\n100% {\n -webkit-transform: scale(1);\n}\n}\n.van-button--info[data-v-2bf665ba] {\n background: #40A9FF;\n border: 1px solid #40A9FF;\n}\n.van-popup[data-v-2bf665ba] {\n background: transparent;\n}\n.invite-friends[data-v-2bf665ba] {\n margin: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n background-color: #fedbcd;\n}\n.invite-friends img[data-v-2bf665ba] {\n display: block;\n width: 100%;\n height: 100%;\n}\n.invite-friends .header[data-v-2bf665ba] {\n width: 100%;\n}\n.invite-friends .cell[data-v-2bf665ba] {\n width: 90.13333333vw;\n margin: 0.74962519vh auto 4.7976012vh;\n position: relative;\n}\n.invite-friends .cell .cell-content[data-v-2bf665ba] {\n position: absolute;\n width: 40%;\n font-size: 9.6vw;\n font-weight: bold;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n letter-spacing: 1vw;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(1) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: right;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(2) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n font-weight: 500;\n font-size: 4vw;\n padding-top: 0.8vh;\n margin-left: 0.2vw;\n}\n.invite-friends .cell .cell-content.money[data-v-2bf665ba] {\n top: 24vw;\n left: 9vw;\n}\n.invite-friends .cell .cell-content.people[data-v-2bf665ba] {\n top: 24vw;\n right: -1vw;\n}\n.invite-friends .cell .invite-record-btn[data-v-2bf665ba] {\n position: absolute;\n width: 100%;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-size: 3.46666667vw;\n bottom: 1.94902549vh;\n}\n.invite-friends .cell .invite-record-btn p[data-v-2bf665ba] {\n margin-left: 28%;\n}\n.invite-friends .cell .invite-record-btn img[data-v-2bf665ba] {\n margin-right: 35%;\n display: block;\n width: 1.6vw;\n height: 1.49925037vh;\n}\n.invite-friends .cell .invite-record-list[data-v-2bf665ba] {\n width: 90.13333333vw;\n border-radius: 1.33333333vw;\n background-color: #fff;\n margin-top: 2.99850075vh;\n}\n.invite-friends .cell .invite-record-list .container[data-v-2bf665ba] {\n border: 1px dotted #ee8273;\n width: 87.2vw;\n margin: 0.74962519vh 1.33333333vw;\n border-radius: 1.33333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content[data-v-2bf665ba] {\n margin: 1.42428786vh 2vw;\n margin-bottom: 0;\n width: 83.46666667vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .no-record[data-v-2bf665ba] {\n height: 5.69715142vh;\n line-height: 5.69715142vh;\n text-align: center;\n font-size: 3.73333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .record-title[data-v-2bf665ba] {\n height: 5.69715142vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #fbebe3;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #eb7162;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul[data-v-2bf665ba] {\n max-height: 29.23538231vh;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #696765;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(odd) {\n background-color: #fff;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(even) {\n background-color: rgba(251, 235, 227, 0.8);\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li p[data-v-2bf665ba] {\n text-align: center;\n width: 40%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n font-size: 3.46666667vw;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: relative;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record img[data-v-2bf665ba] {\n position: absolute;\n width: 1.6vw;\n height: 1.49925037vh;\n -webkit-transform: translatex(10.66666667vw);\n transform: translatex(10.66666667vw);\n}\n.invite-friends .line[data-v-2bf665ba] {\n height: 50px;\n}\n.invite-friends .invite-btn[data-v-2bf665ba] {\n position: fixed;\n bottom: 0;\n width: 100%;\n padding-top: 2.66666667vw;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n text-align: center;\n background-color: #fff;\n z-index: 9999;\n}\n.invite-friends .invite-btn img[data-v-2bf665ba] {\n width: 67.2vw;\n height: auto;\n}\n"],sourceRoot:""}])},Z6Nl:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("CCn6"),a={name:"inviteFriends",components:{},data:function(){return{earnings:0,userNum:0,records:[],shareTitle:"钜惠来袭!唱唱21天英语训练营,全勤学习返66元现金",shareDesc:"21天让宝宝爱上说英语,报课即送教具礼盒,包邮送到家!",invite_code:"",shopId:"",groupId:null}},mounted:function(){this.$route.query.shopId?this.shopId=this.$route.query.shopId:this.shopId=46,this.getInviteResult(),this.getInviteList(),this.onShare()},methods:{lookMyInviteRecords:function(){this.$refs.inviteRecord.scrollIntoView()},lookMoreRecord:function(){},getInviteResult:function(){var n=this;Object(i.u)({},this.shopId).then(function(e){n.earnings=e.earnings,n.userNum=e.user_num})},getInviteList:function(){var n=this;Object(i.t)({page:1,limit:6},this.shopId).then(function(e){e&&e.list&&e.list.length>0&&(n.records=e.list)})},goToInvite:function(){var n={};window.location.href.indexOf("shopId")>-1?n.shopId=this.$route.query.shopId:n.shopId=46,window.location.href.indexOf("groupId")>-1&&(n.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(n.invite_code=this.$route.query.invite_code),this.$router.push({name:"activityInvite",query:n})},enableShare:function(n){var e=this;Object(i.S)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!1,appId:t.appId,timestamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:e.shareTitle,desc:e.shareDesc,link:n.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){console.log("分享成功"),window._hmt.push(["_trackEvent","分享","商品页好友分享","id"+e.shopId,e.invite_code])},cancel:function(){console.log("分享失败")}}),wx.onMenuShareAppMessage({title:e.shareTitle,desc:e.shareDesc,link:n.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){window._hmt.push(["_trackEvent","分享","商品页朋友圈分享","id"+e.shopId,e.invite_code])},cancel:function(){}})})})},onShare:function(n){var e=JSON.parse(localStorage.getItem("userDesc")),t="https://wechat-test.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&groupId="+this.groupId+"&invite_code="+this.invite_code+"&nickname="+e.nickname;1===n&&(t="https://wechat-test.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&invite_code="+this.invite_code+"&nickname="+e.nickname),this.enableShare({shareUrl:t})}}},r=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("div",{staticClass:"invite-friends"},[n._m(0),n._v(" "),i("div",{staticClass:"invite-friends cell"},[i("img",{attrs:{src:t("2Aux"),alt:""}}),n._v(" "),i("p",{staticClass:"cell-content money"},[i("span",[n._v(n._s(n.earnings))]),n._v(" "),i("span",[n._v("元")])]),n._v(" "),i("p",{staticClass:"cell-content people"},[i("span",[n._v(n._s(n.userNum))]),n._v(" "),i("span",[n._v("人")])]),n._v(" "),n.earnings>0&&n.userNum>0?i("div",{staticClass:"invite-record-btn",on:{click:n.lookMyInviteRecords}},[i("p",[n._v("查看我的邀请记录")]),n._v(" "),i("img",{attrs:{src:t("ATfF")}})]):n._e()]),n._v(" "),n._m(1),n._v(" "),n._m(2),n._v(" "),n._m(3),n._v(" "),i("div",{ref:"inviteRecord",staticClass:"invite-friends cell"},[i("img",{attrs:{src:t("T4lz"),alt:""}}),n._v(" "),i("div",{staticClass:"invite-record-list"},[i("div",{staticClass:"container"},[i("div",{staticClass:"record-content"},[n._m(4),n._v(" "),0==n.records.length?i("div",{staticClass:"no-record"},[n._v("您还没有成功邀请好友,快去邀请吧!")]):n._e(),n._v(" "),n.records.length>0?i("ul",{staticClass:"record"},n._l(n.records,function(e,t){return i("li",{key:t},[i("p",[n._v(n._s(e.nickname))]),n._v(" "),i("p",[n._v(n._s(e.pay_at))])])})):n._e(),n._v(" "),n.records.length>6?i("div",{staticClass:"look-more-record",on:{click:n.lookMoreRecord}},[i("p",[n._v("查看更多")]),n._v(" "),i("img",{attrs:{src:t("ATfF")}})]):n._e()])])])]),n._v(" "),n._m(5),n._v(" "),i("div",{staticClass:"line"}),n._v(" "),i("div",{staticClass:"invite-btn"},[i("img",{attrs:{src:t("G3B8")},on:{click:n.goToInvite}})])])},o=[function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends header"},[e("img",{attrs:{src:t("Kf79"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("KCO3"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("Jt49"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("ykLY"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"record-title"},[e("span",[this._v("邀请记录")]),this._v(" "),e("span",[this._v("购买时间")])])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("Joag"),alt:""}})])}];r._withStripped=!0;var A={render:r,staticRenderFns:o},l=A;var s=!1;var c=t("VU/8")(a,l,!1,function(n){s||t("Ghcl")},"data-v-2bf665ba",null);c.options.__file="src/components/buy/inviteFriends.vue";e.default=c.exports},ykLY:function(n,e,t){n.exports=t.p+"static/img/img_title4.20b8135.png"}}); webpackJsonp([9],{"2Aux":function(n,e,t){n.exports=t.p+"static/img/img_title1.e6e13c0.png"},ATfF:function(n,e){n.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAYAAADeB1slAAAC3UlEQVRIS7WXz0sUYRjHv8/szLgoFGSd8lx/QN26FGWhQVa0lOu6ZT9cRQShgydBolMdpER3x5RKZ9Zii1DCipQ6RAeJDtEhqkMHISgNCszcmZ0nZhw3c0f3x6vvbS6fD+/7/BzCJh/aZD5cAbdEd1qceczgcgpITUq//nqjxK7AikXqmTjpQRfAdFLR9KcbIVm6QWNjhVVhPwOwz4OaBI7KieQ9UUk2BtzcXG5J8w8A1HhQmxltqmYkRCT/BZlDIdWsVO8QUJ+FMncpWvJqqZKcLOLubinz9dNNJrT9g1KPnNAvE8DFitZMU7MlfAWgrmUgA3eVufQFSqUyxUjWrYN0a0MHMXpWAMdk5cdp6n2yWKgkb6GlY5EoEd8GILlQxguZ0ydoIPWzEElegVsnrZFjzHwfQHAJym9kxayl3tT3fJKCBA7EbInsB3gMwBYP+kG2UE2Dxsx6koIFDiTdGt5DTE6Fb/eeayZjBw4Gbw1/XEtSlMCB/LkU3RWQMlMgVHnQWbbpiDqgv/WTFC1wI3CxocqSMQlgtwf9BVCdktBfrpaUJHAl7aEdlqlMALTXgy4Q0Rk5ro+vlJQscCXNoa0WqY9AOOBBM8x0XtX04WWJkGDpJjVllrnNSeG6bNUzdaiafsP5Fha4klAoYFaqQwSczT4P02FF059vogCHFM2YEhbkPBGDWUK7Gjf6hJ/IJ8gmEc7JcWN5/JYeA980ZT4la8kJ4TT1LTTbPqoMjL4SLjSfVvHNJru6LD76TrhVrG52DHyxJaoO9uufhZudT7t+L1uo2ZB2nTtwMC0HArXUNzwnPHByRiYwKc9Lx2lkZD4fPG8d5A59fijPmWFKpdKFwNcV5KwtREPK7GJMeG3xXbwY12XN6BRevHxXR6BTSRjXCn2SNQvNd/kliqlxfbBUeDYGvus7IyxrhrNtCx2/H5DfIK5T4klnqAuflb9Q4yAEGdykJpLTwmQP8Berj0A2h4b2MAAAAABJRU5ErkJggg=="},G3B8:function(n,e,t){n.exports=t.p+"static/img/btn.9815b8e.png"},Ghcl:function(n,e,t){var i=t("XeG8");"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);t("rjj0")("d45a0be8",i,!1,{})},Joag:function(n,e,t){n.exports=t.p+"static/img/img_title6.e0dd387.png"},Jt49:function(n,e,t){n.exports=t.p+"static/img/img_title3.a5fc320.png"},KCO3:function(n,e,t){n.exports=t.p+"static/img/img_title2.9b32656.png"},Kf79:function(n,e,t){n.exports=t.p+"static/img/img_bg.e1ca973.png"},T4lz:function(n,e,t){n.exports=t.p+"static/img/img_title5.2b6f130.png"},XeG8:function(n,e,t){(n.exports=t("FZ+f")(!0)).push([n.i,"\n.fl-r[data-v-2bf665ba] {\n float: right;\n}\n.fr[data-v-2bf665ba] {\n float: right;\n}\n.fl[data-v-2bf665ba] {\n float: left;\n}\n.main-block[data-v-2bf665ba] {\n margin: 5px;\n background: white;\n padding: 5px;\n}\n.clear-both[data-v-2bf665ba]:after {\n content: '';\n display: block;\n clear: both;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-track-piece {\n border-radius: 10px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-thumb {\n background-color: #999;\n border-radius: 10px;\n min-height: 10px;\n}\n@-webkit-keyframes myfirst-data-v-2bf665ba {\n0% {\n -webkit-transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.1);\n}\n100% {\n -webkit-transform: scale(1);\n}\n}\n.van-button--info[data-v-2bf665ba] {\n background: #40A9FF;\n border: 1px solid #40A9FF;\n}\n.van-popup[data-v-2bf665ba] {\n background: transparent;\n}\n.invite-friends[data-v-2bf665ba] {\n margin: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n background-color: #fedbcd;\n}\n.invite-friends img[data-v-2bf665ba] {\n display: block;\n width: 100%;\n height: 100%;\n}\n.invite-friends .header[data-v-2bf665ba] {\n width: 100%;\n}\n.invite-friends .cell[data-v-2bf665ba] {\n width: 90.13333333vw;\n margin: 0.74962519vh auto 4.7976012vh;\n position: relative;\n}\n.invite-friends .cell .cell-content[data-v-2bf665ba] {\n position: absolute;\n width: 40%;\n font-size: 9.6vw;\n font-weight: bold;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n letter-spacing: 1vw;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(1) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: right;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(2) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n font-weight: 500;\n font-size: 4vw;\n padding-top: 0.8vh;\n margin-left: 0.2vw;\n}\n.invite-friends .cell .cell-content.money[data-v-2bf665ba] {\n top: 24vw;\n left: 9vw;\n}\n.invite-friends .cell .cell-content.people[data-v-2bf665ba] {\n top: 24vw;\n right: -1vw;\n}\n.invite-friends .cell .invite-record-btn[data-v-2bf665ba] {\n position: absolute;\n width: 100%;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-size: 3.46666667vw;\n bottom: 1.94902549vh;\n}\n.invite-friends .cell .invite-record-btn p[data-v-2bf665ba] {\n margin-left: 28%;\n}\n.invite-friends .cell .invite-record-btn img[data-v-2bf665ba] {\n margin-right: 35%;\n display: block;\n width: 1.6vw;\n height: 1.49925037vh;\n}\n.invite-friends .cell .invite-record-list[data-v-2bf665ba] {\n width: 90.13333333vw;\n border-radius: 1.33333333vw;\n background-color: #fff;\n margin-top: 2.99850075vh;\n}\n.invite-friends .cell .invite-record-list .container[data-v-2bf665ba] {\n border: 1px dotted #ee8273;\n width: 87.2vw;\n margin: 0.74962519vh 1.33333333vw;\n border-radius: 1.33333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content[data-v-2bf665ba] {\n margin: 1.42428786vh 2vw;\n margin-bottom: 0;\n width: 83.46666667vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .no-record[data-v-2bf665ba] {\n height: 5.69715142vh;\n line-height: 5.69715142vh;\n text-align: center;\n font-size: 3.73333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .record-title[data-v-2bf665ba] {\n height: 5.69715142vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #fbebe3;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #eb7162;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul[data-v-2bf665ba] {\n max-height: 29.23538231vh;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #696765;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(odd) {\n background-color: #fff;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(even) {\n background-color: rgba(251, 235, 227, 0.8);\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li p[data-v-2bf665ba] {\n text-align: center;\n width: 40%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n font-size: 3.46666667vw;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: relative;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record img[data-v-2bf665ba] {\n position: absolute;\n width: 1.6vw;\n height: 1.49925037vh;\n -webkit-transform: translatex(10.66666667vw);\n transform: translatex(10.66666667vw);\n}\n.invite-friends .line[data-v-2bf665ba] {\n height: 50px;\n}\n.invite-friends .invite-btn[data-v-2bf665ba] {\n position: fixed;\n bottom: 0;\n width: 100%;\n padding-top: 2.66666667vw;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n text-align: center;\n background-color: #fff;\n z-index: 9999;\n}\n.invite-friends .invite-btn img[data-v-2bf665ba] {\n width: 67.2vw;\n height: auto;\n}\n","",{version:3,sources:["C:/Users/Administrator/Desktop/h5/wechat/src/components/buy/inviteFriends.vue"],names:[],mappings:";AACA;EACE,aAAa;CACd;AACD;EACE,aAAa;CACd;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;AACA;IACI,4BAA4B;CAC/B;AACD;IACI,8BAA8B;CACjC;AACD;IACI,4BAA4B;CAC/B;CACA;AACD;EACE,oBAAoB;EACpB,0BAA0B;CAC3B;AACD;EACE,wBAAwB;CACzB;AACD;EACE,UAAU;EACV,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,6BAA6B;EAC7B,8BAA8B;MAC1B,2BAA2B;UACvB,uBAAuB;EAC/B,0BAA0B;CAC3B;AACD;EACE,eAAe;EACf,YAAY;EACZ,aAAa;CACd;AACD;EACE,YAAY;CACb;AACD;EACE,qBAAqB;EACrB,sCAAsC;EACtC,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,WAAW;EACX,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;EACf,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,oBAAoB;CACrB;AACD;EACE,oBAAoB;MAChB,YAAY;UACR,QAAQ;EAChB,kBAAkB;CACnB;AACD;EACE,oBAAoB;MAChB,YAAY;UACR,QAAQ;EAChB,iBAAiB;EACjB,eAAe;EACf,mBAAmB;EACnB,mBAAmB;CACpB;AACD;EACE,UAAU;EACV,UAAU;CACX;AACD;EACE,UAAU;EACV,YAAY;CACb;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,eAAe;EACf,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,wBAAwB;EACxB,qBAAqB;CACtB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,kBAAkB;EAClB,eAAe;EACf,aAAa;EACb,qBAAqB;CACtB;AACD;EACE,qBAAqB;EACrB,4BAA4B;EAC5B,uBAAuB;EACvB,yBAAyB;CAC1B;AACD;EACE,2BAA2B;EAC3B,cAAc;EACd,kCAAkC;EAClC,4BAA4B;CAC7B;AACD;EACE,yBAAyB;EACzB,iBAAiB;EACjB,qBAAqB;CACtB;AACD;EACE,qBAAqB;EACrB,0BAA0B;EAC1B,mBAAmB;EACnB,wBAAwB;CACzB;AACD;EACE,qBAAqB;EACrB,YAAY;EACZ,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,0BAA0B;EAC1B,4BAA4B;EAC5B,wBAAwB;EACxB,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,0BAA0B;EAC1B,iBAAiB;CAClB;AACD;EACE,qBAAqB;EACrB,YAAY;EACZ,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,4BAA4B;EAC5B,wBAAwB;EACxB,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,uBAAuB;CACxB;AACD;EACE,2CAA2C;CAC5C;AACD;EACE,mBAAmB;EACnB,WAAW;EACX,wBAAwB;EACxB,oBAAoB;EACpB,iBAAiB;CAClB;AACD;EACE,qBAAqB;EACrB,YAAY;EACZ,wBAAwB;EACxB,eAAe;EACf,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,yBAAyB;MACrB,sBAAsB;UAClB,wBAAwB;EAChC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,aAAa;EACb,qBAAqB;EACrB,6CAA6C;UACrC,qCAAqC;CAC9C;AACD;EACE,aAAa;CACd;AACD;EACE,gBAAgB;EAChB,UAAU;EACV,YAAY;EACZ,0BAA0B;EAC1B,gCAAgC;UACxB,wBAAwB;EAChC,mBAAmB;EACnB,uBAAuB;EACvB,cAAc;CACf;AACD;EACE,cAAc;EACd,aAAa;CACd",file:"inviteFriends.vue",sourcesContent:["\n.fl-r[data-v-2bf665ba] {\n float: right;\n}\n.fr[data-v-2bf665ba] {\n float: right;\n}\n.fl[data-v-2bf665ba] {\n float: left;\n}\n.main-block[data-v-2bf665ba] {\n margin: 5px;\n background: white;\n padding: 5px;\n}\n.clear-both[data-v-2bf665ba]:after {\n content: '';\n display: block;\n clear: both;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-track-piece {\n border-radius: 10px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n}\n[data-v-2bf665ba]::-webkit-scrollbar-thumb {\n background-color: #999;\n border-radius: 10px;\n min-height: 10px;\n}\n@-webkit-keyframes myfirst-data-v-2bf665ba {\n0% {\n -webkit-transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.1);\n}\n100% {\n -webkit-transform: scale(1);\n}\n}\n.van-button--info[data-v-2bf665ba] {\n background: #40A9FF;\n border: 1px solid #40A9FF;\n}\n.van-popup[data-v-2bf665ba] {\n background: transparent;\n}\n.invite-friends[data-v-2bf665ba] {\n margin: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n background-color: #fedbcd;\n}\n.invite-friends img[data-v-2bf665ba] {\n display: block;\n width: 100%;\n height: 100%;\n}\n.invite-friends .header[data-v-2bf665ba] {\n width: 100%;\n}\n.invite-friends .cell[data-v-2bf665ba] {\n width: 90.13333333vw;\n margin: 0.74962519vh auto 4.7976012vh;\n position: relative;\n}\n.invite-friends .cell .cell-content[data-v-2bf665ba] {\n position: absolute;\n width: 40%;\n font-size: 9.6vw;\n font-weight: bold;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n letter-spacing: 1vw;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(1) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: right;\n}\n.invite-friends .cell .cell-content span[data-v-2bf665ba]:nth-child(2) {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n font-weight: 500;\n font-size: 4vw;\n padding-top: 0.8vh;\n margin-left: 0.2vw;\n}\n.invite-friends .cell .cell-content.money[data-v-2bf665ba] {\n top: 24vw;\n left: 9vw;\n}\n.invite-friends .cell .cell-content.people[data-v-2bf665ba] {\n top: 24vw;\n right: -1vw;\n}\n.invite-friends .cell .invite-record-btn[data-v-2bf665ba] {\n position: absolute;\n width: 100%;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-size: 3.46666667vw;\n bottom: 1.94902549vh;\n}\n.invite-friends .cell .invite-record-btn p[data-v-2bf665ba] {\n margin-left: 28%;\n}\n.invite-friends .cell .invite-record-btn img[data-v-2bf665ba] {\n margin-right: 35%;\n display: block;\n width: 1.6vw;\n height: 1.49925037vh;\n}\n.invite-friends .cell .invite-record-list[data-v-2bf665ba] {\n width: 90.13333333vw;\n border-radius: 1.33333333vw;\n background-color: #fff;\n margin-top: 2.99850075vh;\n}\n.invite-friends .cell .invite-record-list .container[data-v-2bf665ba] {\n border: 1px dotted #ee8273;\n width: 87.2vw;\n margin: 0.74962519vh 1.33333333vw;\n border-radius: 1.33333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content[data-v-2bf665ba] {\n margin: 1.42428786vh 2vw;\n margin-bottom: 0;\n width: 83.46666667vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .no-record[data-v-2bf665ba] {\n height: 5.69715142vh;\n line-height: 5.69715142vh;\n text-align: center;\n font-size: 3.73333333vw;\n}\n.invite-friends .cell .invite-record-list .container .record-content .record-title[data-v-2bf665ba] {\n height: 5.69715142vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #fbebe3;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #eb7162;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul[data-v-2bf665ba] {\n max-height: 29.23538231vh;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 0.66666667vw;\n font-size: 3.73333333vw;\n font-weight: 400;\n color: #696765;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(odd) {\n background-color: #fff;\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li[data-v-2bf665ba]:nth-child(even) {\n background-color: rgba(251, 235, 227, 0.8);\n}\n.invite-friends .cell .invite-record-list .container .record-content ul li p[data-v-2bf665ba] {\n text-align: center;\n width: 40%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record[data-v-2bf665ba] {\n height: 4.87256372vh;\n width: 100%;\n font-size: 3.46666667vw;\n color: #eb7162;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: relative;\n}\n.invite-friends .cell .invite-record-list .container .record-content .look-more-record img[data-v-2bf665ba] {\n position: absolute;\n width: 1.6vw;\n height: 1.49925037vh;\n -webkit-transform: translatex(10.66666667vw);\n transform: translatex(10.66666667vw);\n}\n.invite-friends .line[data-v-2bf665ba] {\n height: 50px;\n}\n.invite-friends .invite-btn[data-v-2bf665ba] {\n position: fixed;\n bottom: 0;\n width: 100%;\n padding-top: 2.66666667vw;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n text-align: center;\n background-color: #fff;\n z-index: 9999;\n}\n.invite-friends .invite-btn img[data-v-2bf665ba] {\n width: 67.2vw;\n height: auto;\n}\n"],sourceRoot:""}])},Z6Nl:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("CCn6"),a={name:"inviteFriends",components:{},data:function(){return{earnings:0,userNum:0,records:[],shareTitle:"钜惠来袭!唱唱21天英语训练营,全勤学习返66元现金",shareDesc:"21天让宝宝爱上说英语,报课即送教具礼盒,包邮送到家!",invite_code:"",shopId:"",groupId:null}},mounted:function(){this.$route.query.shopId?this.shopId=this.$route.query.shopId:this.shopId=46,this.getInviteResult(),this.getInviteList(),this.onShare()},methods:{lookMyInviteRecords:function(){this.$refs.inviteRecord.scrollIntoView()},lookMoreRecord:function(){},getInviteResult:function(){var n=this;Object(i.u)({},this.shopId).then(function(e){n.earnings=e.earnings,n.userNum=e.user_num})},getInviteList:function(){var n=this;Object(i.t)({page:1,limit:6},this.shopId).then(function(e){e&&e.list&&e.list.length>0&&(n.records=e.list)})},goToInvite:function(){var n={};window.location.href.indexOf("shopId")>-1?n.shopId=this.$route.query.shopId:n.shopId=46,window.location.href.indexOf("groupId")>-1&&(n.groupId=this.$route.query.groupId),window.location.href.indexOf("invite_code")>-1&&(n.invite_code=this.$route.query.invite_code),this.$router.push({name:"activityInvite",query:n})},enableShare:function(n){var e=this;Object(i.S)({api_list:"onMenuShareAppMessage,onMenuShareTimeline",url:window.location.href.split("#")[0]}).then(function(t){wx.config({debug:!1,appId:t.appId,timestamp:parseInt(t.timestamp),nonceStr:t.nonceStr,signature:t.signature,jsApiList:t.jsApiList}),wx.ready(function(){wx.onMenuShareTimeline({title:e.shareTitle,desc:e.shareDesc,link:n.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){console.log("分享成功"),window._hmt.push(["_trackEvent","分享","商品页好友分享","id"+e.shopId,e.invite_code])},cancel:function(){console.log("分享失败")}}),wx.onMenuShareAppMessage({title:e.shareTitle,desc:e.shareDesc,link:n.shareUrl,imgUrl:"https://cdn.singsingenglish.com/singsing/recommend/logo-refer.png",success:function(){window._hmt.push(["_trackEvent","分享","商品页朋友圈分享","id"+e.shopId,e.invite_code])},cancel:function(){}})})})},onShare:function(n){var e=JSON.parse(localStorage.getItem("userDesc")),t="https://wechat-test.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&groupId="+this.groupId+"&invite_code="+this.invite_code+"&nickname="+e.nickname;this.invite_code?t="https://wechat-test.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&invite_code="+this.invite_code+"&nickname="+e.nickname:(this.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id,this.invite_code="CC-USER-"+this.user_id,t="https://wechat-test.changchangenglish.com/#/buyDetail?shopId="+this.shopId+"&invite_code="+this.invite_code+"&nickname="+e.nickname),this.enableShare({shareUrl:t})}}},r=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("div",{staticClass:"invite-friends"},[n._m(0),n._v(" "),i("div",{staticClass:"invite-friends cell"},[i("img",{attrs:{src:t("2Aux"),alt:""}}),n._v(" "),i("p",{staticClass:"cell-content money"},[i("span",[n._v(n._s(n.earnings))]),n._v(" "),i("span",[n._v("元")])]),n._v(" "),i("p",{staticClass:"cell-content people"},[i("span",[n._v(n._s(n.userNum))]),n._v(" "),i("span",[n._v("人")])]),n._v(" "),n.earnings>0&&n.userNum>0?i("div",{staticClass:"invite-record-btn",on:{click:n.lookMyInviteRecords}},[i("p",[n._v("查看我的邀请记录")]),n._v(" "),i("img",{attrs:{src:t("ATfF")}})]):n._e()]),n._v(" "),n._m(1),n._v(" "),n._m(2),n._v(" "),n._m(3),n._v(" "),i("div",{ref:"inviteRecord",staticClass:"invite-friends cell"},[i("img",{attrs:{src:t("T4lz"),alt:""}}),n._v(" "),i("div",{staticClass:"invite-record-list"},[i("div",{staticClass:"container"},[i("div",{staticClass:"record-content"},[n._m(4),n._v(" "),0==n.records.length?i("div",{staticClass:"no-record"},[n._v("您还没有成功邀请好友,快去邀请吧!")]):n._e(),n._v(" "),n.records.length>0?i("ul",{staticClass:"record"},n._l(n.records,function(e,t){return i("li",{key:t},[i("p",[n._v(n._s(e.nickname))]),n._v(" "),i("p",[n._v(n._s(e.pay_at))])])})):n._e(),n._v(" "),n.records.length>6?i("div",{staticClass:"look-more-record",on:{click:n.lookMoreRecord}},[i("p",[n._v("查看更多")]),n._v(" "),i("img",{attrs:{src:t("ATfF")}})]):n._e()])])])]),n._v(" "),n._m(5),n._v(" "),i("div",{staticClass:"line"}),n._v(" "),i("div",{staticClass:"invite-btn"},[i("img",{attrs:{src:t("G3B8")},on:{click:n.goToInvite}})])])},o=[function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends header"},[e("img",{attrs:{src:t("Kf79"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("KCO3"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("Jt49"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("ykLY"),alt:""}})])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"record-title"},[e("span",[this._v("邀请记录")]),this._v(" "),e("span",[this._v("购买时间")])])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"invite-friends cell"},[e("img",{attrs:{src:t("Joag"),alt:""}})])}];r._withStripped=!0;var A={render:r,staticRenderFns:o},l=A;var s=!1;var c=t("VU/8")(a,l,!1,function(n){s||t("Ghcl")},"data-v-2bf665ba",null);c.options.__file="src/components/buy/inviteFriends.vue";e.default=c.exports},ykLY:function(n,e,t){n.exports=t.p+"static/img/img_title4.20b8135.png"}});
\ No newline at end of file \ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,r,t){for(var b,d,o,i=0,u=[];i<f.length;i++)d=f[i],a[d]&&u.push(a[d][0]),a[d]=0;for(b in r)Object.prototype.hasOwnProperty.call(r,b)&&(e[b]=r[b]);for(c&&c(f,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var f={},a={49:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"4abe9745786f805c643d",1:"4d5af33875f881fbf170",2:"5c7330fd3d0725ef74b7",3:"95c778ffc94c516ed93c",4:"512dbfc54143036436b6",5:"177b8f15e4c3cdaefc5c",6:"54c55d39e8766c1c5179",7:"6265243e11cc4ea511c8",8:"e6208ee39755be230d36",9:"e0f38a829e73982a8f68",10:"e7e75f52630c3f5f7921",11:"c008f8a05323c6e9310c",12:"930e9006116417e356cb",13:"e3807f34b8882de6d66c",14:"fa81ee4ecc5b9a82a064",15:"a5380d1ef2f6fd3e9fe4",16:"4005fa54cc59f995ef22",17:"4d4fefacb21c6a27c469",18:"bdd0e545e01a46590fab",19:"f8c23ec99fe543ba7c59",20:"c50eb69950e3b05c75ba",21:"b66faf32d39b00b402fc",22:"3e1c1e9957614840401d",23:"fd0164cb8d1b48e15d14",24:"c5cfefb13fa3c8a23cf9",25:"0ee772df2607cf771171",26:"2884e8e9df9c9c10450a",27:"6ca8044c5b7dbaea1939",28:"e9159c78646a00d7a136",29:"bc4b2e19d7bbdb26f35b",30:"0dfa7b2f351464837431",31:"58ef57a7139f62e43fba",32:"11027e4a30d5d1f15a57",33:"5b982bd46e542c17a68e",34:"52cb42be742874708eba",35:"15332b0458c1f2d684e9",36:"734179926fd497b7979d",37:"303c15b2a63b09cbb9b1",38:"6b7d629cbf5bf00d5f79",39:"b129a2de1d1687a78b98",40:"ac1fc8c242c022600367",41:"54122ed28fb233a82436",42:"acc5bf61cb041f593bfa",43:"667f1d1d775fdc8f576a",44:"8531f16a0f4a76e474b8",45:"7cf681e938528dcae32b",46:"c0b858d756b11b0bf319"}[e]+".js";var b=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(b);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="",n.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(f,r,t){for(var b,d,o,i=0,u=[];i<f.length;i++)d=f[i],a[d]&&u.push(a[d][0]),a[d]=0;for(b in r)Object.prototype.hasOwnProperty.call(r,b)&&(e[b]=r[b]);for(c&&c(f,r,t);u.length;)u.shift()();if(t)for(i=0;i<t.length;i++)o=n(n.s=t[i]);return o};var f={},a={49:0};function n(c){if(f[c])return f[c].exports;var a=f[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.e=function(e){var c=a[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var f=new Promise(function(f,n){c=a[e]=[f,n]});c[2]=f;var r=document.getElementsByTagName("head")[0],t=document.createElement("script");t.type="text/javascript",t.charset="utf-8",t.async=!0,t.timeout=12e4,n.nc&&t.setAttribute("nonce",n.nc),t.src=n.p+"static/js/"+e+"."+{0:"4abe9745786f805c643d",1:"4d5af33875f881fbf170",2:"5c7330fd3d0725ef74b7",3:"95c778ffc94c516ed93c",4:"512dbfc54143036436b6",5:"177b8f15e4c3cdaefc5c",6:"54c55d39e8766c1c5179",7:"6265243e11cc4ea511c8",8:"e6208ee39755be230d36",9:"a4a3d1722932fdd7a419",10:"e7e75f52630c3f5f7921",11:"c008f8a05323c6e9310c",12:"930e9006116417e356cb",13:"e3807f34b8882de6d66c",14:"fa81ee4ecc5b9a82a064",15:"a5380d1ef2f6fd3e9fe4",16:"4005fa54cc59f995ef22",17:"4d4fefacb21c6a27c469",18:"bdd0e545e01a46590fab",19:"f8c23ec99fe543ba7c59",20:"c50eb69950e3b05c75ba",21:"b66faf32d39b00b402fc",22:"3e1c1e9957614840401d",23:"fd0164cb8d1b48e15d14",24:"c5cfefb13fa3c8a23cf9",25:"0ee772df2607cf771171",26:"2884e8e9df9c9c10450a",27:"6ca8044c5b7dbaea1939",28:"e9159c78646a00d7a136",29:"bc4b2e19d7bbdb26f35b",30:"0dfa7b2f351464837431",31:"58ef57a7139f62e43fba",32:"11027e4a30d5d1f15a57",33:"5b982bd46e542c17a68e",34:"52cb42be742874708eba",35:"15332b0458c1f2d684e9",36:"734179926fd497b7979d",37:"303c15b2a63b09cbb9b1",38:"6b7d629cbf5bf00d5f79",39:"b129a2de1d1687a78b98",40:"ac1fc8c242c022600367",41:"54122ed28fb233a82436",42:"acc5bf61cb041f593bfa",43:"667f1d1d775fdc8f576a",44:"8531f16a0f4a76e474b8",45:"7cf681e938528dcae32b",46:"c0b858d756b11b0bf319"}[e]+".js";var b=setTimeout(d,12e4);function d(){t.onerror=t.onload=null,clearTimeout(b);var c=a[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),a[e]=void 0)}return t.onerror=t.onload=d,r.appendChild(t),f},n.m=e,n.c=f,n.d=function(e,c,f){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:f})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="",n.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -183,9 +183,17 @@ export default { ...@@ -183,9 +183,17 @@ export default {
onShare: function(type) { onShare: function(type) {
let ownDetail = JSON.parse(localStorage.getItem("userDesc")); let ownDetail = JSON.parse(localStorage.getItem("userDesc"));
let URL = `${process.env.BUY_URL}shopId=${this.shopId}&groupId=${this.groupId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}`; let URL = `${process.env.BUY_URL}shopId=${this.shopId}&groupId=${this.groupId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}`;
if(type === 1 ){ if(!this.invite_code){
debugger
this.user_id=JSON.parse(localStorage.getItem('userDesc')).user_id;
this.invite_code = 'CC-USER-'+this.user_id
URL = `${process.env.BUY_URL}shopId=${this.shopId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}`
}else{
URL = `${process.env.BUY_URL}shopId=${this.shopId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}` URL = `${process.env.BUY_URL}shopId=${this.shopId}&invite_code=${this.invite_code}&nickname=${ownDetail.nickname}`
} }
// if(type === 1 ){
// }
this.enableShare({ this.enableShare({
shareUrl:URL shareUrl:URL
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment