submitClock.js.map 34.9 KB
{"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,gF;;;;;;;;;;;;AC1Cf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAqmB,CAAgB,+nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqFxnB,+E,8FArFD;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,EAEdC,IAFc,kBAEP,CACN,IAAMC,WAAW,GAAG,KAAKC,OAAL,CAAa,EACrBC,MAAM,EAAE,IADa,EAAb,CAApB,CAGA,OAAO,EACNC,YAAY,EAAE,EADR,EAENC,QAAQ,EAAE,EAFJ,E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,YAAE,CAACa,WAAH;AACD,SArBW;AAsBZxH,gBAAQ,EAAE,oBAAM;AACd2G,YAAE,CAACJ,wBAAH;AACAI,YAAE,CAACa,WAAH;AACD,SAzBW,EAAd;;AA2BD,KAxCa,CAAd;AAyCA,WAAO/B,OAAP;AACD,GA/FW,E;;;;;;;;;;;;;ACDf;AAAA;AAAA;AAAA;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":""}