Commit 1c33006c authored by wangwei's avatar wangwei

invite_code处理

parent 8c0e8152
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style></style><link href=static/css/app.9f631d4069047acf4ee994f5d9f958c3.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 type=text/javascript src=static/js/manifest.1dc0e6f3b842f2458df3.js></script><script type=text/javascript src=static/js/vendor.2cd465c61090dbc6beb5.js></script><script type=text/javascript src=static/js/app.c2441bf762fa038bd6c1.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style></style><link href=static/css/app.9f631d4069047acf4ee994f5d9f958c3.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 type=text/javascript src=static/js/manifest.3c3aa3e08df76c575b29.js></script><script type=text/javascript src=static/js/vendor.2cd465c61090dbc6beb5.js></script><script type=text/javascript src=static/js/app.c2441bf762fa038bd6c1.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,f){for(var a,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);for(n&&n(r,o,f);b.length;)b.shift()();if(f)for(u=0;u<f.length;u++)i=c(c.s=f[u]);return i};var r={},t={23:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var o=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,c.nc&&f.setAttribute("nonce",c.nc),f.src=c.p+"static/js/"+e+"."+{0:"3fbeeff3234d4fefc869",1:"be6218bddf30e5c5428e",2:"95392ed0d033c5c8450c",3:"280edd1955649f0ed2b2",4:"403c7c374ba40f0b079e",5:"20759f75ea39d01afe98",6:"0ef03bd87c0dcc38a7ee",7:"17582f10037c85553dde",8:"5b7f72034dfa7a4bba36",9:"b3937ee776d6fb7019fc",10:"1f3ba07cbcb8f0bf5925",11:"3051d38a02e6414e10f5",12:"1b04097cd10d8528ac29",13:"e071662ce4bb6348695c",14:"da3a460997d731c65432",15:"efc5b92baeac5a717659",16:"8af7eb6f97e0759ee078",17:"f5938e4969a0c61b5f31",18:"6cd5dca1601592bd95fd",19:"b149f0076bfc3cf38730",20:"034d2802515934a6be68"}[e]+".js";var a=setTimeout(d,12e4);function d(){f.onerror=f.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return f.onerror=f.onload=d,o.appendChild(f),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.3c3aa3e08df76c575b29.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap e32fd1e9b6f575389e2f"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","23","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"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","file":"static/js/manifest.3c3aa3e08df76c575b29.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t23: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"3fbeeff3234d4fefc869\",\"1\":\"be6218bddf30e5c5428e\",\"2\":\"95392ed0d033c5c8450c\",\"3\":\"280edd1955649f0ed2b2\",\"4\":\"403c7c374ba40f0b079e\",\"5\":\"20759f75ea39d01afe98\",\"6\":\"0ef03bd87c0dcc38a7ee\",\"7\":\"17582f10037c85553dde\",\"8\":\"5b7f72034dfa7a4bba36\",\"9\":\"b3937ee776d6fb7019fc\",\"10\":\"1f3ba07cbcb8f0bf5925\",\"11\":\"3051d38a02e6414e10f5\",\"12\":\"1b04097cd10d8528ac29\",\"13\":\"e071662ce4bb6348695c\",\"14\":\"da3a460997d731c65432\",\"15\":\"efc5b92baeac5a717659\",\"16\":\"8af7eb6f97e0759ee078\",\"17\":\"f5938e4969a0c61b5f31\",\"18\":\"6cd5dca1601592bd95fd\",\"19\":\"b149f0076bfc3cf38730\",\"20\":\"034d2802515934a6be68\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap e32fd1e9b6f575389e2f"],"sourceRoot":""}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"><meta name=screen-orientation content=portrait><meta name=x5-orientation content=portrait><title>唱唱启蒙英语</title><link rel=stylesheet href=https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css><style>*{
-webkit-overflow-scrolling:touch;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.6b3c25a75971804e1f02e27e006b076c.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=https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.0c0fd987afa00c0e95ca.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.47072c71fc786a97363f.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.a3f8ddfc9059acf1167c.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.51d7be43a837cd6236dcdb1edb315ecc.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=https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.5ff8189dead4571f1299.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.47072c71fc786a97363f.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.6e9ec602867ae35bf815.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([8],{D26X:function(t,i){},Gzic:function(t,i){},eZU3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("CCn6"),e=n("owV8"),a=n.n(e),c={name:"index",data:function(){return{inviteListTitle:a.a,inviteList:[]}},filters:{formatDate:function(t){return t?t.split(" ")[0]:""}},mounted:function(){this.getInviteList()},methods:{getInviteList:function(){var t=this;Object(s.k)({page:1,limit:100}).then(function(i){t.inviteList=i.list,console.log("inviteList",i.list)})}}},r={render:function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"activity"},[n("div",[n("div",{staticClass:"inviteContainer"},[n("img",{staticClass:"invite-title",attrs:{src:t.inviteListTitle}}),t._v(" "),t._m(0),t._v(" "),n("ul",{staticClass:"p-list"},t._l(t.inviteList,function(i){return n("li",[n("div",{staticClass:"flex-start no-margin"},[n("img",{attrs:{src:i.avatar}}),t._v(" "),n("span",[t._v(t._s(i.nickname))])]),t._v(" "),n("span",{staticClass:"no-margin"},[t._v(t._s(t._f("formatDate")(i.pay_at)))])])}))])])])},staticRenderFns:[function(){var t=this.$createElement,i=this._self._c||t;return i("div",{staticClass:"flex-bt i-title"},[i("span",[this._v("受邀好友")]),this._v(" "),i("span",[this._v("购买时间")])])}]};var l=n("VU/8")(c,r,!1,function(t){n("Gzic"),n("D26X")},"data-v-393cf79c",null);i.default=l.exports},owV8:function(t,i,n){t.exports=n.p+"static/img/invite_list_title.7338e46.png"}});
//# sourceMappingURL=8.af2d7b022659474e3f90.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/buy/inviteList.vue","webpack:///./src/components/buy/inviteList.vue?2e98","webpack:///./src/components/buy/inviteList.vue","webpack:///./src/assets/activity/invite_list_title.png"],"names":["inviteList","name","data","inviteListTitle","invite_list_title_default","a","filters","formatDate","value","split","mounted","this","getInviteList","methods","_this","Object","api","page","limit","then","res","list","console","log","buy_inviteList","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","src","_v","_m","_l","avatar","_s","nickname","_f","pay_at","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__","module","exports","p"],"mappings":"oLA0BAA,GACAC,KAAA,QACAC,KAFA,WAGA,OACAC,gBAAAC,EAAAC,EACAL,gBAGAM,SACAC,WADA,SACAC,GACA,OAAAA,EACAA,EAAAC,MAAA,QAEA,KAIAC,QAjBA,WAkBAC,KAAAC,iBAEAC,SACAD,cADA,WACA,IAAAE,EAAAH,KAKMI,OAAAC,EAAA,EAAAD,EAHNE,KAAA,EACAC,MAAA,MAEAC,KAAA,SAAAC,GACAN,EAAAd,WAAAoB,EAAAC,KACAC,QAAAC,IAAA,aAAAH,EAAAC,WCnDeG,GADEC,OAFjB,WAA0B,IAAAC,EAAAf,KAAagB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,aAAuBF,EAAA,OAAAA,EAAA,OAAsBE,YAAA,oBAA8BF,EAAA,OAAYE,YAAA,eAAAC,OAAkCC,IAAAP,EAAAvB,mBAA2BuB,EAAAQ,GAAA,KAAAR,EAAAS,GAAA,GAAAT,EAAAQ,GAAA,KAAAL,EAAA,MAA6CE,YAAA,UAAqBL,EAAAU,GAAAV,EAAA,oBAAAxB,GAAwC,OAAA2B,EAAA,MAAAA,EAAA,OAA0BE,YAAA,yBAAmCF,EAAA,OAAYG,OAAOC,IAAA/B,EAAAmC,UAAmBX,EAAAQ,GAAA,KAAAL,EAAA,QAAAH,EAAAQ,GAAAR,EAAAY,GAAApC,EAAAqC,eAAAb,EAAAQ,GAAA,KAAAL,EAAA,QAAkFE,YAAA,cAAwBL,EAAAQ,GAAAR,EAAAY,GAAAZ,EAAAc,GAAA,aAAAd,CAAAxB,EAAAuC,wBAEpiBC,iBADjB,WAAoC,IAAaf,EAAbhB,KAAaiB,eAA0BC,EAAvClB,KAAuCmB,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,QAA9GlB,KAA8GuB,GAAA,UAA9GvB,KAA8GuB,GAAA,KAAAL,EAAA,QAA9GlB,KAA8GuB,GAAA,eCGlJ,IAcAS,EAdyBC,EAAQ,OAcjCC,CACE7C,EACAwB,GATF,EAXA,SAAAsB,GACEF,EAAQ,QACRA,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB,8BC3BhCK,EAAAC,QAAiBL,EAAAM,EAAuB","file":"static/js/8.af2d7b022659474e3f90.js","sourcesContent":["<template>\r\n <div class=\"activity\">\r\n <div>\r\n <div class=\"inviteContainer\">\r\n <img :src=\"inviteListTitle\" class=\"invite-title\"/>\r\n <div class=\"flex-bt i-title\">\r\n <span>受邀好友</span>\r\n <span>购买时间</span>\r\n </div>\r\n <ul class=\"p-list\">\r\n <li v-for=\"data in inviteList\">\r\n <div class=\"flex-start no-margin\">\r\n <img :src=\"data.avatar\"/>\r\n <span>{{data.nickname}}</span>\r\n </div>\r\n <span class=\"no-margin\">{{data.pay_at | formatDate}}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import {getInviteListApi} from \"../../service/api\";\r\n import invite_list_title from '../../assets/activity/invite_list_title.png'\r\n export default {\r\n name: \"index\",\r\n data(){\r\n return {\r\n inviteListTitle: invite_list_title,\r\n inviteList: []\r\n }\r\n },\r\n filters: {\r\n formatDate(value){\r\n if(value) {\r\n return value.split(' ')[0]\r\n } else {\r\n return ''\r\n }\r\n }\r\n },\r\n mounted(){\r\n this.getInviteList();\r\n },\r\n methods:{\r\n getInviteList(){\r\n let json = {\r\n page: 1,\r\n limit: 100\r\n }\r\n getInviteListApi(json).then(res=>{\r\n this.inviteList = res.list\r\n console.log('inviteList', res.list)\r\n });\r\n }\r\n }\r\n }\r\n</script>\r\n<style>\r\n img,video{\r\n max-width: 100%;\r\n }\r\n</style>\r\n<style scoped lang=\"less\">\r\n @import \"../../util/public\";\r\n @red: #fc4a1b;\r\n @borderRadius: 8px;\r\n .activity {\r\n color: #fff;\r\n background-color: #ffb400;\r\n }\r\n .inviteContainer {\r\n position: relative;\r\n text-align: center;\r\n border-radius: @borderRadius;\r\n padding-top: 10 / 2 * @toVw;\r\n padding-bottom: 38 / 2 * @toVh;\r\n }\r\n .invite-title {\r\n position: relative;\r\n width: 60%;\r\n height: auto;\r\n margin: 20 * @toVw 0;\r\n }\r\n .invite-list {\r\n margin-left: 32 / 2 * @toVw;\r\n margin-right: 32 / 2 * @toVw;\r\n padding: 28 / 2 * @toVh;\r\n border: 1px solid @red;\r\n border-radius: @borderRadius;\r\n .i-title {\r\n font-size: 14px;\r\n margin: 10 * @toVw;\r\n }\r\n .i-num {\r\n font-size: 18px;\r\n }\r\n }\r\n .flex-center {\r\n display: flex;\r\n flex-flow: row nowrap;\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n .flex-start {\r\n display: flex;\r\n flex-flow: row nowrap;\r\n justify-content: flex-start;\r\n align-items: center;\r\n }\r\n .flex-bt {\r\n display: flex;\r\n flex-flow: row nowrap;\r\n justify-content: space-between;\r\n align-items: center;\r\n }\r\n .red{\r\n color: @red;\r\n }\r\n .p-list {\r\n margin: 16*@toVw;\r\n padding: 0;\r\n border: 2px solid #fff;\r\n li {\r\n display: flex;\r\n flex-flow: row nowrap;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin: 0;\r\n padding: 8 * @toVw;\r\n img {\r\n width: 74 / 2 * @toVw;\r\n height: 74 / 2 * @toVw;\r\n border-radius: 50%;\r\n margin-right: 5px;\r\n }\r\n }\r\n }\r\n .no-margin {\r\n margin: 0;\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/buy/inviteList.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"activity\"},[_c('div',[_c('div',{staticClass:\"inviteContainer\"},[_c('img',{staticClass:\"invite-title\",attrs:{\"src\":_vm.inviteListTitle}}),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('ul',{staticClass:\"p-list\"},_vm._l((_vm.inviteList),function(data){return _c('li',[_c('div',{staticClass:\"flex-start no-margin\"},[_c('img',{attrs:{\"src\":data.avatar}}),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(data.nickname))])]),_vm._v(\" \"),_c('span',{staticClass:\"no-margin\"},[_vm._v(_vm._s(_vm._f(\"formatDate\")(data.pay_at)))])])}))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex-bt i-title\"},[_c('span',[_vm._v(\"受邀好友\")]),_vm._v(\" \"),_c('span',[_vm._v(\"购买时间\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-393cf79c\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/buy/inviteList.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-393cf79c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./inviteList.vue\")\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-393cf79c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=1!./inviteList.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./inviteList.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./inviteList.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-393cf79c\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./inviteList.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-393cf79c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/buy/inviteList.vue\n// module id = null\n// module chunks = ","module.exports = __webpack_public_path__ + \"static/img/invite_list_title.7338e46.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/activity/invite_list_title.png\n// module id = owV8\n// module chunks = 8"],"sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([22],{IcnI:function(e,n,t){"use strict";var a=t("7+uW"),o=t("NYxO"),i=(t("zSLJ"),{setToken:function(e,n){e.token=n,localStorage.setItem("cc_token",n)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"},isMobile:function(e,n){e.isMobile=n}});a.default.use(o.a);n.a=new o.a.Store({state:{token:"",transitionName:"slide-left",isMobile:!1},mutations:i,actions:{setToken:function(e,n){(0,e.commit)("setToken",n)},isMobile:function(e,n){(0,e.commit)("isMobile",n)}}})},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("transition",{attrs:{name:"fade"}},[n("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var i=t("VU/8")({name:"App",mounted:function(){}},o,!1,function(e){t("RyfC")},null,null).exports,r=t("YaEn"),c=t("IcnI"),l=t("Au9i"),s=t.n(l),u=t("KPKd"),p=t.n(u);t("d8/S");a.default.config.productionTip=!1,a.default.use(s.a),a.default.use(p.a),new a.default({el:"#app",router:r.a,store:c.a,components:{App:i},template:"<App/>"}),Array.prototype.find||(Array.prototype.find=function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n,t=Object(this),a=t.length>>>0,o=arguments[1],i=0;i<a;i++)if(n=t[i],e.call(o,n,i,t))return n})},RyfC:function(e,n){},YaEn:function(e,n,t){"use strict";var a=t("7+uW"),o=t("IcnI"),i=t("sf/l"),r=t("/ocq"),c=t("5Brm");t.n(c);a.default.use(r.a);var l=new r.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([t.e(0),t.e(14)]).then(function(){var n=[t("dAjm")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/newLesson",name:"newLesson",component:function(e){return Promise.all([t.e(0),t.e(1)]).then(function(){var n=[t("4t0V")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/myGoodsList",name:"myGoodsList",component:function(e){return Promise.all([t.e(0),t.e(16)]).then(function(){var n=[t("P3Wy")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(e){return Promise.all([t.e(0),t.e(17)]).then(function(){var n=[t("U/b5")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(e){return Promise.all([t.e(0),t.e(9)]).then(function(){var n=[t("R7Pr")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:2}},{path:"/share",name:"share",component:function(e){return Promise.all([t.e(0),t.e(20)]).then(function(){var n=[t("Eg0l")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(e){return t.e(13).then(function(){var n=[t("sA+T")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:100,noNew:!0}},{path:"/buyDetail",name:"buyDetail",component:function(e){return Promise.all([t.e(0),t.e(12)]).then(function(){var n=[t("bNYG")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0,noNew:!0,deep:10}},{path:"/buy",name:"buy",component:function(e){return Promise.all([t.e(0),t.e(7)]).then(function(){var n=[t("Y1ei")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:11}},{path:"/success",name:"success",component:function(e){return Promise.all([t.e(0),t.e(6)]).then(function(){var n=[t("IF8E")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(e){return Promise.all([t.e(0),t.e(15)]).then(function(){var n=[t("w9eS")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{noNew:!0,deep:12}},{path:"/map",name:"map",component:function(e){return Promise.all([t.e(0),t.e(5)]).then(function(){var n=[t("3QU7")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:3}},{path:"/saleSuccess",name:"saleSuccess",component:function(e){return Promise.all([t.e(0),t.e(10)]).then(function(){var n=[t("wSE2")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:4}},{path:"/bindMobile",name:"bindMobile",component:function(e){return Promise.all([t.e(0),t.e(11)]).then(function(){var n=[t("/Vxk")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{deep:0}},{path:"/activity",name:"activity",component:function(e){return Promise.all([t.e(0),t.e(3)]).then(function(){var n=[t("yYpN")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/activityInvite",name:"activityInvite",component:function(e){return Promise.all([t.e(0),t.e(4)]).then(function(){var n=[t("aRHX")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/inviteList",name:"inviteList",component:function(e){return Promise.all([t.e(0),t.e(8)]).then(function(){var n=[t("eZU3")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/collection",name:"collection",component:function(e){return Promise.all([t.e(0),t.e(2)]).then(function(){var n=[t("PTpu")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!0}},{path:"/noWechat",name:"noWechat",component:function(e){return t.e(19).then(function(){var n=[t("nmbt")];e.apply(null,n)}.bind(this)).catch(t.oe)},meta:{skip_login:!1}},{path:"*",component:function(e){return Promise.all([t.e(0),t.e(18)]).then(function(){var n=[t("Zazt")];e.apply(null,n)}.bind(this)).catch(t.oe)}}]});l.beforeEach(function(e,n,t){var a=window.navigator.userAgent.toLowerCase();"micromessenger"==a.match(/MicroMessenger/i)||"_sq_"==a.match(/_SQ_/i)?"noWechat"==e.name&&t({name:"index"}):"noWechat"!==e.name&&t({name:"noWechat"});var r={versions:function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1===e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Linux")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari")}}(),language:(navigator.browserLanguage||navigator.language).toLowerCase()};r.versions.mobile&&navigator.userAgent.toLowerCase().match(/MicroMessenger/i);o.a.dispatch("isMobile",r.versions.mobile),document.title="唱唱启蒙英语";var c=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),t(e)}else t()};if("author"===e.name||"bindMobile"===e.name||"noWechat"===e.name)t();else if(window.location.href.indexOf("token")>-1){var l=i.a.getUrlParam().token||e.query.token;o.a.dispatch("setToken",l),c()}else if(localStorage.getItem("cc_token"))o.a.dispatch("setToken",localStorage.getItem("cc_token")),c();else if(e.meta.skip_login)c();else{var s={retUrl:e.fullPath};e.meta.noNew&&(s.is_new_user_url=1),t({name:"author",query:s})}}),n.a=l},"d8/S":function(e,n){},"sf/l":function(e,n,t){"use strict";n.a={dateFmt:function(e,n){var t={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(var a in/(y+)/.test(n)&&(n=n.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+a+")").test(n)&&(n=n.replace(RegExp.$1,1==RegExp.$1.length?t[a]:("00"+t[a]).substr((""+t[a]).length)));return n},getUrlParam:function(){var e=location.search,n=new Object;if(-1!=e.indexOf("?"))for(var t=e.substr(1).split("&"),a=0;a<t.length;a++)n[t[a].split("=")[0]]=unescape(t[a].split("=")[1]);return n},toDataURL:function(e,n){var t=new XMLHttpRequest;t.onload=function(){var e=new FileReader;e.onloadend=function(){n(e.result)},e.readAsDataURL(t.response)},t.responseType="blob",t.open("GET",e,!0),t.send()}}},zSLJ:function(e,n,t){"use strict"}},["NHnr"]);
//# sourceMappingURL=app.6e9ec602867ae35bf815.js.map
\ No newline at end of file
This diff is collapsed.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(a,r,o){for(var f,d,i,b=0,u=[];b<a.length;b++)d=a[b],c[d]&&u.push(c[d][0]),c[d]=0;for(f in r)Object.prototype.hasOwnProperty.call(r,f)&&(e[f]=r[f]);for(n&&n(a,r,o);u.length;)u.shift()();if(o)for(b=0;b<o.length;b++)i=t(t.s=o[b]);return i};var a={},c={23:0};function t(n){if(a[n])return a[n].exports;var c=a[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var a=new Promise(function(a,t){n=c[e]=[a,t]});n[2]=a;var r=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,t.nc&&o.setAttribute("nonce",t.nc),o.src=t.p+"static/js/"+e+"."+{0:"7acab78bc82bc9b14546",1:"f2cb7c64db8800b2c50e",2:"3f4dee6ad85f3198c6af",3:"e300d2c36498621dd393",4:"0c10b575613ded6f77bb",5:"09a7aac5228034b62699",6:"7b49f3402cb49fe521ad",7:"c386661a32e71c6b5e7c",8:"af2d7b022659474e3f90",9:"f4aac8a1bab72f6e7d33",10:"55d510c328703b73d1ee",11:"38e3da9a9edd839aa1a6",12:"8d6ee5248156830bc231",13:"f4e229856de681890bcb",14:"8a83c6322a8685a8a88c",15:"f1a3eba8bb2cb303c8af",16:"7b5efadf06fe33c52c2a",17:"eaf8f79b057881629554",18:"5aad9ac2c4d0203a7faf",19:"58e505cd2dd6803c2bcf",20:"169ff7372cb753b80084"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return o.onerror=o.onload=d,r.appendChild(o),a},t.m=e,t.c=a,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="https://static-cdn.changchangenglish.com/new-sing/",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.5ff8189dead4571f1299.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap 597ce21ddfa7b6da8b31"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","23","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"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","file":"static/js/manifest.5ff8189dead4571f1299.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t23: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"7acab78bc82bc9b14546\",\"1\":\"f2cb7c64db8800b2c50e\",\"2\":\"3f4dee6ad85f3198c6af\",\"3\":\"e300d2c36498621dd393\",\"4\":\"0c10b575613ded6f77bb\",\"5\":\"09a7aac5228034b62699\",\"6\":\"7b49f3402cb49fe521ad\",\"7\":\"c386661a32e71c6b5e7c\",\"8\":\"af2d7b022659474e3f90\",\"9\":\"f4aac8a1bab72f6e7d33\",\"10\":\"55d510c328703b73d1ee\",\"11\":\"38e3da9a9edd839aa1a6\",\"12\":\"8d6ee5248156830bc231\",\"13\":\"f4e229856de681890bcb\",\"14\":\"8a83c6322a8685a8a88c\",\"15\":\"f1a3eba8bb2cb303c8af\",\"16\":\"7b5efadf06fe33c52c2a\",\"17\":\"eaf8f79b057881629554\",\"18\":\"5aad9ac2c4d0203a7faf\",\"19\":\"58e505cd2dd6803c2bcf\",\"20\":\"169ff7372cb753b80084\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"https://static-cdn.changchangenglish.com/new-sing/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 597ce21ddfa7b6da8b31"],"sourceRoot":""}
\ No newline at end of file
......@@ -32,7 +32,7 @@
</template>
<script>
import {getOrderListApi,getwechatParam} from "../service/api";
import {getOrderListApi,getUserDetailApi,getwechatParam} from "../service/api";
import {ORDERTYPE} from "../util/wordbook";
import shareUrl from '../assets/share.png'
import Toast from 'mint-ui'
......@@ -44,7 +44,8 @@
orderList:[],
showShare:false,
shareTipsUrl:shareTipsUrl,
shareUrl:shareUrl
shareUrl:shareUrl,
user_id:""
}
},
filters:{
......@@ -57,6 +58,9 @@
},
methods:{
initPage(){
getUserDetailApi().then(res=>{
this.user_id=res.user_id;
});
getwechatParam({
api_list:'onMenuShareAppMessage,onMenuShareTimeline',
url:window.location.href.split('#')[0]
......@@ -81,9 +85,20 @@
},
shareOrder(data){
this.showShare = true;
let invite_code = `CC-${data.invite_type}-${data.invite_id }`;
if(!data.invite_id || data.invite_id == ''){
invite_code = 'CC-USER-'+this.user_id;
}else{
invite_code = invite_code.split('-');
if(invite_code[1] === 'TEACHER'){
invite_code[1] = 'USER'
}
let code = `${invite_code[0]}-${invite_code[1]}`;
invite_code = `${code}-${this.user_id}`;
}
let shareData = JSON.parse(data.share_desc);
let that =this;
let shareUrl = `${process.env.BUY_URL}shopId=${data.goods_id}&groupId=${data.order_group_id}&invite_code=CC-${data.invite_type}-${data.invite_id}'`;
let shareUrl = `${process.env.BUY_URL}shopId=${data.goods_id}&groupId=${data.order_group_id}&invite_code=${invite_code}'`;
wx.onMenuShareAppMessage({
title: shareData.title, // 分享标题
desc: shareData.content,// 分享描述
......
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