切换导航条
此项目
正在载入...
登录
miniprogram
/
daxiangdaka
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
李洪娟
2020-02-26 23:18:45 +0800
提交
ca33409a3f4a8182f7efa2ee501865190ae3ec5c
2 个父辈
9bbfef9c
a5769a9e
合并分支 'lhj' 到 'master'
打卡 查看合并请求
!1
隐藏空白字符变更
内嵌
并排对比
正在显示
12 个修改的文件
包含
137 行增加
和
73 行删除
pages/course/courseDetail.vue
pages/course/submitClock.vue
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/course/courseDetail.js.map
unpackage/dist/dev/.sourcemap/mp-weixin/pages/course/submitClock.js.map
unpackage/dist/dev/mp-weixin/app.json
unpackage/dist/dev/mp-weixin/common/vendor.js
unpackage/dist/dev/mp-weixin/pages/course/courseDetail.js
unpackage/dist/dev/mp-weixin/pages/course/courseDetail.wxml
unpackage/dist/dev/mp-weixin/pages/course/courseDetail.wxss
unpackage/dist/dev/mp-weixin/pages/course/submitClock.js
unpackage/dist/dev/mp-weixin/project.config.json
pages/course/courseDetail.vue
查看文件 @
ca33409
...
...
@@ -5,7 +5,7 @@
<view class="checkpoint_wrap layer_between">
<view class="prev_point" v-if="pre!=''" @click="prestep">上一关</view>
<view class="point_num">第 {{number}} 关</view>
<view class="prev_point" @click="nextstep" wx:if="next!=''">下一关</view>
</view>
<!-- 主题 -->
...
...
@@ -40,16 +40,16 @@
</view>
<!-- 评论 -->
<view class="theme_comment">
<view class="comment_single">
<view class="comment_single"
v-for="(item,index) in courselist" :key="index"
>
<!-- 人员信息 -->
<view class="single_people layer_between">
<!-- 左侧 -->
<view class="people_l layer_nostar">
<!-- 头像 -->
<image
src="../../static/header.png
" mode="" @click="toRecord()"></image>
<image
:src="item.avatar
" mode="" @click="toRecord()"></image>
<view class="">
<!-- 姓名 -->
<view class="people_name">
张三
</view>
<view class="people_name">
{{item.nickname}}
</view>
<!-- 课程进度 -->
<view class="people_progress">已解锁2课时</view>
</view>
...
...
@@ -72,25 +72,27 @@
<view class="">学习时间:2019年12月26日</view>
</view>
<view class="layer_star no_icon_single">
<view class="">感悟:
好
</view>
<view class="">感悟:
{{item.content}}
</view>
</view>
<view class="layer_star no_icon_single">
完成事件打分:
<picker mode="selector" :range="completeList" @change="changeComplete">
<view class="score_picker layer_between">{{item.score[0].score}}</view>
<!-- <picker mode="selector" :range="completeList" @change="changeComplete">
<view class="score_picker layer_between">
<view>{{ completeList[complete] ? completeList[complete] : '请打分' }}</view>
<image src="../../static/start_01.png" mode="widthFix"></image>
</view>
</picker>
</picker>
-->
</view>
<view class="layer_star no_icon_single">
情绪状态打分:
<picker mode="selector" :range="completeList" @change="changeComplete">
<view class="score_picker layer_between">{{item.score[1].score}}</view>
<!-- <picker mode="selector" :range="completeList" @change="changeComplete">
<view class="score_picker layer_between">
<view>{{ completeList[complete] ? completeList[complete] : '请打分' }}</view>
<image src="../../static/start_01.png" mode="widthFix"></image>
</view>
</picker>
</picker>
-->
</view>
<!-- 评论、点赞按钮 -->
<view class="layer_noend">
...
...
@@ -110,7 +112,7 @@
<view class="point_people layer_nostar">
<image src="../../static/dianzan_icon@2x.png" mode="widthFix"></image>
<view class="point_detail flex_wrap_no">
<view class="" v-for="(item
, index) in pointList" :key="index">{{ item
}},</view>
<view class="" v-for="(item
one, index) in item.praise_user" :key="index">{{itemone.nickname
}},</view>
</view>
</view>
<!-- 评论信息 -->
...
...
@@ -146,9 +148,13 @@
pointList: ['关心', '思想是根基', '陈cc', '莫妮卡', '莫妮卡', '大鹏', '思想是根基', '陈cc', '思想是根基', '陈cc', '莫妮卡'],
courseid: '',
coursedetail: '',
next:'',
pre:'',
number:1
next: '',
pre: '',
number: 1,
//所有用户课程列表
courselist: [],
// 自己课程列表
};
},
methods: {
...
...
@@ -164,6 +170,7 @@
console.log(res);
that.coursedetail = res
that.getcordlist()
that.getallcordlist()
}).catch((err) => {
...
...
@@ -171,7 +178,7 @@
})
},
// 获取打卡记录
// 获取
自己
打卡记录
getcordlist() {
let that = this;
console.log(77889900)
...
...
@@ -182,6 +189,7 @@
}
app.post(url, params).then((res) => {
console.log(res);
that.courselist = res.list
...
...
@@ -189,8 +197,29 @@
})
},
prestep(){
var that=this;
//获取所有打卡记录
getallcordlist(){
let that = this;
console.log(77889900)
var url = '/api/course/user_clock_list';
var params = {
course_id: that.coursedetail.course_id,
customs_id: that.coursedetail.id
}
app.post(url, params).then((res) => {
console.log(res);
that.courselist = that.courselist.concat(res.list)
}).catch((err) => {
})
},
// 上一关
prestep() {
var that = this;
that.number++;
var url = '/api/course/customs_choose';
var params = {
...
...
@@ -198,12 +227,12 @@
// customs_id:that.coursedetail.id
course_id: 1,
customs_id: 1
}
app.post(url, params).then((res) => {
console.log(res);
that.next=res.next;
that.per=res.pre
that.next = res.next;
that.per = res.pre
if (res.next != '') {
that.coursedetail = res.next;
} else(
...
...
@@ -212,15 +241,15 @@
icon: "none"
})
)
}).catch((err) => {
})
},
nextstep(){
// 下一关
nextstep() {
var that = this;
that.number++;
var url = '/api/course/customs_choose';
...
...
@@ -233,8 +262,8 @@
}
app.post(url, params).then((res) => {
console.log(res);
that.next=res.next;
that.per=res.pre
that.next = res.next;
that.per = res.pre
if (res.next != '') {
that.coursedetail = res.next;
} else(
...
...
@@ -261,9 +290,9 @@
},
// 去提交打卡页
toSubmit() {
uni.navigateTo({
url:
'/pages/course/submitClock?courseid='+this.courseid+'&custom_id='+
this.coursedetail.id
url:
'/pages/course/submitClock?courseid=' + this.courseid + '&custom_id=' +
this.coursedetail.id
})
},
// 完成事件打分
...
...
@@ -504,11 +533,14 @@
// 点赞人员
.point_people {
margin-bottom: 28upx;
image {
width: 32upx;
width: 32upx;
margin-right: 22upx;
border-radius: 50%;
}
.point_detail {
...
...
pages/course/submitClock.vue
查看文件 @
ca33409
...
...
@@ -280,7 +280,6 @@ export default {
title:'请选择完成事件打分',
icon:"none"
})
return false
}
if(that.scorearr[that.ganid]==undefined){
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
查看文件 @
ca33409
此 diff 太大无法显示。
unpackage/dist/dev/.sourcemap/mp-weixin/pages/course/courseDetail.js.map
查看文件 @
ca33409
{
"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"
,
"methods"
,
"getcoursedetail"
,
"params"
,
"course_id"
,
"app"
,
"then"
,
"getcordlist"
,
"catch"
,
"err"
,
"customs_id"
,
"id"
,
"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,IAAi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A,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmI1nB,+E,8FAnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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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A3Jc,kBA2JPC,OA3JO,EA2JE;AACflD,WAAO,CAACC,GAAR,CAAYiD,OAAZ;AACA,SAAK7B,QAAL,GAAgB6B,OAAO,CAACd,EAAxB;AACA,SAAKT,eAAL;AACA,GA/Ja,E;;;;;;;;;;;;;ACpIf;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\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};\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\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\n\n\n\t\t\t}).catch((err) => {\n\n\t\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\t\t\t\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\t that.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\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\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\t that.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\t\t\t\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"
,
"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;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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;eAGe,EACdjD,IADc,kBACP,CACN,OAAO,EACNkD,SAAS,EAAE,KADL,EAENC,GAAG,EAAE,EAFC,EAGNC,QAAQ,EAAEC,mBAAO,CAAC,wCAAD,CAHX,EAINC,YAAY,EAAE,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAJR,EAKNP,QAAQ,EAAE,EALJ,EAMN;AACAQ,aAAO,EAAE,KAPH,EAQNC,SAAS,EAAEH,mBAAO,CAAC,sCAAD,CARZ,EASNI,SAAS,EAAEJ,mBAAO,CAAC,iCAAD,CATZ,EAUN;AACAK,eAAS,EAAE,CAAC,IAAD,EAAO,OAAP,EAAgB,KAAhB,EAAuB,KAAvB,EAA8B,KAA9B,EAAqC,IAArC,EAA2C,OAA3C,EAAoD,KAApD,EAA2D,OAA3D,EAAoE,KAApE,EAA2E,KAA3E,CAXL,EAYNC,QAAQ,EAAE,EAZJ,EAaNC,YAAY,EAAE,EAbR,EAcNC,IAAI,EAAE,EAdA,EAeNC,GAAG,EAAE,EAfC,EAgBNC,MAAM,EAAE,CAhBF,EAiBN;AACAC,gBAAU,EAAE,EAlBN,CAmBN;AAn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AqC,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
...
...
unpackage/dist/dev/.sourcemap/mp-weixin/pages/course/submitClock.js.map
查看文件 @
ca33409
{
"version"
:
3
,
"sources"
:[
"webpack:///E:/项目/tigerprogram/App.vue?5504"
,
"webpack:///E:/项目/tigerprogram/main.js"
,
"webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?6e20"
,
"webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?72b8"
,
"webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?b794"
,
"webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?dfa0"
,
"webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue"
,
"webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?4b82"
,
"webpack:///E:/项目/tigerprogram/pages/course/submitClock.vue?c0e3"
,
"webpack:///E:/项目/tigerprogram/App.vue"
,
"webpack:///E:/项目/tigerprogram/App.vue?7df3"
,
"webpack:///E:/项目/tigerprogram/App.vue?844f"
,
"webpack:///E:/项目/tigerprogram/App.vue?a74e"
],
"names"
:[
"createPage"
,
"Page"
,
"data"
,
"currentDate"
,
"getDate"
,
"format"
,
"completeList"
,
"complete"
,
"feeling"
,
"feelindex"
,
"content"
,
"isDialog"
,
"isContent"
,
"isCanvas"
,
"isClick"
,
"date"
,
"gantext"
,
"type"
,
"course_id"
,
"customs_id"
,
"score"
,
"is_privacy"
,
"images"
,
"scorearr"
,
"image"
,
"cimage"
,
"eventid"
,
"ganid"
,
"methods"
,
"setpricy"
,
"cancelpricy"
,
"getfenshu"
,
"that"
,
"url"
,
"params"
,
"app"
,
"post"
,
"then"
,
"res"
,
"id"
,
"min"
,
"max"
,
"push"
,
"i"
,
"console"
,
"log"
,
"catch"
,
"err"
,
"changeComplete"
,
"e"
,
"kid"
,
"obj"
,
"detail"
,
"value"
,
"changefeel"
,
"Date"
,
"year"
,
"getFullYear"
,
"month"
,
"getMonth"
,
"day"
,
"bindDateChange"
,
"target"
,
"entertext"
,
"chooseImage"
,
"uni"
,
"count"
,
"sizeType"
,
"success"
,
"tempFilePaths"
,
"upload"
,
"kurl"
,
"fail"
,
"submitClock"
,
"showToast"
,
"title"
,
"icon"
,
"undefined"
,
"array"
,
"JSON"
,
"stringify"
,
"duration"
,
"getCanvas"
,
"ctx"
,
"createCanvasContext"
,
"closeDialog"
,
"onLoad"
,
"options"
,
"custom_id"
,
"courseid"
,
"onShareAppMessage"
,
"from"
,
"path"
,
"onLaunch"
,
"onShow"
,
"onHide"
,
"promise"
,
"Promise"
,
"resolve"
,
"reject"
,
"token"
,
"getStorageSync"
,
"header"
,
"postData"
,
"request"
,
"globalData"
,
"baseUrl"
,
"method"
,
"code"
,
"msg"
,
"hideNavigationBarLoading"
,
"userInfo"
,
"filetype"
,
"file"
,
"wx"
,
"showNavigationBarLoading"
,
"showLoading"
,
"head"
,
"typename"
,
"uploadFile"
,
"filePath"
,
"name"
,
"formData"
,
"temdata"
,
"parse"
,
"urlobj"
,
"http_url"
,
"hideLoading"
],
"mappings"
:
";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA6lB,CAAgB,unBAAG,EAAC,C;;;;;;;;;;;;kDCAjnB,wCAAmB;;AAEnB;AACA,0G;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwH;AACxH;AAC+D;AACL;AACc;;;AAGxE;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0FAAU;AACZ;AACA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;AC1Cf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAqmB,CAAgB,+nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqFxnB,+E,8FArFD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;eAGe,EAEdC,IAFc,kBAEP,CACN,IAAMC,WAAW,GAAG,KAAKC,OAAL,CAAa,EACrBC,MAAM,EAAE,IADa,EAAb,CAApB,CAGA,OAAO,EACNC,YAAY,EAAE,EADR,EAENC,QAAQ,EAAE,EAFJ,EAGNC,OAAO,EAAC,EAHF,EAINC,SAAS,EAAC,EAJJ,EAKNC,OAAO,EAAE,EALH,EAMN;AACAC,cAAQ,EAAE,KAPJ,EAQN;AACAC,eAAS,EAAE,KATL,EAUN;AACAC,cAAQ,EAAE,KAXJ,EAYN;AACAC,aAAO,EAAE,KA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;;;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\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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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\\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
...
...
unpackage/dist/dev/mp-weixin/app.json
查看文件 @
ca33409
...
...
@@ -51,5 +51,6 @@
"desc"
:
""
}
},
"usingComponents"
:
{}
"usingComponents"
:
{},
"sitemapLocation"
:
"sitemap73.json"
}
\ No newline at end of file
...
...
unpackage/dist/dev/mp-weixin/common/vendor.js
查看文件 @
ca33409
...
...
@@ -14345,7 +14345,7 @@ module.exports = {"_from":"@dcloudio/uni-stat@alpha","_id":"@dcloudio/uni-stat@2
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
default
=
void
0
;
var
_default
=
{
"pages"
:
{
"pages/index/index"
:
{
"navigationBarTitleText"
:
"发现"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/start/start"
:
{
"navigationBarTitleText"
:
"赋能师成长数据化"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/mine/circlepic"
:
{
"navigationBarTitleText"
:
"个人中心"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/mine/mine"
:
{
"navigationBarTitleText"
:
"个人中心"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/mine/allrecordlist"
:
{
"navigationBarTitleText"
:
"全部打卡记录"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/course/courseComment"
:
{
"navigationBarTitleText"
:
"评论"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/mine/changeinfo"
:
{
"navigationBarTitleText"
:
"个人信息"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/course/course"
:
{
"navigationBarTitleText"
:
"课程列表"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/course/courseIntro"
:
{
"navigationBarTitleText"
:
"课程介绍"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/course/courseDetail"
:
{
"navigationBarTitleText"
:
"课程详情"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/course/submitClock"
:
{
"navigationBarTitleText"
:
"提交内容"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
},
"pages/course/recordClock"
:
{
"navigationBarTitleText"
:
"打卡记录"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
,
"usingComponents"
:
{},
"usingAutoImportComponents"
:
{}
}
},
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
""
,
"navigationBarBackgroundColor"
:
"#F8F8F8"
,
"backgroundColor"
:
"#F8F8F8"
}
};
exports
.
default
=
_default
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
default
=
void
0
;
var
_default
=
{
"pages"
:
{
"pages/index/index"
:
{
"navigationBarTitleText"
:
"发现"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/start/start"
:
{
"navigationBarTitleText"
:
"赋能师成长数据化"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/mine/circlepic"
:
{
"navigationBarTitleText"
:
"个人中心"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/mine/mine"
:
{
"navigationBarTitleText"
:
"个人中心"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/mine/allrecordlist"
:
{
"navigationBarTitleText"
:
"全部打卡记录"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/course/courseComment"
:
{
"navigationBarTitleText"
:
"评论"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/mine/changeinfo"
:
{
"navigationBarTitleText"
:
"个人信息"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/course/course"
:
{
"navigationBarTitleText"
:
"课程列表"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/course/courseIntro"
:
{
"navigationBarTitleText"
:
"课程介绍"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/course/courseDetail"
:
{
"navigationBarTitleText"
:
"课程详情"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/course/submitClock"
:
{
"navigationBarTitleText"
:
"提交内容"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
},
"pages/course/recordClock"
:
{
"navigationBarTitleText"
:
"打卡记录"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTextStyle"
:
"black"
}
},
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
""
,
"navigationBarBackgroundColor"
:
"#F8F8F8"
,
"backgroundColor"
:
"#F8F8F8"
}
};
exports
.
default
=
_default
;
/***/
}),
...
...
unpackage/dist/dev/mp-weixin/pages/course/courseDetail.js
查看文件 @
ca33409
...
...
@@ -458,6 +458,8 @@ __webpack_require__.r(__webpack_exports__);
var
_App
=
_interopRequireDefault
(
__webpack_require__
(
/*! ../../App.vue */
9
));
function
_interopRequireDefault
(
obj
)
{
return
obj
&&
obj
.
__esModule
?
obj
:
{
default
:
obj
};}
//
//
//
...
...
@@ -588,18 +590,45 @@ 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
};},
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
();}).
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
);}).
catch
(
function
(
err
)
{});},
prestep
:
function
prestep
()
{
var
that
=
this
;
that
.
number
++
;
var
url
=
'/api/course/customs_choose'
;
var
params
=
{
// course_id: that.courseid,
pointList
:
[
'关心'
,
'思想是根基'
,
'陈cc'
,
'莫妮卡'
,
'莫妮卡'
,
'大鹏'
,
'思想是根基'
,
'陈cc'
,
'思想是根基'
,
'陈cc'
,
'莫妮卡'
],
courseid
:
''
,
coursedetail
:
''
,
next
:
''
,
pre
:
''
,
number
:
1
,
//所有用户课程列表
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
)
{});},
//获取所有打卡记录
getallcordlist
:
function
getallcordlist
()
{
var
that
=
this
;
console
.
log
(
77889900
);
var
url
=
'/api/course/user_clock_list'
;
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
=
that
.
courselist
.
concat
(
res
.
list
);}).
catch
(
function
(
err
)
{});},
// 上一关
prestep
:
function
prestep
()
{
var
that
=
this
;
that
.
number
++
;
var
url
=
'/api/course/customs_choose'
;
var
params
=
{
// course_id: that.courseid,
// customs_id:that.coursedetail.id
course_id
:
1
,
customs_id
:
1
};
_App
.
default
.
post
(
url
,
params
).
then
(
function
(
res
)
{
console
.
log
(
res
);
that
.
next
=
res
.
next
;
that
.
per
=
res
.
pre
;
if
(
res
.
next
!=
''
)
{
that
.
coursedetail
=
res
.
next
;}
else
uni
.
showToast
({
title
:
'没有下一关了'
,
icon
:
"none"
});}).
catch
(
function
(
err
)
{});},
nextstep
:
function
nextstep
()
{
var
that
=
this
;
that
.
number
++
;
var
url
=
'/api/course/customs_choose'
;
var
params
=
{
// course_id: that.courseid,
course_id
:
1
,
customs_id
:
1
};
_App
.
default
.
post
(
url
,
params
).
then
(
function
(
res
)
{
console
.
log
(
res
);
that
.
next
=
res
.
next
;
that
.
per
=
res
.
pre
;
if
(
res
.
next
!=
''
)
{
that
.
coursedetail
=
res
.
next
;}
else
uni
.
showToast
({
title
:
'没有下一关了'
,
icon
:
"none"
});}).
catch
(
function
(
err
)
{});},
// 下一关
nextstep
:
function
nextstep
()
{
var
that
=
this
;
that
.
number
++
;
var
url
=
'/api/course/customs_choose'
;
var
params
=
{
// course_id: that.courseid,
// customs_id:that.coursedetail.id
course_id
:
1
,
customs_id
:
1
};
_App
.
default
.
post
(
url
,
params
).
then
(
function
(
res
)
{
console
.
log
(
res
);
that
.
next
=
res
.
next
;
that
.
per
=
res
.
pre
;
if
(
res
.
next
!=
''
)
{
that
.
coursedetail
=
res
.
next
;}
else
uni
.
showToast
({
title
:
'没有下一关了'
,
icon
:
"none"
});}).
catch
(
function
(
err
)
{});},
// 去打卡记录页
toRecord
:
function
toRecord
()
{
uni
.
navigateTo
({
url
:
"/pages/course/recordClock"
});},
// 去提交打卡页
toSubmit
:
function
toSubmit
()
{
uni
.
navigateTo
({
url
:
'/pages/course/submitClock?courseid='
+
this
.
courseid
+
'&custom_id='
+
this
.
coursedetail
.
id
});},
// 完成事件打分
changeComplete
:
function
changeComplete
(
e
)
{
this
.
complete
=
e
.
detail
.
value
;},
// 放大图片
course_id
:
1
,
customs_id
:
1
};
_App
.
default
.
post
(
url
,
params
).
then
(
function
(
res
)
{
console
.
log
(
res
);
that
.
next
=
res
.
next
;
that
.
per
=
res
.
pre
;
if
(
res
.
next
!=
''
)
{
that
.
coursedetail
=
res
.
next
;}
else
uni
.
showToast
({
title
:
'没有下一关了'
,
icon
:
"none"
});}).
catch
(
function
(
err
)
{
});
},
// 去打卡记录页
toRecord
:
function
toRecord
()
{
uni
.
navigateTo
({
url
:
"/pages/course/recordClock"
});
},
// 去提交打卡页
toSubmit
:
function
toSubmit
()
{
uni
.
navigateTo
({
url
:
'/pages/course/submitClock?courseid='
+
this
.
courseid
+
'&custom_id='
+
this
.
coursedetail
.
id
});
},
// 完成事件打分
changeComplete
:
function
changeComplete
(
e
)
{
this
.
complete
=
e
.
detail
.
value
;
},
// 放大图片
enlargeImg
:
function
enlargeImg
()
{
this
.
isShowImg
=
true
;
this
.
img
=
this
.
themeImg
;
...
...
unpackage/dist/dev/mp-weixin/pages/course/courseDetail.wxml
查看文件 @
ca33409
<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"><view class="comment_single"><view class="single_people layer_between"><view class="people_l layer_nostar"><image src="../../static/header.png" mode data-event-opts="{{[['tap',[['toRecord']]]]}}" bindtap="__e"></image><view><view class="people_name">张三</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>感悟:好</view></view><view class="layer_star no_icon_single">完成事件打分:<picker mode="selector" range="{{completeList}}" data-event-opts="{{[['change',[['changeComplete',['$event']]]]]}}" bindchange="__e"><view class="score_picker layer_between"><view>{{completeList[complete]?completeList[complete]:'请打分'}}</view><image src="../../static/start_01.png" mode="widthFix"></image></view></picker></view><view class="layer_star no_icon_single">情绪状态打分:<picker mode="selector" range="{{completeList}}" data-event-opts="{{[['change',[['changeComplete',['$event']]]]]}}" bindchange="__e"><view class="score_picker layer_between"><view>{{completeList[complete]?completeList[complete]:'请打分'}}</view><image src="../../static/start_01.png" mode="widthFix"></image></view></picker></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="{{pointList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view>{{item+","}}</view></block></view></view><view class="msg_detail"><view class="detail_single "><text>风格林:</text>有意义的人,并不就是年岁活得最大的人,而是对生活最有感受的人。</view></view></view></view></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"><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
...
...
unpackage/dist/dev/mp-weixin/pages/course/courseDetail.wxss
查看文件 @
ca33409
...
...
@@ -692,7 +692,9 @@ page {
}
.course_detail .theme_comment .comment_single .comment_msg .point_people image {
width: 32rpx;
width: 32rpx;
margin-right: 22rpx;
border-radius: 50%;
}
.course_detail .theme_comment .comment_single .comment_msg .point_people .point_detail {
color: #bdc4ce;
...
...
unpackage/dist/dev/mp-weixin/pages/course/submitClock.js
查看文件 @
ca33409
...
...
@@ -431,7 +431,6 @@ var _default = { data: function data() {var currentDate = this.getDate({ format:
title
:
'请选择完成事件打分'
,
icon
:
"none"
});
return
false
;
}
if
(
that
.
scorearr
[
that
.
ganid
]
==
undefined
)
{
...
...
unpackage/dist/dev/mp-weixin/project.config.json
查看文件 @
ca33409
{
"description"
:
"项目配置文件。"
,
"packOptions"
:
{
"ignore"
:
[]
},
"setting"
:
{
"urlCheck"
:
false
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.9.2"
,
"appid"
:
"wx1f51f42105b63343"
,
"projectname"
:
"clockIn"
,
"condition"
:
{
"search"
:
{
"current"
:
-1
,
"list"
:
[]
},
"conversation"
:
{
"current"
:
-1
,
"list"
:
[]
},
"game"
:
{
"current"
:
-1
,
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
-1
,
"list"
:
[]
}
}
"description"
:
"项目配置文件。"
,
"packOptions"
:
{
"ignore"
:
[]
},
"setting"
:
{
"urlCheck"
:
false
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.9.2"
,
"appid"
:
"wx1f51f42105b63343"
,
"projectname"
:
"clockIn"
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
"condition"
:
{
"search"
:
{
"current"
:
-1
,
"list"
:
[]
},
"conversation"
:
{
"current"
:
-1
,
"list"
:
[]
},
"game"
:
{
"current"
:
-1
,
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
-1
,
"list"
:
[]
}
}
}
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论