index.js.map 25.1 KB
{"version":3,"sources":["webpack:///G:/项目/program/tigerprogram/App.vue?5a11","webpack:///G:/项目/program/tigerprogram/App.vue?c512","webpack:///G:/项目/program/tigerprogram/App.vue","webpack:///G:/项目/program/tigerprogram/App.vue?aef7","webpack:///G:/项目/program/tigerprogram/App.vue?33d6","webpack:///G:/项目/program/tigerprogram/main.js","webpack:///G:/项目/program/tigerprogram/pages/index/index.vue?7505","webpack:///G:/项目/program/tigerprogram/pages/index/index.vue?a6c4","webpack:///G:/项目/program/tigerprogram/pages/index/index.vue?addb","webpack:///G:/项目/program/tigerprogram/pages/index/index.vue?ee20","webpack:///G:/项目/program/tigerprogram/pages/index/index.vue","webpack:///G:/项目/program/tigerprogram/pages/index/index.vue?f355","webpack:///G:/项目/program/tigerprogram/pages/index/index.vue?2ea3"],"names":["onLaunch","onShow","onHide","post","url","data","promise","Promise","resolve","reject","that","token","uni","getStorageSync","header","postData","request","globalData","baseUrl","method","success","res","code","fail","e","hideNavigationBarLoading","userInfo","upload","filetype","file","wx","showNavigationBarLoading","showLoading","title","head","console","log","typename","uploadFile","filePath","name","formData","temdata","JSON","parse","urlobj","http_url","kurl","hideLoading","complete","createPage","Page","swiperList","bannerimg","courseList","noBot","page","pageNum","time","methods","getcourselist","Userid","param","app","then","r","concat","catch","err","getbanner","toCourseIntro","item","showToast","icon","setTimeout","navigateTo","id","getuserinfo","params","msg","clearStorageSync","onLoad","onReachBottom","newpage"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACuD;AACL;AACa;;;AAG/D;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAYf;AACD;AACe,gF;;;;;;;;;;;AClCf;AAAA;AAAA;AAAA;AAA+rB,CAAgB,gtBAAG,EAAC,C;;;;;;;;;;;;ACCpsB;AACdA,UAAQ,EAAE,o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CAAC+D,UAAJ,CAAe;AACdvE,iBAAG,EAAC,oBADU,EAAf;;AAGA,WAJS,EAIR,IAJQ,CAAV;AAKA;;;AAGD,OAjCD;AAkCA,KA/GO,EAfK;;;;AAkId6E,QAlIc,oBAkIL;;AAER,GApIa;AAqIdhF,QAAM,EAAE,kBAAU;AACjBkC,WAAO,CAACC,GAAR,CAAY,QAAZ;AACA,SAAKoB,IAAL,GAAU,CAAV;AACA,SAAKF,UAAL,GAAgB,EAAhB;AACA,SAAKM,aAAL;AACA,SAAKS,SAAL;AACA,SAAKQ,WAAL;;AAEAH,cAAU,CAAC,YAAU;AACpB,WAAKhB,IAAL,GAAU,IAAV;AACA,KAFS,EAER,IAFQ,CAAV;AAGA,GAhJa;AAiJdwB,eAjJc,2BAiJE;AACf,QAAIC,OAAO,GAAG,KAAK3B,IAAnB;AACA2B,WAAO;AACP,SAAK3B,IAAL,GAAY2B,OAAZ;AACA,SAAKvB,aAAL;AACA,GAtJa,E;;;;;;;;;;;;ACtDf;AAAA;AAAA;AAAA;AAAwpC,CAAgB,8nCAAG,EAAC,C;;;;;;;;;;ACA5qC,uC","file":"pages/index/index.js","sourcesContent":["var render, staticRenderFns\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (module.hot) {\n  var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!module.hot.data) {\n      api.createRecord('58f4bb0e', component.options)\n    } else {\n      api.reload('58f4bb0e', component.options)\n    }\n    \n  }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/App.vue\"\nexport default component.exports","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","\nexport default {\n\tonLaunch: function() {\n\t\t\n\t},\n\tonShow: function() {\n\t\t\n\t},\n\tonHide: function() {\n\t\t\n\t},\n\tpost: function(url, data) {\n\t\tvar promise = new Promise((resolve, reject) => {\n\t\t\t//init\n\t\t\tlet that = this,\n\t\t\t\ttoken = uni.getStorageSync('token'),\n\t\t\t\theader = {\n\t\t\t\t\t'token': token || ''\n\t\t\t\t},\n\t\t\t\tpostData;\n\t\t\t//网络请求\n\t\t\tuni.request({\n\t\t\t\turl: this.globalData.baseUrl + url,\n\t\t\t\tdata: data,\n\t\t\t\tmethod: 'POST',\n\t\t\t\theader: header,\n\t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\n\t\t\t\t\t//返回取得的数据\n\t\t\t\t\tif (res.data.code == '1') {\n\t\t\t\t\t\tresolve(res.data.data);\n\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t// uni.showToast({\n\t\t\t\t\t\t// \ttitle: res.data.msg,\n\t\t\t\t\t\t// \ticon: 'none'\n\t\t\t\t\t\t// });\n\t\t\t\t\t\treject(res.data);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tfail: function(e) {\n\t\t\t\t\treject('网络出错');\n\t\t\t\t\tuni.hideNavigationBarLoading();\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\treturn promise;\n\t},\n\t\n\t\n\t\n\tglobalData: {\n\t\tuserInfo: null,\n\t\tbaseUrl: 'http://fnsxcx.w.brotop.cn'\n\t},\n\t\n\tupload(filetype, file) {\n\t\n\t    var promise = new Promise((resolve, reject) => {\n\t      wx.showNavigationBarLoading()\n\t      wx.showLoading({\n\t        title: '上传中',\n\t      })\n\t      let url = 'http://fnsxcx.w.brotop.cn/api/common/upload';\n\t\t \n\t\t\n\t      let head = {\n\t        'token':uni.getStorageSync('token'),\n\t        'XX-Device-Type': ''\n\t      }\n\t\t  console.log(head)\n\t      let typename = {\n\t        filetype: filetype\n\t      }\n\t      wx.uploadFile({\n\t        url: url, //仅为示例,非真实的接口地址\n\t        filePath: file,\n\t        name: 'file',\n\t        header: head,\n\t        formData: typename,\n\t        success: function (res) {\n\t          console.log('上传文件后', res)\n\t          let temdata = JSON.parse(res.data);\n\t          console.log(temdata)\n\t          let urlobj = {\n\t            url: temdata.data.http_url,\n\t            kurl: temdata.data.url\n\t          }\n\t          resolve(urlobj);\n\t\n\t        },\n\t        fail: function (res) {\n\t          reject('网络出错');\n\t          wx.hideNavigationBarLoading()\n\t          wx.hideLoading()\n\t        },\n\t        complete: () => {\n\t          wx.hideNavigationBarLoading()\n\t          wx.hideLoading()\n\t        },\n\t      })\n\t    });\n\t    return promise;\n\t  },\n\t  \n\t\n}\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin","import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue'            \nimport Page from './pages/index/index.vue'\ncreatePage(Page)","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0a207357&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (module.hot) {\n  var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!module.hot.data) {\n      api.createRecord('0a207357', component.options)\n    } else {\n      api.reload('0a207357', component.options)\n    }\n    module.hot.accept(\"./index.vue?vue&type=template&id=0a207357&\", function () {\n      api.rerender('0a207357', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/pages/index/index.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=0a207357&\"","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport app from \"../../App.vue\";\nexport default {\n\tdata() { \n\t\treturn {\n\t\t\tswiperList:[\n\t\t\t\t\n\t\t\t],\n\t\t\tbannerimg:[],\n\t\t\tcourseList:[],\n\t\t\tnoBot:3,\n\t\t\tpage:1,\n\t\t\tpageNum:10,\n\t\t\ttime:false\n\t\t\t\n\t\t}\n\t},\n\tmethods: {\n\t\t// 获取课程列表\n\t\tgetcourselist(){\n\t\t\tlet that=this;\n\t\t\t// let url = \"/api/course/course_list\";\n\t\t\tlet url='/api/index/index'\n\t\t\tlet Userid = uni.getStorageSync('userid')\n\t\t\tlet param = {\n\t\t\t\tpage: that.page,\n\t\t\t\tpageNum: 10\n\t\t\t};\n\t\t\t\n\t\t\tapp.post(url, param, 'get').then(r => {\n\t\t\t\tconsole.log(r)\n\t\t\t\tthat.courseList=that.courseList.concat(r)\n\t\t\t\n\t\t\t}).catch(err => {\n\t\t\t\tconsole.log(err)\n\t\t\t\n\t\t\t})\n\t\t},\n\t\t\n\t\t// 获取banner图\n\t\tgetbanner(){\n\t\t\tlet that=this;\n\t\t\tlet url = \"/api/slide/get_slide\";\n\t\t\tlet Userid = uni.getStorageSync('userid')\n\t\t\tlet param = {\n\t\t\t\t\n\t\t\t};\n\t\t\t\n\t\t\tapp.post(url, param, 'get').then(r => {\n\t\t\t\tconsole.log(r)\n\t\t\t\tthat.bannerimg=r\n\t\t\t\n\t\t\t}).catch(err => {\n\t\t\t\tconsole.log(err)\n\t\t\t\n\t\t\t})\n\t\t},\n\t\t\n\t\t// 课程介绍\n\t\ttoCourseIntro(item){\n\t\t\t\n\t\t\t// var item=JSON.stringify(item)\n\t\t\t// console.log(item)\n\t\t\t// wx.setStorageSync(\"item\",JSON.stringify(item))\n\t\t\t// wx.setStorageSync(\"item\", item)\n\t\t\tlet token=uni.getStorageSync(\"token\")\n\t\t\tif(token==''){\n\t\t\t\tuni.showToast({\n\t\t\t\t\ttitle:'请先登录',\n\t\t\t\t\ticon:'none'\n\t\t\t\t})\n\t\t\t\tsetTimeout(function(){\n\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\turl:\"/pages/start/start\"\n\t\t\t\t\t})\n\t\t\t\t},1500)\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tuni.navigateTo({\n\t\t\t\t\turl:\"/pages/course/courseIntro?id=\"+item.id\n\t\t\t\t})\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t},\n\t\t\n\t\t// 获取用户信息\n\t\tgetuserinfo() {\n\t\t\tlet that = this;\n\t\t\tvar url = '/api/index/user_info';\n\t\t\tvar params = {\n\t\t\n\t\t\n\t\t\t}\n\t\t\tapp.post(url, params, \"post\").then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\t\n\t\t\n\t\t\n\t\t\t}).catch((err) => {\n\t\t\t\tconsole.log(err)\n\t\t\t\tif (err.msg == '您已被拉黑') {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: err.msg,\n\t\t\t\t\t\ticon: \"none\"\n\t\t\t\t\t})\n\t\t\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\turl: '/pages/start/start'\n\t\t\t\t\t\t})\n\t\t\t\t\t}, 1500)\n\t\t\t\t} else if (err.msg == '用户未登录') {\n\t\t\n\t\t\t\t\twx.showToast({\n\t\t\t\t\t\ttitle: '请重新登录',\n\t\t\t\t\t\ticon: 'none'\n\t\t\t\t\t})\n\t\t\t\t\tuni.clearStorageSync(); \n\t\t\t\t\tsetTimeout(function(){\n\t\t\t\t\t uni.navigateTo({\n\t\t\t\t\t  url:'/pages/start/start'\n\t\t\t\t\t })\n\t\t\t\t\t},1500)\n\t\t\t\t}\n\t\t\n\t\t\n\t\t\t})\n\t\t},\n\t\t\n\t},\n\t\n\tonLoad() {\n\t\t\n\t},\n\tonShow: function(){\n\t\tconsole.log(34437347)\n\t\tthis.page=1;\n\t\tthis.courseList=[];\n\t\tthis.getcourselist();\n\t\tthis.getbanner();\n\t\tthis.getuserinfo();\n\t\t\n\t\tsetTimeout(function(){\n\t\t\tthis.time=true\n\t\t},1000)\n\t},\n\tonReachBottom() {\n\t\tvar newpage = this.page;\n\t\tnewpage++;\n\t\tthis.page = newpage\n\t\tthis.getcourselist()\n\t},\n}\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}