1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-course-file-course-file"],{"0b9b6":function(t,e,i){"use strict";i("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("9e12"),n={data:function(){return{list:[],params:{page_index:1,page_size:25,pid:""},totalPage:0}},onLoad:function(t){var e=t.pid;this.params.pid=e,this.getCate()},onReachBottom:function(){this.getMore()},methods:{getCate:function(t){var e=this;uni.showLoading({title:"加载中..."}),(0,a.getCate)(this.params).then((function(i){200===i.code?(e.totalPage=Math.ceil(i.data.total/e.params.page_size),e.list=t?e.list.concat(i.data.list):i.data.list):uni.showModal({content:i.message||"获取列表失败",showCancel:!1}),uni.hideLoading()})).catch((function(t){uni.hideLoading()}))},getMore:function(){if(this.params.page_index>this.totalPage)return uni.showToast({title:"没有更多啦~",icon:"none"}),!1;this.params.page_index++,this.getCate(!0)},skipPage:function(t){uni.navigateTo({url:"../course-content/course-content?c_id="+t})}}};e.default=n},7487:function(t,e,i){"use strict";i.r(e);var a=i("f6ad"),n=i("8455");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("f23e");var o,c=i("f0c5"),d=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"ed13c59c",null,!1,a["a"],o);e["default"]=d.exports},8187:function(t,e,i){var a=i("df65");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("790478cb",a,!0,{sourceMap:!1,shadowMode:!1})},8455:function(t,e,i){"use strict";i.r(e);var a=i("0b9b6"),n=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"9e12":function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.courseShare=e.addComment=e.addCollection=e.getCollection=e.latelyCourse=e.getCourseComment=e.courseDetail=e.getCate=e.courseList=void 0;var n=a(i("daa8")),r=function(t){return n.default.get("/course/course/list",t)};e.courseList=r;var o=function(t){return n.default.get("/course/cate/getCate",t)};e.getCate=o;var c=function(t){return n.default.get("/course/course/detail",t)};e.courseDetail=c;var d=function(t){return n.default.get("/course/course/getCourseComment",t)};e.getCourseComment=d;var s=function(t){return n.default.get("/course/course/current",t)};e.latelyCourse=s;var l=function(t){return n.default.get("/course/collection/getCollection",t)};e.getCollection=l;var f=function(t){return n.default.post("/course/collection/addCollection",t)};e.addCollection=f;var u=function(t){return n.default.post("/course/comment/addComment",t)};e.addComment=u;var g=function(t){return n.default.post("/course/course/share",t)};e.courseShare=g},a82c:function(t,e,i){t.exports=i.p+"static/img/no_card.2f9f644c.png"},df65:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-ed13c59c]{margin-top:%?10?%}.app-item uni-input[data-v-ed13c59c], .app-item uni-picker[data-v-ed13c59c], .app-item uni-textarea[data-v-ed13c59c]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-ed13c59c]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-ed13c59c]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-ed13c59c]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-ed13c59c]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-ed13c59c]{color:#fff;background:#f76454}.small-btn[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-ed13c59c]{color:#999;border-color:#999}.login-btn[data-v-ed13c59c]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-ed13c59c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-ed13c59c]{margin-right:%?20?%}.border-right[data-v-ed13c59c]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-ed13c59c]{margin-right:%?6?%}.position-center[data-v-ed13c59c]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-ed13c59c]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-ed13c59c]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-ed13c59c]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-ed13c59c]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-ed13c59c]{color:#f76454}.swiper-nav[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-ed13c59c]{color:#f76454}.swiper-nav .moveBar[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-ed13c59c]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-ed13c59c]{flex:1;width:100%}.swiper-area uni-swiper[data-v-ed13c59c]{width:100%;height:100%}.article-header[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-ed13c59c]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-ed13c59c]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-ed13c59c]{color:#f76454}.article-footer[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-ed13c59c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-ed13c59c]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-ed13c59c]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-ed13c59c]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.file[data-v-ed13c59c]{width:100%;min-height:100%;background:#fff;padding-bottom:%?120?%}.file .list[data-v-ed13c59c]{width:%?702?%;margin:0 auto;padding-top:%?24?%}.file .list .list_con[data-v-ed13c59c]{padding:%?20?% 0}.file .list .list_con .list_img[data-v-ed13c59c]{width:%?128?%;height:%?128?%;flex-shrink:0;border-radius:%?16?%}.file .list .list_con .list_center[data-v-ed13c59c]{width:70%;text-align:left}.file .list .list_con .list_center .title[data-v-ed13c59c]{font-size:%?32?%;font-weight:700;margin-bottom:%?14?%}.file .list .list_con .list_center .intr uni-text[data-v-ed13c59c]{font-size:%?28?%;color:#999;margin-right:%?20?%}',""]),t.exports=e},e084:function(t,e,i){t.exports=i.p+"static/img/bottom2.c14bc289.png"},f23e:function(t,e,i){"use strict";var a=i("8187"),n=i.n(a);n.a},f6ad:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"file"},[a("v-uni-view",{staticClass:"list"},[t._l(t.list,(function(e){return a("v-uni-view",{key:e.id,staticClass:"list_con flexB",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.skipPage(e.id)}}},[e.img?a("v-uni-image",{staticClass:"list_img",attrs:{src:e.img,mode:""}}):a("v-uni-image",{staticClass:"list_img",attrs:{src:i("e084")}}),a("v-uni-view",{staticClass:"list_center"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(t._f("getName")(e.name,12)))]),a("v-uni-view",{staticClass:"intr"},[a("v-uni-text",[t._v(t._s(e.course_count)+"条")]),a("v-uni-text",[t._v(t._s(e.created_at))])],1)],1),a("v-uni-text",{staticClass:"chat-icon icon-jiantou3"})],1)})),0===t.list.length?a("v-uni-view",{staticClass:"noData"},[a("v-uni-image",{attrs:{src:i("a82c"),mode:""}}),a("v-uni-view",[t._v("--暂无数据--")])],1):t._e()],2)],1)},r=[]}}]);
|