3.12

parent 2ec8f20f
'use strict'
const utils = require('./utils')
const webpack = require('webpack')
const config = require('../config')
const merge = require('webpack-merge')
const path = require('path')
const baseWebpackConfig = require('./webpack.base.conf')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
const portfinder = require('portfinder')
const HOST = process.env.HOST
const PORT = process.env.PORT && Number(process.env.PORT)
const devWebpackConfig = merge(baseWebpackConfig, {
module: {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true })
},
// cheap-module-eval-source-map is faster for development
devtool: config.dev.devtool,
// these devServer options should be customized in /config/index.js
devServer: {
clientLogLevel: 'warning',
historyApiFallback: {
rewrites: [
{ from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },
],
},
hot: true,
contentBase: false, // since we use CopyWebpackPlugin.
compress: true,
host: HOST || config.dev.host,
port: PORT || config.dev.port,
open: config.dev.autoOpenBrowser,
overlay: config.dev.errorOverlay
? { warnings: false, errors: true }
: false,
publicPath: config.dev.assetsPublicPath,
proxy: config.dev.proxyTable,
quiet: true, // necessary for FriendlyErrorsPlugin
watchOptions: {
poll: config.dev.poll,
}
},
plugins: [
new webpack.DefinePlugin({
'process.env': require('../config/test.env')
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update.
new webpack.NoEmitOnErrorsPlugin(),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
inject: true
}),
// copy custom static assets
new CopyWebpackPlugin([
{
from: path.resolve(__dirname, '../static'),
to: config.dev.assetsSubDirectory,
ignore: ['.*']
}
])
]
})
module.exports = new Promise((resolve, reject) => {
portfinder.basePort = process.env.PORT || config.dev.port
portfinder.getPort((err, port) => {
if (err) {
reject(err)
} else {
// publish the new Port, necessary for e2e tests
process.env.PORT = port
// add port to devServer config
devWebpackConfig.devServer.port = port
// Add FriendlyErrorsPlugin
devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({
compilationSuccessInfo: {
messages: [`Your application is running here: http://${devWebpackConfig.devServer.host}:${port}`],
},
onErrors: config.dev.notifyOnErrors
? utils.createNotifierCallback()
: undefined
}))
resolve(devWebpackConfig)
}
})
})
......@@ -53,7 +53,7 @@ module.exports = {
* Source Maps
*/
productionSourceMap: true,
productionSourceMap: false,
// https://webpack.js.org/configuration/devtool/#production
devtool: '#source-map',
......
......@@ -3,4 +3,4 @@
}
.mint-toast{
z-index: 10001 !important;
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.e98fd380c74a51e488563ce8b5314a83.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.6175661d82f0124aa8ff.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.264531edd20be8c26a90.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.fdfa8cbad588a0bc4453.js></script></body></html>
\ No newline at end of file
}</style><link href=https://static-cdn.changchangenglish.com/new-sing/static/css/app.cf10cc65420d60ee7e8d7d7e84982395.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.80b6fe74c4644da8619e.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.587c5aa91e4fd6b4847f.js></script><script type=text/javascript src=https://static-cdn.changchangenglish.com/new-sing/static/js/app.e0103c663cdfca709a41.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.
This diff is collapsed.
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.
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([10],{"54Ry":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("mvHQ"),i=s.n(a),o=s("a5ZB"),n=s.n(o),l=s("LyMh"),c=s.n(l),r=s("CCn6"),u={name:"shareGoods",components:{loginPage:s("WIsT").a},data:function(){return{shareGoodsBg:n.a,title_share_goods:c.a,userDetail:null,bindMobile:{show:!1,mobile:"",img_code:"",verify_code:""},shopId:null,goodsDetail:null,lastTime:localStorage.getItem("lastTimeShare")?JSON.parse(localStorage.getItem("lastTimeShare")):{day:0,hour:8,min:0,second:0}}},methods:{lastTimeOut:function(){0===this.lastTime.second?(this.lastTime.second=59,0===this.lastTime.min?(this.lastTime.min=59,0===this.lastTime.hour?this.lastTime.hour=8:this.lastTime.hour--):this.lastTime.min--):this.lastTime.second--,localStorage.setItem("lastTimeShare",i()(this.lastTime))},initPage:function(){var t=this;this.$sa.track("ViewInvitation",{salesID:this.$route.query.userID}),Object(r.s)(this.$route.query.userID).then(function(e){e.user_info.avatar=e.user_info.avatar.replace("http://","https://"),t.userDetail=e}),Object(r.u)().then(function(e){t.shopId=e[0].value,Object(r.h)(t.shopId).then(function(e){e.desc=JSON.parse(e.desc),e.goods_desc=JSON.parse(e.goods_desc),t.goodsDetail=e})})},goToBuyPage:function(){window.location.href="https://wechat.changchangenglish.com/#/buy?shopId="+this.shopId+"&invite_code=CC-UDK-"+this.$route.query.userID},toBuy:function(t){var e=this;1===t?this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名1"}):this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名2"}),JSON.parse(localStorage.getItem("userDesc")).mobile&&""!==JSON.parse(localStorage.getItem("userDesc")).mobile?this.goToBuyPage():(this.bindMobile.show=!0,setTimeout(function(){e.$sa.track("ViewRegisterpage",{})},1e3))}},mounted:function(){var t=this;this.initPage(),setInterval(function(){t.lastTimeOut()},1e3),this.$refs.share_page.addEventListener("scroll",function(){var e=t.$refs.share_page.scrollTop;t.$refs.btn_block&&(t.$refs.btn_block.style.opacity=e>500?1:0)})}},h={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{ref:"share_page",staticClass:"share-good-page"},[t.userDetail?s("div",{staticClass:"share-good-head",style:{backgroundImage:"url('"+t.shareGoodsBg+"')"}},[s("img",{staticClass:"head",attrs:{src:t.userDetail.user_info.avatar}}),t._v(" "),s("div",{staticClass:"title",style:{backgroundImage:"url('"+t.title_share_goods+"')"}},[t._v("\n "+t._s(t.userDetail.user_info.nickname)+"\n ")]),t._v(" "),s("div",{staticClass:"day"},[t._v("\n "+t._s(t.userDetail.total_day)+"\n "),s("span",[t._v("\n Days\n ")])]),t._v(" "),s("div",{staticClass:"iknow",on:{click:function(e){t.toBuy(1)}}})]):t._e(),t._v(" "),t.goodsDetail?s("div",{staticClass:"good-content"},[s("div",{staticClass:"content",domProps:{innerHTML:t._s(t.goodsDetail.desc.detail)}}),t._v(" "),s("div",{ref:"btn_block",staticClass:"btn-block"},[s("div",{staticClass:"lastTime"},[t._v("\n 优惠倒计时 "+t._s(t.lastTime.day)+" 天 "+t._s(t.lastTime.hour)+" 时 "+t._s(t.lastTime.min)+" 分 "+t._s(t.lastTime.second)+" 秒\n ")]),t._v(" "),s("div",{staticClass:"btn",on:{click:function(e){t.toBuy(2)}}},[t._v("\n 正在疯抢 · 超值VIP课程\n ")])])]):t._e()]),t._v(" "),t.goodsDetail?s("login-page",{attrs:{"bind-mobile":t.bindMobile,groupDetail:t.goodsDetail},on:{goToBuyPage:t.goToBuyPage}}):t._e()],1)},staticRenderFns:[]};var d=s("VU/8")(u,h,!1,function(t){s("nQT+"),s("WA8o")},"data-v-6f27d07e",null);e.default=d.exports},LyMh:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAABsBAMAAAALV69cAAAAIVBMVEVHcEwAYkwFl3cFlnYFi2wFl3cFl3cFmHcAYUwGl3cDgWVH8oeMAAAACXRSTlMA/sJIJ+KQaa8h3je6AAACZElEQVR42u2cPUsDQRCGFz0/UooWJlUgUUh3ChbpoiCaLqgp0omNXJdChHQK/oDcp2y6lOZX6iYEIniTmxSy8+69/cE+zM7szOzcKpUr7/VkoCUovXvuqA203dJyFPl8QE8S4A8i34oXWpbu2XtUSxN3n16LI3xgErbEEUbom5S7TbcEEtZZhF2BhAmLcCSQ8JNFGAgkzMBDKTeYDgQSpiXhL2mJKglLwpLQasKbp77GU//0ZQl4rlHVWABeaVw1DeCeRtZQaJLNSsexTWiMuANO2FNtcMJYZDXPq/wDcMKsJAQgxPdD/FjaBSdMVAWccCzyhoKjugN56TY4oS+z+VtcqQv1IfhxYS4VsQvEnhN9GgVNKPa+lxNoFHTunYidLCmes0mdDmJkNFLHEoppObyA64ix4BEvjhsiO6IveT6I44a4jhiLnrXkuCGuI/rCRy8Kpt3IoSYSPk5atLCQOxK8XqtDw5jHRewUIf4uxSfEj6X45yF8ToPaFB46VFvg14fwNT5+nwa/19aGJYyVIz1v/HsL/LunLjBh4sgdsEaWG//MYA8n1p2YiQqgCTPlwGyip7HVUbvghI8OzHlXwAnHDvxREoATZsDlryuEKfiBbwg1uhwgzN+l4exLCMRkViV2aX6kmRzMtdHzrv8mb7HIfFtE1Hk4Nd8eK7v1bhZZo04LIqcJzceHlhOemUVWqZyGyrzNx2+WE+6bRZKZN9XxDq13w4UjEiY0Xe+RpmLNkbJdl1ScmU+cUEacWm9CY8QabULyFaXwQ9mvW2KTNte9hNVQElRg/X+/ZrbyGpjlItf/DUICuUSCELZjAAAAAElFTkSuQmCC"},WA8o:function(t,e){},a5ZB:function(t,e,s){t.exports=s.p+"static/img/shareGoodsBg5.78afeac.png"},"nQT+":function(t,e){}});
//# sourceMappingURL=10.2d1e5ef5f624ee959094.js.map
\ No newline at end of file
webpackJsonp([10],{"54Ry":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("mvHQ"),i=s.n(a),o=s("a5ZB"),n=s.n(o),l=s("LyMh"),c=s.n(l),r=s("CCn6"),u={name:"shareGoods",components:{loginPage:s("WIsT").a},data:function(){return{shareGoodsBg:n.a,title_share_goods:c.a,userDetail:null,bindMobile:{show:!1,mobile:"",img_code:"",verify_code:""},shopId:null,goodsDetail:null,lastTime:localStorage.getItem("lastTimeShare")?JSON.parse(localStorage.getItem("lastTimeShare")):{day:0,hour:8,min:0,second:0}}},methods:{lastTimeOut:function(){0===this.lastTime.second?(this.lastTime.second=59,0===this.lastTime.min?(this.lastTime.min=59,0===this.lastTime.hour?this.lastTime.hour=8:this.lastTime.hour--):this.lastTime.min--):this.lastTime.second--,localStorage.setItem("lastTimeShare",i()(this.lastTime))},initPage:function(){var t=this;this.$sa.track("ViewInvitation",{salesID:this.$route.query.userID}),Object(r.s)(this.$route.query.userID).then(function(e){e.user_info.avatar=e.user_info.avatar.replace("http://","https://"),t.userDetail=e}),Object(r.u)().then(function(e){t.shopId=e[0].value,Object(r.h)(t.shopId).then(function(e){e.desc=JSON.parse(e.desc),e.goods_desc=JSON.parse(e.goods_desc),t.goodsDetail=e})})},goToBuyPage:function(){window.location.href="https://wechat.changchangenglish.com/#/buy?shopId="+this.shopId+"&invite_code=CC-UDK-"+this.$route.query.userID},toBuy:function(t){var e=this;1===t?this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名1"}):this.$sa.track("buttonClick",{tabTitle:"打卡商品页",moduleTitle:"功能按钮",buttonType:"购买",buttonName:"马上报名2"}),JSON.parse(localStorage.getItem("userDesc")).mobile&&""!==JSON.parse(localStorage.getItem("userDesc")).mobile?this.goToBuyPage():(this.bindMobile.show=!0,setTimeout(function(){e.$sa.track("ViewRegisterpage",{})},1e3))}},mounted:function(){var t=this;this.initPage(),setInterval(function(){t.lastTimeOut()},1e3),this.$refs.share_page.addEventListener("scroll",function(){var e=t.$refs.share_page.scrollTop;t.$refs.btn_block&&(t.$refs.btn_block.style.opacity=e>500?1:0)})}},h={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{ref:"share_page",staticClass:"share-good-page"},[t.userDetail?s("div",{staticClass:"share-good-head",style:{backgroundImage:"url('"+t.shareGoodsBg+"')"}},[s("img",{staticClass:"head",attrs:{src:t.userDetail.user_info.avatar}}),t._v(" "),s("div",{staticClass:"title",style:{backgroundImage:"url('"+t.title_share_goods+"')"}},[t._v("\n "+t._s(t.userDetail.user_info.nickname)+"\n ")]),t._v(" "),s("div",{staticClass:"day"},[t._v("\n "+t._s(t.userDetail.total_day)+"\n "),s("span",[t._v("\n Days\n ")])]),t._v(" "),s("div",{staticClass:"iknow",on:{click:function(e){t.toBuy(1)}}})]):t._e(),t._v(" "),t.goodsDetail?s("div",{staticClass:"good-content"},[s("div",{staticClass:"content",domProps:{innerHTML:t._s(t.goodsDetail.desc.detail)}}),t._v(" "),s("div",{ref:"btn_block",staticClass:"btn-block"},[s("div",{staticClass:"lastTime"},[t._v("\n 优惠倒计时 "+t._s(t.lastTime.day)+" 天 "+t._s(t.lastTime.hour)+" 时 "+t._s(t.lastTime.min)+" 分 "+t._s(t.lastTime.second)+" 秒\n ")]),t._v(" "),s("div",{staticClass:"btn",on:{click:function(e){t.toBuy(2)}}},[t._v("\n 正在疯抢 · 超值VIP课程\n ")])])]):t._e()]),t._v(" "),t.goodsDetail?s("login-page",{attrs:{"bind-mobile":t.bindMobile,groupDetail:t.goodsDetail},on:{goToBuyPage:t.goToBuyPage}}):t._e()],1)},staticRenderFns:[]};var d=s("VU/8")(u,h,!1,function(t){s("uUCS"),s("rVE1")},"data-v-68c7928c",null);e.default=d.exports},LyMh:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAABsBAMAAAALV69cAAAAIVBMVEVHcEwAYkwFl3cFlnYFi2wFl3cFl3cFmHcAYUwGl3cDgWVH8oeMAAAACXRSTlMA/sJIJ+KQaa8h3je6AAACZElEQVR42u2cPUsDQRCGFz0/UooWJlUgUUh3ChbpoiCaLqgp0omNXJdChHQK/oDcp2y6lOZX6iYEIniTmxSy8+69/cE+zM7szOzcKpUr7/VkoCUovXvuqA203dJyFPl8QE8S4A8i34oXWpbu2XtUSxN3n16LI3xgErbEEUbom5S7TbcEEtZZhF2BhAmLcCSQ8JNFGAgkzMBDKTeYDgQSpiXhL2mJKglLwpLQasKbp77GU//0ZQl4rlHVWABeaVw1DeCeRtZQaJLNSsexTWiMuANO2FNtcMJYZDXPq/wDcMKsJAQgxPdD/FjaBSdMVAWccCzyhoKjugN56TY4oS+z+VtcqQv1IfhxYS4VsQvEnhN9GgVNKPa+lxNoFHTunYidLCmes0mdDmJkNFLHEoppObyA64ix4BEvjhsiO6IveT6I44a4jhiLnrXkuCGuI/rCRy8Kpt3IoSYSPk5atLCQOxK8XqtDw5jHRewUIf4uxSfEj6X45yF8ToPaFB46VFvg14fwNT5+nwa/19aGJYyVIz1v/HsL/LunLjBh4sgdsEaWG//MYA8n1p2YiQqgCTPlwGyip7HVUbvghI8OzHlXwAnHDvxREoATZsDlryuEKfiBbwg1uhwgzN+l4exLCMRkViV2aX6kmRzMtdHzrv8mb7HIfFtE1Hk4Nd8eK7v1bhZZo04LIqcJzceHlhOemUVWqZyGyrzNx2+WE+6bRZKZN9XxDq13w4UjEiY0Xe+RpmLNkbJdl1ScmU+cUEacWm9CY8QabULyFaXwQ9mvW2KTNte9hNVQElRg/X+/ZrbyGpjlItf/DUICuUSCELZjAAAAAElFTkSuQmCC"},a5ZB:function(t,e,s){t.exports=s.p+"static/img/shareGoodsBg5.78afeac.png"},rVE1:function(t,e){},uUCS:function(t,e){}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([12],{ZZBS: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),r={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,i=this.$route.query.shopId;Object(s.l)({page:1,limit:100},i).then(function(i){t.inviteList=i.list,console.log("inviteList",i.list)})}}},c={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")(r,c,!1,function(t){n("ZZBS"),n("hEd4")},"data-v-ad7cf3cc",null);i.default=l.exports},hEd4:function(t,i){},owV8:function(t,i,n){t.exports=n.p+"static/img/invite_list_title.7338e46.png"}});
\ No newline at end of file
webpackJsonp([12],{eZU3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("CCn6"),e=n("owV8"),a=n.n(e),r={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,i=this.$route.query.shopId;Object(s.l)({page:1,limit:100},i).then(function(i){t.inviteList=i.list,console.log("inviteList",i.list)})}}},c={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")(r,c,!1,function(t){n("u197"),n("iN/g")},"data-v-ad7cf3cc",null);i.default=l.exports},"iN/g":function(t,i){},owV8:function(t,i,n){t.exports=n.p+"static/img/invite_list_title.7338e46.png"},u197:function(t,i){}});
//# sourceMappingURL=12.312ac70f2edb38ac136f.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/buy/inviteList.vue","webpack:///./src/components/buy/inviteList.vue?b8b5","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","id","$route","query","shopId","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":"2IA0BAA,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,KAKAI,EAAAJ,KAAAK,OAAAC,MAAAC,OACMC,OAAAC,EAAA,EAAAD,EAJNE,KAAA,EACAC,MAAA,KAGAP,GAAAQ,KAAA,SAAAC,GACAV,EAAAd,WAAAwB,EAAAC,KACAC,QAAAC,IAAA,aAAAH,EAAAC,WCpDeG,GADEC,OAFjB,WAA0B,IAAAC,EAAAnB,KAAaoB,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,EAAA3B,mBAA2B2B,EAAAQ,GAAA,KAAAR,EAAAS,GAAA,GAAAT,EAAAQ,GAAA,KAAAL,EAAA,MAA6CE,YAAA,UAAqBL,EAAAU,GAAAV,EAAA,oBAAA5B,GAAwC,OAAA+B,EAAA,MAAAA,EAAA,OAA0BE,YAAA,yBAAmCF,EAAA,OAAYG,OAAOC,IAAAnC,EAAAuC,UAAmBX,EAAAQ,GAAA,KAAAL,EAAA,QAAAH,EAAAQ,GAAAR,EAAAY,GAAAxC,EAAAyC,eAAAb,EAAAQ,GAAA,KAAAL,EAAA,QAAkFE,YAAA,cAAwBL,EAAAQ,GAAAR,EAAAY,GAAAZ,EAAAc,GAAA,aAAAd,CAAA5B,EAAA2C,wBAEpiBC,iBADjB,WAAoC,IAAaf,EAAbpB,KAAaqB,eAA0BC,EAAvCtB,KAAuCuB,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,QAA9GtB,KAA8G2B,GAAA,UAA9G3B,KAA8G2B,GAAA,KAAAL,EAAA,QAA9GtB,KAA8G2B,GAAA,eCGlJ,IAcAS,EAdyBC,EAAQ,OAcjCC,CACEjD,EACA4B,GATF,EAXA,SAAAsB,GACEF,EAAQ,QACRA,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB,qDC3BhCK,EAAAC,QAAiBL,EAAAM,EAAuB","file":"static/js/12.312ac70f2edb38ac136f.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 let id=this.$route.query.shopId;\r\n getInviteListApi(json,id).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-ad7cf3cc\",\"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-ad7cf3cc\\\",\\\"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-ad7cf3cc\\\",\\\"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-ad7cf3cc\\\",\\\"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-ad7cf3cc\"\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 = 12"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/no.png","webpack:///src/components/noWechat.vue","webpack:///./src/components/noWechat.vue?9f54","webpack:///./src/components/noWechat.vue"],"names":["module","exports","__webpack_require__","p","noWechat","name","data","noUrl","no_default","a","components_noWechat","render","_h","this","$createElement","_c","_self","staticClass","attrs","src","_v","_m","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"0CAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,gKCmBxCC,GACAC,KAAA,WACAC,KAFA,WAGA,OACAC,MAAAC,EAAAC,KCpBeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,YAAA,kBAA4BF,EAAA,OAAYG,OAAOC,IAA/HN,KAA+HN,SAA/HM,KAAgJO,GAAA,KAAhJP,KAAgJQ,GAAA,MAEzJC,iBADjB,WAAoC,IAAaV,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,YAAA,eAAyBF,EAAA,OAAYE,YAAA,UAArHJ,KAAyIO,GAAA,6BAAzIP,KAAyIO,GAAA,oCAAAL,EAAA,MAAzIF,KAAyIO,GAAA,6BAAAL,EAAA,MAAzIF,KAAyIO,GAAA,6BCE7K,IAcAG,EAdyBrB,EAAQ,OAcjCsB,CACEpB,EACAM,GATF,EAVA,SAAAe,GACEvB,EAAQ,SAaV,kBAEA,MAUewB,EAAA,QAAAH,EAAiB","file":"static/js/13.00f18aad5b6fd69d0b5a.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/no.415cb0b.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/no.png\n// module id = 5iK7\n// module chunks = 13","<template>\n <div class=\"noWechat-page\">\n <img :src=\"noUrl\"/>\n <div class=\"text-block\">\n <div class=\"title\">\n 请在微信中打开链接\n </div>\n 您可以复制链接后,粘贴到微信任意对话框,\n <br>\n 或发送给微信中的任意好友,\n <br>\n 点击链接即可查看哦~\n </div>\n\n </div>\n</template>\n\n<script>\n import noUrl from '../assets/no.png'\n export default {\n name: \"noWechat\",\n data(){\n return {\n noUrl:noUrl\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../util/public\";\n .noWechat-page{\n img{\n width: 70%;\n }\n text-align: center;\n font-size: 18px;\n .text-block{\n .title{\n font-size: 30*@toVw;\n margin-bottom: 10*@toVw;\n }\n font-size: 14*@toVw;\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/noWechat.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"noWechat-page\"},[_c('img',{attrs:{\"src\":_vm.noUrl}}),_vm._v(\" \"),_vm._m(0)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-block\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n 请在微信中打开链接\\n \")]),_vm._v(\"\\n 您可以复制链接后,粘贴到微信任意对话框,\\n \"),_c('br'),_vm._v(\"\\n 或发送给微信中的任意好友,\\n \"),_c('br'),_vm._v(\"\\n 点击链接即可查看哦~\\n \")])}]\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-edde77d4\",\"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/noWechat.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-edde77d4\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./noWechat.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!./noWechat.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./noWechat.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-edde77d4\\\",\\\"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!./noWechat.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-edde77d4\"\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/noWechat.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([13],{"5iK7":function(t,n,e){t.exports=e.p+"static/img/no.415cb0b.png"},"7sZP":function(t,n){},nmbt:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s=e("5iK7"),i=e.n(s),a={name:"noWechat",data:function(){return{noUrl:i.a}}},r={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"noWechat-page"},[n("img",{attrs:{src:this.noUrl}}),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"text-block"},[n("div",{staticClass:"title"},[this._v("\n 请在微信中打开链接\n ")]),this._v("\n 您可以复制链接后,粘贴到微信任意对话框,\n "),n("br"),this._v("\n 或发送给微信中的任意好友,\n "),n("br"),this._v("\n 点击链接即可查看哦~\n ")])}]};var c=e("VU/8")(a,r,!1,function(t){e("7sZP")},"data-v-edde77d4",null);n.default=c.exports}});
//# sourceMappingURL=13.00f18aad5b6fd69d0b5a.js.map
\ No newline at end of file
webpackJsonp([13],{"5iK7":function(t,n,e){t.exports=e.p+"static/img/no.415cb0b.png"},"7dIm":function(t,n){},nmbt:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=e("5iK7"),s=e.n(i),a={name:"noWechat",data:function(){return{noUrl:s.a}}},r={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"noWechat-page"},[n("img",{attrs:{src:this.noUrl}}),this._v(" "),this._m(0)])},staticRenderFns:[function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"text-block"},[n("div",{staticClass:"title"},[this._v("\n 请在微信中打开链接\n ")]),this._v("\n 您可以复制链接后,粘贴到微信任意对话框,\n "),n("br"),this._v("\n 或发送给微信中的任意好友,\n "),n("br"),this._v("\n 点击链接即可查看哦~\n ")])}]};var c=e("VU/8")(a,r,!1,function(t){e("7dIm")},"data-v-fc3239e0",null);n.default=c.exports}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([17],{VDtf:function(t,e){},dthh:function(t,e,s){t.exports=s.p+"static/img/saleSuccess.6355462.png"},wSE2:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("dthh"),o=s.n(i),n=s("CCn6"),d={name:"saleSuccess",data:function(){return{invite_code:"",weChatUrl:o.a,orderNo:this.$route.query.out_trade_no,goods_id:"",user_goods_list:[]}},mounted:function(){this.initPage()},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"优惠券购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(n.q)(this.orderNo).then(function(e){t.goods_id=e.goods_id,t.invite_code="CC-"+e.invite_type+"-"+e.invite_id,Object(n.h)(t.goods_id).then(function(e){var s=JSON.parse(e.desc).use_goods_ids;Object(n.i)({goods_ids:s}).then(function(e){t.user_goods_list=[];for(var s=0;s<e.list.length;s++)e.list[s].desc=JSON.parse(e.list[s].desc),e.list[s].goods_desc=JSON.parse(e.list[s].goods_desc),e.list[s].share_desc=JSON.parse(e.list[s].share_desc),t.user_goods_list.push(e.list[s])})})})},goToBuy:function(t){this.$router.push({name:"buyDetail",query:{shopId:t.id,invite_code:this.$route.query.invite_code}})}}},c={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sale"},[e("div",{staticStyle:{height:"3.75vw"}}),this._v(" "),e("div",{staticClass:"banner"},[e("img",{attrs:{src:this.weChatUrl}})]),this._v(" "),e("div")])},staticRenderFns:[]};var r=s("VU/8")(d,c,!1,function(t){s("VDtf")},"data-v-4bb8d3cc",null);e.default=r.exports}});
//# sourceMappingURL=17.c1c8c33613b7e2f546c8.js.map
\ No newline at end of file
webpackJsonp([14],{dthh:function(t,e,s){t.exports=s.p+"static/img/saleSuccess.6355462.png"},q7Lw:function(t,e){},wSE2:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("dthh"),o=s.n(i),n=s("CCn6"),d={name:"saleSuccess",data:function(){return{invite_code:"",weChatUrl:o.a,orderNo:this.$route.query.out_trade_no,goods_id:"",user_goods_list:[]}},mounted:function(){this.initPage()},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"优惠券购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(n.q)(this.orderNo).then(function(e){t.goods_id=e.goods_id,t.invite_code="CC-"+e.invite_type+"-"+e.invite_id,Object(n.h)(t.goods_id).then(function(e){var s=JSON.parse(e.desc).use_goods_ids;Object(n.i)({goods_ids:s}).then(function(e){t.user_goods_list=[];for(var s=0;s<e.list.length;s++)e.list[s].desc=JSON.parse(e.list[s].desc),e.list[s].goods_desc=JSON.parse(e.list[s].goods_desc),e.list[s].share_desc=JSON.parse(e.list[s].share_desc),t.user_goods_list.push(e.list[s])})})})},goToBuy:function(t){this.$router.push({name:"buyDetail",query:{shopId:t.id,invite_code:this.$route.query.invite_code}})}}},a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"sale"},[e("div",{staticStyle:{height:"3.75vw"}}),this._v(" "),e("div",{staticClass:"banner"},[e("img",{attrs:{src:this.weChatUrl}})]),this._v(" "),e("div")])},staticRenderFns:[]};var r=s("VU/8")(d,a,!1,function(t){s("q7Lw")},"data-v-6aa509ff",null);e.default=r.exports}});
\ No newline at end of file
This diff is collapsed.
webpackJsonp([15],{VAx7:function(t,e,a){t.exports=a.p+"static/img/authorLoading.39aaada.png"},"az/n":function(t,e){},"sA+T":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("VAx7"),r=a.n(n),i={name:"author",data:function(){return{loadingUrl:r.a}},created:function(){this.$route.query&&this.$route.query.retUrl?localStorage.setItem("retUrl",this.$route.query.retUrl):localStorage.setItem("retUrl",""),this.$route.query&&this.$route.query.is_new_user_url?window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com":(localStorage.setItem("retUrl",""),window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1")},methods:{onPageReload:function(){this.$sa.track("buttonClick",{tabTitle:"授权",moduleTitle:"授权",buttonType:"重新授权",buttonName:"重新授权"}),window.location.reload()}}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"author"},[e("div",{staticClass:"img",style:{backgroundImage:"url("+this.loadingUrl+")"}}),this._v(" "),e("p",[this._v("正在加载中......")]),this._v(" "),e("p",{staticClass:"reload",attrs:{click:this.onPageReload}},[this._v("点击重新加载")])])},staticRenderFns:[]};var s=a("VU/8")(i,o,!1,function(t){a("az/n")},"data-v-3b3c0070",null);e.default=s.exports}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
{"version":3,"sources":["webpack:///./src/assets/shop/saleSuccess.png","webpack:///src/components/buy/saleSuccess.vue","webpack:///./src/components/buy/saleSuccess.vue?35ac","webpack:///./src/components/buy/saleSuccess.vue"],"names":["module","exports","__webpack_require__","p","buy_saleSuccess","name","data","invite_code","weChatUrl","saleSuccess_default","a","orderNo","this","$route","query","out_trade_no","goods_id","user_goods_list","mounted","initPage","methods","buttonClick","buttonName","$sa","track","tabTitle","moduleTitle","buttonType","_this","Object","api","then","res","invite_type","invite_id","user_goods_id","JSON","parse","desc","use_goods_ids","goods_ids","i","list","length","goods_desc","share_desc","push","goToBuy","$router","shopId","id","components_buy_saleSuccess","render","_h","$createElement","_c","_self","staticClass","staticStyle","height","_v","attrs","src","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"6DAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,8JCmCxCC,GACAC,KAAA,cACAC,KAFA,WAGA,OACAC,YAAA,GACAC,UAAAC,EAAAC,EACAC,QAAAC,KAAAC,OAAAC,MAAAC,aACAC,SAAA,GACAC,qBAGAC,QAXA,WAYAN,KAAAO,YAEAC,SACAC,YADA,SACAC,GACAV,KAAAW,IAAAC,MAAA,eACAC,SAAA,KACAC,YAAA,WACAC,WAAA,KACAL,gBAGAH,SATA,WASA,IAAAS,EAAAhB,KACMiB,OAAAC,EAAA,EAAAD,CAANjB,KAAAD,SAAAoB,KAAA,SAAAC,GACAJ,EAAAZ,SAAAgB,EAAAhB,SACAY,EAAArB,YAAA,MAAAyB,EAAAC,YAAA,IAAAD,EAAAE,UACQL,OAAAC,EAAA,EAAAD,CAARD,EAAAZ,UAAAe,KAAA,SAAAC,GACA,IAAAG,EAAAC,KAAAC,MAAAL,EAAAM,MAAAC,cACUV,OAAAC,EAAA,EAAAD,EAAVW,UAAAL,IAAAJ,KAAA,SAAAC,GACAJ,EAAAX,mBACA,QAAAwB,EAAA,EAAAA,EAAAT,EAAAU,KAAAC,OAAAF,IACAT,EAAAU,KAAAD,GAAAH,KAAAF,KAAAC,MAAAL,EAAAU,KAAAD,GAAAH,MACAN,EAAAU,KAAAD,GAAAG,WAAAR,KAAAC,MAAAL,EAAAU,KAAAD,GAAAG,YACAZ,EAAAU,KAAAD,GAAAI,WAAAT,KAAAC,MAAAL,EAAAU,KAAAD,GAAAI,YACAjB,EAAAX,gBAAA6B,KAAAd,EAAAU,KAAAD,WAMAM,QA3BA,SA2BAzC,GACAM,KAAAoC,QAAAF,MAAAzC,KAAA,YAAAS,OAAAmC,OAAA3C,EAAA4C,GAAA3C,YAAAK,KAAAC,OAAAC,MAAAP,kBC1Ee4C,GADEC,OAFjB,WAA0B,IAAaC,EAAbzC,KAAa0C,eAA0BC,EAAvC3C,KAAuC4C,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,SAAmBF,EAAA,OAAYG,aAAaC,OAAA,YAA5H/C,KAA+IgD,GAAA,KAAAL,EAAA,OAAwBE,YAAA,WAAqBF,EAAA,OAAYM,OAAOC,IAA/MlD,KAA+MJ,eAA/MI,KAAoOgD,GAAA,KAAAL,EAAA,UAE7OQ,oBCCjB,IAcAC,EAdyB9D,EAAQ,OAcjC+D,CACE7D,EACA+C,GATF,EAVA,SAAAe,GACEhE,EAAQ,SAaV,kBAEA,MAUeiE,EAAA,QAAAH,EAAiB","file":"static/js/17.c1c8c33613b7e2f546c8.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/saleSuccess.6355462.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/shop/saleSuccess.png\n// module id = dthh\n// module chunks = 17","<template>\n <div class=\"sale\">\n <div style=\"height: 3.75vw\"></div>\n <div class=\"banner\">\n <img :src=\"weChatUrl\">\n </div>\n\n <div>\n <!--<div class=\"shop-block\" v-for=\"data in user_goods_list\" @click=\"goToBuy(data);buttonClick('去购买')\">-->\n <!--<div class=\"shop\">-->\n <!--<div class=\"img-block\">-->\n <!--<img :src=\"data.goods_desc.img[0].url\">-->\n <!--</div>-->\n <!--<div>-->\n <!--<div class=\"title\">-->\n <!--{{data.name}}-->\n <!--</div>-->\n <!--<div class=\"content\">-->\n <!--{{data.goods_desc.desc}}-->\n <!--</div>-->\n <!--<div class=\"price\">-->\n <!--&gt;>立即购买<<-->\n <!--</div>-->\n <!--</div>-->\n <!--</div>-->\n <!--</div>-->\n </div>\n\n\n </div>\n</template>\n\n<script>\n import weChatUrl from '../../assets/shop/saleSuccess.png'\n import {getOrderDetailApi,getGoodsDetailApi,getGoodsListApi} from \"../../service/api\";\n export default {\n name: \"saleSuccess\",\n data(){\n return {\n invite_code:'',\n weChatUrl:weChatUrl,\n orderNo:this.$route.query.out_trade_no,\n goods_id:'',\n user_goods_list:[]\n }\n },\n mounted(){\n this.initPage()\n },\n methods:{\n buttonClick(buttonName){\n this.$sa.track('buttonClick',{\n tabTitle:'商品',\n moduleTitle:'优惠券购买成功页',\n buttonType:'功能',\n buttonName:buttonName\n });\n },\n initPage(){\n getOrderDetailApi(this.orderNo).then(res=>{\n this.goods_id = res.goods_id;\n this.invite_code = `CC-${res.invite_type}-${res.invite_id}`;\n getGoodsDetailApi(this.goods_id).then(res=>{\n let user_goods_id = JSON.parse(res.desc).use_goods_ids;\n getGoodsListApi({goods_ids:user_goods_id}).then(res=>{\n this.user_goods_list = [];\n for(let i = 0; i < res.list.length ; i ++){\n res.list[i].desc = JSON.parse(res.list[i].desc);\n res.list[i].goods_desc = JSON.parse(res.list[i].goods_desc);\n res.list[i].share_desc = JSON.parse(res.list[i].share_desc)\n this.user_goods_list.push(res.list[i])\n }\n });\n })\n })\n },\n goToBuy(data){\n this.$router.push({name:'buyDetail',query:{shopId:data.id,invite_code:this.$route.query.invite_code}})\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../../util/public\";\n .sale{\n background: #eeeeee;\n .shop-block{\n background: white;\n .shop{\n padding: 20/7.5vw;\n border-bottom: 1px solid #d8d8d8;\n position: relative;\n &:after{\n content:'';\n display: block;\n clear: both;\n }\n .img-block{\n float: left;\n margin-right: 20/7.5vw;\n img{\n width: 250/7.5vw;\n }\n min-height: 120px;\n }\n\n .title{\n font-size: 18px;\n overflow: hidden;\n text-overflow:ellipsis;\n white-space: nowrap;\n color: #333333;\n margin-bottom: 5/7.5vw;\n }\n .content{\n font-size: 12px;\n line-height: 1.4em;\n color: #CCCCCC;\n height: 4.2em;\n overflow: hidden;\n\n }\n .price{\n font-size: 18px;\n color: #FF001F;\n position: absolute;\n right: 20/7.5vw;\n bottom: 20/7.5vw;\n }\n }\n }\n .banner{\n margin: 0 0 10 * @toVw 0;\n background: white;\n padding: 10 * @toVw;\n img{\n width: 100%;\n }\n }\n }\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/buy/saleSuccess.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sale\"},[_c('div',{staticStyle:{\"height\":\"3.75vw\"}}),_vm._v(\" \"),_c('div',{staticClass:\"banner\"},[_c('img',{attrs:{\"src\":_vm.weChatUrl}})]),_vm._v(\" \"),_c('div')])}\nvar staticRenderFns = []\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-4bb8d3cc\",\"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/saleSuccess.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-4bb8d3cc\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./saleSuccess.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!./saleSuccess.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./saleSuccess.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4bb8d3cc\\\",\\\"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!./saleSuccess.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-4bb8d3cc\"\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/saleSuccess.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
webpackJsonp([18],{Unzd:function(t,e){},VAx7:function(t,e,a){t.exports=a.p+"static/img/authorLoading.39aaada.png"},"sA+T":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("VAx7"),r=a.n(n),i={name:"author",data:function(){return{loadingUrl:r.a}},created:function(){this.$route.query&&this.$route.query.retUrl?localStorage.setItem("retUrl",this.$route.query.retUrl):localStorage.setItem("retUrl",""),this.$route.query&&this.$route.query.is_new_user_url?window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com":(localStorage.setItem("retUrl",""),window.location.href="https://wechat.changchangenglish.com/api/client/login?redirect_url=https://wechat.changchangenglish.com&is_new_user_url=1")},methods:{onPageReload:function(){this.$sa.track("buttonClick",{tabTitle:"授权",moduleTitle:"授权",buttonType:"重新授权",buttonName:"重新授权"}),window.location.reload()}}},o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"author"},[e("div",{staticClass:"img",style:{backgroundImage:"url("+this.loadingUrl+")"}}),this._v(" "),e("p",[this._v("正在加载中......")]),this._v(" "),e("p",{staticClass:"reload",attrs:{click:this.onPageReload}},[this._v("点击重新加载")])])},staticRenderFns:[]};var s=a("VU/8")(i,o,!1,function(t){a("Unzd")},"data-v-3b3c0070",null);e.default=s.exports}});
//# sourceMappingURL=18.5218444a586660b5ea58.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/authorLoading.png","webpack:///src/components/author.vue","webpack:///./src/components/author.vue?33ec","webpack:///./src/components/author.vue"],"names":["module","exports","__webpack_require__","p","author","name","data","loadingUrl","authorLoading_default","a","created","this","$route","query","retUrl","localStorage","setItem","is_new_user_url","window","location","href","methods","onPageReload","$sa","track","tabTitle","moduleTitle","buttonType","buttonName","reload","components_author","render","_h","$createElement","_c","_self","staticClass","style","backgroundImage","_v","attrs","click","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"6DAAAA,EAAAC,QAAiBC,EAAAC,EAAuB,sJCUxCC,GACAC,KAAA,SACAC,KAFA,WAGA,OACAC,WAAAC,EAAAC,IAGAC,QAPA,WAQAC,KAAAC,OAAAC,OAAAF,KAAAC,OAAAC,MAAAC,OACAC,aAAAC,QAAA,SAAAL,KAAAC,OAAAC,MAAAC,QAEAC,aAAAC,QAAA,aAEAL,KAAAC,OAAAC,OAAAF,KAAAC,OAAAC,MAAAI,gBACAC,OAAAC,SAAAC,KAAA,2GAEAL,aAAAC,QAAA,aACAE,OAAAC,SAAAC,KAAA,8HAGAC,SACAC,aAAA,WACAX,KAAAY,IAAAC,MAAA,eACAC,SAAA,KACAC,YAAA,KACAC,WAAA,OACAC,WAAA,SAEAV,OAAAC,SAAAU,YCnCeC,GADEC,OAFjB,WAA0B,IAAaC,EAAbrB,KAAasB,eAA0BC,EAAvCvB,KAAuCwB,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,WAAqBF,EAAA,OAAYE,YAAA,MAAAC,OAA0BC,gBAAA,OAA3I3B,KAA2IJ,WAAA,OAA3II,KAA6L4B,GAAA,KAAAL,EAAA,KAA7LvB,KAA6L4B,GAAA,iBAA7L5B,KAA6L4B,GAAA,KAAAL,EAAA,KAAkEE,YAAA,SAAAI,OAA4BC,MAA3R9B,KAA2RW,gBAA3RX,KAAqT4B,GAAA,eAE9TG,oBCCjB,IAcAC,EAdyBzC,EAAQ,OAcjC0C,CACExC,EACA0B,GATF,EAVA,SAAAe,GACE3C,EAAQ,SAaV,kBAEA,MAUe4C,EAAA,QAAAH,EAAiB","file":"static/js/18.5218444a586660b5ea58.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/img/authorLoading.39aaada.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/authorLoading.png\n// module id = VAx7\n// module chunks = 18","<template>\r\n <div class=\"author\">\r\n <div class=\"img\" :style=\"{backgroundImage:`url(${loadingUrl})`}\"></div>\r\n <p>正在加载中......</p>\r\n <p class=\"reload\" :click=\"onPageReload\">点击重新加载</p>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import loadingUrl from '../assets/authorLoading.png'\r\nexport default {\r\n name: 'author',\r\n data () {\r\n return {\r\n loadingUrl: loadingUrl\r\n }\r\n },\r\n created () {\r\n if(this.$route.query && this.$route.query.retUrl){\r\n localStorage.setItem('retUrl',this.$route.query.retUrl);\r\n }else{\r\n localStorage.setItem('retUrl','');\r\n }\r\n if(this.$route.query && this.$route.query.is_new_user_url){\r\n window.location.href = `${process.env.AUTHOR_UEL}`\r\n }else{\r\n localStorage.setItem('retUrl','');\r\n window.location.href = `${process.env.AUTHOR_UEL}&is_new_user_url=1`\r\n }\r\n },\r\n methods: {\r\n onPageReload: function () {\r\n this.$sa.track('buttonClick',{\r\n tabTitle:'授权',\r\n moduleTitle:'授权',\r\n buttonType:'重新授权',\r\n buttonName:'重新授权'\r\n });\r\n window.location.reload()\r\n }\r\n }\r\n}\r\n</script>\r\n<style scoped lang=\"less\">\r\n .author {\r\n display: flex;\r\n flex-flow: column nowrap;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100vh;\r\n font-size: 1.8rem;\r\n &>.img {\r\n width: 50vw;\r\n height: 50vw;\r\n background-size: 100% 100%;\r\n }\r\n .reload {\r\n font-size: 1.2rem;\r\n color: #199be0;\r\n }\r\n }\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/author.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"author\"},[_c('div',{staticClass:\"img\",style:({backgroundImage:(\"url(\" + _vm.loadingUrl + \")\")})}),_vm._v(\" \"),_c('p',[_vm._v(\"正在加载中......\")]),_vm._v(\" \"),_c('p',{staticClass:\"reload\",attrs:{\"click\":_vm.onPageReload}},[_vm._v(\"点击重新加载\")])])}\nvar staticRenderFns = []\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-3b3c0070\",\"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/author.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-3b3c0070\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./author.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!./author.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./author.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3b3c0070\\\",\\\"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!./author.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-3b3c0070\"\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/author.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([20],{FoQz:function(t,e){},"H+th":function(t,e){},dAjm:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("CCn6"),n=i("hUWd"),a=i.n(n),o=i("SKwj"),r=i.n(o),c={name:"index",data:function(){return{iKnowUrl:a.a,goUrl:r.a,show:!1}},mounted:function(){var t=this;Object(s.k)({page_name:"index"}).then(function(e){0==e&&(t.show=!0)})}},l={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t.show?i("div",{staticClass:"guide",on:{click:function(e){t.show=!1}}},[i("img",{staticClass:"i-know",attrs:{src:t.iKnowUrl},on:{click:function(e){t.show=!1}}}),t._v(" "),i("img",{staticClass:"go",attrs:{src:t.goUrl}}),t._v(" "),t._m(0),t._v(" "),i("img",{staticClass:"banner",attrs:{src:"https://cdn.singsingenglish.com/new-sing/20181018/3dd8d55b0b6e9bf4fa1f96d500b69f6b2145640b1539836003313.jpeg"}})]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"tips"},[this._v("\n 已购课程,点击"),e("span",[this._v("开始上课!")])])}]};var d=i("VU/8")(c,l,!1,function(t){i("H+th")},"data-v-5784a464",null).exports,u=(i("v2ns"),i("7QTg")),h=i("Jmy5"),m=i("2oJL"),p=i("Au9i"),v={name:"index",components:{swiper:u.swiper,swiperSlide:u.swiperSlide,bottomTab:m.a,guidePage:d},data:function(){return{bannerList:[],teacherQ2:!1,teacherDetail:null,imgUrl:h.a,user_id:null,newUrl:"",swiperOption:{pagination:{el:".swiper-pagination"}},swiperOption2:{width:.95*window.innerWidth,on:{resize:function(){this.params.width=.95*window.innerWidth,this.update()}}},lessonList:[]}},methods:{showTeacher:function(){this.teacherQ2=!0,this.$sa.track("buttonClick",{tabTitle:"首页",moduleTitle:"功能按钮",buttonType:"板块按钮",buttonName:"我的老师"})},toOld:function(t){this.$sa.track("buttonClick",{tabTitle:"首页",moduleTitle:"功能按钮",buttonType:"板块按钮",buttonName:"晚安电台"}),window.location.href="https://appanqlfkth3717.h5.xiaoeknow.com/content_page/eyJ0eXBlIjozLCJyZXNvdXJjZV90eXBlIjoiIiwicmVzb3VyY2VfaWQiOiIiLCJwcm9kdWN0X2lkIjoicF81YjE0YjdjMjdjNDZiX2Rvd0xicDc1IiwiYXBwX2lkIjoiYXBwYU5RTGZrdEgzNzE3In0"},toBannerUrl:function(t){this.$sa.track("adClick",{adTitle:t.title,adID:t.link,adPage:"首页"}),window.location.href=t.link},toHear:function(){this.$sa.track("buttonClick",{tabTitle:"首页",moduleTitle:"功能按钮",buttonType:"板块按钮",buttonName:"磨耳朵"}),this.$router.push({name:"collection"})},toNewUrl:function(){this.$sa.track("buttonClick",{tabTitle:"首页",moduleTitle:"课程",buttonType:"没课banner",buttonName:"没有更多课程"}),window.location.href=this.newUrl},initPage:function(){var t=this;Object(s.t)().then(function(t){t&&""!==t&&null!==t&&(window.location.href=t)}),this.user_id=JSON.parse(localStorage.getItem("userDesc")).user_id,Object(s.e)().then(function(e){t.bannerList=e.list}),Object(s.p)().then(function(e){t.newUrl=e[0].desc}),Object(s.D)().then(function(e){var i="没有课程";if(e&&e.length>0){i="体验课";for(var s=0;s<e.length;s++)0===e[s].course_type&&(i="正式课");t.$sa.track("viewHomepage",{is_view_course:i})}t.lessonList=e}),Object(s.x)().then(function(e){e.id&&(t.teacherDetail=e,"hidden"!==localStorage.getItem("qrType")&&(localStorage.setItem("qrType","hidden"),window.innerWidth<window.innerHeight&&(t.teacherQ2=!0)))})},toGoodsList:function(){this.$sa.track("buttonClick",{tabTitle:"首页",moduleTitle:"课程",buttonType:"板块按钮",buttonName:"我的课程"}),this.$router.push({name:"myGoodsList"})},dateParse:function(t){var e=void 0;return e=t.indexOf("-")>-1?t.split("-"):t.indexOf("/")>-1?t.split("/"):t.split("."),new Date(e[0],e[1]-1,e[2])},dateCompare:function(t,e){var i=t.getTime(),s=e.getTime();return s>i?1:s==i?0:-1},toMap:function(t){this.$sa.track("buttonClick",{tabTitle:"首页",moduleTitle:"课程",buttonType:"课程",buttonName:"进入课程"}),this.dateCompare(new Date,this.dateParse(t.start_at))<1?this.$router.push({name:"map",query:{periods_id:t.periods_id,parent_category_id:t.parent_category_id,course_type:t.course_type}}):Object(p.Toast)("该课程暂未开始")}},mounted:function(){this.initPage()}},_={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"index"},[i("div",{staticClass:"banner-block"},[i("swiper",{ref:"mySwiper",staticClass:"banner",attrs:{options:t.swiperOption}},t._l(t.bannerList,function(e,s){return i("swiper-slide",{key:s},[i("img",{staticClass:"banner",attrs:{src:e.url+"?imageslim"},on:{click:function(i){t.toBannerUrl(e)}}})])}))],1),t._v(" "),i("div",{staticClass:"btn-block"},[i("div",{staticClass:"btn",on:{click:function(e){t.showTeacher()}}},[i("img",{attrs:{src:t.imgUrl.record}})]),t._v(" "),i("div",{staticClass:"btn",on:{click:function(e){t.toOld(e)}}},[i("img",{attrs:{src:t.imgUrl.oldChange}})]),t._v(" "),i("div",{staticClass:"btn",on:{click:t.toHear}},[i("img",{attrs:{src:t.imgUrl.listen}})]),t._v(" "),i("div",{staticClass:"btn"},[i("img",{attrs:{src:t.imgUrl.more}})])]),t._v(" "),i("div",{staticClass:"class-block"},[t.lessonList.length>0?i("div",{staticClass:"title",on:{click:function(e){t.toGoodsList()}}},[t._v("\n 我的课程\n "),i("img",{staticClass:"more",attrs:{src:t.imgUrl.indexMore}})]):t._e(),t._v(" "),t.lessonList.length<1?i("div",{staticClass:"title"},[t._v("\n 我的课程\n ")]):t._e(),t._v(" "),i("div",{staticClass:"lesson-block"},[i("swiper",{ref:"mySwiper2",attrs:{options:t.swiperOption2}},[t._l(t.lessonList,function(e,s){return i("swiper-slide",{key:s},[i("div",{staticClass:"goods-block",on:{click:function(i){t.toMap(e)}}},[e.start_at?i("span",{staticClass:"tips"},[t._v("\n 开课时间:"+t._s(e.start_at)+"\n ")]):t._e(),t._v(" "),i("img",{attrs:{src:e.imgLesson+"?imageslim"}})])])}),t._v(" "),i("swiper-slide",[i("div",{staticClass:"goods-block"},[i("img",{attrs:{src:t.imgUrl.noMore}})])])],2)],1)]),t._v(" "),i("mt-popup",{model:{value:t.teacherQ2,callback:function(e){t.teacherQ2=e},expression:"teacherQ2"}},[i("div",{staticClass:"teacher-block"},[i("div",{staticClass:"userNo"},[t._v("\n 学员号:"+t._s(t.user_id)+"\n ")]),t._v(" "),i("img",{staticClass:"teacher-bg",attrs:{src:t.imgUrl.teacherBg}}),t._v(" "),t.teacherDetail?i("img",{staticClass:"qr",attrs:{src:t.teacherDetail.qr}}):t._e(),t._v(" "),t.teacherDetail?t._e():i("img",{staticClass:"qr",attrs:{src:t.imgUrl.qr}}),t._v(" "),i("div",{staticClass:"content-text"},[t.teacherDetail?i("div",{staticClass:"title"},[t._v("\n 请长按识别图中二维码添加老师\n ")]):t._e(),t._v(" "),t.teacherDetail?t._e():i("div",{staticClass:"title"},[t._v("\n 请长按识别图中二维码关注公众号\n ")]),t._v("\n 以便我们能及时为您提供更好的学习体验\n ")]),t._v(" "),i("div",{staticClass:"closeBtn",on:{click:function(e){t.teacherQ2=!1}}})])]),t._v(" "),i("bottom-tab"),t._v(" "),i("guide-page")],1)},staticRenderFns:[]};var b=i("VU/8")(v,_,!1,function(t){i("FoQz")},"data-v-19b2b810",null);e.default=b.exports}});
//# sourceMappingURL=20.0320c489f5f7b74eee03.js.map
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([21],{Eg0l:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var u=t("Jmy5"),a={name:"share",data:function(){return{imgUrl:u.c,num:0,pNum:0,watchLog:null,user:null}},mounted:function(){this.initPage()},methods:{}},r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var i=t("VU/8")(a,r,!1,function(e){t("OALs")},"data-v-a5feea20",null);n.default=i.exports},OALs:function(e,n){}});
//# sourceMappingURL=21.2bf5d8594f2219a9822a.js.map
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
webpackJsonp([22],{"6lt9":function(e,t){},Eg0l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=n("Jmy5"),a={name:"share",data:function(){return{imgUrl:u.c,num:0,pNum:0,watchLog:null,user:null}},mounted:function(){this.initPage()},methods:{}},r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var i=n("VU/8")(a,r,!1,function(e){n("6lt9")},"data-v-a5feea20",null);t.default=i.exports}});
\ No newline at end of file
webpackJsonp([22],{o6L1:function(t,e){},w9eS:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=s("Jmy5"),i=s("CCn6"),n={name:"buySuccess",data:function(){return{img:o.d,orderNo:this.$route.query.out_trade_no,goods_id:0,money:0,invite_code:"",goodsDetail:null}},mounted:function(){this.initPage(),document.title="购买成功!"},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(i.q)(this.orderNo).then(function(e){t.goods_id=e.goods_id,t.invite_code="CC-"+e.invite_type+"-"+e.invite_id,t.money=e.money,Object(i.h)(t.goods_id).then(function(e){e.desc=JSON.parse(e.desc),e.goods_desc=JSON.parse(e.goods_desc),e.share_desc=JSON.parse(e.share_desc),t.goodsDetail=e})})},goIndex:function(){this.$router.push({name:"index"})}}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"buy-success"},[s("div",{staticClass:"banner"},[s("img",{attrs:{src:t.img.weChat}})]),t._v(" "),s("div",[t.goodsDetail?s("div",{staticClass:"shop-block"},[s("div",{staticClass:"shop"},[s("div",{staticClass:"img-block"},[s("img",{attrs:{src:t.goodsDetail.goods_desc.img[0].url}})]),t._v(" "),s("div",[s("div",{staticClass:"title"},[t._v("\n "+t._s(t.goodsDetail.name)+"\n ")]),t._v(" "),s("div",{staticClass:"content"},[t._v("\n "+t._s(t.goodsDetail.goods_desc.desc)+"\n ")]),t._v(" "),s("div",{staticClass:"price"},[t._v("\n 价格 ¥"+t._s(t.money/100)+"\n ")])])])]):t._e()]),t._v(" "),t.goodsDetail&&5!==t.goodsDetail.goods_type?s("div",{staticClass:"button-block"},[s("mt-button",{attrs:{type:"danger",size:"large"},on:{click:function(e){t.goIndex(),t.buttonClick("进入课程")}}},[t._v("进入课程")])],1):t._e()])},staticRenderFns:[]};var a=s("VU/8")(n,d,!1,function(t){s("o6L1")},"data-v-a47a6d52",null);e.default=a.exports}});
//# sourceMappingURL=22.1672c0d28150ad47518e.js.map
\ No newline at end of file
webpackJsonp([23],{DMX6:function(t,e){},w9eS:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("Jmy5"),o=s("CCn6"),n={name:"buySuccess",data:function(){return{img:i.d,orderNo:this.$route.query.out_trade_no,goods_id:0,money:0,invite_code:"",goodsDetail:null}},mounted:function(){this.initPage(),document.title="购买成功!"},methods:{buttonClick:function(t){this.$sa.track("buttonClick",{tabTitle:"商品",moduleTitle:"购买成功页",buttonType:"功能",buttonName:t})},initPage:function(){var t=this;Object(o.q)(this.orderNo).then(function(e){t.goods_id=e.goods_id,t.invite_code="CC-"+e.invite_type+"-"+e.invite_id,t.money=e.money,Object(o.h)(t.goods_id).then(function(e){e.desc=JSON.parse(e.desc),e.goods_desc=JSON.parse(e.goods_desc),e.share_desc=JSON.parse(e.share_desc),t.goodsDetail=e})})},goIndex:function(){this.$router.push({name:"index"})}}},d={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"buy-success"},[s("div",{staticClass:"banner"},[s("img",{attrs:{src:t.img.weChat}})]),t._v(" "),s("div",[t.goodsDetail?s("div",{staticClass:"shop-block"},[s("div",{staticClass:"shop"},[s("div",{staticClass:"img-block"},[s("img",{attrs:{src:t.goodsDetail.goods_desc.img[0].url}})]),t._v(" "),s("div",[s("div",{staticClass:"title"},[t._v("\n "+t._s(t.goodsDetail.name)+"\n ")]),t._v(" "),s("div",{staticClass:"content"},[t._v("\n "+t._s(t.goodsDetail.goods_desc.desc)+"\n ")]),t._v(" "),s("div",{staticClass:"price"},[t._v("\n 价格 ¥"+t._s(t.money/100)+"\n ")])])])]):t._e()]),t._v(" "),t.goodsDetail&&5!==t.goodsDetail.goods_type?s("div",{staticClass:"button-block"},[s("mt-button",{attrs:{type:"danger",size:"large"},on:{click:function(e){t.goIndex(),t.buttonClick("进入课程")}}},[t._v("进入课程")])],1):t._e()])},staticRenderFns:[]};var a=s("VU/8")(n,d,!1,function(t){s("DMX6")},"data-v-a47a6d52",null);e.default=a.exports}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([25],{Zazt:function(r,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("3xxH"),a=e.n(n),s={name:"error",data:function(){return{errorImageUrl:a.a}}},i={render:function(){var r=this,t=r.$createElement,e=r._self._c||t;return e("div",{staticClass:"error-page"},[e("img",{attrs:{src:r.errorImageUrl}}),r._v(" "),e("div",{staticClass:"error-text"},[r._v("\n 404! 很抱歉,页面未找到\n "),e("br"),r._v(" "),e("div",{staticClass:"button",on:{click:function(t){r.$router.push({name:"index"})}}},[r._v("返回首页")])])])},staticRenderFns:[]};var c=e("VU/8")(s,i,!1,function(r){e("tmVI")},"data-v-6aa0b395",null);t.default=c.exports},tmVI:function(r,t){}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -6,7 +6,6 @@
"private": true,
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"test": "webpack-dev-server --inline --progress --config build/webpack.test.conf.js",
"start": "npm run dev",
"build": "node build/build.js",
"build-test": "node build/build-test.js"
......
This diff is collapsed.
This diff is collapsed.
......@@ -51,7 +51,6 @@
});
localStorage.clear();
Toast('清除成功')
}
}
}
......
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