作者 李洪娟

合并分支 'lhj' 到 'master'

课程



查看合并请求 !2
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <!-- 评论 --> 2 <!-- 评论 -->
3 <view class="course_comment"> 3 <view class="course_comment">
4 <view class="comment_content"> 4 <view class="comment_content">
5 - <textarea v-model="content" placeholder="请输入评论内容,最多1000字" /> 5 + <textarea v-model="content" placeholder="请输入评论内容,最多1000字" @input="entercomment" />
6 6
7 <!-- 字数 --> 7 <!-- 字数 -->
8 <view class="word_num">{{content.length}}/1000</view> 8 <view class="word_num">{{content.length}}/1000</view>
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 <view class="picbox" v-else> 18 <view class="picbox" v-else>
19 <!-- 上传的图片 --> 19 <!-- 上传的图片 -->
20 <view class="upload_pic" @click="uploadImg()"> 20 <view class="upload_pic" @click="uploadImg()">
21 - <image :src="img" mode="widthFix"></image> 21 + <image :src="image==''?img:image" mode="widthFix"></image>
22 </view> 22 </view>
23 </view> 23 </view>
24 </view> 24 </view>
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 26
27 27
28 <!-- 按钮 --> 28 <!-- 按钮 -->
29 - <view class="send_wrap"> 29 + <view class="send_wrap" @click="send">
30 <view class="send_box">发送</view> 30 <view class="send_box">发送</view>
31 </view> 31 </view>
32 32
@@ -34,36 +34,87 @@ @@ -34,36 +34,87 @@
34 </template> 34 </template>
35 35
36 <script> 36 <script>
  37 + import app from "../../App.vue";
37 export default { 38 export default {
38 data() { 39 data() {
39 return { 40 return {
40 content:"", 41 content:"",
41 img:"../../static/addpic.png", 42 img:"../../static/addpic.png",
42 - addpic:true 43 + addpic:true,
  44 + image:'',
  45 + cimage:'',
  46 + // 打卡记录id
  47 + clock_log_id:'',
  48 + //评论父级id
  49 + comments_id:'',
  50 + courseid:''
43 } 51 }
44 }, 52 },
45 methods: { 53 methods: {
  54 + // 输入评论内容
  55 + entercomment(e){
  56 + this.content=e.detail.value
  57 + },
46 uploadpic(){ 58 uploadpic(){
47 console.log(3874273487) 59 console.log(3874273487)
48 this.addpic=false 60 this.addpic=false
49 }, 61 },
50 // 上传图片 62 // 上传图片
51 - uploadImg(){  
52 - let t = this; 63 +
  64 + uploadImg() {
  65 + let that = this;
53 uni.chooseImage({ 66 uni.chooseImage({
54 - count: 1, //默认9  
55 - sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有  
56 - sourceType: ['album'], //从相册选择  
57 - success: chooseImageRes => {  
58 - const tempFilePaths = chooseImageRes.tempFilePaths;  
59 - this.img = tempFilePaths[0]  
60 - // App.upload(tempFilePaths[0]).then(res => {  
61 - // this.front_image = res.url;  
62 - // });  
63 - }  
64 - }); 67 + count: 1,
  68 + sizeType: ['original', 'compressed'],
  69 + success: function (res) {
  70 + console.log(res.tempFilePaths[0])
  71 + app.upload('image', res.tempFilePaths[0],"post").then((res) => {
  72 + console.log('上传文件', res);
  73 + that.image=res.url
  74 + that.cimage=res.kurl
  75 +
  76 +
  77 +
  78 + }).catch((err) => {
  79 + console.log(err)
  80 + })
65 }, 81 },
  82 + fail: function (res) { }
  83 + })
66 }, 84 },
  85 +
  86 + //发送
  87 + send(){
  88 + let that = this;
  89 + var url = '/api/comments/commit';
  90 + var params = {
  91 + clock_log_id:that.clock_log_id,
  92 + comments_id: that.comments_id,
  93 + content:that.content,
  94 + images:that.image
  95 + }
  96 + app.post(url, params).then((res) => {
  97 + console.log(res);
  98 + uni.showToast({
  99 + title:'提交成功',
  100 + icon:'none'
  101 + })
  102 + setTimeout(function(){
  103 + uni.navigateTo({
  104 + url:'/pages/course/courseDetail?id='+that.courseid
  105 + })
  106 + })
  107 + }).catch((err) => {
  108 +
  109 + })
  110 + }
  111 + },
  112 +
  113 + onLoad(options) {
  114 + console.log(options)
  115 + this.clock_log_id=options.id,
  116 + this.courseid=options.courseid
  117 + }
67 } 118 }
68 </script> 119 </script>
69 120
@@ -95,12 +95,12 @@ @@ -95,12 +95,12 @@
95 </picker> --> 95 </picker> -->
96 </view> 96 </view>
97 <!-- 评论、点赞按钮 --> 97 <!-- 评论、点赞按钮 -->
98 - <view class="layer_noend"> 98 + <view class="layer_noend" @click="comment" :data-id="item.id">
99 <view class="course_btn justify_between"> 99 <view class="course_btn justify_between">
100 <image src="../../static/pinglun_icon@2x.png" mode="widthFix"></image> 100 <image src="../../static/pinglun_icon@2x.png" mode="widthFix"></image>
101 评论 101 评论
102 </view> 102 </view>
103 - <view class="course_btn justify_between" :class="{active:isPoint}" @click="changePoint()"> 103 + <view class="course_btn justify_between" :class="{active:isPoint}" @click="changePoint()" :data-id="item.id">
104 <image :src="isPoint?pointImg2:pointImg1" mode="widthFix"></image> 104 <image :src="isPoint?pointImg2:pointImg1" mode="widthFix"></image>
105 点赞 105 点赞
106 </view> 106 </view>
@@ -115,11 +115,13 @@ @@ -115,11 +115,13 @@
115 <view class="" v-for="(itemone, index) in item.praise_user" :key="index">{{itemone.nickname }},</view> 115 <view class="" v-for="(itemone, index) in item.praise_user" :key="index">{{itemone.nickname }},</view>
116 </view> 116 </view>
117 </view> 117 </view>
  118 + <view class="seemore" @click="seemore" :data-id="item.id">查看所有评论</view>
118 <!-- 评论信息 --> 119 <!-- 评论信息 -->
119 - <view class="msg_detail">  
120 - <view class="detail_single ">  
121 - <text>风格林:</text>  
122 - 有意义的人,并不就是年岁活得最大的人,而是对生活最有感受的人。 120 + <view class="msg_detail" v-if="showcomment">
  121 + <view class="detail_single " v-for="(item,index) in commentlist" :key="index" @longtap="del" :data-id="item.id">
  122 + <text v-if="index==0">{item.user_nickname}:</text>
  123 + <text v-else>{item.user_nickname}回复{{item.re_user_nickname}}</text>
  124 + {{item.content}}
123 </view> 125 </view>
124 </view> 126 </view>
125 </view> 127 </view>
@@ -151,9 +153,12 @@ @@ -151,9 +153,12 @@
151 next: '', 153 next: '',
152 pre: '', 154 pre: '',
153 number: 1, 155 number: 1,
  156 + //是否显示评论
  157 + showcomment:false,
154 //所有用户课程列表 158 //所有用户课程列表
155 courselist: [], 159 courselist: [],
156 - // 自己课程列表 160 + // 自己课程列表,
  161 +
157 162
158 }; 163 };
159 }, 164 },
@@ -198,7 +203,7 @@ @@ -198,7 +203,7 @@
198 }) 203 })
199 }, 204 },
200 //获取所有打卡记录 205 //获取所有打卡记录
201 - getallcordlist(){ 206 + getallcordlist() {
202 let that = this; 207 let that = this;
203 console.log(77889900) 208 console.log(77889900)
204 var url = '/api/course/user_clock_list'; 209 var url = '/api/course/user_clock_list';
@@ -308,8 +313,73 @@ @@ -308,8 +313,73 @@
308 closeTheme() { 313 closeTheme() {
309 this.isShowImg = false; 314 this.isShowImg = false;
310 }, 315 },
  316 + // 评论
  317 + comment(e) {
  318 + console.log(e)
  319 + let id = e.currentTarget.dataset.id;
  320 + console.log(id)
  321 + uni.navigateTo({
  322 + url: '/pages/course/courseComment?id=' + id + '&courseid=' + this.courseid
  323 + })
  324 + },
  325 + //查看所有评论
  326 + seemore(e){
  327 + let id = e.currentTarget.dataset.id;
  328 + let that = this;
  329 + var url = '/api/comments/get_news_comment';
  330 + var params = {
  331 + clock_log_id: id,
  332 +
  333 + }
  334 + app.post(url, params).then((res) => {
  335 + console.log(res);
  336 + that.commentlsit=res.list;
  337 + that.showcomment=true
  338 +
  339 +
  340 +
  341 + }).catch((err) => {
  342 +
  343 + })
  344 + },
  345 + // 长按删除评论
  346 + del(e){
  347 + let id = e.currentTarget.dataset.id;
  348 + uni.showModal({
  349 + title: '提示',
  350 + content: '删除此条评论',
  351 + success: function (res) {
  352 + if (res.confirm) {
  353 + let that = this;
  354 + var url = '/api/comments/del';
  355 + var params = {
  356 + id:id
  357 +
  358 + }
  359 + app.post(url, params).then((res) => {
  360 + console.log(res);
  361 + uni.showToast({
  362 + title:'删除成功',
  363 + icon:'none'
  364 + })
  365 +
  366 +
  367 +
  368 + }).catch((err) => {
  369 +
  370 + })
  371 +
  372 + } else if (res.cancel) {
  373 + console.log('用户点击取消');
  374 + }
  375 + }
  376 + });
  377 + },
  378 +
  379 +
311 // 点赞 380 // 点赞
312 - changePoint() { 381 + changePoint(e) {
  382 + let id = e.currentTarget.dataset.id;
313 this.isPoint = !this.isPoint 383 this.isPoint = !this.isPoint
314 }, 384 },
315 }, 385 },
@@ -327,6 +397,14 @@ @@ -327,6 +397,14 @@
327 background-color: #fafbfd; 397 background-color: #fafbfd;
328 } 398 }
329 399
  400 + .seemore {
  401 + color: #ee8b27;
  402 + font-weight: 600;
  403 + font-size:30rpx;
  404 + margin-top:10rpx;
  405 +
  406 + }
  407 +
330 .course_detail { 408 .course_detail {
331 409
332 // 关卡 410 // 关卡
@@ -253,6 +253,12 @@ export default { @@ -253,6 +253,12 @@ export default {
253 253
254 254
255 // 提交 255 // 提交
  256 +
  257 +
  258 +
  259 +
  260 +
  261 +
256 submitClock() { 262 submitClock() {
257 var that = this; 263 var that = this;
258 264
1 -{"version":3,"sources":["webpack:///E:/项目/tigerprogram/main.js","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?545b","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?e155","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?7a25","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?9d7e","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?afdc","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?172d"],"names":["createPage","Page","data","content","img","addpic","methods","uploadpic","console","log","uploadImg","t","uni","chooseImage","count","sizeType","sourceType","success","chooseImageRes","tempFilePaths"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,6G;AACAA,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;AACc;;;AAG1E;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAA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;ACA3nC,uC","file":"pages/course/courseComment.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/courseComment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./courseComment.vue?vue&type=template&id=0075e1c7&\"\nvar renderjs\nimport script from \"./courseComment.vue?vue&type=script&lang=js&\"\nexport * from \"./courseComment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./courseComment.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('0075e1c7')) {\n api.createRecord('0075e1c7', component.options)\n } else {\n api.reload('0075e1c7', component.options)\n }\n module.hot.accept(\"./courseComment.vue?vue&type=template&id=0075e1c7&\", function () {\n api.rerender('0075e1c7', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/pages/course/courseComment.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=template&id=0075e1c7&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.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\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tcontent:\"\",\n\t\t\timg:\"../../static/addpic.png\",\n\t\t\taddpic:true\n\t\t}\n\t},\n\tmethods: {\n\t\tuploadpic(){\n\t\t\tconsole.log(3874273487)\n\t\t\tthis.addpic=false\n\t\t},\n\t\t// 上传图片\n\t\tuploadImg(){\n\t\t\tlet t = this;\n\t\t\tuni.chooseImage({\n\t\t\t\tcount: 1, //默认9\n\t\t\t\tsizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有\n\t\t\t\tsourceType: ['album'], //从相册选择\n\t\t\t\tsuccess: chooseImageRes => {\n\t\t\t\t\tconst tempFilePaths = chooseImageRes.tempFilePaths;\n\t\t\t\t\tthis.img = tempFilePaths[0]\n\t\t\t\t\t// App.upload(tempFilePaths[0]).then(res => {\n\t\t\t\t\t// \tthis.front_image = res.url;\n\t\t\t\t\t// });\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t},\n}\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}  
  1 +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/App.vue?5504","webpack:///E:/项目/tigerprogram/App.vue","webpack:///E:/项目/tigerprogram/App.vue?7df3","webpack:///E:/项目/tigerprogram/App.vue?844f","webpack:///E:/项目/tigerprogram/main.js","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?545b","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?e155","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?7a25","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?9d7e","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?afdc","webpack:///E:/项目/tigerprogram/pages/course/courseComment.vue?172d","webpack:///E:/项目/tigerprogram/App.vue?a74e"],"names":["onLaunch","onShow","onHide","post","url","data","promise","Promise","resolve","reject","that","token","uni","getStorageSync","header","postData","request","globalData","baseUrl","method","success","res","code","showToast","title","msg","icon","fail","e","hideNavigationBarLoading","userInfo","upload","filetype","file","wx","showNavigationBarLoading","showLoading","head","typename","uploadFile","filePath","name","formData","console","log","temdata","JSON","parse","urlobj","http_url","kurl","hideLoading","complete","createPage","Page","content","img","addpic","image","cimage","clock_log_id","comments_id","courseid","methods","entercomment","detail","value","uploadpic","uploadImg","chooseImage","count","sizeType","tempFilePaths","app","then","catch","err","send","params","images","setTimeout","navigateTo","onLoad","options","id"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA6lB,CAAgB,unBAAG,EAAC,C;;;;;;;;;;;;;ACClmB;AACdA,UAAQ,EAAE,oBAAW;;AAEpB,GAHa;AAIdC,QAAM,EAAE,kBAAW;;AAElB,GANa;AAOdC,QAAM,EAAE,kBAAW;;AAElB,GATa;AAUdC,MAAI,EAAE,cAASC,GAAT,EAAcC,IAAd,EAAoB;AACzB,QAAIC,OAAO,GAAG,IAAIC,OAAJ,CAAY,UAACC,OAAD,EAAUC,MAAV,EAAqB;AAC9C;AACA,UAAIC,IAAI,GAAG,KAAX;AACCC,WAAK,GAAGC,GAAG,CAACC,cAAJ,CAAmB,OAAnB,CADT;AAECC,YAAM,GAAG;AACR,iBAASH,KAAK,IAAI,EADV,EAFV;;AAKCI,cALD;AAMA;AACAH,SAAG,CAACI,OAAJ,CAAY;AACXZ,WAAG,EAAE,KAAI,CAACa,UAAL,CAAgBC,OAAhB,GAA0Bd,GADpB;AAEXC,YAAI,EAAEA,IAFK;AAGXc,cAAM,EAAE,MAHG;AAIXL,cAAM,EAAEA,MAJG;AAKXM,eAAO,EAAE,iBAASC,GAAT,EAAc;;AAEtB;AACA,cAAIA,GAAG,CAAChB,IAAJ,CAASiB,IAAT,IAAiB,GAArB,EAA0B;AACzBd,mBAAO,CAACa,GAAG,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;;;ACrCf;AAAA;AAAA;AAAA;AAAumC,CAAgB,klCAAG,EAAC,C;;;;;;;;;;;ACA3nC,uC;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACa;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAYf;AACD;AACe,gF","file":"pages/course/courseComment.js","sourcesContent":["import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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\tuni.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\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 let head = {\n\t 'token': wx.getStorageSync('token'),\n\t 'XX-Device-Type': ''\n\t }\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// \tupload(file) {\n// \t\tvar promise = new Promise((resolve, reject) => {\n// \t\t\tlet url = 'http://fnsxcx.w.brotop.cn/api/common/upload';\n// \t\t\tlet head = {\n// \t\t\t\t'token': uni.getStorageSync('token'),\n// \t\t\t};\n// \t\t\t// let typename = {\n// \t\t\t// \tfiletype: filetype //其他参数\n// \t\t\t// };\n// \t\t\tuni.uploadFile({\n// \t\t\t\turl: url, //仅为示例,非真实的接口地址\n// \t\t\t\tfilePath: file,\n// \t\t\t\tname: 'file',\n// \t\t\t\theader: head,\n// \t\t\t\t// formData: typename,\n// \t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\n// \t\t\t\t\tlet temdata = JSON.parse(res.data);\n// \t\t\t\t\tlet urlobj = {\n// \t\t\t\t\t\turl: temdata.data.url,\n// \t\t\t\t\t};\n// \t\t\t\t\tresolve(urlobj);\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tfail: function(res) {\n// \t\t\t\t\tconsole.log(res)\n// \t\t\t\t\treject('网络出错');\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tcomplete: () => {\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t}\n// \t\t\t});\n// \t\t});\n// \t\treturn promise;\n// \t}\n\n}\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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/course/courseComment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./courseComment.vue?vue&type=template&id=0075e1c7&\"\nvar renderjs\nimport script from \"./courseComment.vue?vue&type=script&lang=js&\"\nexport * from \"./courseComment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./courseComment.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('0075e1c7')) {\n api.createRecord('0075e1c7', component.options)\n } else {\n api.reload('0075e1c7', component.options)\n }\n module.hot.accept(\"./courseComment.vue?vue&type=template&id=0075e1c7&\", function () {\n api.rerender('0075e1c7', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/pages/course/courseComment.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=template&id=0075e1c7&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.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\nimport app from \"../../App.vue\";\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tcontent:\"\",\n\t\t\timg:\"../../static/addpic.png\",\n\t\t\taddpic:true,\n\t\t\timage:'',\n\t\t\tcimage:'',\n\t\t\t// 打卡记录id\n\t\t\tclock_log_id:'',\n\t\t\t//评论父级id\n\t\t\tcomments_id:'',\n\t\t\tcourseid:''\n\t\t}\n\t},\n\tmethods: {\n\t\t// 输入评论内容\n\t\tentercomment(e){\n\t\t\tthis.content=e.detail.value\n\t\t},\n\t\tuploadpic(){\n\t\t\tconsole.log(3874273487)\n\t\t\tthis.addpic=false\n\t\t},\n\t\t// 上传图片\n\t\t\n\t\tuploadImg() {\n\t\t let that = this;\n\t\t uni.chooseImage({\n\t\t count: 1,\n\t\t sizeType: ['original', 'compressed'],\n\t\t success: function (res) {\n\t\t console.log(res.tempFilePaths[0])\n\t\t app.upload('image', res.tempFilePaths[0],\"post\").then((res) => {\n\t\t console.log('上传文件', res);\n\t\t that.image=res.url\n\t\t that.cimage=res.kurl\n\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t }).catch((err) => {\n\t\t console.log(err)\n\t\t })\n\t\t },\n\t\t fail: function (res) { }\n\t\t })\n\t\t },\n\t\t \n\t\t //发送\n\t\t send(){\n\t\t\t let that = this;\n\t\t\t var url = '/api/comments/commit';\n\t\t\t var params = {\n\t\t\t\t clock_log_id:that.clock_log_id,\n\t\t\t comments_id: that.comments_id,\n\t\t\t content:that.content,\n\t\t\t\t images:that.image\n\t\t\t }\n\t\t\t app.post(url, params).then((res) => {\n\t\t\t console.log(res);\n\t\t\t\t\tuni.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 setTimeout(function(){\n\t\t\t\t\t uni.navigateTo({\n\t\t\t\t\t \turl:'/pages/course/courseDetail?id='+that.courseid\n\t\t\t\t\t })\n\t\t\t\t })\n\t\t\t }).catch((err) => {\n\t\t\t\t\t\n\t\t\t }) \n\t\t }\n\t},\n\t\n\tonLoad(options) {\n\t\tconsole.log(options)\n\t\tthis.clock_log_id=options.id,\n\t\tthis.courseid=options.courseid\n\t}\n}\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseComment.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","var render, staticRenderFns, recyclableRender, components\nvar renderjs\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 \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('ec8c4bb6')) {\n api.createRecord('ec8c4bb6', component.options)\n } else {\n api.reload('ec8c4bb6', component.options)\n }\n \n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/App.vue\"\nexport default component.exports"],"sourceRoot":""}
1 -{"version":3,"sources":["webpack:///E:/项目/tigerprogram/App.vue?5504","webpack:///E:/项目/tigerprogram/App.vue","webpack:///E:/项目/tigerprogram/App.vue?7df3","webpack:///E:/项目/tigerprogram/App.vue?844f","webpack:///E:/项目/tigerprogram/App.vue?a74e","webpack:///E:/项目/tigerprogram/main.js","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?6466","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?5fe6","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?3104","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?a8c3","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?afd7","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?c85d"],"names":["onLaunch","onShow","onHide","post","url","data","promise","Promise","resolve","reject","that","token","uni","getStorageSync","header","postData","request","globalData","baseUrl","method","success","res","code","showToast","title","msg","icon","fail","e","hideNavigationBarLoading","userInfo","upload","filetype","file","wx","showNavigationBarLoading","showLoading","head","typename","uploadFile","filePath","name","formData","console","log","temdata","JSON","parse","urlobj","http_url","kurl","hideLoading","complete","createPage","Page","isShowImg","img","themeImg","require","completeList","isPoint","pointImg1","pointImg2","pointList","courseid","coursedetail","next","pre","number","courselist","methods","getcoursedetail","params","course_id","app","then","getcordlist","getallcordlist","catch","err","customs_id","id","list","concat","prestep","per","nextstep","toRecord","navigateTo","toSubmit","changeComplete","detail","value","enlargeImg","closeTheme","changePoint","onLoad","options"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA6lB,CAAgB,unB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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;eAGe,EACdjD,IADc,kBACP,CACN,OAAO,EACNkD,SAAS,EAAE,KADL,EAENC,GAAG,EAAE,EAFC,EAGNC,QAAQ,EAAEC,mBAAO,CAAC,wCAAD,CAHX,EAINC,YAAY,EAAE,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAJR,EAKNP,QAAQ,EAAE,EALJ,EAMN;AACAQ,aAAO,EAAE,KAPH,EAQNC,SAAS,EAAEH,mBAAO,CAAC,sCAAD,CARZ,EASNI,SAAS,EAAEJ,mBAAO,CAAC,iCAAD,CATZ,EAUN;AACAK,eAAS,EAAE,CAAC,IAAD,EAAO,OAAP,EAAgB,KAAhB,EAAuB,KAAvB,EAA8B,KAA9B,EAAqC,IAArC,EAA2C,OAA3C,EAAoD,KAApD,EAA2D,OAA3D,EAAoE,KAApE,EAA2E,KAA3E,CAXL,EAYNC,QAAQ,EAAE,EAZJ,EAaNC,YAAY,EAAE,EAbR,EAcNC,IAAI,EAAE,EAdA,EAeNC,GAAG,EAAE,EAfC,EAgBNC,MA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;AACA,WAAKC,GAAL,GAAW,KAAKC,QAAhB;AACA,KAlJO;AAmJR;AACAqC,cApJQ,wBAoJK;AACZ,WAAKvC,SAAL,GAAiB,KAAjB;AACA,KAtJO;AAuJR;AACAwC,eAxJQ,yBAwJM;AACb,WAAKnC,OAAL,GAAe,CAAC,KAAKA,OAArB;AACA,KA1JO,EAzBK;;AAqLd3D,QArLc,oBAqLL,CAAE,CArLG;AAsLd+F,QAtLc,kBAsLPC,OAtLO,EAsLE;AACftD,WAAO,CAACC,GAAR,CAAYqD,OAAZ;AACA,SAAKjC,QAAL,GAAgBiC,OAAO,CAAChB,EAAxB;AACA,SAAKV,eAAL;AACA,GA1La,E;;;;;;;;;;;;;ACtIf;AAAA;AAAA;AAAA;AAAsmC,CAAgB,ilCAAG,EAAC,C;;;;;;;;;;;ACA1nC,uC","file":"pages/course/courseDetail.js","sourcesContent":["import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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\tuni.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\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 let head = {\n\t 'token': wx.getStorageSync('token'),\n\t 'XX-Device-Type': ''\n\t }\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// \tupload(file) {\n// \t\tvar promise = new Promise((resolve, reject) => {\n// \t\t\tlet url = 'http://fnsxcx.w.brotop.cn/api/common/upload';\n// \t\t\tlet head = {\n// \t\t\t\t'token': uni.getStorageSync('token'),\n// \t\t\t};\n// \t\t\t// let typename = {\n// \t\t\t// \tfiletype: filetype //其他参数\n// \t\t\t// };\n// \t\t\tuni.uploadFile({\n// \t\t\t\turl: url, //仅为示例,非真实的接口地址\n// \t\t\t\tfilePath: file,\n// \t\t\t\tname: 'file',\n// \t\t\t\theader: head,\n// \t\t\t\t// formData: typename,\n// \t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\n// \t\t\t\t\tlet temdata = JSON.parse(res.data);\n// \t\t\t\t\tlet urlobj = {\n// \t\t\t\t\t\turl: temdata.data.url,\n// \t\t\t\t\t};\n// \t\t\t\t\tresolve(urlobj);\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tfail: function(res) {\n// \t\t\t\t\tconsole.log(res)\n// \t\t\t\t\treject('网络出错');\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tcomplete: () => {\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t}\n// \t\t\t});\n// \t\t});\n// \t\treturn promise;\n// \t}\n\n}\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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, recyclableRender, components\nvar renderjs\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 \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('ec8c4bb6')) {\n api.createRecord('ec8c4bb6', component.options)\n } else {\n api.reload('ec8c4bb6', component.options)\n }\n \n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/App.vue\"\nexport default component.exports","import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/courseDetail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./courseDetail.vue?vue&type=template&id=5b0a6819&\"\nvar renderjs\nimport script from \"./courseDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./courseDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./courseDetail.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('5b0a6819')) {\n api.createRecord('5b0a6819', component.options)\n } else {\n api.reload('5b0a6819', component.options)\n }\n module.hot.accept(\"./courseDetail.vue?vue&type=template&id=5b0a6819&\", function () {\n api.rerender('5b0a6819', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/pages/course/courseDetail.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=template&id=5b0a6819&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.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//\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//\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\tisShowImg: false,\n\t\t\timg: '',\n\t\t\tthemeImg: require('../../static/banner_img@2x.png'),\n\t\t\tcompleteList: ['1', '2', '3'],\n\t\t\tcomplete: '',\n\t\t\t// 点赞\n\t\t\tisPoint: false,\n\t\t\tpointImg1: require(\"../../static/zan_icon@2x.png\"),\n\t\t\tpointImg2: require(\"../../static/img_03.png\"),\n\t\t\t// 点赞人员\n\t\t\tpointList: ['关心', '思想是根基', '陈cc', '莫妮卡', '莫妮卡', '大鹏', '思想是根基', '陈cc', '思想是根基', '陈cc', '莫妮卡'],\n\t\t\tcourseid: '',\n\t\t\tcoursedetail: '',\n\t\t\tnext: '',\n\t\t\tpre: '',\n\t\t\tnumber: 1,\n\t\t\t//所有用户课程列表\n\t\t\tcourselist: [],\n\t\t\t// 自己课程列表\n\t\t\t\n\t\t};\n\t},\n\tmethods: {\n\t\t//获取课程详情\n\t\tgetcoursedetail() {\n\t\t\tlet that = this;\n\t\t\tvar url = '/api/course/customs_detail';\n\t\t\tvar params = {\n\t\t\t\tcourse_id: that.courseid,\n\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.coursedetail = res\n\t\t\t\tthat.getcordlist()\n\t\t\t\tthat.getallcordlist()\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\n\t\t// 获取自己打卡记录\n\t\tgetcordlist() {\n\t\t\tlet that = this;\n\t\t\tconsole.log(77889900)\n\t\t\tvar url = '/api/clock/clock_log';\n\t\t\tvar params = {\n\t\t\t\tcourse_id: that.coursedetail.course_id,\n\t\t\t\tcustoms_id: that.coursedetail.id\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\t that.courselist = res.list\n\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\t\t//获取所有打卡记录\n\t\tgetallcordlist(){\n\t\t\tlet that = this;\n\t\t\tconsole.log(77889900)\n\t\t\tvar url = '/api/course/user_clock_list';\n\t\t\tvar params = {\n\t\t\t\tcourse_id: that.coursedetail.course_id,\n\t\t\t\tcustoms_id: that.coursedetail.id\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.courselist = that.courselist.concat(res.list)\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t}).catch((err) => {\n\t\t\t\n\t\t\t})\n\t\t},\n\t\t\n\t\t// 上一关\n\t\tprestep() {\n\t\t\tvar that = this;\n\t\t\tthat.number++;\n\t\t\tvar url = '/api/course/customs_choose';\n\t\t\tvar params = {\n\t\t\t\t// course_id: that.courseid,\n\t\t\t\t// customs_id:that.coursedetail.id\n\t\t\t\tcourse_id: 1,\n\t\t\t\tcustoms_id: 1\n\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.next = res.next;\n\t\t\t\tthat.per = res.pre\n\t\t\t\tif (res.next != '') {\n\t\t\t\t\tthat.coursedetail = res.next;\n\t\t\t\t} else(\n\t\t\t\t\tuni.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)\n\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\t\t// 下一关\n\t\tnextstep() {\n\t\t\tvar that = this;\n\t\t\tthat.number++;\n\t\t\tvar url = '/api/course/customs_choose';\n\t\t\tvar params = {\n\t\t\t\t// course_id: that.courseid,\n\t\t\t\t// customs_id:that.coursedetail.id\n\t\t\t\tcourse_id: 1,\n\t\t\t\tcustoms_id: 1\n\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.next = res.next;\n\t\t\t\tthat.per = res.pre\n\t\t\t\tif (res.next != '') {\n\t\t\t\t\tthat.coursedetail = res.next;\n\t\t\t\t} else(\n\t\t\t\t\tuni.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)\n\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\n\t\t// 去打卡记录页\n\n\n\t\ttoRecord() {\n\t\t\tuni.navigateTo({\n\t\t\t\turl: \"/pages/course/recordClock\"\n\t\t\t})\n\t\t},\n\t\t// 去提交打卡页\n\t\ttoSubmit() {\n\n\t\t\tuni.navigateTo({\n\t\t\t\turl: '/pages/course/submitClock?courseid=' + this.courseid + '&custom_id=' + this.coursedetail.id\n\t\t\t})\n\t\t},\n\t\t// 完成事件打分\n\t\tchangeComplete(e) {\n\t\t\tthis.complete = e.detail.value;\n\t\t},\n\t\t// 放大图片\n\t\tenlargeImg() {\n\t\t\tthis.isShowImg = true;\n\t\t\tthis.img = this.themeImg;\n\t\t},\n\t\t// 关闭弹窗\n\t\tcloseTheme() {\n\t\t\tthis.isShowImg = false;\n\t\t},\n\t\t// 点赞\n\t\tchangePoint() {\n\t\t\tthis.isPoint = !this.isPoint\n\t\t},\n\t},\n\tonShow() {},\n\tonLoad(options) {\n\t\tconsole.log(options)\n\t\tthis.courseid = options.id;\n\t\tthis.getcoursedetail()\n\t}\n};\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}  
  1 +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/App.vue?5504","webpack:///E:/项目/tigerprogram/App.vue","webpack:///E:/项目/tigerprogram/App.vue?7df3","webpack:///E:/项目/tigerprogram/App.vue?844f","webpack:///E:/项目/tigerprogram/App.vue?a74e","webpack:///E:/项目/tigerprogram/main.js","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?6466","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?5fe6","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?3104","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?a8c3","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?afd7","webpack:///E:/项目/tigerprogram/pages/course/courseDetail.vue?c85d"],"names":["onLaunch","onShow","onHide","post","url","data","promise","Promise","resolve","reject","that","token","uni","getStorageSync","header","postData","request","globalData","baseUrl","method","success","res","code","showToast","title","msg","icon","fail","e","hideNavigationBarLoading","userInfo","upload","filetype","file","wx","showNavigationBarLoading","showLoading","head","typename","uploadFile","filePath","name","formData","console","log","temdata","JSON","parse","urlobj","http_url","kurl","hideLoading","complete","createPage","Page","isShowImg","img","themeImg","require","completeList","isPoint","pointImg1","pointImg2","pointList","courseid","coursedetail","next","pre","number","showcomment","courselist","methods","getcoursedetail","params","course_id","app","then","getcordlist","getallcordlist","catch","err","customs_id","id","list","concat","prestep","per","nextstep","toRecord","navigateTo","toSubmit","changeComplete","detail","value","enlargeImg","closeTheme","comment","currentTarget","dataset","seemore","clock_log_id","commentlsit","del","showModal","content","confirm","cancel","changePoint","onLoad","options"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA6lB,CAAgB,unBAAG,EAAC,C;;;;;;;;;;;;;ACClmB;AACdA,UAAQ,EAAE,oBAAW;;AAEpB,GAHa;AAIdC,QAAM,EAAE,kBAAW;;AAElB,GANa;AAOdC,QAAM,EAAE,kBAAW;;AAElB,GATa;AAUdC,MAAI,EAAE,cAASC,GAAT,EAAcC,IAAd,EAAoB;AACzB,QAAIC,OAAO,GAAG,IAAIC,OAAJ,CAAY,UAACC,OAAD,EAAUC,MAAV,EAAqB;AAC9C;AACA,UAAIC,IAAI,GAAG,KAAX;AACCC,WAAK,GAAGC,GAAG,CAACC,cAAJ,CAAmB,OAAnB,CADT;AAECC,YAAM,GAAG;AACR,iBAASH,KAAK,IAAI,EADV,EAFV;;AAKCI,cALD;AAMA;AACAH,SAAG,CAACI,OAAJ,CAAY;AACXZ,WAAG,EAAE,KAAI,CAACa,UAAL,CAAgBC,OAAhB,GAA0Bd,GADpB;AAEXC,YAAI,EAAEA,IAFK;AAGXc,cAAM,EAAE,MAHG;AAIXL,cAAM,EAAEA,MAJG;AAKXM,eAAO,EAAE,iBAASC,GAAT,EAAc;;AAEtB;AACA,cAAIA,GAAG,CAAChB,IAAJ,CAASiB,IAAT,IAAiB,GAArB,EAA0B;AACzBd,mBAAO,CAACa,GAAG,CAAChB,IAAJ,CAASA,IAAV,CAAP;AACA,WAFD,MAEO;AACNO,eAAG,CAACW,SAAJ,CAAc;AACbC,mBAAK,EAAEH,GAAG,CAAChB,IAAJ,CAASoB,GADH;AAEbC,kBAAI,EAAE,MAFO,EAAd;;AAIAjB,kBAAM,CAACY,GAAG,CAAChB,IAAL,CAAN;AACA;AACD,SAjBU;AAkBXsB,YAAI,EAAE,cAASC,CAAT,EAAY;AACjBnB,gBAAM,CAAC,MAAD,CAAN;AACAG,aAAG,CAACiB,wBAAJ;AACA,SArBU,EAAZ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuI1nB,+E,8FAvIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;eAGe,EACdjD,IADc,kBACP,CACN,OAAO,EACNkD,SAAS,EAAE,KADL,EAENC,GAAG,EAAE,EAFC,EAGNC,QAAQ,EAAEC,mBAAO,CAAC,wCAAD,CAHX,EAINC,YAAY,EAAE,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAJR,EAKNP,QAAQ,EAAE,EALJ,EAMN;AACAQ,aAAO,EAAE,KAPH,EAQNC,SAAS,EAAEH,mBAAO,CAAC,sCAAD,CARZ,EASNI,SAAS,EAAEJ,mBAAO,CAAC,iCAAD,CATZ,EAUN;AACAK,eAAS,EAAE,CAAC,IAAD,EAAO,OAAP,EAAgB,KAAhB,EAAuB,KAAvB,EAA8B,KAA9B,EAAqC,IAArC,EAA2C,OAA3C,EAAoD,KAApD,EAA2D,OAA3D,EAAoE,KAApE,EAA2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AAA;AAAsmC,CAAgB,ilCAAG,EAAC,C;;;;;;;;;;;ACA1nC,uC","file":"pages/course/courseDetail.js","sourcesContent":["import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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\tuni.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\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 let head = {\n\t 'token': wx.getStorageSync('token'),\n\t 'XX-Device-Type': ''\n\t }\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// \tupload(file) {\n// \t\tvar promise = new Promise((resolve, reject) => {\n// \t\t\tlet url = 'http://fnsxcx.w.brotop.cn/api/common/upload';\n// \t\t\tlet head = {\n// \t\t\t\t'token': uni.getStorageSync('token'),\n// \t\t\t};\n// \t\t\t// let typename = {\n// \t\t\t// \tfiletype: filetype //其他参数\n// \t\t\t// };\n// \t\t\tuni.uploadFile({\n// \t\t\t\turl: url, //仅为示例,非真实的接口地址\n// \t\t\t\tfilePath: file,\n// \t\t\t\tname: 'file',\n// \t\t\t\theader: head,\n// \t\t\t\t// formData: typename,\n// \t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\n// \t\t\t\t\tlet temdata = JSON.parse(res.data);\n// \t\t\t\t\tlet urlobj = {\n// \t\t\t\t\t\turl: temdata.data.url,\n// \t\t\t\t\t};\n// \t\t\t\t\tresolve(urlobj);\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tfail: function(res) {\n// \t\t\t\t\tconsole.log(res)\n// \t\t\t\t\treject('网络出错');\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tcomplete: () => {\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t}\n// \t\t\t});\n// \t\t});\n// \t\treturn promise;\n// \t}\n\n}\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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, recyclableRender, components\nvar renderjs\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 \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('ec8c4bb6')) {\n api.createRecord('ec8c4bb6', component.options)\n } else {\n api.reload('ec8c4bb6', component.options)\n }\n \n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/App.vue\"\nexport default component.exports","import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/courseDetail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./courseDetail.vue?vue&type=template&id=5b0a6819&\"\nvar renderjs\nimport script from \"./courseDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./courseDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./courseDetail.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('5b0a6819')) {\n api.createRecord('5b0a6819', component.options)\n } else {\n api.reload('5b0a6819', component.options)\n }\n module.hot.accept(\"./courseDetail.vue?vue&type=template&id=5b0a6819&\", function () {\n api.rerender('5b0a6819', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/pages/course/courseDetail.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=template&id=5b0a6819&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.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//\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//\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\tisShowImg: false,\n\t\t\timg: '',\n\t\t\tthemeImg: require('../../static/banner_img@2x.png'),\n\t\t\tcompleteList: ['1', '2', '3'],\n\t\t\tcomplete: '',\n\t\t\t// 点赞\n\t\t\tisPoint: false,\n\t\t\tpointImg1: require(\"../../static/zan_icon@2x.png\"),\n\t\t\tpointImg2: require(\"../../static/img_03.png\"),\n\t\t\t// 点赞人员\n\t\t\tpointList: ['关心', '思想是根基', '陈cc', '莫妮卡', '莫妮卡', '大鹏', '思想是根基', '陈cc', '思想是根基', '陈cc', '莫妮卡'],\n\t\t\tcourseid: '',\n\t\t\tcoursedetail: '',\n\t\t\tnext: '',\n\t\t\tpre: '',\n\t\t\tnumber: 1,\n\t\t\t//是否显示评论\n\t\t\tshowcomment:false,\n\t\t\t//所有用户课程列表\n\t\t\tcourselist: [],\n\t\t\t// 自己课程列表,\n\t\t\t\n\n\t\t};\n\t},\n\tmethods: {\n\t\t//获取课程详情\n\t\tgetcoursedetail() {\n\t\t\tlet that = this;\n\t\t\tvar url = '/api/course/customs_detail';\n\t\t\tvar params = {\n\t\t\t\tcourse_id: that.courseid,\n\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.coursedetail = res\n\t\t\t\tthat.getcordlist()\n\t\t\t\tthat.getallcordlist()\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\n\t\t// 获取自己打卡记录\n\t\tgetcordlist() {\n\t\t\tlet that = this;\n\t\t\tconsole.log(77889900)\n\t\t\tvar url = '/api/clock/clock_log';\n\t\t\tvar params = {\n\t\t\t\tcourse_id: that.coursedetail.course_id,\n\t\t\t\tcustoms_id: that.coursedetail.id\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.courselist = res.list\n\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\t\t//获取所有打卡记录\n\t\tgetallcordlist() {\n\t\t\tlet that = this;\n\t\t\tconsole.log(77889900)\n\t\t\tvar url = '/api/course/user_clock_list';\n\t\t\tvar params = {\n\t\t\t\tcourse_id: that.coursedetail.course_id,\n\t\t\t\tcustoms_id: that.coursedetail.id\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.courselist = that.courselist.concat(res.list)\n\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\n\t\t// 上一关\n\t\tprestep() {\n\t\t\tvar that = this;\n\t\t\tthat.number++;\n\t\t\tvar url = '/api/course/customs_choose';\n\t\t\tvar params = {\n\t\t\t\t// course_id: that.courseid,\n\t\t\t\t// customs_id:that.coursedetail.id\n\t\t\t\tcourse_id: 1,\n\t\t\t\tcustoms_id: 1\n\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.next = res.next;\n\t\t\t\tthat.per = res.pre\n\t\t\t\tif (res.next != '') {\n\t\t\t\t\tthat.coursedetail = res.next;\n\t\t\t\t} else(\n\t\t\t\t\tuni.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)\n\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\t\t// 下一关\n\t\tnextstep() {\n\t\t\tvar that = this;\n\t\t\tthat.number++;\n\t\t\tvar url = '/api/course/customs_choose';\n\t\t\tvar params = {\n\t\t\t\t// course_id: that.courseid,\n\t\t\t\t// customs_id:that.coursedetail.id\n\t\t\t\tcourse_id: 1,\n\t\t\t\tcustoms_id: 1\n\n\t\t\t}\n\t\t\tapp.post(url, params).then((res) => {\n\t\t\t\tconsole.log(res);\n\t\t\t\tthat.next = res.next;\n\t\t\t\tthat.per = res.pre\n\t\t\t\tif (res.next != '') {\n\t\t\t\t\tthat.coursedetail = res.next;\n\t\t\t\t} else(\n\t\t\t\t\tuni.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)\n\n\n\n\t\t\t}).catch((err) => {\n\n\t\t\t})\n\t\t},\n\n\t\t// 去打卡记录页\n\n\n\t\ttoRecord() {\n\t\t\tuni.navigateTo({\n\t\t\t\turl: \"/pages/course/recordClock\"\n\t\t\t})\n\t\t},\n\t\t// 去提交打卡页\n\t\ttoSubmit() {\n\n\t\t\tuni.navigateTo({\n\t\t\t\turl: '/pages/course/submitClock?courseid=' + this.courseid + '&custom_id=' + this.coursedetail.id\n\t\t\t})\n\t\t},\n\t\t// 完成事件打分\n\t\tchangeComplete(e) {\n\t\t\tthis.complete = e.detail.value;\n\t\t},\n\t\t// 放大图片\n\t\tenlargeImg() {\n\t\t\tthis.isShowImg = true;\n\t\t\tthis.img = this.themeImg;\n\t\t},\n\t\t// 关闭弹窗\n\t\tcloseTheme() {\n\t\t\tthis.isShowImg = false;\n\t\t},\n\t\t// 评论\n\t\tcomment(e) {\n\t\t\tconsole.log(e)\n\t\t\tlet id = e.currentTarget.dataset.id;\n\t\t\tconsole.log(id)\n\t\t\tuni.navigateTo({\n\t\t\t\turl: '/pages/course/courseComment?id=' + id + '&courseid=' + this.courseid\n\t\t\t})\n\t\t},\n\t\t//查看所有评论\n\t\tseemore(e){\n\t\t\tlet id = e.currentTarget.dataset.id;\n\t\t\t let that = this;\n\t\t\t var url = '/api/comments/get_news_comment';\n\t\t\t var params = {\n\t\t\t clock_log_id: id,\n\t\t\t \n\t\t\t }\n\t\t\t app.post(url, params).then((res) => {\n\t\t\t console.log(res);\n\t\t\t\t that.commentlsit=res.list;\n\t\t\t\t that.showcomment=true\n\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t }).catch((err) => {\n\t\t\t\n\t\t\t })\n\t\t},\n\t\t// 长按删除评论\n\t\tdel(e){\n\t\t\tlet id = e.currentTarget.dataset.id;\n\t\t\tuni.showModal({\n\t\t\t title: '提示',\n\t\t\t content: '删除此条评论',\n\t\t\t success: function (res) {\n\t\t\t if (res.confirm) {\n\t\t\t let that = this;\n\t\t\t var url = '/api/comments/del';\n\t\t\t var params = {\n\t\t\t id:id\n\t\t\t \n\t\t\t }\n\t\t\t app.post(url, params).then((res) => {\n\t\t\t console.log(res);\n\t\t\t\t\t\t\t uni.showToast({\n\t\t\t\t\t\t\t \ttitle:'删除成功',\n\t\t\t\t\t\t\t\ticon:'none'\n\t\t\t\t\t\t\t })\n\t\t\t \n\t\t\t \n\t\t\t \n\t\t\t }).catch((err) => {\n\t\t\t \n\t\t\t })\n\t\t\t \n\t\t\t } else if (res.cancel) {\n\t\t\t console.log('用户点击取消');\n\t\t\t }\n\t\t\t }\n\t\t\t});\n\t\t},\n\t\t\n\t\t\n\t\t// 点赞\n\t\tchangePoint(e) {\n\t\t\tlet id = e.currentTarget.dataset.id;\n\t\t\tthis.isPoint = !this.isPoint\n\t\t},\n\t},\n\tonShow() {},\n\tonLoad(options) {\n\t\tconsole.log(options)\n\t\tthis.courseid = options.id;\n\t\tthis.getcoursedetail()\n\t}\n};\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./courseDetail.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}
1 -{"version":3,"sources":["webpack:///E:/项目/tigerprogram/App.vue?5504","webpack:///E:/项目/tigerprogram/main.js","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?6e20","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?72b8","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?b794","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?dfa0","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?4b82","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?c0e3","webpack:///E:/项目/tigerprogram/App.vue","webpack:///E:/项目/tigerprogram/App.vue?7df3","webpack:///E:/项目/tigerprogram/App.vue?844f","webpack:///E:/项目/tigerprogram/App.vue?a74e"],"names":["createPage","Page","data","currentDate","getDate","format","completeList","complete","feeling","feelindex","content","isDialog","isContent","isCanvas","isClick","date","gantext","type","course_id","customs_id","score","is_privacy","images","scorearr","image","cimage","eventid","ganid","methods","setpricy","cancelpricy","getfenshu","that","url","params","app","post","then","res","id","min","max","push","i","console","log","catch","err","changeComplete","e","kid","obj","detail","value","changefeel","Date","year","getFullYear","month","getMonth","day","bindDateChange","target","entertext","chooseImage","uni","count","sizeType","success","tempFilePaths","upload","kurl","fail","submitClock","showToast","title","icon","undefined","array","JSON","stringify","duration","getCanvas","ctx","createCanvasContext","closeDialog","onLoad","options","custom_id","courseid","onShareAppMessage","from","path","onLaunch","onShow","onHide","promise","Promise","resolve","reject","token","getStorageSync","header","postData","request","globalData","baseUrl","method","code","msg","hideNavigationBarLoading","userInfo","filetype","file","wx","showNavigationBarLoading","showLoading","head","typename","uploadFile","filePath","name","formData","temdata","parse","urlobj","http_url","hideLoading"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA6lB,CAAgB,unBAAG,EAAC,C;;;;;;;;;;;;kDCAjnB,wCAAmB;;AAEnB;AACA,0G;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe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;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACa;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAYf;AACD;AACe,gF","file":"pages/course/submitClock.js","sourcesContent":["import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/submitClock.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./submitClock.vue?vue&type=template&id=6254fece&\"\nvar renderjs\nimport script from \"./submitClock.vue?vue&type=script&lang=js&\"\nexport * from \"./submitClock.vue?vue&type=script&lang=js&\"\nimport style0 from \"./submitClock.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('6254fece')) {\n api.createRecord('6254fece', component.options)\n } else {\n api.reload('6254fece', component.options)\n }\n module.hot.accept(\"./submitClock.vue?vue&type=template&id=6254fece&\", function () {\n api.rerender('6254fece', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/pages/course/submitClock.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=template&id=6254fece&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.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//\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\timport app from \"../../App.vue\";\nexport default {\n\t\n\tdata() {\n\t\tconst currentDate = this.getDate({\n\t\t format: true\n\t\t })\n\t\treturn {\n\t\t\tcompleteList: [],\n\t\t\tcomplete: '',\n\t\t\tfeeling:[],\n\t\t\tfeelindex:'',\n\t\t\tcontent: '',\n\t\t\t// 弹窗\n\t\t\tisDialog: false,\n\t\t\t// 必填提示\n\t\t\tisContent: false,\n\t\t\t// 海报\n\t\t\tisCanvas: false,\n\t\t\t// 防连点\n\t\t\tisClick: false,\n\t\t\t\n\t\t\tdate: currentDate,\n\t\t\t// 打卡感悟\n\t\t\tgantext:'',\n\t\t\ttype:1,\n\t\t\tcourse_id:'',\n\t\t\tcustoms_id:'',\n\t\t\tscore:[],\n\t\t\t// 是否是隐私\n\t\t\tis_privacy:2,\n\t\t\timages:'',\n\t\t\t// 打卡分数\n\t\t\tscorearr:{},\n\t\t\t// 显示的图片\n\t\t\timage:[],\n\t\t\t// 传的图片\n\t\t\tcimage:[],\n\t\t\teventid:'',\n\t\t\tganid:''\n\t\t\t\n\t\t\t\n\t\t};\n\t},\n\tmethods: {\n\t\t\n\t\t// 设为隐私\n\t\t\n\t\tsetpricy(){\n\t\t\tthis.is_privacy=1\n\t\t},\n\t\t// 取消隐私\n\t\tcancelpricy(){\n\t\t\tthis.is_privacy=2\n\t\t},\n\t\t\n\t\t// 获取打分项目\n\t\tgetfenshu(){\n\t\t\tlet that = this;\n\t\t\t var url = '/api/clock/score_option';\n\t\t\t var params = {\n\t\t\t \n\t\t\t }\n\t\t\t app.post(url, params,\"post\").then((res) => {\n\t\t\t\t\t//事件id 情感id\n\t\t\t that.eventid=res[0].id,\n\t\t\t\t that.ganid=res[1].id\n\t\t\t\t // 完成事件\n\t\t\t\t if(res[0].min==res[0].max){\n\t\t\t\t\t that.completeList.push(res[0].min)\n\t\t\t\t\t \n\t\t\t\t }else{\n\t\t\t\t\t for(var i=res[0].min;i<res[0].max;i++){\n\t\t\t\t\t \t\t\t\t\t console.log(i)\n\t\t\t\t\t \t\t\t\t\t that.completeList.push(i) \n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t\t // 情感状态\n\t\t\t\t \n\t\t\t\t if(res[1].min==res[1].max){\n\t\t\t\t \t\t\tthat.feeling.push(res[1].min)\n\t\t\t\t \t\t\t\t\t \n\t\t\t\t }else{\n\t\t\t\t \t\tfor(var i=res[1].min;i<res[1].max;i++){\n\t\t\t\t \t\t\tconsole.log(i)\n\t\t\t\t \t\t\tthat.feeling.push(i) \n\t\t\t\t \t\t}\n\t\t\t\t }\n\t\t\t\t that.feeling=that.feeling;\n\t\t\t\t console.log(that.feeling)\n\t\t\t\t \n\t\t\t\n\t\t\t }).catch((err) => {\n\t\t\t\n\t\t\t})\n\t\t},\n\t\t// 完成事件打分\n\t\tchangeComplete(e) {\n\t\t\tlet kid=this.eventid;\n\t\t\tlet obj={\n\t\t\t\t\n\t\t\t}\n\t\t\tobj[this.eventid]=e.detail.value;\n\t\t\tthis.complete = e.detail.value;\n\t\t\tthis.scorearr[this.eventid]=e.detail.value;\n\t\t\tconsole.log(this.scorearr)\n\t\t},\n\t\t// 情感状态\n\t\tchangefeel(e){\n\t\t\tlet obj={\n\t\t\t\t\n\t\t\t}\n\t\t\tobj[this.ganid]=e.detail.value;\n\t\t\tthis.feelindex=e.detail.value;\n\t\t\tthis.scorearr[this.ganid]=e.detail.value;\n\t\t\tconsole.log(this.scorearr)\n\t\t},\n\t\t// 修改日期\n\t\t getDate(type) {\n\t\t const date = new Date();\n\t\t let year = date.getFullYear();\n\t\t let month = date.getMonth() + 1;\n\t\t let day = date.getDate();\n\t\t\n\t\t if (type === 'start') {\n\t\t year = year - 60;\n\t\t } else if (type === 'end') {\n\t\t year = year + 2;\n\t\t }\n\t\t month = month > 9 ? month : '0' + month;;\n\t\t day = day > 9 ? day : '0' + day;\n\t\t return `${year}-${month}-${day}`;\n\t\t },\n\t\t bindDateChange: function(e) {\n\t\t this.date = e.target.value\n\t\t },\n\t\t\t\t \n\t\t\t\t // 输入打卡感悟\n\t\t\t\t entertext(e){\n\t\t\t\t\t this.gantext=e.detail.value ;\n\t\t\t\t\t console.log(this.gantext)\n\t\t\t\t\t \n\t\t\t\t },\n\t\t\t\t // 上传图片\n\t\t\t\t \n\t\t\t\t chooseImage() {\n\t\t\t\t let that = this;\n\t\t\t\t uni.chooseImage({\n\t\t\t\t count: 1,\n\t\t\t\t sizeType: ['original', 'compressed'],\n\t\t\t\t success: function (res) {\n\t\t\t\t console.log(res.tempFilePaths[0])\n\t\t\t\t app.upload('image', res.tempFilePaths[0],\"post\").then((res) => {\n\t\t\t\t console.log('上传文件', res);\n\t\t\t\t that.image=res.url\n\t\t\t\t that.cimage=res.kurl\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t }).catch((err) => {\n\t\t\t\t console.log(err)\n\t\t\t\t })\n\t\t\t\t },\n\t\t\t\t fail: function (res) { }\n\t\t\t\t })\n\t\t\t\t },\n\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\t\t// 提交\n\t\tsubmitClock() {\n\t\t\tvar that = this;\n\t\t\t\t\n\t\t\tif (!that.isClick) {\n\t\t\t\n\t\t\t\tif(that.gantext==''){\n\t\t\t\t\tuni.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\t\n\t\t\t\t\treturn false\n\t\t\t\t}\n\t\t\t\tif(that.image==''){\n\t\t\t\t\tuni.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\t\n\t\t\t\t\treturn false\n\t\t\t\t}\n\t\t\t\tconsole.log(that.scorearr[that.eventid])\n\t\t\t\tif(that.scorearr[that.eventid]==undefined){\n\t\t\t\t\tuni.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\treturn false\n\t\t\t\t}\n\t\t\t\tif(that.scorearr[that.ganid]==undefined){\n\t\t\t\t\tuni.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\t\n\t\t\t\t\treturn false\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\tconsole.log(that.scorearr)\n\t\t\t\t\t var url = '/api/clock/clock';\n\t\t\t\t\t var params = {\n\t\t\t\t\t type: that.type,\n\t\t\t\t\t\t content:that.gantext,\n\t\t\t\t\t\t course_id:that.course_id,\n\t\t\t\t\t\t customs_id:that.customs_id,\n\t\t\t\t\t\t images:that.cimage,\n\t\t\t\t\t\t array:JSON.stringify(that.scorearr),\n\t\t\t\t\t\t is_privacy:that.is_privacy,\n\t\t\t\t\t }\n\t\t\t\t\t app.post(url, params).then((res) => {\n\t\t\t\t\t console.log(res);\n\t\t\t\t\t // this.isDialog = true;\n\t\t\t\t\t // this.isContent = true;\n\t\t\t\t\t uni.showToast({\n\t\t\t\t\t \ttitle: '打卡成功',\n\t\t\t\t\t \ticon: 'success',\n\t\t\t\t\t \tduration: 3000\n\t\t\t\t\t });\n\t\t\t\t\t\n\t\t\t\t\t }).catch((err) => {\n\t\t\t\t\t\t\tconsole.log(err)\n\t\t\t\t\t\n\t\t\t\t\t })\n\t\t\t\t\t\n\t\t\t\t\t// setTimeout(function() {\n\t\t\t\t\t// \t// 海报\n\t\t\t\t\t// \tt.isCanvas = true;\n\t\t\t\t\t// \tt.isDialog = true;\n\t\t\t\t\t// \tt.getCanvas();\n\t\t\t\t\t// }, 3000);\n\t\t\t\t} \n\t\t\t\n\t\t},\n\t\t// 绘制海报\n\t\tgetCanvas() {\n\t\t\tvar ctx = uni.createCanvasContext('myCanvas');\n\t\t\t// 背景图\n\t\t\t// ctx.drawImage(\"../../static/bg.png\", 0, 0, 375, 550);\n\t\t\t// ctx.save();\n\t\t\t// // 头像圆\n\t\t\t// ctx.arc(198, 43, 30, 0, 2 * Math.PI)\n\t\t\t// ctx.arcTo(100, 100, 120, 120, 10)\n\t\t\t// ctx.setFillStyle('#fff')\n\t\t\t// ctx.fill()\n\t\t\t// ctx.save()\n\t\t\t// // 头像\n\t\t\t// ctx.drawImage(\"../../static/header.png\",173,18,50,50);\n\t\t\t// ctx.save();\n\t\t\t// // 昵称\n\t\t\t// var name = \"赚钱的小李\";\n\t\t\t// ctx.setFontSize(14);\n\t\t\t// ctx.fillText(name,162,90);\n\t\t\t// ctx.save()\n\t\t\t// // 二维码\n\t\t\t// ctx.drawImage(\"../../static/qr.png\",120,335,140,140);\n\t\t\t// ctx.save();\n\t\t\t// ctx.draw();\n\t\t},\n\t\t// 关闭弹窗\n\t\tcloseDialog() {\n\t\t\tthis.isDialog = false;\n\t\t\tthis.isContent = false;\n\t\t\tthis.isCanvas = false;\n\t\t},\n\t\t\n\t},\n\tonLoad(options) {\n\t\tconsole.log(options)\n\t\tthis.customs_id=options.custom_id;\n\t\tthis.course_id=options.courseid;\n\t\tconsole.log(this.customs_id);\n\t\tconsole.log(this.course_id)\n\t\tthis.getfenshu()\t\n\t},\n\t// 分享\n\tonShareAppMessage() {\n\t\tif (res.from === 'button') {\n\t\t\t// 来自页面内分享按钮\n\t\t}\n\t\treturn {\n\t\t\ttitle: '打卡',\n\t\t\tpath: '/pages/course/submitClock'\n\t\t};\n\t}\n};\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","\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\tuni.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\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 let head = {\n\t 'token': wx.getStorageSync('token'),\n\t 'XX-Device-Type': ''\n\t }\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// \tupload(file) {\n// \t\tvar promise = new Promise((resolve, reject) => {\n// \t\t\tlet url = 'http://fnsxcx.w.brotop.cn/api/common/upload';\n// \t\t\tlet head = {\n// \t\t\t\t'token': uni.getStorageSync('token'),\n// \t\t\t};\n// \t\t\t// let typename = {\n// \t\t\t// \tfiletype: filetype //其他参数\n// \t\t\t// };\n// \t\t\tuni.uploadFile({\n// \t\t\t\turl: url, //仅为示例,非真实的接口地址\n// \t\t\t\tfilePath: file,\n// \t\t\t\tname: 'file',\n// \t\t\t\theader: head,\n// \t\t\t\t// formData: typename,\n// \t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\n// \t\t\t\t\tlet temdata = JSON.parse(res.data);\n// \t\t\t\t\tlet urlobj = {\n// \t\t\t\t\t\turl: temdata.data.url,\n// \t\t\t\t\t};\n// \t\t\t\t\tresolve(urlobj);\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tfail: function(res) {\n// \t\t\t\t\tconsole.log(res)\n// \t\t\t\t\treject('网络出错');\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tcomplete: () => {\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t}\n// \t\t\t});\n// \t\t});\n// \t\treturn promise;\n// \t}\n\n}\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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, recyclableRender, components\nvar renderjs\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 \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('ec8c4bb6')) {\n api.createRecord('ec8c4bb6', component.options)\n } else {\n api.reload('ec8c4bb6', component.options)\n }\n \n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/App.vue\"\nexport default component.exports"],"sourceRoot":""}  
  1 +{"version":3,"sources":["webpack:///E:/项目/tigerprogram/App.vue?5504","webpack:///E:/项目/tigerprogram/main.js","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?6e20","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?72b8","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?b794","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?dfa0","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?4b82","webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?c0e3","webpack:///E:/项目/tigerprogram/App.vue","webpack:///E:/项目/tigerprogram/App.vue?7df3","webpack:///E:/项目/tigerprogram/App.vue?844f","webpack:///E:/项目/tigerprogram/App.vue?a74e"],"names":["createPage","Page","data","currentDate","getDate","format","completeList","complete","feeling","feelindex","content","isDialog","isContent","isCanvas","isClick","date","gantext","type","course_id","customs_id","score","is_privacy","images","scorearr","image","cimage","eventid","ganid","methods","setpricy","cancelpricy","getfenshu","that","url","params","app","post","then","res","id","min","max","push","i","console","log","catch","err","changeComplete","e","kid","obj","detail","value","changefeel","Date","year","getFullYear","month","getMonth","day","bindDateChange","target","entertext","chooseImage","uni","count","sizeType","success","tempFilePaths","upload","kurl","fail","submitClock","showToast","title","icon","undefined","array","JSON","stringify","duration","getCanvas","ctx","createCanvasContext","closeDialog","onLoad","options","custom_id","courseid","onShareAppMessage","from","path","onLaunch","onShow","onHide","promise","Promise","resolve","reject","token","getStorageSync","header","postData","request","globalData","baseUrl","method","code","msg","hideNavigationBarLoading","userInfo","filetype","file","wx","showNavigationBarLoading","showLoading","head","typename","uploadFile","filePath","name","formData","temdata","parse","urlobj","http_url","hideLoading"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA6lB,CAAgB,unBAAG,EAAC,C;;;;;;;;;;;;kDCAjnB,wCAAmB;;AAEnB;AACA,0G;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0F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A;AAA22B,CAAgB,62BAAG,EAAC,C;;;;;;;;;;;ACA/3B,uC;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACa;;;AAG/D;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAYf;AACD;AACe,gF","file":"pages/course/submitClock.js","sourcesContent":["import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue' \nimport Page from './pages/course/submitClock.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./submitClock.vue?vue&type=template&id=6254fece&\"\nvar renderjs\nimport script from \"./submitClock.vue?vue&type=script&lang=js&\"\nexport * from \"./submitClock.vue?vue&type=script&lang=js&\"\nimport style0 from \"./submitClock.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('6254fece')) {\n api.createRecord('6254fece', component.options)\n } else {\n api.reload('6254fece', component.options)\n }\n module.hot.accept(\"./submitClock.vue?vue&type=template&id=6254fece&\", function () {\n api.rerender('6254fece', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/pages/course/submitClock.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=template&id=6254fece&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.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//\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\timport app from \"../../App.vue\";\nexport default {\n\t\n\tdata() {\n\t\tconst currentDate = this.getDate({\n\t\t format: true\n\t\t })\n\t\treturn {\n\t\t\tcompleteList: [],\n\t\t\tcomplete: '',\n\t\t\tfeeling:[],\n\t\t\tfeelindex:'',\n\t\t\tcontent: '',\n\t\t\t// 弹窗\n\t\t\tisDialog: false,\n\t\t\t// 必填提示\n\t\t\tisContent: false,\n\t\t\t// 海报\n\t\t\tisCanvas: false,\n\t\t\t// 防连点\n\t\t\tisClick: false,\n\t\t\t\n\t\t\tdate: currentDate,\n\t\t\t// 打卡感悟\n\t\t\tgantext:'',\n\t\t\ttype:1,\n\t\t\tcourse_id:'',\n\t\t\tcustoms_id:'',\n\t\t\tscore:[],\n\t\t\t// 是否是隐私\n\t\t\tis_privacy:2,\n\t\t\timages:'',\n\t\t\t// 打卡分数\n\t\t\tscorearr:{},\n\t\t\t// 显示的图片\n\t\t\timage:[],\n\t\t\t// 传的图片\n\t\t\tcimage:[],\n\t\t\teventid:'',\n\t\t\tganid:''\n\t\t\t\n\t\t\t\n\t\t};\n\t},\n\tmethods: {\n\t\t\n\t\t// 设为隐私\n\t\t\n\t\tsetpricy(){\n\t\t\tthis.is_privacy=1\n\t\t},\n\t\t// 取消隐私\n\t\tcancelpricy(){\n\t\t\tthis.is_privacy=2\n\t\t},\n\t\t\n\t\t// 获取打分项目\n\t\tgetfenshu(){\n\t\t\tlet that = this;\n\t\t\t var url = '/api/clock/score_option';\n\t\t\t var params = {\n\t\t\t \n\t\t\t }\n\t\t\t app.post(url, params,\"post\").then((res) => {\n\t\t\t\t\t//事件id 情感id\n\t\t\t that.eventid=res[0].id,\n\t\t\t\t that.ganid=res[1].id\n\t\t\t\t // 完成事件\n\t\t\t\t if(res[0].min==res[0].max){\n\t\t\t\t\t that.completeList.push(res[0].min)\n\t\t\t\t\t \n\t\t\t\t }else{\n\t\t\t\t\t for(var i=res[0].min;i<res[0].max;i++){\n\t\t\t\t\t \t\t\t\t\t console.log(i)\n\t\t\t\t\t \t\t\t\t\t that.completeList.push(i) \n\t\t\t\t\t }\n\t\t\t\t }\n\t\t\t\t // 情感状态\n\t\t\t\t \n\t\t\t\t if(res[1].min==res[1].max){\n\t\t\t\t \t\t\tthat.feeling.push(res[1].min)\n\t\t\t\t \t\t\t\t\t \n\t\t\t\t }else{\n\t\t\t\t \t\tfor(var i=res[1].min;i<res[1].max;i++){\n\t\t\t\t \t\t\tconsole.log(i)\n\t\t\t\t \t\t\tthat.feeling.push(i) \n\t\t\t\t \t\t}\n\t\t\t\t }\n\t\t\t\t that.feeling=that.feeling;\n\t\t\t\t console.log(that.feeling)\n\t\t\t\t \n\t\t\t\n\t\t\t }).catch((err) => {\n\t\t\t\n\t\t\t})\n\t\t},\n\t\t// 完成事件打分\n\t\tchangeComplete(e) {\n\t\t\tlet kid=this.eventid;\n\t\t\tlet obj={\n\t\t\t\t\n\t\t\t}\n\t\t\tobj[this.eventid]=e.detail.value;\n\t\t\tthis.complete = e.detail.value;\n\t\t\tthis.scorearr[this.eventid]=e.detail.value;\n\t\t\tconsole.log(this.scorearr)\n\t\t},\n\t\t// 情感状态\n\t\tchangefeel(e){\n\t\t\tlet obj={\n\t\t\t\t\n\t\t\t}\n\t\t\tobj[this.ganid]=e.detail.value;\n\t\t\tthis.feelindex=e.detail.value;\n\t\t\tthis.scorearr[this.ganid]=e.detail.value;\n\t\t\tconsole.log(this.scorearr)\n\t\t},\n\t\t// 修改日期\n\t\t getDate(type) {\n\t\t const date = new Date();\n\t\t let year = date.getFullYear();\n\t\t let month = date.getMonth() + 1;\n\t\t let day = date.getDate();\n\t\t\n\t\t if (type === 'start') {\n\t\t year = year - 60;\n\t\t } else if (type === 'end') {\n\t\t year = year + 2;\n\t\t }\n\t\t month = month > 9 ? month : '0' + month;;\n\t\t day = day > 9 ? day : '0' + day;\n\t\t return `${year}-${month}-${day}`;\n\t\t },\n\t\t bindDateChange: function(e) {\n\t\t this.date = e.target.value\n\t\t },\n\t\t\t\t \n\t\t\t\t // 输入打卡感悟\n\t\t\t\t entertext(e){\n\t\t\t\t\t this.gantext=e.detail.value ;\n\t\t\t\t\t console.log(this.gantext)\n\t\t\t\t\t \n\t\t\t\t },\n\t\t\t\t // 上传图片\n\t\t\t\t \n\t\t\t\t chooseImage() {\n\t\t\t\t let that = this;\n\t\t\t\t uni.chooseImage({\n\t\t\t\t count: 1,\n\t\t\t\t sizeType: ['original', 'compressed'],\n\t\t\t\t success: function (res) {\n\t\t\t\t console.log(res.tempFilePaths[0])\n\t\t\t\t app.upload('image', res.tempFilePaths[0],\"post\").then((res) => {\n\t\t\t\t console.log('上传文件', res);\n\t\t\t\t that.image=res.url\n\t\t\t\t that.cimage=res.kurl\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t }).catch((err) => {\n\t\t\t\t console.log(err)\n\t\t\t\t })\n\t\t\t\t },\n\t\t\t\t fail: function (res) { }\n\t\t\t\t })\n\t\t\t\t },\n\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\t\t// 提交\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tsubmitClock() {\n\t\t\tvar that = this;\n\t\t\t\t\n\t\t\tif (!that.isClick) {\n\t\t\t\n\t\t\t\tif(that.gantext==''){\n\t\t\t\t\tuni.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\t\n\t\t\t\t\treturn false\n\t\t\t\t}\n\t\t\t\tif(that.image==''){\n\t\t\t\t\tuni.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\t\n\t\t\t\t\treturn false\n\t\t\t\t}\n\t\t\t\tconsole.log(that.scorearr[that.eventid])\n\t\t\t\tif(that.scorearr[that.eventid]==undefined){\n\t\t\t\t\tuni.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\treturn false\n\t\t\t\t}\n\t\t\t\tif(that.scorearr[that.ganid]==undefined){\n\t\t\t\t\tuni.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\t\n\t\t\t\t\treturn false\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\tconsole.log(that.scorearr)\n\t\t\t\t\t var url = '/api/clock/clock';\n\t\t\t\t\t var params = {\n\t\t\t\t\t type: that.type,\n\t\t\t\t\t\t content:that.gantext,\n\t\t\t\t\t\t course_id:that.course_id,\n\t\t\t\t\t\t customs_id:that.customs_id,\n\t\t\t\t\t\t images:that.cimage,\n\t\t\t\t\t\t array:JSON.stringify(that.scorearr),\n\t\t\t\t\t\t is_privacy:that.is_privacy,\n\t\t\t\t\t }\n\t\t\t\t\t app.post(url, params).then((res) => {\n\t\t\t\t\t console.log(res);\n\t\t\t\t\t // this.isDialog = true;\n\t\t\t\t\t // this.isContent = true;\n\t\t\t\t\t uni.showToast({\n\t\t\t\t\t \ttitle: '打卡成功',\n\t\t\t\t\t \ticon: 'success',\n\t\t\t\t\t \tduration: 3000\n\t\t\t\t\t });\n\t\t\t\t\t\n\t\t\t\t\t }).catch((err) => {\n\t\t\t\t\t\t\tconsole.log(err)\n\t\t\t\t\t\n\t\t\t\t\t })\n\t\t\t\t\t\n\t\t\t\t\t// setTimeout(function() {\n\t\t\t\t\t// \t// 海报\n\t\t\t\t\t// \tt.isCanvas = true;\n\t\t\t\t\t// \tt.isDialog = true;\n\t\t\t\t\t// \tt.getCanvas();\n\t\t\t\t\t// }, 3000);\n\t\t\t\t} \n\t\t\t\n\t\t},\n\t\t// 绘制海报\n\t\tgetCanvas() {\n\t\t\tvar ctx = uni.createCanvasContext('myCanvas');\n\t\t\t// 背景图\n\t\t\t// ctx.drawImage(\"../../static/bg.png\", 0, 0, 375, 550);\n\t\t\t// ctx.save();\n\t\t\t// // 头像圆\n\t\t\t// ctx.arc(198, 43, 30, 0, 2 * Math.PI)\n\t\t\t// ctx.arcTo(100, 100, 120, 120, 10)\n\t\t\t// ctx.setFillStyle('#fff')\n\t\t\t// ctx.fill()\n\t\t\t// ctx.save()\n\t\t\t// // 头像\n\t\t\t// ctx.drawImage(\"../../static/header.png\",173,18,50,50);\n\t\t\t// ctx.save();\n\t\t\t// // 昵称\n\t\t\t// var name = \"赚钱的小李\";\n\t\t\t// ctx.setFontSize(14);\n\t\t\t// ctx.fillText(name,162,90);\n\t\t\t// ctx.save()\n\t\t\t// // 二维码\n\t\t\t// ctx.drawImage(\"../../static/qr.png\",120,335,140,140);\n\t\t\t// ctx.save();\n\t\t\t// ctx.draw();\n\t\t},\n\t\t// 关闭弹窗\n\t\tcloseDialog() {\n\t\t\tthis.isDialog = false;\n\t\t\tthis.isContent = false;\n\t\t\tthis.isCanvas = false;\n\t\t},\n\t\t\n\t},\n\tonLoad(options) {\n\t\tconsole.log(options)\n\t\tthis.customs_id=options.custom_id;\n\t\tthis.course_id=options.courseid;\n\t\tconsole.log(this.customs_id);\n\t\tconsole.log(this.course_id)\n\t\tthis.getfenshu()\t\n\t},\n\t// 分享\n\tonShareAppMessage() {\n\t\tif (res.from === 'button') {\n\t\t\t// 来自页面内分享按钮\n\t\t}\n\t\treturn {\n\t\t\ttitle: '打卡',\n\t\t\tpath: '/pages/course/submitClock'\n\t\t};\n\t}\n};\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\lib\\\\loader.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./submitClock.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","\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\tuni.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\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 let head = {\n\t 'token': wx.getStorageSync('token'),\n\t 'XX-Device-Type': ''\n\t }\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// \tupload(file) {\n// \t\tvar promise = new Promise((resolve, reject) => {\n// \t\t\tlet url = 'http://fnsxcx.w.brotop.cn/api/common/upload';\n// \t\t\tlet head = {\n// \t\t\t\t'token': uni.getStorageSync('token'),\n// \t\t\t};\n// \t\t\t// let typename = {\n// \t\t\t// \tfiletype: filetype //其他参数\n// \t\t\t// };\n// \t\t\tuni.uploadFile({\n// \t\t\t\turl: url, //仅为示例,非真实的接口地址\n// \t\t\t\tfilePath: file,\n// \t\t\t\tname: 'file',\n// \t\t\t\theader: head,\n// \t\t\t\t// formData: typename,\n// \t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\n// \t\t\t\t\tlet temdata = JSON.parse(res.data);\n// \t\t\t\t\tlet urlobj = {\n// \t\t\t\t\t\turl: temdata.data.url,\n// \t\t\t\t\t};\n// \t\t\t\t\tresolve(urlobj);\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tfail: function(res) {\n// \t\t\t\t\tconsole.log(res)\n// \t\t\t\t\treject('网络出错');\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t},\n// \t\t\t\tcomplete: () => {\n// \t\t\t\t\tuni.hideNavigationBarLoading();\n// \t\t\t\t\tuni.hideLoading();\n// \t\t\t\t}\n// \t\t\t});\n// \t\t});\n// \t\treturn promise;\n// \t}\n\n}\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\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, recyclableRender, components\nvar renderjs\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 \"!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\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 (!api.isRecorded('ec8c4bb6')) {\n api.createRecord('ec8c4bb6', component.options)\n } else {\n api.reload('ec8c4bb6', component.options)\n }\n \n }\n}\ncomponent.options.__file = \"E:/项目/tigerprogram/App.vue\"\nexport default component.exports"],"sourceRoot":""}
1 (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/course/courseComment"],{ 1 (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/course/courseComment"],{
2 2
  3 +/***/ 10:
  4 +/*!***********************************************************!*\
  5 + !*** E:/项目/tigerprogram/App.vue?vue&type=script&lang=js& ***!
  6 + \***********************************************************/
  7 +/*! no static exports found */
  8 +/***/ (function(module, __webpack_exports__, __webpack_require__) {
  9 +
  10 +"use strict";
  11 +__webpack_require__.r(__webpack_exports__);
  12 +/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js& */ 11);
  13 +/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
  14 +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  15 + /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
  16 +
  17 +/***/ }),
  18 +
  19 +/***/ 11:
  20 +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  21 + !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!E:/项目/tigerprogram/App.vue?vue&type=script&lang=js& ***!
  22 + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  23 +/*! no static exports found */
  24 +/***/ (function(module, exports, __webpack_require__) {
  25 +
  26 +"use strict";
  27 +/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default =
  28 +{
  29 + onLaunch: function onLaunch() {
  30 +
  31 + },
  32 + onShow: function onShow() {
  33 +
  34 + },
  35 + onHide: function onHide() {
  36 +
  37 + },
  38 + post: function post(url, data) {var _this = this;
  39 + var promise = new Promise(function (resolve, reject) {
  40 + //init
  41 + var that = _this,
  42 + token = uni.getStorageSync('token'),
  43 + header = {
  44 + 'token': token || '' },
  45 +
  46 + postData;
  47 + //网络请求
  48 + uni.request({
  49 + url: _this.globalData.baseUrl + url,
  50 + data: data,
  51 + method: 'POST',
  52 + header: header,
  53 + success: function success(res) {
  54 +
  55 + //返回取得的数据
  56 + if (res.data.code == '1') {
  57 + resolve(res.data.data);
  58 + } else {
  59 + uni.showToast({
  60 + title: res.data.msg,
  61 + icon: 'none' });
  62 +
  63 + reject(res.data);
  64 + }
  65 + },
  66 + fail: function fail(e) {
  67 + reject('网络出错');
  68 + uni.hideNavigationBarLoading();
  69 + } });
  70 +
  71 + });
  72 + return promise;
  73 + },
  74 + globalData: {
  75 + userInfo: null,
  76 + baseUrl: 'http://fnsxcx.w.brotop.cn' },
  77 +
  78 +
  79 + upload: function upload(filetype, file) {
  80 +
  81 + var promise = new Promise(function (resolve, reject) {
  82 + wx.showNavigationBarLoading();
  83 + wx.showLoading({
  84 + title: '上传中' });
  85 +
  86 + var url = 'http://fnsxcx.w.brotop.cn/api/common/upload';
  87 + var head = {
  88 + 'token': wx.getStorageSync('token'),
  89 + 'XX-Device-Type': '' };
  90 +
  91 + var typename = {
  92 + filetype: filetype };
  93 +
  94 + wx.uploadFile({
  95 + url: url, //仅为示例,非真实的接口地址
  96 + filePath: file,
  97 + name: 'file',
  98 + header: head,
  99 + formData: typename,
  100 + success: function success(res) {
  101 + console.log('上传文件后', res);
  102 + var temdata = JSON.parse(res.data);
  103 + console.log(temdata);
  104 + var urlobj = {
  105 + url: temdata.data.http_url,
  106 + kurl: temdata.data.url };
  107 +
  108 + resolve(urlobj);
  109 +
  110 + },
  111 + fail: function fail(res) {
  112 + reject('网络出错');
  113 + wx.hideNavigationBarLoading();
  114 + wx.hideLoading();
  115 + },
  116 + complete: function complete() {
  117 + wx.hideNavigationBarLoading();
  118 + wx.hideLoading();
  119 + } });
  120 +
  121 + });
  122 + return promise;
  123 + } };exports.default = _default;
  124 +/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
  125 +
  126 +/***/ }),
  127 +
  128 +/***/ 12:
  129 +/*!*******************************************************************!*\
  130 + !*** E:/项目/tigerprogram/App.vue?vue&type=style&index=0&lang=css& ***!
  131 + \*******************************************************************/
  132 +/*! no static exports found */
  133 +/***/ (function(module, __webpack_exports__, __webpack_require__) {
  134 +
  135 +"use strict";
  136 +__webpack_require__.r(__webpack_exports__);
  137 +/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-1!./node_modules/css-loader??ref--6-oneOf-1-2!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css& */ 13);
  138 +/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
  139 +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  140 + /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_index_js_ref_6_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
  141 +
  142 +/***/ }),
  143 +
  144 +/***/ 13:
  145 +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  146 + !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-1!./node_modules/css-loader??ref--6-oneOf-1-2!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!E:/项目/tigerprogram/App.vue?vue&type=style&index=0&lang=css& ***!
  147 + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  148 +/*! no static exports found */
  149 +/***/ (function(module, exports, __webpack_require__) {
  150 +
  151 +// extracted by mini-css-extract-plugin
  152 +
  153 +/***/ }),
  154 +
3 /***/ 60: 155 /***/ 60:
4 /*!****************************************************************************!*\ 156 /*!****************************************************************************!*\
5 !*** E:/项目/tigerprogram/main.js?{"page":"pages%2Fcourse%2FcourseComment"} ***! 157 !*** E:/项目/tigerprogram/main.js?{"page":"pages%2Fcourse%2FcourseComment"} ***!
@@ -133,7 +285,43 @@ __webpack_require__.r(__webpack_exports__); @@ -133,7 +285,43 @@ __webpack_require__.r(__webpack_exports__);
133 /***/ (function(module, exports, __webpack_require__) { 285 /***/ (function(module, exports, __webpack_require__) {
134 286
135 "use strict"; 287 "use strict";
136 -/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // 288 +/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
  289 +
  290 +
  291 +
  292 +
  293 +
  294 +
  295 +
  296 +
  297 +
  298 +
  299 +
  300 +
  301 +
  302 +
  303 +
  304 +
  305 +
  306 +
  307 +
  308 +
  309 +
  310 +
  311 +
  312 +
  313 +
  314 +
  315 +
  316 +
  317 +
  318 +
  319 +
  320 +
  321 +
  322 +
  323 +
  324 +var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
137 // 325 //
138 // 326 //
139 // 327 //
@@ -168,36 +356,52 @@ __webpack_require__.r(__webpack_exports__); @@ -168,36 +356,52 @@ __webpack_require__.r(__webpack_exports__);
168 // 356 //
169 // 357 //
170 // 358 //
171 -var _default =  
172 -{  
173 - data: function data() {  
174 - return {  
175 - content: "",  
176 - img: "../../static/addpic.png",  
177 - addpic: true }; 359 +var _default = { data: function data() {return { content: "", img: "../../static/addpic.png", addpic: true, image: '', cimage: '', // 打卡记录id
  360 + clock_log_id: '', //评论父级id
  361 + comments_id: '', courseid: '' };}, methods: { // 输入评论内容
  362 + entercomment: function entercomment(e) {this.content = e.detail.value;}, uploadpic: function uploadpic() {console.log(3874273487);this.addpic = false;}, // 上传图片
  363 + uploadImg: function uploadImg() {var that = this;uni.chooseImage({ count: 1, sizeType: ['original', 'compressed'], success: function success(res) {console.log(res.tempFilePaths[0]);_App.default.upload('image', res.tempFilePaths[0], "post").then(function (res) {console.log('上传文件', res);that.image = res.url;that.cimage = res.kurl;
178 364
  365 + }).catch(function (err) {
  366 + console.log(err);
  367 + });
179 }, 368 },
180 - methods: {  
181 - uploadpic: function uploadpic() {  
182 - console.log(3874273487);  
183 - this.addpic = false; 369 + fail: function fail(res) {} });
  370 +
184 }, 371 },
185 - // 上传图片  
186 - uploadImg: function uploadImg() {var _this = this;  
187 - var t = this;  
188 - uni.chooseImage({  
189 - count: 1, //默认9  
190 - sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有  
191 - sourceType: ['album'], //从相册选择  
192 - success: function success(chooseImageRes) {  
193 - var tempFilePaths = chooseImageRes.tempFilePaths;  
194 - _this.img = tempFilePaths[0];  
195 - // App.upload(tempFilePaths[0]).then(res => {  
196 - // this.front_image = res.url;  
197 - // });  
198 - } });  
199 372
200 - } } };exports.default = _default; 373 + //发送
  374 + send: function send() {
  375 + var that = this;
  376 + var url = '/api/comments/commit';
  377 + var params = {
  378 + clock_log_id: that.clock_log_id,
  379 + comments_id: that.comments_id,
  380 + content: that.content,
  381 + images: that.image };
  382 +
  383 + _App.default.post(url, params).then(function (res) {
  384 + console.log(res);
  385 + uni.showToast({
  386 + title: '提交成功',
  387 + icon: 'none' });
  388 +
  389 + setTimeout(function () {
  390 + uni.navigateTo({
  391 + url: '/pages/course/courseDetail?id=' + that.courseid });
  392 +
  393 + });
  394 + }).catch(function (err) {
  395 +
  396 + });
  397 + } },
  398 +
  399 +
  400 + onLoad: function onLoad(options) {
  401 + console.log(options);
  402 + this.clock_log_id = options.id,
  403 + this.courseid = options.courseid;
  404 + } };exports.default = _default;
201 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"])) 405 /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
202 406
203 /***/ }), 407 /***/ }),
@@ -227,6 +431,48 @@ __webpack_require__.r(__webpack_exports__); @@ -227,6 +431,48 @@ __webpack_require__.r(__webpack_exports__);
227 431
228 // extracted by mini-css-extract-plugin 432 // extracted by mini-css-extract-plugin
229 433
  434 +/***/ }),
  435 +
  436 +/***/ 9:
  437 +/*!**********************************!*\
  438 + !*** E:/项目/tigerprogram/App.vue ***!
  439 + \**********************************/
  440 +/*! no static exports found */
  441 +/***/ (function(module, __webpack_exports__, __webpack_require__) {
  442 +
  443 +"use strict";
  444 +__webpack_require__.r(__webpack_exports__);
  445 +/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 10);
  446 +/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  447 +/* harmony import */ var _App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue?vue&type=style&index=0&lang=css& */ 12);
  448 +/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 14);
  449 +var render, staticRenderFns, recyclableRender, components
  450 +var renderjs
  451 +
  452 +
  453 +
  454 +
  455 +
  456 +/* normalize component */
  457 +
  458 +var component = Object(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
  459 + _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"],
  460 + render,
  461 + staticRenderFns,
  462 + false,
  463 + null,
  464 + null,
  465 + null,
  466 + false,
  467 + components,
  468 + renderjs
  469 +)
  470 +
  471 +/* hot reload */
  472 +if (false) { var api; }
  473 +component.options.__file = "E:/项目/tigerprogram/App.vue"
  474 +/* harmony default export */ __webpack_exports__["default"] = (component.exports);
  475 +
230 /***/ }) 476 /***/ })
231 477
232 },[[60,"common/runtime","common/vendor"]]]); 478 },[[60,"common/runtime","common/vendor"]]]);
1 -<view class="course_comment"><view class="comment_content"><textarea placeholder="请输入评论内容,最多1000字" data-event-opts="{{[['input',[['__set_model',['','content','$event',[]]]]]]}}" value="{{content}}" bindinput="__e"></textarea><view class="word_num">{{content.length+"/1000"}}</view><block wx:if="{{addpic}}"><view><view data-event-opts="{{[['tap',[['uploadpic',['$event']]]]]}}" class="add_pic layer_star" bindtap="__e"><image src="../../static/tupian_icon@2x.png" mode="widthFix"></image><view class="add_word">添加图片</view></view></view></block><block wx:else><view class="picbox"><view data-event-opts="{{[['tap',[['uploadImg']]]]}}" class="upload_pic" bindtap="__e"><image src="{{img}}" mode="widthFix"></image></view></view></block></view><view class="send_wrap"><view class="send_box">发送</view></view></view>  
  1 +<view class="course_comment"><view class="comment_content"><textarea placeholder="请输入评论内容,最多1000字" data-event-opts="{{[['input',[['__set_model',['','content','$event',[]]],['entercomment',['$event']]]]]}}" value="{{content}}" bindinput="__e"></textarea><view class="word_num">{{content.length+"/1000"}}</view><block wx:if="{{addpic}}"><view><view data-event-opts="{{[['tap',[['uploadpic',['$event']]]]]}}" class="add_pic layer_star" bindtap="__e"><image src="../../static/tupian_icon@2x.png" mode="widthFix"></image><view class="add_word">添加图片</view></view></view></block><block wx:else><view class="picbox"><view data-event-opts="{{[['tap',[['uploadImg']]]]}}" class="upload_pic" bindtap="__e"><image src="{{image==''?img:image}}" mode="widthFix"></image></view></view></block></view><view data-event-opts="{{[['tap',[['send',['$event']]]]]}}" class="send_wrap" bindtap="__e"><view class="send_box">发送</view></view></view>
  1 +
  2 +
  3 +
  4 +
  5 +
  6 +
  7 +
  8 +
  9 +
  10 +
  11 +
  12 +
  13 +
  14 +
  15 +
  16 +
  17 +
  18 +
  19 +
  20 +
  21 +
  22 +
  23 +
  24 +
  25 +
  26 +
  27 +
  28 +
  29 +
  30 +
  31 +
  32 +
  33 +
  34 +
  35 +
  36 +
  37 +
  38 +
  39 +
  40 +
  41 +
  42 +
  43 +
  44 +
  45 +
  46 +
  47 +
  48 +
  49 +
  50 +
  51 +
  52 +
  53 +
  54 +
  55 +
  56 +
  57 +
  58 +
  59 +
  60 +
  61 +
  62 +
  63 +
  64 +
  65 +
  66 +
  67 +
  68 +
  69 +
  70 +
  71 +
  72 +
  73 +
  74 +
  75 +
  76 +
  77 +
  78 +
  79 +
  80 +
  81 +
  82 +
  83 +
  84 +
  85 +
  86 +
  87 +
  88 +
  89 +
  90 +
  91 +
  92 +
  93 +
  94 +
  95 +
  96 +
  97 +
  98 +
  99 +
  100 +
  101 +
  102 +
  103 +
  104 +
  105 +
  106 +
  107 +
  108 +
  109 +
  110 +
  111 +
  112 +
  113 +
  114 +
  115 +
  116 +
  117 +
  118 +
  119 +
  120 +
  121 +
  122 +
  123 +
  124 +
  125 +
  126 +
  127 +
  128 +
  129 +
  130 +
  131 +
  132 +
  133 +
  134 +
  135 +
  136 +
  137 +
  138 +
  139 +
  140 +
  141 +
  142 +
  143 +/*每个页面公共css */
  144 +image {
  145 + width: 100%;
  146 + height: 100%;
  147 + display: block;
  148 +}
  149 +
  150 +/* 布局 */
  151 +.layout_row{
  152 + display: -webkit-box;
  153 + display: flex;
  154 + display: -webkit-flex;
  155 + -webkit-box-orient: horizontal;
  156 + -webkit-box-direction: normal;
  157 + -webkit-flex-direction: row;
  158 + flex-direction: row;
  159 + -webkit-box-align: center;
  160 + -webkit-align-items: center;
  161 + align-items: center;
  162 + -webkit-box-pack: start;
  163 + -webkit-justify-content: flex-start;
  164 + justify-content: flex-start;
  165 +}
  166 +.justify_between{
  167 + display: -webkit-box;
  168 + display: flex;
  169 + display: -webkit-flex;
  170 + -webkit-box-orient: horizontal;
  171 + -webkit-box-direction: normal;
  172 + -webkit-flex-direction: row;
  173 + flex-direction: row;
  174 + -webkit-box-pack: justify;
  175 + -webkit-justify-content: space-between;
  176 + justify-content: space-between;
  177 +}
  178 +.justify_column_bet{
  179 + display: -webkit-box;
  180 + display: flex;
  181 + display: -webkit-flex;
  182 + -webkit-box-orient: vertical;
  183 + -webkit-box-direction: normal;
  184 + -webkit-flex-direction: column;
  185 + flex-direction: column;
  186 + -webkit-box-align: start;
  187 + -webkit-align-items: flex-start;
  188 + align-items: flex-start;
  189 + -webkit-box-pack: justify;
  190 + -webkit-justify-content: space-between;
  191 + justify-content: space-between;
  192 +}
  193 +.column_center{
  194 + display: -webkit-box;
  195 + display: flex;
  196 + display: -webkit-flex;
  197 + -webkit-box-orient: vertical;
  198 + -webkit-box-direction: normal;
  199 + -webkit-flex-direction: column;
  200 + flex-direction: column;
  201 + -webkit-box-align: center;
  202 + -webkit-align-items: center;
  203 + align-items: center;
  204 + -webkit-box-pack: center;
  205 + -webkit-justify-content: center;
  206 + justify-content: center;
  207 +}
  208 +.layer_star {
  209 + display: -webkit-box;
  210 + display: flex;
  211 + display: -webkit-flex;
  212 + -webkit-box-orient: horizontal;
  213 + -webkit-box-direction: normal;
  214 + -webkit-flex-direction: row;
  215 + flex-direction: row;
  216 + -webkit-box-pack: start;
  217 + -webkit-justify-content: flex-start;
  218 + justify-content: flex-start;
  219 + -webkit-box-align: center;
  220 + -webkit-align-items: center;
  221 + align-items: center
  222 +}
  223 +.layer_nostar {
  224 + display: -webkit-box;
  225 + display: flex;
  226 + display: -webkit-flex;
  227 + -webkit-box-pack: start;
  228 + -webkit-justify-content: flex-start;
  229 + justify-content: flex-start;
  230 +}
  231 +.layer_center {
  232 + display: -webkit-box;
  233 + display: flex;
  234 + display: -webkit-flex;
  235 + -webkit-box-pack: center;
  236 + -webkit-justify-content: center;
  237 + justify-content: center;
  238 + -webkit-box-align: center;
  239 + -webkit-align-items: center;
  240 + align-items: center
  241 +}
  242 +.layer_nocenter {
  243 + display: -webkit-box;
  244 + display: flex;
  245 + display: -webkit-flex;
  246 + -webkit-box-pack: center;
  247 + -webkit-justify-content: center;
  248 + justify-content: center;
  249 +}
  250 +.layer_end {
  251 + display: -webkit-box;
  252 + display: flex;
  253 + display: -webkit-flex;
  254 + -webkit-box-pack: end;
  255 + -webkit-justify-content: flex-end;
  256 + justify-content: flex-end;
  257 + -webkit-box-align: center;
  258 + -webkit-align-items: center;
  259 + align-items: center
  260 +}
  261 +.layer_noend {
  262 + display: -webkit-box;
  263 + display: flex;
  264 + display: -webkit-flex;
  265 + -webkit-box-pack: end;
  266 + -webkit-justify-content: flex-end;
  267 + justify-content: flex-end;
  268 +}
  269 +.layer_between {
  270 + display: -webkit-box;
  271 + display: flex;
  272 + display: -webkit-flex;
  273 + -webkit-box-pack: justify;
  274 + -webkit-justify-content: space-between;
  275 + justify-content: space-between;
  276 + -webkit-box-align: center;
  277 + -webkit-align-items: center;
  278 + align-items: center
  279 +}
  280 +.layer_nobetween {
  281 + display: -webkit-box;
  282 + display: flex;
  283 + display: -webkit-flex;
  284 + -webkit-box-pack: justify;
  285 + -webkit-justify-content: space-between;
  286 + justify-content: space-between;
  287 +}
  288 +.layer_around{
  289 + display: -webkit-box;
  290 + display: flex;
  291 + display: -webkit-flex;
  292 + -webkit-justify-content: space-around;
  293 + justify-content: space-around;
  294 + -webkit-box-align: center;
  295 + -webkit-align-items: center;
  296 + align-items: center;
  297 +}
  298 +.flex_star {
  299 + display: -webkit-box;
  300 + display: flex;
  301 + display: -webkit-flex;
  302 + -webkit-box-orient: vertical;
  303 + -webkit-box-direction: normal;
  304 + -webkit-flex-direction: column;
  305 + flex-direction: column;
  306 + -webkit-box-align: start;
  307 + -webkit-align-items: flex-start;
  308 + align-items: flex-start
  309 +}
  310 +.flex_column_center{
  311 + display: -webkit-box;
  312 + display: flex;
  313 + display: -webkit-flex;
  314 + -webkit-box-orient: vertical;
  315 + -webkit-box-direction: normal;
  316 + -webkit-flex-direction: column;
  317 + flex-direction: column;
  318 + -webkit-box-pack: start;
  319 + -webkit-justify-content: flex-start;
  320 + justify-content: flex-start;
  321 + -webkit-box-align: center;
  322 + -webkit-align-items: center;
  323 + align-items: center
  324 +}
  325 +.flex_column_nojustify{
  326 + display: -webkit-box;
  327 + display: flex;
  328 + display: -webkit-flex;
  329 + -webkit-box-orient: vertical;
  330 + -webkit-box-direction: normal;
  331 + -webkit-flex-direction: column;
  332 + flex-direction: column;
  333 + -webkit-box-align: center;
  334 + -webkit-align-items: center;
  335 + align-items: center;
  336 + -webkit-box-pack: center;
  337 + -webkit-justify-content: center;
  338 + justify-content: center;
  339 +}
  340 +.flex_star_between {
  341 + display: -webkit-box;
  342 + display: flex;
  343 + display: -webkit-flex;
  344 + -webkit-box-orient: vertical;
  345 + -webkit-box-direction: normal;
  346 + -webkit-flex-direction: column;
  347 + flex-direction: column;
  348 + -webkit-box-pack: justify;
  349 + -webkit-justify-content: space-between;
  350 + justify-content: space-between;
  351 + -webkit-box-align: start;
  352 + -webkit-align-items: flex-start;
  353 + align-items: flex-start
  354 +}
  355 +.flex_center {
  356 + display: -webkit-box;
  357 + display: flex;
  358 + display: -webkit-flex;
  359 + -webkit-box-orient: vertical;
  360 + -webkit-box-direction: normal;
  361 + -webkit-flex-direction: column;
  362 + flex-direction: column;
  363 + -webkit-box-align: center;
  364 + -webkit-align-items: center;
  365 + align-items: center;
  366 + -webkit-box-pack: center;
  367 + -webkit-justify-content: center;
  368 + justify-content: center;
  369 +}
  370 +.flex_warp {
  371 + display: -webkit-box;
  372 + display: flex;
  373 + display: -webkit-flex;
  374 + -webkit-flex-wrap: wrap;
  375 + flex-wrap: wrap;
  376 + -webkit-box-align: center;
  377 + -webkit-align-items: center;
  378 + align-items: center;
  379 + -webkit-box-pack: center;
  380 + -webkit-justify-content: center;
  381 + justify-content: center;
  382 +}
  383 +.flex_wrap_between{
  384 + display: -webkit-box;
  385 + display: flex;
  386 + display: -webkit-flex;
  387 + -webkit-flex-wrap: wrap;
  388 + flex-wrap: wrap;
  389 + -webkit-box-pack: justify;
  390 + -webkit-justify-content: space-between;
  391 + justify-content: space-between;
  392 +}
  393 +.flex_wrap_no{
  394 + display: -webkit-box;
  395 + display: flex;
  396 + display: -webkit-flex;
  397 + -webkit-flex-wrap: wrap;
  398 + flex-wrap: wrap;
  399 +}
  400 +
  401 +/* 模态框 */
  402 +.tx_mask {
  403 + z-index: 99;
  404 + width: 100%;
  405 + height: 100vh;
  406 + position: fixed;
  407 + top: 0;
  408 + left: 0;
  409 + background-color: rgba(0, 0, 0, 0.6);
  410 +}
  411 +
  412 +/* 弹窗内容 */
  413 +.mask_content{
  414 + background-color: rgba(255,255,255,1);
  415 + width:686rpx;
  416 + border-radius:16rpx;
  417 + position: fixed;
  418 + top: 50%;
  419 + left: 50%;
  420 + -webkit-transform: translate(-50%,-50%);
  421 + transform: translate(-50%,-50%);
  422 + z-index: 100;
  423 +}
  424 +
  425 +/* 海报 */
  426 +.canvas_dialog{
  427 + width: 590rpx;
  428 + position: fixed;
  429 + top: 50%;
  430 + left: 50%;
  431 + -webkit-transform: translate(-50%,-50%);
  432 + transform: translate(-50%,-50%);
  433 + z-index: 100;
  434 +}
  435 +.over_hide{
  436 + height: 100vh;
  437 + overflow: hidden;
  438 +}
  439 +.commonpadding {
  440 + padding: 24rpx 32rpx;
  441 + box-sizing: border-box;
  442 + background: #fff;
  443 +}
  444 +.flex {
  445 + display: -webkit-box;
  446 + display: -webkit-flex;
  447 + display: flex;
  448 +}
  449 +.flexone {
  450 + display: -webkit-box;
  451 + display: -webkit-flex;
  452 + display: flex;
  453 + -webkit-box-align: center;
  454 + -webkit-align-items: center;
  455 + align-items: center;
  456 +}
  457 +.flextwo {
  458 + display: -webkit-box;
  459 + display: -webkit-flex;
  460 + display: flex;
  461 + -webkit-box-align: center;
  462 + -webkit-align-items: center;
  463 + align-items: center;
  464 + -webkit-box-pack: justify;
  465 + -webkit-justify-content: space-between;
  466 + justify-content: space-between;
  467 +}
  468 +.flexthree {
  469 + display: -webkit-box;
  470 + display: -webkit-flex;
  471 + display: flex;
  472 + -webkit-box-align: center;
  473 + -webkit-align-items: center;
  474 + align-items: center;
  475 + -webkit-box-pack: center;
  476 + -webkit-justify-content: center;
  477 + justify-content: center;
  478 +}
  479 +.commonone {
  480 + color: #3d444c;
  481 + font-size: 28rpx;
  482 +}
  483 +.commontwo {
  484 + color: #232323;
  485 + font-size: 28rpx;
  486 +}
  487 +.yourow{
  488 + width:28rpx;
  489 + height:30rpx;
  490 + font-size: 0;
  491 +}
  492 +.botbtn{
  493 + width:686rpx;
  494 + height:96rpx;
  495 + background:rgba(238,139,39,1);
  496 + border:2rpx solid rgba(0,0,0,0);
  497 + box-shadow:0rpx 6rpx 6rpx rgba(238,139,39,0.16);
  498 + opacity:1;
  499 + color:#fff;
  500 + font-size:28rpx;
  501 + text-align: center;
  502 + line-height: 96rpx;
  503 + position: fixed;
  504 + bottom:44rpx;
  505 + left:32rpx;
  506 + border-radius:44rpx;
  507 +}
  508 +
1 @charset "UTF-8"; 509 @charset "UTF-8";
2 /** 510 /**
3 * 这里是uni-app内置的常用样式变量 511 * 这里是uni-app内置的常用样式变量
@@ -460,6 +460,8 @@ __webpack_require__.r(__webpack_exports__); @@ -460,6 +460,8 @@ __webpack_require__.r(__webpack_exports__);
460 460
461 461
462 462
  463 +
  464 +
463 var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // 465 var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
464 // 466 //
465 // 467 //
@@ -592,10 +594,13 @@ var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));f @@ -592,10 +594,13 @@ var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));f
592 // 594 //
593 // 595 //
594 // 596 //
  597 +//
  598 +//
595 var _default = { data: function data() {return { isShowImg: false, img: '', themeImg: __webpack_require__(/*! ../../static/banner_img@2x.png */ 55), completeList: ['1', '2', '3'], complete: '', // 点赞 599 var _default = { data: function data() {return { isShowImg: false, img: '', themeImg: __webpack_require__(/*! ../../static/banner_img@2x.png */ 55), completeList: ['1', '2', '3'], complete: '', // 点赞
596 isPoint: false, pointImg1: __webpack_require__(/*! ../../static/zan_icon@2x.png */ 56), pointImg2: __webpack_require__(/*! ../../static/img_03.png */ 57), // 点赞人员 600 isPoint: false, pointImg1: __webpack_require__(/*! ../../static/zan_icon@2x.png */ 56), pointImg2: __webpack_require__(/*! ../../static/img_03.png */ 57), // 点赞人员
597 - pointList: ['关心', '思想是根基', '陈cc', '莫妮卡', '莫妮卡', '大鹏', '思想是根基', '陈cc', '思想是根基', '陈cc', '莫妮卡'], courseid: '', coursedetail: '', next: '', pre: '', number: 1, //所有用户课程列表  
598 - courselist: [] // 自己课程列表 601 + pointList: ['关心', '思想是根基', '陈cc', '莫妮卡', '莫妮卡', '大鹏', '思想是根基', '陈cc', '思想是根基', '陈cc', '莫妮卡'], courseid: '', coursedetail: '', next: '', pre: '', number: 1, //是否显示评论
  602 + showcomment: false, //所有用户课程列表
  603 + courselist: [] // 自己课程列表,
599 };}, methods: { //获取课程详情 604 };}, methods: { //获取课程详情
600 getcoursedetail: function getcoursedetail() {var that = this;var url = '/api/course/customs_detail';var params = { course_id: that.courseid };_App.default.post(url, params).then(function (res) {console.log(res);that.coursedetail = res;that.getcordlist();that.getallcordlist();}).catch(function (err) {});}, // 获取自己打卡记录 605 getcoursedetail: function getcoursedetail() {var that = this;var url = '/api/course/customs_detail';var params = { course_id: that.courseid };_App.default.post(url, params).then(function (res) {console.log(res);that.coursedetail = res;that.getcordlist();that.getallcordlist();}).catch(function (err) {});}, // 获取自己打卡记录
601 getcordlist: function getcordlist() {var that = this;console.log(77889900);var url = '/api/clock/clock_log';var params = { course_id: that.coursedetail.course_id, customs_id: that.coursedetail.id };_App.default.post(url, params).then(function (res) {console.log(res);that.courselist = res.list;}).catch(function (err) {});}, //获取所有打卡记录 606 getcordlist: function getcordlist() {var that = this;console.log(77889900);var url = '/api/clock/clock_log';var params = { course_id: that.coursedetail.course_id, customs_id: that.coursedetail.id };_App.default.post(url, params).then(function (res) {console.log(res);that.courselist = res.list;}).catch(function (err) {});}, //获取所有打卡记录
@@ -637,8 +642,73 @@ var _default = { data: function data() {return { isShowImg: false, img: '', them @@ -637,8 +642,73 @@ var _default = { data: function data() {return { isShowImg: false, img: '', them
637 closeTheme: function closeTheme() { 642 closeTheme: function closeTheme() {
638 this.isShowImg = false; 643 this.isShowImg = false;
639 }, 644 },
  645 + // 评论
  646 + comment: function comment(e) {
  647 + console.log(e);
  648 + var id = e.currentTarget.dataset.id;
  649 + console.log(id);
  650 + uni.navigateTo({
  651 + url: '/pages/course/courseComment?id=' + id + '&courseid=' + this.courseid });
  652 +
  653 + },
  654 + //查看所有评论
  655 + seemore: function seemore(e) {
  656 + var id = e.currentTarget.dataset.id;
  657 + var that = this;
  658 + var url = '/api/comments/get_news_comment';
  659 + var params = {
  660 + clock_log_id: id };
  661 +
  662 +
  663 + _App.default.post(url, params).then(function (res) {
  664 + console.log(res);
  665 + that.commentlsit = res.list;
  666 + that.showcomment = true;
  667 +
  668 +
  669 +
  670 + }).catch(function (err) {
  671 +
  672 + });
  673 + },
  674 + // 长按删除评论
  675 + del: function del(e) {
  676 + var id = e.currentTarget.dataset.id;
  677 + uni.showModal({
  678 + title: '提示',
  679 + content: '删除此条评论',
  680 + success: function success(res) {
  681 + if (res.confirm) {
  682 + var that = this;
  683 + var url = '/api/comments/del';
  684 + var params = {
  685 + id: id };
  686 +
  687 +
  688 + _App.default.post(url, params).then(function (res) {
  689 + console.log(res);
  690 + uni.showToast({
  691 + title: '删除成功',
  692 + icon: 'none' });
  693 +
  694 +
  695 +
  696 +
  697 + }).catch(function (err) {
  698 +
  699 + });
  700 +
  701 + } else if (res.cancel) {
  702 + console.log('用户点击取消');
  703 + }
  704 + } });
  705 +
  706 + },
  707 +
  708 +
640 // 点赞 709 // 点赞
641 - changePoint: function changePoint() { 710 + changePoint: function changePoint(e) {
  711 + var id = e.currentTarget.dataset.id;
642 this.isPoint = !this.isPoint; 712 this.isPoint = !this.isPoint;
643 } }, 713 } },
644 714
1 -<view class="course_detail"><view class="checkpoint_wrap layer_between"><block wx:if="{{pre!=''}}"><view data-event-opts="{{[['tap',[['prestep',['$event']]]]]}}" class="prev_point" bindtap="__e">上一关</view></block><view class="point_num">{{"第 "+number+" 关"}}</view><view class="prev_point" wx:if="next!=''" data-event-opts="{{[['tap',[['nextstep',['$event']]]]]}}" bindtap="__e">下一关</view></view><view class="theme_wrap"><view class="theme_title layer_star"><image src="../../static/theme.png" mode="widthFix"></image><view>{{coursedetail.title}}</view></view><view data-event-opts="{{[['tap',[['enlargeImg']]]]}}" class="theme_pic" bindtap="__e"><image src="{{coursedetail.image}}" mode="widthFix"></image></view><view class="theme_content"><rich-text nodes="{{coursedetail.content}}"></rich-text></view><view data-event-opts="{{[['tap',[['toSubmit']]]]}}" class="point_btn" bindtap="__e">我要打卡</view></view><view class="theme_comment"><block wx:for="{{courselist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="comment_single"><view class="single_people layer_between"><view class="people_l layer_nostar"><image src="{{item.avatar}}" mode data-event-opts="{{[['tap',[['toRecord']]]]}}" bindtap="__e"></image><view><view class="people_name">{{item.nickname}}</view><view class="people_progress">已解锁2课时</view></view></view><view data-event-opts="{{[['tap',[['toSubmit']]]]}}" class="people_r" bindtap="__e">修改</view></view><view class="single_course"><view class="layer_star course_name course_single"><image class="course_icon" src="../../static/icon_01.png" mode></image><view>【深潜挑战】 21天专注力挑战</view></view><view class="layer_star course_single"><image class="course_icon" src="../../static/icon_02.png" mode></image><view>第2课</view></view><view class="layer_star no_icon_single"><view>学习时间:2019年12月26日</view></view><view class="layer_star no_icon_single"><view>{{"感悟:"+item.content}}</view></view><view class="layer_star no_icon_single">完成事件打分:<view class="score_picker layer_between">{{item.score[0].score}}</view></view><view class="layer_star no_icon_single">情绪状态打分:<view class="score_picker layer_between">{{item.score[1].score}}</view></view><view class="layer_noend"><view class="course_btn justify_between"><image src="../../static/pinglun_icon@2x.png" mode="widthFix"></image>评论</view><view data-event-opts="{{[['tap',[['changePoint']]]]}}" class="{{['course_btn justify_between',(isPoint)?'active':'']}}" bindtap="__e"><image src="{{isPoint?pointImg2:pointImg1}}" mode="widthFix"></image>点赞</view></view></view><view class="comment_msg"><view class="point_people layer_nostar"><image src="../../static/dianzan_icon@2x.png" mode="widthFix"></image><view class="point_detail flex_wrap_no"><block wx:for="{{item.praise_user}}" wx:for-item="itemone" wx:for-index="index" wx:key="index"><view>{{itemone.nickname+","}}</view></block></view></view><view class="msg_detail"><view class="detail_single "><text>风格林:</text>有意义的人,并不就是年岁活得最大的人,而是对生活最有感受的人。</view></view></view></view></block></view></view>  
  1 +<view class="course_detail"><view class="checkpoint_wrap layer_between"><block wx:if="{{pre!=''}}"><view data-event-opts="{{[['tap',[['prestep',['$event']]]]]}}" class="prev_point" bindtap="__e">上一关</view></block><view class="point_num">{{"第 "+number+" 关"}}</view><view class="prev_point" wx:if="next!=''" data-event-opts="{{[['tap',[['nextstep',['$event']]]]]}}" bindtap="__e">下一关</view></view><view class="theme_wrap"><view class="theme_title layer_star"><image src="../../static/theme.png" mode="widthFix"></image><view>{{coursedetail.title}}</view></view><view data-event-opts="{{[['tap',[['enlargeImg']]]]}}" class="theme_pic" bindtap="__e"><image src="{{coursedetail.image}}" mode="widthFix"></image></view><view class="theme_content"><rich-text nodes="{{coursedetail.content}}"></rich-text></view><view data-event-opts="{{[['tap',[['toSubmit']]]]}}" class="point_btn" bindtap="__e">我要打卡</view></view><view class="theme_comment"><block wx:for="{{courselist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="comment_single"><view class="single_people layer_between"><view class="people_l layer_nostar"><image src="{{item.avatar}}" mode data-event-opts="{{[['tap',[['toRecord']]]]}}" bindtap="__e"></image><view><view class="people_name">{{item.nickname}}</view><view class="people_progress">已解锁2课时</view></view></view><view data-event-opts="{{[['tap',[['toSubmit']]]]}}" class="people_r" bindtap="__e">修改</view></view><view class="single_course"><view class="layer_star course_name course_single"><image class="course_icon" src="../../static/icon_01.png" mode></image><view>【深潜挑战】 21天专注力挑战</view></view><view class="layer_star course_single"><image class="course_icon" src="../../static/icon_02.png" mode></image><view>第2课</view></view><view class="layer_star no_icon_single"><view>学习时间:2019年12月26日</view></view><view class="layer_star no_icon_single"><view>{{"感悟:"+item.content}}</view></view><view class="layer_star no_icon_single">完成事件打分:<view class="score_picker layer_between">{{item.score[0].score}}</view></view><view class="layer_star no_icon_single">情绪状态打分:<view class="score_picker layer_between">{{item.score[1].score}}</view></view><view class="layer_noend" data-id="{{item.id}}" data-event-opts="{{[['tap',[['comment',['$event']]]]]}}" bindtap="__e"><view class="course_btn justify_between"><image src="../../static/pinglun_icon@2x.png" mode="widthFix"></image>评论</view><view class="{{['course_btn justify_between',(isPoint)?'active':'']}}" data-id="{{item.id}}" data-event-opts="{{[['tap',[['changePoint']]]]}}" bindtap="__e"><image src="{{isPoint?pointImg2:pointImg1}}" mode="widthFix"></image>点赞</view></view></view><view class="comment_msg"><view class="point_people layer_nostar"><image src="../../static/dianzan_icon@2x.png" mode="widthFix"></image><view class="point_detail flex_wrap_no"><block wx:for="{{item.praise_user}}" wx:for-item="itemone" wx:for-index="index" wx:key="index"><view>{{itemone.nickname+","}}</view></block></view></view><view class="seemore" data-id="{{item.id}}" data-event-opts="{{[['tap',[['seemore',['$event']]]]]}}" bindtap="__e">查看所有评论</view><block wx:if="{{showcomment}}"><view class="msg_detail"><block wx:for="{{commentlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="detail_single " data-id="{{item.id}}" data-event-opts="{{[['longtap',[['del',['$event']]]]]}}" bindlongtap="__e"><block wx:if="{{index==0}}"><text>{item.user_nickname}:</text></block><block wx:else><text>{{"{item.user_nickname}回复"+item.re_user_nickname}}</text></block>{{''+item.content+''}}</view></block></view></block></view></view></block></view></view>
@@ -535,6 +535,12 @@ image { @@ -535,6 +535,12 @@ image {
535 page { 535 page {
536 background-color: #fafbfd; 536 background-color: #fafbfd;
537 } 537 }
  538 +.seemore {
  539 + color: #ee8b27;
  540 + font-weight: 600;
  541 + font-size: 30rpx;
  542 + margin-top: 10rpx;
  543 +}
538 .course_detail .checkpoint_wrap { 544 .course_detail .checkpoint_wrap {
539 background-color: #fff; 545 background-color: #fff;
540 height: 100rpx; 546 height: 100rpx;
@@ -404,6 +404,12 @@ var _default = { data: function data() {var currentDate = this.getDate({ format: @@ -404,6 +404,12 @@ var _default = { data: function data() {var currentDate = this.getDate({ format:
404 404
405 405
406 // 提交 406 // 提交
  407 +
  408 +
  409 +
  410 +
  411 +
  412 +
407 submitClock: function submitClock() { 413 submitClock: function submitClock() {
408 var that = this; 414 var that = this;
409 415
  1 +{
  2 + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
  3 + "rules": [{
  4 + "action": "allow",
  5 + "page": "*"
  6 + }]
  7 +}