Commit b8443206 authored by wangwei's avatar wangwei

打包

parent 5dd7b1ff
<!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><link href=/static/css/app.65cf4371b0fc507d2ca9619a897ddbd1.css rel=stylesheet></head><body><div id=app></div><script src=http://res.wx.qq.com/open/js/jweixin-1.2.0.js></script><script src=https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.0.0/vconsole.min.js></script><script>var vConsole = new VConsole();</script><script type=text/javascript src=/static/js/manifest.af66b4c43d4dd4667c47.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.d7d1d74b6da16a702c4f.js></script></body></html>0 <!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><link href=/static/css/app.91255b9bb939dc6aca76d31102c88780.css rel=stylesheet></head><body><div id=app></div><script src=http://res.wx.qq.com/open/js/jweixin-1.2.0.js></script><script src=https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.0.0/vconsole.min.js></script><script>var vConsole = new VConsole();</script><script type=text/javascript src=/static/js/manifest.ac3a18ec3f9a96c259f7.js></script><script type=text/javascript src=/static/js/vendor.99018cd37e001230df67.js></script><script type=text/javascript src=/static/js/app.e09fbce75dcfea257ec2.js></script></body></html>0
\ No newline at end of file \ 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 diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([6],{"U/b5":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("2oJL"),s=i("Jmy5"),n=i("CCn6"),r={name:"mine",components:{bottomTab:a.a},data:function(){return{image:s.d,userDetail:{}}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(n.j)().then(function(e){t.userDetail=e})}}},o={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mine"},[i("div",{staticClass:"head",style:{backgroundImage:"url("+t.image.head_bg+")"}},[i("img",{staticClass:"header-icon",attrs:{src:t.userDetail.avatar}}),t._v(" "),i("p",{staticClass:"name"},[t._v(t._s(t.userDetail.nickname))]),t._v(" "),i("p",{staticClass:"id"},[t._v("ID:"+t._s(t.userDetail.user_id))])]),t._v(" "),i("div",{staticClass:"list"},[i("mt-cell",{attrs:{title:"订单",to:"/order","is-link":""}},[i("img",{attrs:{slot:"icon",src:t.image.order,width:"24",height:"24"},slot:"icon"})]),t._v(" "),i("mt-cell",{attrs:{title:"Q&A",to:"//github.com","is-link":""}},[i("img",{attrs:{slot:"icon",src:t.image.qa,width:"24",height:"24"},slot:"icon"})])],1),t._v(" "),i("bottom-tab")],1)},staticRenderFns:[]};var c=i("VU/8")(r,o,!1,function(t){i("eM6A")},"data-v-7678b790",null);e.default=c.exports},eM6A:function(t,e){}});
//# sourceMappingURL=6.e552f7b95b3c64c7b891.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/mine.vue","webpack:///./src/components/mine.vue?a623","webpack:///./src/components/mine.vue"],"names":["mine","name","components","bottomTab","data","image","imgUrl","userDetail","mounted","this","initPage","methods","_this","Object","api","then","res","components_mine","render","_vm","_h","$createElement","_c","_self","staticClass","style","backgroundImage","attrs","src","avatar","_v","_s","nickname","user_id","title","to","is-link","slot","order","width","height","qa","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"+IAwBAA,GACAC,KAAA,OACAC,YACAC,YAAA,GAEAC,KALA,WAMA,OACAC,MAAAC,EAAA,EACAC,gBAGAC,QAXA,WAYAC,KAAAC,YAEAC,SACAD,SADA,WACA,IAAAE,EAAAH,KACMI,OAAAC,EAAA,EAAAD,GAANE,KAAA,SAAAC,GACAJ,EAAAL,WAAAS,OCtCeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAV,KAAaW,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,SAAmBF,EAAA,OAAYE,YAAA,OAAAC,OAA2BC,gBAAA,OAAAP,EAAAd,MAAA,eAAuDiB,EAAA,OAAYE,YAAA,cAAAG,OAAiCC,IAAAT,EAAAZ,WAAAsB,UAA6BV,EAAAW,GAAA,KAAAR,EAAA,KAAsBE,YAAA,SAAmBL,EAAAW,GAAAX,EAAAY,GAAAZ,EAAAZ,WAAAyB,aAAAb,EAAAW,GAAA,KAAAR,EAAA,KAAgEE,YAAA,OAAiBL,EAAAW,GAAA,MAAAX,EAAAY,GAAAZ,EAAAZ,WAAA0B,cAAAd,EAAAW,GAAA,KAAAR,EAAA,OAAyEE,YAAA,SAAmBF,EAAA,WAAgBK,OAAOO,MAAA,KAAAC,GAAA,SAAAC,UAAA,MAAyCd,EAAA,OAAYK,OAAOU,KAAA,OAAAT,IAAAT,EAAAd,MAAAiC,MAAAC,MAAA,KAAAC,OAAA,MAA+DH,KAAA,WAAalB,EAAAW,GAAA,KAAAR,EAAA,WAA8BK,OAAOO,MAAA,MAAAC,GAAA,eAAAC,UAAA,MAAgDd,EAAA,OAAYK,OAAOU,KAAA,OAAAT,IAAAT,EAAAd,MAAAoC,GAAAF,MAAA,KAAAC,OAAA,MAA4DH,KAAA,YAAa,GAAAlB,EAAAW,GAAA,KAAAR,EAAA,mBAE1zBoB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACE7C,EACAiB,GATF,EAVA,SAAA6B,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/6.e552f7b95b3c64c7b891.js","sourcesContent":["<template>\n <div class=\"mine\">\n <div class=\"head\" :style=\"{backgroundImage:`url(${image.head_bg})`}\">\n <img class=\"header-icon\" :src=\"userDetail.avatar\">\n <p class=\"name\">{{userDetail.nickname}}</p>\n <p class=\"id\">ID:{{userDetail.user_id}}</p>\n </div>\n <div class=\"list\">\n <mt-cell title=\"订单\" to=\"/order\" is-link>\n <img slot=\"icon\" :src=\"image.order\" width=\"24\" height=\"24\">\n </mt-cell>\n <mt-cell title=\"Q&A\" to=\"//github.com\" is-link>\n <img slot=\"icon\" :src=\"image.qa\" width=\"24\" height=\"24\">\n </mt-cell>\n </div>\n <bottom-tab/>\n </div>\n</template>\n\n<script>\n import bottomTab from './public/bottomTab';\n import {mineImage} from \"../util/imgUrl\";\n import {getUserDetailApi} from \"../service/api\";\n\n export default {\n name: \"mine\",\n components:{\n bottomTab\n },\n data(){\n return {\n image:mineImage,\n userDetail:{}\n }\n },\n mounted(){\n this.initPage()\n },\n methods:{\n initPage(){\n getUserDetailApi().then(res=>{\n this.userDetail = res\n })\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../util/public\";\n .mine{\n height: 100%;\n background: #EEEEEE;\n overflow: auto;\n .head{\n width: 375 * @toVw;\n height: 160 * @toVw ;\n background-size: 100% 100%;\n color: white;\n text-align: center;\n .header-icon{\n margin-top: 18 * @toVw;\n margin-bottom: 14 * @toVw;\n width: 72 * @toVw;\n height: 72 * @toVw;\n border-radius: 10000px;\n }\n .name{\n font-size:14* @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(255,255,255,1);\n line-height:20* @toVw;\n }\n .id{\n font-size:12* @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(255,255,255,1);\n line-height:17* @toVw;\n }\n }\n .list{\n margin-top: 12*@toVw;\n .mt-cell{\n height: 40 * @toVw;\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/mine.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mine\"},[_c('div',{staticClass:\"head\",style:({backgroundImage:(\"url(\" + (_vm.image.head_bg) + \")\")})},[_c('img',{staticClass:\"header-icon\",attrs:{\"src\":_vm.userDetail.avatar}}),_vm._v(\" \"),_c('p',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.userDetail.nickname))]),_vm._v(\" \"),_c('p',{staticClass:\"id\"},[_vm._v(\"ID:\"+_vm._s(_vm.userDetail.user_id))])]),_vm._v(\" \"),_c('div',{staticClass:\"list\"},[_c('mt-cell',{attrs:{\"title\":\"订单\",\"to\":\"/order\",\"is-link\":\"\"}},[_c('img',{attrs:{\"slot\":\"icon\",\"src\":_vm.image.order,\"width\":\"24\",\"height\":\"24\"},slot:\"icon\"})]),_vm._v(\" \"),_c('mt-cell',{attrs:{\"title\":\"Q&A\",\"to\":\"//github.com\",\"is-link\":\"\"}},[_c('img',{attrs:{\"slot\":\"icon\",\"src\":_vm.image.qa,\"width\":\"24\",\"height\":\"24\"},slot:\"icon\"})])],1),_vm._v(\" \"),_c('bottom-tab')],1)}\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-7678b790\",\"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/mine.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-7678b790\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./mine.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!./mine.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./mine.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7678b790\\\",\\\"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!./mine.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-7678b790\"\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/mine.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([7],{"6l3c":function(t,e){},"U/b5":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("2oJL"),s=a("Jmy5"),n=a("CCn6"),c=a("Au9i"),r={name:"mine",components:{bottomTab:i.a},data:function(){return{image:s.d,userDetail:{}}},mounted:function(){this.initPage()},methods:{initPage:function(){var t=this;Object(n.j)().then(function(e){t.userDetail=e})},clearBoth:function(){localStorage.clear(),Object(c.Toast)("清除成功")}}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mine"},[a("div",{staticClass:"head",style:{backgroundImage:"url("+t.image.head_bg+")"}},[a("img",{staticClass:"header-icon",attrs:{src:t.userDetail.avatar}}),t._v(" "),a("div",{staticClass:"ref-block",on:{click:function(e){t.clearBoth()}}},[a("img",{attrs:{src:t.image.ref}})]),t._v(" "),a("p",{staticClass:"name"},[t._v(t._s(t.userDetail.nickname))]),t._v(" "),a("p",{staticClass:"id"},[t._v("ID:"+t._s(t.userDetail.user_id))])]),t._v(" "),a("div",{staticClass:"list"},[a("mt-cell",{attrs:{title:"订单",to:"/order","is-link":""}},[a("img",{attrs:{slot:"icon",src:t.image.order,width:"24",height:"24"},slot:"icon"})])],1),t._v(" "),a("bottom-tab")],1)},staticRenderFns:[]};var l=a("VU/8")(r,o,!1,function(t){a("6l3c")},"data-v-55172ade",null);e.default=l.exports}});
//# sourceMappingURL=7.d5fc688cbfa8016ab491.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/components/mine.vue","webpack:///./src/components/mine.vue?449d","webpack:///./src/components/mine.vue"],"names":["mine","name","components","bottomTab","data","image","imgUrl","userDetail","mounted","this","initPage","methods","_this","Object","api","then","res","clearBoth","localStorage","clear","mint_ui_common","components_mine","render","_vm","_h","$createElement","_c","_self","staticClass","style","backgroundImage","attrs","src","avatar","_v","on","click","$event","ref","_s","nickname","user_id","title","to","is-link","slot","order","width","height","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"kLA2BAA,GACAC,KAAA,OACAC,YACAC,YAAA,GAEAC,KALA,WAMA,OACAC,MAAAC,EAAA,EACAC,gBAGAC,QAXA,WAYAC,KAAAC,YAEAC,SACAD,SADA,WACA,IAAAE,EAAAH,KACMI,OAAAC,EAAA,EAAAD,GAANE,KAAA,SAAAC,GACAJ,EAAAL,WAAAS,KAGAC,UANA,WAOAC,aAAAC,QACMN,OAAAO,EAAA,MAAAP,CAAN,WC9CeQ,GADEC,OAFjB,WAA0B,IAAAC,EAAAd,KAAae,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,SAAmBF,EAAA,OAAYE,YAAA,OAAAC,OAA2BC,gBAAA,OAAAP,EAAAlB,MAAA,eAAuDqB,EAAA,OAAYE,YAAA,cAAAG,OAAiCC,IAAAT,EAAAhB,WAAA0B,UAA6BV,EAAAW,GAAA,KAAAR,EAAA,OAAwBE,YAAA,YAAAO,IAA4BC,MAAA,SAAAC,GAAyBd,EAAAN,gBAAkBS,EAAA,OAAYK,OAAOC,IAAAT,EAAAlB,MAAAiC,SAAqBf,EAAAW,GAAA,KAAAR,EAAA,KAAwBE,YAAA,SAAmBL,EAAAW,GAAAX,EAAAgB,GAAAhB,EAAAhB,WAAAiC,aAAAjB,EAAAW,GAAA,KAAAR,EAAA,KAAgEE,YAAA,OAAiBL,EAAAW,GAAA,MAAAX,EAAAgB,GAAAhB,EAAAhB,WAAAkC,cAAAlB,EAAAW,GAAA,KAAAR,EAAA,OAAyEE,YAAA,SAAmBF,EAAA,WAAgBK,OAAOW,MAAA,KAAAC,GAAA,SAAAC,UAAA,MAAyClB,EAAA,OAAYK,OAAOc,KAAA,OAAAb,IAAAT,EAAAlB,MAAAyC,MAAAC,MAAA,KAAAC,OAAA,MAA+DH,KAAA,YAAa,GAAAtB,EAAAW,GAAA,KAAAR,EAAA,mBAElxBuB,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEpD,EACAqB,GATF,EAVA,SAAAgC,GACEF,EAAQ,SAaV,kBAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/7.d5fc688cbfa8016ab491.js","sourcesContent":["<template>\n <div class=\"mine\">\n <div class=\"head\" :style=\"{backgroundImage:`url(${image.head_bg})`}\">\n <img class=\"header-icon\" :src=\"userDetail.avatar\">\n <div class=\"ref-block\" @click=\"clearBoth()\">\n <img :src=\"image.ref\"/>\n </div>\n <p class=\"name\">{{userDetail.nickname}}</p>\n <p class=\"id\">ID:{{userDetail.user_id}}</p>\n </div>\n <div class=\"list\">\n <mt-cell title=\"订单\" to=\"/order\" is-link>\n <img slot=\"icon\" :src=\"image.order\" width=\"24\" height=\"24\">\n </mt-cell>\n <!--<mt-cell title=\"Q&A\" to=\"//github.com\" is-link>-->\n <!--<img slot=\"icon\" :src=\"image.qa\" width=\"24\" height=\"24\">-->\n <!--</mt-cell>-->\n </div>\n <bottom-tab/>\n </div>\n</template>\n\n<script>\n import bottomTab from './public/bottomTab';\n import {mineImage} from \"../util/imgUrl\";\n import {getUserDetailApi} from \"../service/api\";\n import { Toast } from 'mint-ui';\n export default {\n name: \"mine\",\n components:{\n bottomTab\n },\n data(){\n return {\n image:mineImage,\n userDetail:{}\n }\n },\n mounted(){\n this.initPage()\n },\n methods:{\n initPage(){\n getUserDetailApi().then(res=>{\n this.userDetail = res\n })\n },\n clearBoth(){\n localStorage.clear();\n Toast('清除成功')\n\n }\n }\n }\n</script>\n\n<style scoped lang=\"less\">\n @import \"../util/public\";\n .mine{\n height: 100%;\n background: #EEEEEE;\n overflow: auto;\n .head{\n .ref-block{\n width: 25 * @toVw;\n height: 25 * @toVw;\n position: absolute;\n right: 20 * @toVw;\n top: 20 * @toVw;\n img{\n width: 100%;\n }\n }\n width: 375 * @toVw;\n height: 160 * @toVw ;\n background-size: 100% 100%;\n color: white;\n text-align: center;\n .header-icon{\n margin-top: 18 * @toVw;\n margin-bottom: 14 * @toVw;\n width: 72 * @toVw;\n height: 72 * @toVw;\n border-radius: 10000px;\n }\n .name{\n font-size:14* @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(255,255,255,1);\n line-height:20* @toVw;\n }\n .id{\n font-size:12* @toVw;\n font-family:PingFang-SC-Medium;\n font-weight:normal;\n color:rgba(255,255,255,1);\n line-height:17* @toVw;\n }\n }\n .list{\n margin-top: 12*@toVw;\n .mt-cell{\n height: 40 * @toVw;\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/mine.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mine\"},[_c('div',{staticClass:\"head\",style:({backgroundImage:(\"url(\" + (_vm.image.head_bg) + \")\")})},[_c('img',{staticClass:\"header-icon\",attrs:{\"src\":_vm.userDetail.avatar}}),_vm._v(\" \"),_c('div',{staticClass:\"ref-block\",on:{\"click\":function($event){_vm.clearBoth()}}},[_c('img',{attrs:{\"src\":_vm.image.ref}})]),_vm._v(\" \"),_c('p',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.userDetail.nickname))]),_vm._v(\" \"),_c('p',{staticClass:\"id\"},[_vm._v(\"ID:\"+_vm._s(_vm.userDetail.user_id))])]),_vm._v(\" \"),_c('div',{staticClass:\"list\"},[_c('mt-cell',{attrs:{\"title\":\"订单\",\"to\":\"/order\",\"is-link\":\"\"}},[_c('img',{attrs:{\"slot\":\"icon\",\"src\":_vm.image.order,\"width\":\"24\",\"height\":\"24\"},slot:\"icon\"})])],1),_vm._v(\" \"),_c('bottom-tab')],1)}\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-55172ade\",\"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/mine.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-55172ade\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./mine.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!./mine.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./mine.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-55172ade\\\",\\\"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!./mine.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-55172ade\"\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/mine.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([13],{IcnI:function(e,t,n){"use strict";var a=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"}});a.default.use(o.a);t.a=new o.a.Store({state:{token:"",transitionName:"slide-left"},mutations:i,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)}}})},JEsc:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("7+uW"),o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:this.$store.state.transitionName}},[t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App"},o,!1,function(e){n("JEsc")},null,null).exports,r=n("YaEn"),c=n("IcnI"),l=n("Au9i"),s=n.n(l);n("d8/S");a.default.config.productionTip=!1,a.default.use(s.a),new a.default({el:"#app",router:r.a,store:c.a,components:{App:i},template:"<App/>"})},YaEn:function(e,t,n){"use strict";var a=n("7+uW"),o=n("IcnI"),i=function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),a=0;a<n.length;a++)t[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);return t},r=n("/ocq");a.default.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([n.e(0),n.e(3)]).then(function(){var t=[n("dAjm")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/myGoodsList",name:"myGoodsList",component:function(e){return Promise.all([n.e(0),n.e(10)]).then(function(){var t=[n("P3Wy")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(e){return Promise.all([n.e(0),n.e(6)]).then(function(){var t=[n("U/b5")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(e){return Promise.all([n.e(0),n.e(11)]).then(function(){var t=[n("R7Pr")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(e){return n.e(5).then(function(){var t=[n("sA+T")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:100}},{path:"/buyDetail",name:"buyDetail",component:function(e){return Promise.all([n.e(0),n.e(1)]).then(function(){var t=[n("bNYG")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,deep:10}},{path:"/buy",name:"buy",component:function(e){return Promise.all([n.e(0),n.e(4)]).then(function(){var t=[n("Y1ei")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:11}},{path:"/success",name:"success",component:function(e){return Promise.all([n.e(0),n.e(2)]).then(function(){var t=[n("IF8E")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(e){return Promise.all([n.e(0),n.e(9)]).then(function(){var t=[n("w9eS")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/map",name:"map",component:function(e){return Promise.all([n.e(0),n.e(7)]).then(function(){var t=[n("LM1A")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/lesson",name:"lesson",component:function(e){return Promise.all([n.e(0),n.e(8)]).then(function(){var t=[n("v9XT")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:4}}]});c.beforeEach(function(e,t,n){e.meta.deep<t.meta.deep?o.a.commit("transitionBack"):o.a.commit("transitionGo");var a=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if("author"===e.name)n();else if(window.location.href.indexOf("token")>-1){var r=i().token;o.a.dispatch("setToken",r),a()}else localStorage.getItem("cc_token")?(o.a.dispatch("setToken",localStorage.getItem("cc_token")),a()):e.meta.skip_login?a():n({name:"author",query:{retUrl:e.fullPath}})});t.a=c},"d8/S":function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]); webpackJsonp([13],{IcnI:function(e,t,n){"use strict";var a=n("7+uW"),o=n("NYxO"),i=(n("zSLJ"),{setToken:function(e,t){e.token=t,localStorage.setItem("cc_token",t)},transitionGo:function(e){e.transitionName="slide-left"},transitionBack:function(e){e.transitionName="slide-right"}});a.default.use(o.a);t.a=new o.a.Store({state:{token:"",transitionName:"slide-left"},mutations:i,actions:{setToken:function(e,t){(0,e.commit)("setToken",t)}}})},JEsc:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("7+uW"),o={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:this.$store.state.transitionName}},[t("router-view",{staticClass:"child-view"})],1)],1)},staticRenderFns:[]};var i=n("VU/8")({name:"App"},o,!1,function(e){n("JEsc")},null,null).exports,r=n("YaEn"),c=n("IcnI"),l=n("Au9i"),s=n.n(l);n("d8/S");a.default.config.productionTip=!1,a.default.use(s.a),new a.default({el:"#app",router:r.a,store:c.a,components:{App:i},template:"<App/>"})},YaEn:function(e,t,n){"use strict";var a=n("7+uW"),o=n("IcnI"),i=function(){var e=location.search,t=new Object;if(-1!=e.indexOf("?"))for(var n=e.substr(1).split("&"),a=0;a<n.length;a++)t[n[a].split("=")[0]]=unescape(n[a].split("=")[1]);return t},r=n("/ocq");a.default.use(r.a);var c=new r.a({routes:[{path:"/",name:"index",component:function(e){return Promise.all([n.e(0),n.e(3)]).then(function(){var t=[n("dAjm")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:0}},{path:"/myGoodsList",name:"myGoodsList",component:function(e){return Promise.all([n.e(0),n.e(10)]).then(function(){var t=[n("P3Wy")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/mine",name:"mine",component:function(e){return Promise.all([n.e(0),n.e(7)]).then(function(){var t=[n("U/b5")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:1}},{path:"/order",name:"order",component:function(e){return Promise.all([n.e(0),n.e(11)]).then(function(){var t=[n("R7Pr")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:2}},{path:"/author",name:"author",component:function(e){return n.e(5).then(function(){var t=[n("sA+T")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:100}},{path:"/buyDetail",name:"buyDetail",component:function(e){return Promise.all([n.e(0),n.e(1)]).then(function(){var t=[n("bNYG")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{skip_login:!0,deep:10}},{path:"/buy",name:"buy",component:function(e){return Promise.all([n.e(0),n.e(4)]).then(function(){var t=[n("Y1ei")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:11}},{path:"/success",name:"success",component:function(e){return Promise.all([n.e(0),n.e(2)]).then(function(){var t=[n("IF8E")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/buySuccess",name:"buySuccess",component:function(e){return Promise.all([n.e(0),n.e(9)]).then(function(){var t=[n("w9eS")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:12}},{path:"/map",name:"map",component:function(e){return Promise.all([n.e(0),n.e(6)]).then(function(){var t=[n("LM1A")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:3}},{path:"/lesson",name:"lesson",component:function(e){return Promise.all([n.e(0),n.e(8)]).then(function(){var t=[n("v9XT")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{deep:4}}]});c.beforeEach(function(e,t,n){e.meta.deep<t.meta.deep?o.a.commit("transitionBack"):o.a.commit("transitionGo");var a=function(){if(localStorage.getItem("retUrl")&&null!==localStorage.getItem("retUrl")&&""!==localStorage.getItem("retUrl")){var e=localStorage.getItem("retUrl").toString();localStorage.removeItem("retUrl"),n(e)}else n()};if("author"===e.name)n();else if(window.location.href.indexOf("token")>-1){var r=i().token;o.a.dispatch("setToken",r),a()}else localStorage.getItem("cc_token")?(o.a.dispatch("setToken",localStorage.getItem("cc_token")),a()):e.meta.skip_login?a():n({name:"author",query:{retUrl:e.fullPath}})});t.a=c},"d8/S":function(e,t){},zSLJ:function(e,t,n){"use strict"}},["NHnr"]);
//# sourceMappingURL=app.d7d1d74b6da16a702c4f.js.map //# sourceMappingURL=app.e09fbce75dcfea257ec2.js.map
\ No newline at end of file \ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,f,c){for(var a,i,u,s=0,l=[];s<r.length;s++)i=r[s],t[i]&&l.push(t[i][0]),t[i]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(n&&n(r,f,c);l.length;)l.shift()();if(c)for(s=0;s<c.length;s++)u=o(o.s=c[s]);return u};var r={},t={14:0};function o(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,o),t.l=!0,t.exports}o.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,o){n=t[e]=[r,o]});n[2]=r;var f=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"a9a81f2ff0c0ba438a99",1:"196fac5987f144cf2c03",2:"d684e2a6964bea4016f2",3:"5838fe4df31fab423274",4:"6fff5701d75d135680c6",5:"be089578e30afb4d2c31",6:"e552f7b95b3c64c7b891",7:"3b413a95392fc39816ce",8:"1bbe2877479209be42f5",9:"8454b06eb9332201a094",10:"5ab7e28fe6f747fc9917",11:"4ffe8b86f6d407d26f0f"}[e]+".js";var a=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,f.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,f,c){for(var a,i,u,d=0,s=[];d<r.length;d++)i=r[d],t[i]&&s.push(t[i][0]),t[i]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(n&&n(r,f,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=o(o.s=c[d]);return u};var r={},t={14:0};function o(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,o),t.l=!0,t.exports}o.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,o){n=t[e]=[r,o]});n[2]=r;var f=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"73efc70832d094be4b5c",1:"196fac5987f144cf2c03",2:"d684e2a6964bea4016f2",3:"5838fe4df31fab423274",4:"6fff5701d75d135680c6",5:"be089578e30afb4d2c31",6:"fe7bfaee74d2915fb4d0",7:"d5fc688cbfa8016ab491",8:"1bbe2877479209be42f5",9:"8454b06eb9332201a094",10:"5ab7e28fe6f747fc9917",11:"4ffe8b86f6d407d26f0f"}[e]+".js";var a=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(a);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,f.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/",o.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.af66b4c43d4dd4667c47.js.map //# sourceMappingURL=manifest.ac3a18ec3f9a96c259f7.js.map
\ No newline at end of file \ No newline at end of file
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<div class="mine"> <div class="mine">
<div class="head" :style="{backgroundImage:`url(${image.head_bg})`}"> <div class="head" :style="{backgroundImage:`url(${image.head_bg})`}">
<img class="header-icon" :src="userDetail.avatar"> <img class="header-icon" :src="userDetail.avatar">
<div class="ref-block" @click="clearBoth()">
<img :src="image.ref"/>
</div>
<p class="name">{{userDetail.nickname}}</p> <p class="name">{{userDetail.nickname}}</p>
<p class="id">ID:{{userDetail.user_id}}</p> <p class="id">ID:{{userDetail.user_id}}</p>
</div> </div>
...@@ -9,9 +12,9 @@ ...@@ -9,9 +12,9 @@
<mt-cell title="订单" to="/order" is-link> <mt-cell title="订单" to="/order" is-link>
<img slot="icon" :src="image.order" width="24" height="24"> <img slot="icon" :src="image.order" width="24" height="24">
</mt-cell> </mt-cell>
<mt-cell title="Q&A" to="//github.com" is-link> <!--<mt-cell title="Q&A" to="//github.com" is-link>-->
<img slot="icon" :src="image.qa" width="24" height="24"> <!--<img slot="icon" :src="image.qa" width="24" height="24">-->
</mt-cell> <!--</mt-cell>-->
</div> </div>
<bottom-tab/> <bottom-tab/>
</div> </div>
...@@ -21,7 +24,7 @@ ...@@ -21,7 +24,7 @@
import bottomTab from './public/bottomTab'; import bottomTab from './public/bottomTab';
import {mineImage} from "../util/imgUrl"; import {mineImage} from "../util/imgUrl";
import {getUserDetailApi} from "../service/api"; import {getUserDetailApi} from "../service/api";
import { Toast } from 'mint-ui';
export default { export default {
name: "mine", name: "mine",
components:{ components:{
...@@ -41,6 +44,11 @@ ...@@ -41,6 +44,11 @@
getUserDetailApi().then(res=>{ getUserDetailApi().then(res=>{
this.userDetail = res this.userDetail = res
}) })
},
clearBoth(){
localStorage.clear();
Toast('清除成功')
} }
} }
} }
...@@ -53,6 +61,16 @@ ...@@ -53,6 +61,16 @@
background: #EEEEEE; background: #EEEEEE;
overflow: auto; overflow: auto;
.head{ .head{
.ref-block{
width: 25 * @toVw;
height: 25 * @toVw;
position: absolute;
right: 20 * @toVw;
top: 20 * @toVw;
img{
width: 100%;
}
}
width: 375 * @toVw; width: 375 * @toVw;
height: 160 * @toVw ; height: 160 * @toVw ;
background-size: 100% 100%; background-size: 100% 100%;
......
...@@ -105,6 +105,7 @@ import refueling1_title from '../assets/mould/refueling1/title.png' ...@@ -105,6 +105,7 @@ import refueling1_title from '../assets/mould/refueling1/title.png'
import mine_head from '../assets/headBg.png' import mine_head from '../assets/headBg.png'
import mine_order from '../assets/order.png' import mine_order from '../assets/order.png'
import mine_qa from '../assets/qa.png' import mine_qa from '../assets/qa.png'
import mine_ref from '../assets/reflash2.png'
import shop_wechat from '../assets/shop/weChat.png' import shop_wechat from '../assets/shop/weChat.png'
import shop_teacher from '../assets/shop/teacher.png' import shop_teacher from '../assets/shop/teacher.png'
...@@ -235,7 +236,8 @@ export const mapImage={ ...@@ -235,7 +236,8 @@ export const mapImage={
export const mineImage = { export const mineImage = {
head_bg:mine_head, head_bg:mine_head,
order:mine_order, order:mine_order,
qa:mine_qa qa:mine_qa,
ref:mine_ref
}; };
// 商品成功 // 商品成功
export const shopSuccess = { export const shopSuccess = {
......
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