作者 lihongjuan

1

... ... @@ -178,7 +178,7 @@ export default {
})
},1500)
}else if(this.item.state==1){
}else if(this.item.state==2){
uni.showToast({
title:'课程未开始',
icon:"none"
... ...
{"version":3,"sources":["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/App.vue?5a11","webpack:///G:/项目/program/tigerprogram/main.js","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?bb21","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?d058","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?b5e6","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?3558","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?dab1","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?25ba"],"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","components","uParse","content","courseid","item","present_customs","next_customs","methods","preview","src","navigate","href","onEditorReady","t","createSelectorQuery","select","context","editorCtx","html","setContents","exec","text","details","texts","indexOf","substring","getcoursedetail","params","course_id","app","then","catch","err","toDetail","showToast","icon","setTimeout","navigateTo","is_auth","state","id","toIndex","navigateBack","delta","share","onLoad","options","onUnload","reLaunch","onShareAppMessage","from","target","path"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA+rB,CAAgB,gtBAAG,EAAC,C;;;;;;;;;;;;;ACCpsB;AACdA,UAAQ,EAAE,oBAA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AC,C;;;;;;;;;;;ACAlrC,uC","file":"pages/course/courseIntro.js","sourcesContent":["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","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 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/courseIntro.vue'\ncreatePage(Page)","import { render, staticRenderFns } from \"./courseIntro.vue?vue&type=template&id=0f174bea&\"\nimport script from \"./courseIntro.vue?vue&type=script&lang=js&\"\nexport * from \"./courseIntro.vue?vue&type=script&lang=js&\"\nimport style1 from \"./courseIntro.vue?vue&type=style&index=1&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('0f174bea', component.options)\n } else {\n api.reload('0f174bea', component.options)\n }\n module.hot.accept(\"./courseIntro.vue?vue&type=template&id=0f174bea&\", function () {\n api.rerender('0f174bea', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/pages/course/courseIntro.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!./courseIntro.vue?vue&type=template&id=0f174bea&\"","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!./courseIntro.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!./courseIntro.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nimport uParse from '@/components/u-parse/u-parse.vue'\r\nimport app from \"../../App.vue\";\r\nexport default {\r\n\tcomponents: {\r\n\t uParse\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\ttitle: '',\r\n\t\t\tcontent:\"\",\r\n\t\t\tcourseid:'',\r\n\t\t\titem:'',\r\n\t\t\tpresent_customs:'',\r\n\t\t\tnext_customs:''\r\n\t\t\t\r\n\t\t};\r\n\t},\r\n\tmethods: {\r\n\t\tpreview(src, e) {\r\n\t\t // do something\r\n\t\t},\r\n\t\tnavigate(href, e) {\r\n\t\t // do something\r\n\t\t},\r\n\t\t// 介绍内容 后台的富文本数据\r\n\t\tonEditorReady() {\r\n\t\t\tlet t = this;\r\n\t\t\tuni.createSelectorQuery()\r\n\t\t\t\t.select('#editorDetail')\r\n\t\t\t\t.context(res => {\r\n\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\tthis.editorCtx = res.context;\r\n\t\t\t\t\tlet content = {\r\n\t\t\t\t\t\thtml: t.content\r\n\t\t\t\t\t};\r\n\t\t\t\t\tthis.editorCtx.setContents(content); //设置富文本编辑器的内容\r\n\t\t\t\t})\r\n\t\t\t\t.exec();\r\n\t\t},\r\n\t\t\r\n\t\t text(details) {\r\n\t\t\r\n\t\t var texts = '';//待拼接的内容\r\n\t\t\r\n\t\t while (details.indexOf('<img') != -1) {//寻找img 循环\r\n\t\t\r\n\t\t texts += details.substring('0', details.indexOf('<img') + 4);//截取到<img前面的内容\r\n\t\t\r\n\t\t details = details.substring(details.indexOf('<img') + 4);//<img 后面的内容\r\n\t\t\r\n\t\t if (details.indexOf('style=') != -1 && details.indexOf('style=') < details.indexOf('>')) {\r\n\t\t\r\n\t\t texts += details.substring(0, details.indexOf('style=\"') + 7) + \"max-width:100%;height:auto;margin:0 auto;\";//从 <img 后面的内容 截取到style= 加上自己要加的内容\r\n\t\t\r\n\t\t details = details.substring(details.indexOf('style=\"') + 7); //style后面的内容拼接\r\n\t\t\r\n\t\t } else {\r\n\t\t\r\n\t\t texts += ' style=\"max-width:100%;height:auto;margin:0 auto;\" ';\r\n\t\t\r\n\t\t }\r\n\t\t }\r\n\t\t \r\n\t\t texts += details;//最后拼接的内容\r\n\t\t\r\n\t\t return texts\r\n\t\t\r\n\t\t },\r\n\t\t// 获取课程详情\r\n\t\tgetcoursedetail(){\r\n\t\t\tlet that = this;\r\n\t\t\tconsole.log('00001112222',that.courseid)\r\n\t\t\tvar url = '/api/course/course_detail';\r\n\t\t\tvar params = {\r\n\t\t\t\tcourse_id: that.courseid,\r\n\t\t\t\r\n\t\t\t}\r\n\t\t\tapp.post(url, params,\"post\").then((res) => {\r\n\t\t\t\tconsole.log('876655',res);\r\n\t\t\t\tthat.present_customs=res.present_customs;\r\n\t\t\t\tthat.next_customs=res.next_customs;\r\n\t\t\t\t// 把富文本图片给加一个最大宽度\r\n\t\t\t\t\r\n\t\t\t\t this.item = res.data;\r\n\t\t\t\t\t var text=this.text(res.data.content)\r\n\t\t\t\t\t this.content=text;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\r\n\t\t\t}).catch((err) => {\r\n\t\t\t\tconsole.log(err)\r\n\t\t\t\r\n\t\t\t})\r\n\t\t},\r\n\t\t\r\n\t\t// 进入课程\r\n\t\ttoDetail(){\r\n\t\t\tlet token=uni.getStorageSync(\"token\")\r\n\t\t\tif(token==''){\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle:'请先登录',\r\n\t\t\t\t\ticon:'none'\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\tconsole.log(9999)\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pages/start/start'\r\n\t\t\t\t\t})\r\n\t\t\t\t},1500)\r\n\t\t\t}else{\r\n\t\t\t\t\r\n\t\t\t\tif(this.present_customs==''){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'此课程没有关卡',\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if(this.item.is_auth==2){\r\n\t\t\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t \ttitle:\"您没有权限看此课程\",\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t })\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t setTimeout(function(){\r\n\t\t\t\t\t\t\t uni.navigateTo({\r\n\t\t\t\t\t\t\t \t// url:'/pages/start/start?id='+that.courseid+'&type='+1\r\n\t\t\t\t\t\t\t\turl:'/pages/index/index'\r\n\t\t\t\t\t\t\t })\r\n\t\t\t\t\t\t },1500)\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t }else if(this.item.state==1){\r\n\t\t\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t \ttitle:'课程未开始',\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t })\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t }else if(this.item.state==3){\r\n\t\t\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t \ttitle:'课程授权到期',\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t })\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t }else{\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:\"/pages/course/courseDetail?id=\"+this.present_customs.id+'&courseid='+this.courseid\r\n\t\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t},\r\n\t\t// 返回首页\r\n\t\ttoIndex(){\r\n\t\t\tuni.navigateBack({\r\n\t\t\t\tdelta:2\r\n\t\t\t})\r\n\t\t},\r\n\t},\r\n\tshare(){\r\n\t\t\r\n\t},\r\n\t\r\n\t\r\n\tonLoad(options){\r\n\t\tlet that=this;\r\n\t\tconsole.log('99999999',options)\r\n\t\t\r\n\t\t\r\n\t\tthis.courseid=options.id;\r\n\t\tconsole.log('222558774411')\r\n\t\t\r\n\t\tthis.getcoursedetail()\r\n\t\tlet token=uni.getStorageSync(\"token\");\r\n\t\tif(token==''){\r\n\t\t\tuni.showToast({\r\n\t\t\t\ttitle:\"请先登陆\",\r\n\t\t\t\ticon:'none'\r\n\t\t\t})\r\n\t\t\tsetTimeout(function(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'../start/start?id='+that.courseid+'&type='+1\r\n\t\t\t\t})\r\n\t\t\t},1500)\r\n\t\t}\r\n\t\t\r\n\t},\r\n\tonUnload: function () {\r\n\t\tuni.reLaunch({\r\n\t\t\turl:'/pages/index/index'\r\n\t\t})\r\n\t },\r\n\r\n\t onShareAppMessage(res) {\r\n\t\t let that=this;\r\n\t if (res.from === 'button') {// 来自页面内分享按钮\r\n\t console.log(res.target)\r\n\t }\r\n\t return {\r\n\t title: this.item.title,\r\n\t path:'/pages/course/courseIntro?id='+that.courseid\r\n\t }\r\n\t }\r\n\t\r\n\t\r\n\t\r\n};\r\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!./courseIntro.vue?vue&type=style&index=1&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!./courseIntro.vue?vue&type=style&index=1&lang=scss&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["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/App.vue?5a11","webpack:///G:/项目/program/tigerprogram/main.js","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?bb21","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?d058","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?b5e6","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?3558","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?dab1","webpack:///G:/项目/program/tigerprogram/pages/course/courseIntro.vue?25ba"],"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","components","uParse","content","courseid","item","present_customs","next_customs","methods","preview","src","navigate","href","onEditorReady","t","createSelectorQuery","select","context","editorCtx","html","setContents","exec","text","details","texts","indexOf","substring","getcoursedetail","params","course_id","app","then","catch","err","toDetail","showToast","icon","setTimeout","navigateTo","is_auth","state","id","toIndex","navigateBack","delta","share","onLoad","options","onUnload","reLaunch","onShareAppMessage","from","target","path"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA+rB,CAAgB,gtBAAG,EAAC,C;;;;;;;;;;;;;ACCpsB;AACdA,UAAQ,EAAE,oBAAW;;AAEpB,GAHa;AAIdC,QAAM,EAAE,kBA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courseIntro.js","sourcesContent":["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","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 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/courseIntro.vue'\ncreatePage(Page)","import { render, staticRenderFns } from \"./courseIntro.vue?vue&type=template&id=0f174bea&\"\nimport script from \"./courseIntro.vue?vue&type=script&lang=js&\"\nexport * from \"./courseIntro.vue?vue&type=script&lang=js&\"\nimport style1 from \"./courseIntro.vue?vue&type=style&index=1&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('0f174bea', component.options)\n } else {\n api.reload('0f174bea', component.options)\n }\n module.hot.accept(\"./courseIntro.vue?vue&type=template&id=0f174bea&\", function () {\n api.rerender('0f174bea', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"G:/项目/program/tigerprogram/pages/course/courseIntro.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!./courseIntro.vue?vue&type=template&id=0f174bea&\"","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!./courseIntro.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!./courseIntro.vue?vue&type=script&lang=js&\"","//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n//\r\n\r\nimport uParse from '@/components/u-parse/u-parse.vue'\r\nimport app from \"../../App.vue\";\r\nexport default {\r\n\tcomponents: {\r\n\t uParse\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\ttitle: '',\r\n\t\t\tcontent:\"\",\r\n\t\t\tcourseid:'',\r\n\t\t\titem:'',\r\n\t\t\tpresent_customs:'',\r\n\t\t\tnext_customs:''\r\n\t\t\t\r\n\t\t};\r\n\t},\r\n\tmethods: {\r\n\t\tpreview(src, e) {\r\n\t\t // do something\r\n\t\t},\r\n\t\tnavigate(href, e) {\r\n\t\t // do something\r\n\t\t},\r\n\t\t// 介绍内容 后台的富文本数据\r\n\t\tonEditorReady() {\r\n\t\t\tlet t = this;\r\n\t\t\tuni.createSelectorQuery()\r\n\t\t\t\t.select('#editorDetail')\r\n\t\t\t\t.context(res => {\r\n\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\tthis.editorCtx = res.context;\r\n\t\t\t\t\tlet content = {\r\n\t\t\t\t\t\thtml: t.content\r\n\t\t\t\t\t};\r\n\t\t\t\t\tthis.editorCtx.setContents(content); //设置富文本编辑器的内容\r\n\t\t\t\t})\r\n\t\t\t\t.exec();\r\n\t\t},\r\n\t\t\r\n\t\t text(details) {\r\n\t\t\r\n\t\t var texts = '';//待拼接的内容\r\n\t\t\r\n\t\t while (details.indexOf('<img') != -1) {//寻找img 循环\r\n\t\t\r\n\t\t texts += details.substring('0', details.indexOf('<img') + 4);//截取到<img前面的内容\r\n\t\t\r\n\t\t details = details.substring(details.indexOf('<img') + 4);//<img 后面的内容\r\n\t\t\r\n\t\t if (details.indexOf('style=') != -1 && details.indexOf('style=') < details.indexOf('>')) {\r\n\t\t\r\n\t\t texts += details.substring(0, details.indexOf('style=\"') + 7) + \"max-width:100%;height:auto;margin:0 auto;\";//从 <img 后面的内容 截取到style= 加上自己要加的内容\r\n\t\t\r\n\t\t details = details.substring(details.indexOf('style=\"') + 7); //style后面的内容拼接\r\n\t\t\r\n\t\t } else {\r\n\t\t\r\n\t\t texts += ' style=\"max-width:100%;height:auto;margin:0 auto;\" ';\r\n\t\t\r\n\t\t }\r\n\t\t }\r\n\t\t \r\n\t\t texts += details;//最后拼接的内容\r\n\t\t\r\n\t\t return texts\r\n\t\t\r\n\t\t },\r\n\t\t// 获取课程详情\r\n\t\tgetcoursedetail(){\r\n\t\t\tlet that = this;\r\n\t\t\tconsole.log('00001112222',that.courseid)\r\n\t\t\tvar url = '/api/course/course_detail';\r\n\t\t\tvar params = {\r\n\t\t\t\tcourse_id: that.courseid,\r\n\t\t\t\r\n\t\t\t}\r\n\t\t\tapp.post(url, params,\"post\").then((res) => {\r\n\t\t\t\tconsole.log('876655',res);\r\n\t\t\t\tthat.present_customs=res.present_customs;\r\n\t\t\t\tthat.next_customs=res.next_customs;\r\n\t\t\t\t// 把富文本图片给加一个最大宽度\r\n\t\t\t\t\r\n\t\t\t\t this.item = res.data;\r\n\t\t\t\t\t var text=this.text(res.data.content)\r\n\t\t\t\t\t this.content=text;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\r\n\t\t\t}).catch((err) => {\r\n\t\t\t\tconsole.log(err)\r\n\t\t\t\r\n\t\t\t})\r\n\t\t},\r\n\t\t\r\n\t\t// 进入课程\r\n\t\ttoDetail(){\r\n\t\t\tlet token=uni.getStorageSync(\"token\")\r\n\t\t\tif(token==''){\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle:'请先登录',\r\n\t\t\t\t\ticon:'none'\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\tconsole.log(9999)\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl:'/pages/start/start'\r\n\t\t\t\t\t})\r\n\t\t\t\t},1500)\r\n\t\t\t}else{\r\n\t\t\t\t\r\n\t\t\t\tif(this.present_customs==''){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:'此课程没有关卡',\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t})\r\n\t\t\t\t} else if(this.item.is_auth==2){\r\n\t\t\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t \ttitle:\"您没有权限看此课程\",\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t })\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t setTimeout(function(){\r\n\t\t\t\t\t\t\t uni.navigateTo({\r\n\t\t\t\t\t\t\t \t// url:'/pages/start/start?id='+that.courseid+'&type='+1\r\n\t\t\t\t\t\t\t\turl:'/pages/index/index'\r\n\t\t\t\t\t\t\t })\r\n\t\t\t\t\t\t },1500)\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t }else if(this.item.state==2){\r\n\t\t\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t \ttitle:'课程未开始',\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t })\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t }else if(this.item.state==3){\r\n\t\t\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\t \ttitle:'课程授权到期',\r\n\t\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t\t })\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t }else{\r\n\t\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\t\turl:\"/pages/course/courseDetail?id=\"+this.present_customs.id+'&courseid='+this.courseid\r\n\t\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t},\r\n\t\t// 返回首页\r\n\t\ttoIndex(){\r\n\t\t\tuni.navigateBack({\r\n\t\t\t\tdelta:2\r\n\t\t\t})\r\n\t\t},\r\n\t},\r\n\tshare(){\r\n\t\t\r\n\t},\r\n\t\r\n\t\r\n\tonLoad(options){\r\n\t\tlet that=this;\r\n\t\tconsole.log('99999999',options)\r\n\t\t\r\n\t\t\r\n\t\tthis.courseid=options.id;\r\n\t\tconsole.log('222558774411')\r\n\t\t\r\n\t\tthis.getcoursedetail()\r\n\t\tlet token=uni.getStorageSync(\"token\");\r\n\t\tif(token==''){\r\n\t\t\tuni.showToast({\r\n\t\t\t\ttitle:\"请先登陆\",\r\n\t\t\t\ticon:'none'\r\n\t\t\t})\r\n\t\t\tsetTimeout(function(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'../start/start?id='+that.courseid+'&type='+1\r\n\t\t\t\t})\r\n\t\t\t},1500)\r\n\t\t}\r\n\t\t\r\n\t},\r\n\tonUnload: function () {\r\n\t\tuni.reLaunch({\r\n\t\t\turl:'/pages/index/index'\r\n\t\t})\r\n\t },\r\n\r\n\t onShareAppMessage(res) {\r\n\t\t let that=this;\r\n\t if (res.from === 'button') {// 来自页面内分享按钮\r\n\t console.log(res.target)\r\n\t }\r\n\t return {\r\n\t title: this.item.title,\r\n\t path:'/pages/course/courseIntro?id='+that.courseid\r\n\t }\r\n\t }\r\n\t\r\n\t\r\n\t\r\n};\r\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!./courseIntro.vue?vue&type=style&index=1&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!./courseIntro.vue?vue&type=style&index=1&lang=scss&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}
\ No newline at end of file
... ...
... ... @@ -502,7 +502,7 @@ var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));f
}, 1500);
} else if (this.item.state == 1) {
} else if (this.item.state == 2) {
uni.showToast({
title: '课程未开始',
icon: "none" });
... ...