作者 李洪娟

合并分支 'lhj' 到 'master'

课程



查看合并请求 !2
... ... @@ -2,8 +2,8 @@
<!-- 评论 -->
<view class="course_comment">
<view class="comment_content">
<textarea v-model="content" placeholder="请输入评论内容,最多1000字" />
<textarea v-model="content" placeholder="请输入评论内容,最多1000字" @input="entercomment" />
<!-- 字数 -->
<view class="word_num">{{content.length}}/1000</view>
<view v-if="addpic">
... ... @@ -18,7 +18,7 @@
<view class="picbox" v-else>
<!-- 上传的图片 -->
<view class="upload_pic" @click="uploadImg()">
<image :src="img" mode="widthFix"></image>
<image :src="image==''?img:image" mode="widthFix"></image>
</view>
</view>
</view>
... ... @@ -26,7 +26,7 @@
<!-- 按钮 -->
<view class="send_wrap">
<view class="send_wrap" @click="send">
<view class="send_box">发送</view>
</view>
... ... @@ -34,36 +34,87 @@
</template>
<script>
import app from "../../App.vue";
export default {
data() {
return {
content:"",
img:"../../static/addpic.png",
addpic:true
addpic:true,
image:'',
cimage:'',
// 打卡记录id
clock_log_id:'',
//评论父级id
comments_id:'',
courseid:''
}
},
methods: {
// 输入评论内容
entercomment(e){
this.content=e.detail.value
},
uploadpic(){
console.log(3874273487)
this.addpic=false
},
// 上传图片
uploadImg(){
let t = this;
uni.chooseImage({
count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album'], //从相册选择
success: chooseImageRes => {
const tempFilePaths = chooseImageRes.tempFilePaths;
this.img = tempFilePaths[0]
// App.upload(tempFilePaths[0]).then(res => {
// this.front_image = res.url;
// });
}
});
},
uploadImg() {
let that = this;
uni.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
success: function (res) {
console.log(res.tempFilePaths[0])
app.upload('image', res.tempFilePaths[0],"post").then((res) => {
console.log('上传文件', res);
that.image=res.url
that.cimage=res.kurl
}).catch((err) => {
console.log(err)
})
},
fail: function (res) { }
})
},
//发送
send(){
let that = this;
var url = '/api/comments/commit';
var params = {
clock_log_id:that.clock_log_id,
comments_id: that.comments_id,
content:that.content,
images:that.image
}
app.post(url, params).then((res) => {
console.log(res);
uni.showToast({
title:'提交成功',
icon:'none'
})
setTimeout(function(){
uni.navigateTo({
url:'/pages/course/courseDetail?id='+that.courseid
})
})
}).catch((err) => {
})
}
},
onLoad(options) {
console.log(options)
this.clock_log_id=options.id,
this.courseid=options.courseid
}
}
</script>
... ...
... ... @@ -95,12 +95,12 @@
</picker> -->
</view>
<!-- 评论、点赞按钮 -->
<view class="layer_noend">
<view class="layer_noend" @click="comment" :data-id="item.id">
<view class="course_btn justify_between">
<image src="../../static/pinglun_icon@2x.png" mode="widthFix"></image>
评论
</view>
<view class="course_btn justify_between" :class="{active:isPoint}" @click="changePoint()">
<view class="course_btn justify_between" :class="{active:isPoint}" @click="changePoint()" :data-id="item.id">
<image :src="isPoint?pointImg2:pointImg1" mode="widthFix"></image>
点赞
</view>
... ... @@ -115,11 +115,13 @@
<view class="" v-for="(itemone, index) in item.praise_user" :key="index">{{itemone.nickname }},</view>
</view>
</view>
<view class="seemore" @click="seemore" :data-id="item.id">查看所有评论</view>
<!-- 评论信息 -->
<view class="msg_detail">
<view class="detail_single ">
<text>风格林:</text>
有意义的人,并不就是年岁活得最大的人,而是对生活最有感受的人。
<view class="msg_detail" v-if="showcomment">
<view class="detail_single " v-for="(item,index) in commentlist" :key="index" @longtap="del" :data-id="item.id">
<text v-if="index==0">{item.user_nickname}:</text>
<text v-else>{item.user_nickname}回复{{item.re_user_nickname}}</text>
{{item.content}}
</view>
</view>
</view>
... ... @@ -151,10 +153,13 @@
next: '',
pre: '',
number: 1,
//是否显示评论
showcomment:false,
//所有用户课程列表
courselist: [],
// 自己课程列表
// 自己课程列表,
};
},
methods: {
... ... @@ -189,7 +194,7 @@
}
app.post(url, params).then((res) => {
console.log(res);
that.courselist = res.list
that.courselist = res.list
... ... @@ -198,7 +203,7 @@
})
},
//获取所有打卡记录
getallcordlist(){
getallcordlist() {
let that = this;
console.log(77889900)
var url = '/api/course/user_clock_list';
... ... @@ -209,14 +214,14 @@
app.post(url, params).then((res) => {
console.log(res);
that.courselist = that.courselist.concat(res.list)
}).catch((err) => {
})
},
// 上一关
prestep() {
var that = this;
... ... @@ -308,8 +313,73 @@
closeTheme() {
this.isShowImg = false;
},
// 评论
comment(e) {
console.log(e)
let id = e.currentTarget.dataset.id;
console.log(id)
uni.navigateTo({
url: '/pages/course/courseComment?id=' + id + '&courseid=' + this.courseid
})
},
//查看所有评论
seemore(e){
let id = e.currentTarget.dataset.id;
let that = this;
var url = '/api/comments/get_news_comment';
var params = {
clock_log_id: id,
}
app.post(url, params).then((res) => {
console.log(res);
that.commentlsit=res.list;
that.showcomment=true
}).catch((err) => {
})
},
// 长按删除评论
del(e){
let id = e.currentTarget.dataset.id;
uni.showModal({
title: '提示',
content: '删除此条评论',
success: function (res) {
if (res.confirm) {
let that = this;
var url = '/api/comments/del';
var params = {
id:id
}
app.post(url, params).then((res) => {
console.log(res);
uni.showToast({
title:'删除成功',
icon:'none'
})
}).catch((err) => {
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
},
// 点赞
changePoint() {
changePoint(e) {
let id = e.currentTarget.dataset.id;
this.isPoint = !this.isPoint
},
},
... ... @@ -327,6 +397,14 @@
background-color: #fafbfd;
}
.seemore {
color: #ee8b27;
font-weight: 600;
font-size:30rpx;
margin-top:10rpx;
}
.course_detail {
// 关卡
... ... @@ -533,7 +611,7 @@
// 点赞人员
.point_people {
margin-bottom: 28upx;
image {
... ...
... ... @@ -253,6 +253,12 @@ export default {
// 提交
submitClock() {
var that = this;
... ...
{"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,EAAE,4FAAU;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;AAAumB,CAAgB,ioBAAG,EAAC,C;;;;;;;;;;;;mICA3nB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe;AACdC,MADc,kBACP;AACN,WAAO;AACNC,aAAO,EAAC,EADF;AAENC,SAAG,EAAC,yBAFE;AAGNC,YAAM,EAAC,IAHD,EAAP;;AAKA,GAPa;AAQdC,SAAO,EAAE;AACRC,aADQ,uBACG;AACVC,aAAO,CAACC,GAAR,CAAY,UAAZ;AACA,WAAKJ,MAAL,GAAY,KAAZ;AACA,KAJO;AAKR;AACAK,aANQ,uBAMG;AACV,UAAIC,CAAC,GAAG,IAAR;AACAC,SAAG,CAACC,WAAJ,CAAgB;AACfC,aAAK,EAAE,CADQ,EACL;AACVC,gBAAQ,EAAE,CAAC,UAAD,EAAa,YAAb,CAFK,EAEuB;AACtCC,kBAAU,EAAE,CAAC,OAAD,CAHG,EAGQ;AACvBC,eAAO,EAAE,iBAAAC,cAAc,EAAI;AAC1B,cAAMC,aAAa,GAAGD,cAAc,CAACC,aAArC;AACA,eAAI,CAACf,GAAL,GAAWe,aAAa,CAAC,CAAD,CAAxB;AACA;AACA;AACA;AACA,SAVc,EAAhB;;AAYA,KApBO,EARK,E;;;;;;;;;;;;;ACpCf;AAAA;AAAA;AAAA;AAAumC,CAAgB,klCAAG,EAAC,C;;;;;;;;;;;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":""}
\ No newline at end of file
{"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,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cAAI,EAAC,MAFQ,EAAd;;AAIGsD,kBAAU,CAAC,YAAU;AACvBpE,aAAG,CAACqE,UAAJ,CAAe;AACd7E,eAAG,EAAC,mCAAiCM,IAAI,CAACoD,QAD5B,EAAf;;AAGA,SAJY,CAAV;AAKA,OAXD,EAWGa,KAXH,CAWS,UAACC,GAAD,EAAS;;AAEjB,OAbD;AAcH,KAzDM,EAfK;;;AA2EdM,QA3Ec,kBA2EPC,OA3EO,EA2EE;AACfxC,WAAO,CAACC,GAAR,CAAYuC,OAAZ;AACA,SAAKvB,YAAL,GAAkBuB,OAAO,CAACC,EAA1B;AACA,SAAKtB,QAAL,GAAcqB,OAAO,CAACrB,QADtB;AAEA,GA/Ea,E;;;;;;;;;;;;;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":""}
\ No newline at end of file
... ...
{"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,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,GAA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;;;;;;;;;;;;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;AAAsmB,CAAgB,goBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqI1nB,+E,8FArIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,GAA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YA9HQ,sBA8HG;AACV3E,SAAG,CAAC4E,UAAJ,CAAe;AACdpF,WAAG,EAAE,2BADS,EAAf;;AAGA,KAlIO;AAmIR;AACAqF,YApIQ,sBAoIG;;AAEV7E,SAAG,CAAC4E,UAAJ,CAAe;AACdpF,WAAG,EAAE,wCAAwC,KAAK4D,QAA7C,GAAwD,aAAxD,GAAwE,KAAKC,YAAL,CAAkBgB,EADjF,EAAf;;AAGA,KAzIO;AA0IR;AACAS,kBA3IQ,0BA2IO9D,CA3IP,EA2IU;AACjB,WAAKwB,QAAL,GAAgBxB,CAAC,CAAC+D,MAAF,CAASC,KAAzB;AACA,KA7IO;AA8IR;AACAC,cA/IQ,wBA+IK;AACZ,WAAKtC,SAAL,GAAiB,IAAjB;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":""}
\ No newline at end of file
{"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,E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;AACR,EAAE,gGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2FAAU;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;AAAsmB,CAAgB,goBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,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H;AACJ,SA3BS,EAAd;;AA6BA,KApNO;;;AAuNR;AACA+D,eAxNQ,uBAwNI/E,CAxNJ,EAwNO;AACd,UAAIsD,EAAE,GAAGtD,CAAC,CAACqE,aAAF,CAAgBC,OAAhB,CAAwBhB,EAAjC;AACA,WAAKtB,OAAL,GAAe,CAAC,KAAKA,OAArB;AACA,KA3NO,EA5BK;;AAyPd3D,QAzPc,oBAyPL,CAAE,CAzPG;AA0Pd2G,QA1Pc,kBA0PPC,OA1PO,EA0PE;AACflE,WAAO,CAACC,GAAR,CAAYiE,OAAZ;AACA,SAAK7C,QAAL,GAAgB6C,OAAO,CAAC3B,EAAxB;AACA,SAAKV,eAAL;AACA,GA9Pa,E;;;;;;;;;;;;;ACxIf;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//\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":""}
\ No newline at end of file
... ...
{"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;AAC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O,CAACzH,IAAR,CAAa+B,GAFR,EAAb;;AAIAiE,iBAAO,CAAC2B,MAAD,CAAP;;AAED,SAhBW;AAiBZrD,YAAI,EAAE,cAAUlC,GAAV,EAAe;AACnB6D,gBAAM,CAAC,MAAD,CAAN;AACAe,YAAE,CAACJ,wBAAH;AACAI,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\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":""}
\ No newline at end of file
{"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;AAC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AAG,EAAE0F,OAAO,CAACzH,IAAR,CAAa4H,QADP;AAEXvD,gBAAI,EAAEoD,OAAO,CAACzH,IAAR,CAAa+B,GAFR,EAAb;;AAIAiE,iBAAO,CAAC2B,MAAD,CAAP;;AAED,SAhBW;AAiBZrD,YAAI,EAAE,cAAUlC,GAAV,EAAe;AACnB6D,gBAAM,CAAC,MAAD,CAAN;AACAe,YAAE,CAACJ,wBAAH;AACAI,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":""}
\ No newline at end of file
... ...
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/course/courseComment"],{
/***/ 10:
/*!***********************************************************!*\
!*** E:/项目/tigerprogram/App.vue?vue&type=script&lang=js& ***!
\***********************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* 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);
/* 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__);
/* 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__));
/* 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);
/***/ }),
/***/ 11:
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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& ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default =
{
onLaunch: function onLaunch() {
},
onShow: function onShow() {
},
onHide: function onHide() {
},
post: function post(url, data) {var _this = this;
var promise = new Promise(function (resolve, reject) {
//init
var that = _this,
token = uni.getStorageSync('token'),
header = {
'token': token || '' },
postData;
//网络请求
uni.request({
url: _this.globalData.baseUrl + url,
data: data,
method: 'POST',
header: header,
success: function success(res) {
//返回取得的数据
if (res.data.code == '1') {
resolve(res.data.data);
} else {
uni.showToast({
title: res.data.msg,
icon: 'none' });
reject(res.data);
}
},
fail: function fail(e) {
reject('网络出错');
uni.hideNavigationBarLoading();
} });
});
return promise;
},
globalData: {
userInfo: null,
baseUrl: 'http://fnsxcx.w.brotop.cn' },
upload: function upload(filetype, file) {
var promise = new Promise(function (resolve, reject) {
wx.showNavigationBarLoading();
wx.showLoading({
title: '上传中' });
var url = 'http://fnsxcx.w.brotop.cn/api/common/upload';
var head = {
'token': wx.getStorageSync('token'),
'XX-Device-Type': '' };
var typename = {
filetype: filetype };
wx.uploadFile({
url: url, //仅为示例,非真实的接口地址
filePath: file,
name: 'file',
header: head,
formData: typename,
success: function success(res) {
console.log('上传文件后', res);
var temdata = JSON.parse(res.data);
console.log(temdata);
var urlobj = {
url: temdata.data.http_url,
kurl: temdata.data.url };
resolve(urlobj);
},
fail: function fail(res) {
reject('网络出错');
wx.hideNavigationBarLoading();
wx.hideLoading();
},
complete: function complete() {
wx.hideNavigationBarLoading();
wx.hideLoading();
} });
});
return promise;
} };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
/***/ }),
/***/ 12:
/*!*******************************************************************!*\
!*** E:/项目/tigerprogram/App.vue?vue&type=style&index=0&lang=css& ***!
\*******************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* 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);
/* 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__);
/* 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__));
/* 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);
/***/ }),
/***/ 13:
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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& ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/***/ 60:
/*!****************************************************************************!*\
!*** E:/项目/tigerprogram/main.js?{"page":"pages%2Fcourse%2FcourseComment"} ***!
... ... @@ -133,7 +285,43 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
//
//
//
... ... @@ -168,36 +356,52 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
var _default =
{
data: function data() {
return {
content: "",
img: "../../static/addpic.png",
addpic: true };
var _default = { data: function data() {return { content: "", img: "../../static/addpic.png", addpic: true, image: '', cimage: '', // 打卡记录id
clock_log_id: '', //评论父级id
comments_id: '', courseid: '' };}, methods: { // 输入评论内容
entercomment: function entercomment(e) {this.content = e.detail.value;}, uploadpic: function uploadpic() {console.log(3874273487);this.addpic = false;}, // 上传图片
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;
}).catch(function (err) {
console.log(err);
});
},
fail: function fail(res) {} });
},
methods: {
uploadpic: function uploadpic() {
console.log(3874273487);
this.addpic = false;
},
// 上传图片
uploadImg: function uploadImg() {var _this = this;
var t = this;
uni.chooseImage({
count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album'], //从相册选择
success: function success(chooseImageRes) {
var tempFilePaths = chooseImageRes.tempFilePaths;
_this.img = tempFilePaths[0];
// App.upload(tempFilePaths[0]).then(res => {
// this.front_image = res.url;
// });
} });
} } };exports.default = _default;
//发送
send: function send() {
var that = this;
var url = '/api/comments/commit';
var params = {
clock_log_id: that.clock_log_id,
comments_id: that.comments_id,
content: that.content,
images: that.image };
_App.default.post(url, params).then(function (res) {
console.log(res);
uni.showToast({
title: '提交成功',
icon: 'none' });
setTimeout(function () {
uni.navigateTo({
url: '/pages/course/courseDetail?id=' + that.courseid });
});
}).catch(function (err) {
});
} },
onLoad: function onLoad(options) {
console.log(options);
this.clock_log_id = options.id,
this.courseid = options.courseid;
} };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
/***/ }),
... ... @@ -227,6 +431,48 @@ __webpack_require__.r(__webpack_exports__);
// extracted by mini-css-extract-plugin
/***/ }),
/***/ 9:
/*!**********************************!*\
!*** E:/项目/tigerprogram/App.vue ***!
\**********************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 10);
/* 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__));
/* 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);
/* 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);
var render, staticRenderFns, recyclableRender, components
var renderjs
/* normalize component */
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"])(
_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"],
render,
staticRenderFns,
false,
null,
null,
null,
false,
components,
renderjs
)
/* hot reload */
if (false) { var api; }
component.options.__file = "E:/项目/tigerprogram/App.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ })
},[[60,"common/runtime","common/vendor"]]]);
... ...
<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>
\ No newline at end of file
<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>
\ No newline at end of file
... ...
/*每个页面公共css */
image {
width: 100%;
height: 100%;
display: block;
}
/* 布局 */
.layout_row{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
}
.justify_between{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.justify_column_bet{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-align: start;
-webkit-align-items: flex-start;
align-items: flex-start;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.column_center{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.layer_star {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center
}
.layer_nostar {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
}
.layer_center {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center
}
.layer_nocenter {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.layer_end {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center
}
.layer_noend {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
}
.layer_between {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center
}
.layer_nobetween {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.layer_around{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.flex_star {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-align: start;
-webkit-align-items: flex-start;
align-items: flex-start
}
.flex_column_center{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center
}
.flex_column_nojustify{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.flex_star_between {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-box-align: start;
-webkit-align-items: flex-start;
align-items: flex-start
}
.flex_center {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.flex_warp {
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.flex_wrap_between{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.flex_wrap_no{
display: -webkit-box;
display: flex;
display: -webkit-flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
/* 模态框 */
.tx_mask {
z-index: 99;
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.6);
}
/* 弹窗内容 */
.mask_content{
background-color: rgba(255,255,255,1);
width:686rpx;
border-radius:16rpx;
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
z-index: 100;
}
/* 海报 */
.canvas_dialog{
width: 590rpx;
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
z-index: 100;
}
.over_hide{
height: 100vh;
overflow: hidden;
}
.commonpadding {
padding: 24rpx 32rpx;
box-sizing: border-box;
background: #fff;
}
.flex {
display: -webkit-box;
display: -webkit-flex;
display: flex;
}
.flexone {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.flextwo {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.flexthree {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.commonone {
color: #3d444c;
font-size: 28rpx;
}
.commontwo {
color: #232323;
font-size: 28rpx;
}
.yourow{
width:28rpx;
height:30rpx;
font-size: 0;
}
.botbtn{
width:686rpx;
height:96rpx;
background:rgba(238,139,39,1);
border:2rpx solid rgba(0,0,0,0);
box-shadow:0rpx 6rpx 6rpx rgba(238,139,39,0.16);
opacity:1;
color:#fff;
font-size:28rpx;
text-align: center;
line-height: 96rpx;
position: fixed;
bottom:44rpx;
left:32rpx;
border-radius:44rpx;
}
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
... ...
... ... @@ -460,6 +460,8 @@ __webpack_require__.r(__webpack_exports__);
var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
//
//
... ... @@ -592,10 +594,13 @@ var _App = _interopRequireDefault(__webpack_require__(/*! ../../App.vue */ 9));f
//
//
//
//
//
var _default = { data: function data() {return { isShowImg: false, img: '', themeImg: __webpack_require__(/*! ../../static/banner_img@2x.png */ 55), completeList: ['1', '2', '3'], complete: '', // 点赞
isPoint: false, pointImg1: __webpack_require__(/*! ../../static/zan_icon@2x.png */ 56), pointImg2: __webpack_require__(/*! ../../static/img_03.png */ 57), // 点赞人员
pointList: ['关心', '思想是根基', '陈cc', '莫妮卡', '莫妮卡', '大鹏', '思想是根基', '陈cc', '思想是根基', '陈cc', '莫妮卡'], courseid: '', coursedetail: '', next: '', pre: '', number: 1, //所有用户课程列表
courselist: [] // 自己课程列表
pointList: ['关心', '思想是根基', '陈cc', '莫妮卡', '莫妮卡', '大鹏', '思想是根基', '陈cc', '思想是根基', '陈cc', '莫妮卡'], courseid: '', coursedetail: '', next: '', pre: '', number: 1, //是否显示评论
showcomment: false, //所有用户课程列表
courselist: [] // 自己课程列表,
};}, methods: { //获取课程详情
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) {});}, // 获取自己打卡记录
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
closeTheme: function closeTheme() {
this.isShowImg = false;
},
// 评论
comment: function comment(e) {
console.log(e);
var id = e.currentTarget.dataset.id;
console.log(id);
uni.navigateTo({
url: '/pages/course/courseComment?id=' + id + '&courseid=' + this.courseid });
},
//查看所有评论
seemore: function seemore(e) {
var id = e.currentTarget.dataset.id;
var that = this;
var url = '/api/comments/get_news_comment';
var params = {
clock_log_id: id };
_App.default.post(url, params).then(function (res) {
console.log(res);
that.commentlsit = res.list;
that.showcomment = true;
}).catch(function (err) {
});
},
// 长按删除评论
del: function del(e) {
var id = e.currentTarget.dataset.id;
uni.showModal({
title: '提示',
content: '删除此条评论',
success: function success(res) {
if (res.confirm) {
var that = this;
var url = '/api/comments/del';
var params = {
id: id };
_App.default.post(url, params).then(function (res) {
console.log(res);
uni.showToast({
title: '删除成功',
icon: 'none' });
}).catch(function (err) {
});
} else if (res.cancel) {
console.log('用户点击取消');
}
} });
},
// 点赞
changePoint: function changePoint() {
changePoint: function changePoint(e) {
var id = e.currentTarget.dataset.id;
this.isPoint = !this.isPoint;
} },
... ...
<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>
\ No newline at end of file
<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>
\ No newline at end of file
... ...
... ... @@ -535,6 +535,12 @@ image {
page {
background-color: #fafbfd;
}
.seemore {
color: #ee8b27;
font-weight: 600;
font-size: 30rpx;
margin-top: 10rpx;
}
.course_detail .checkpoint_wrap {
background-color: #fff;
height: 100rpx;
... ...
... ... @@ -404,6 +404,12 @@ var _default = { data: function data() {var currentDate = this.getDate({ format:
// 提交
submitClock: function submitClock() {
var that = this;
... ...
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
... ...