pages-course-lately-course-lately.2ef56b33.js 22 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-course-lately-course-lately"],{"3a21":function(e,a,t){var i=t("6455");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=t("4f06").default;n("66c12b49",i,!0,{sourceMap:!1,shadowMode:!1})},6455:function(e,a,t){var i=t("24fb");a=i(!1),a.push([e.i,'@charset "UTF-8";.app-item[data-v-00fe5318]{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-00fe5318]{margin-top:%?10?%}.app-item uni-input[data-v-00fe5318], .app-item uni-picker[data-v-00fe5318], .app-item uni-textarea[data-v-00fe5318]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-00fe5318]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-00fe5318]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-00fe5318]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-00fe5318]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-00fe5318]{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-00fe5318]{color:#fff;background:#f76454}.small-btn[data-v-00fe5318]{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-00fe5318]{color:#999;border-color:#999}.login-btn[data-v-00fe5318]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-00fe5318]{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-00fe5318]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-00fe5318]{margin-right:%?20?%}.border-right[data-v-00fe5318]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-00fe5318]{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-00fe5318]{margin-right:%?6?%}.position-center[data-v-00fe5318]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-00fe5318]{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-00fe5318]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-00fe5318]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-00fe5318]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-00fe5318]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-00fe5318]{color:#f76454}.swiper-nav[data-v-00fe5318]{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-00fe5318]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-00fe5318]{color:#f76454}.swiper-nav .moveBar[data-v-00fe5318]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-00fe5318]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-00fe5318]{flex:1;width:100%}.swiper-area uni-swiper[data-v-00fe5318]{width:100%;height:100%}.article-header[data-v-00fe5318]{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-00fe5318]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-00fe5318]{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-00fe5318]{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-00fe5318]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-00fe5318]{color:#f76454}.article-footer[data-v-00fe5318]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-00fe5318]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-00fe5318]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-00fe5318]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-00fe5318]{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/* 文章场景相关 */.course_con[data-v-00fe5318]{padding-bottom:%?120?%}.card[data-v-00fe5318]{width:%?702?%;margin:%?24?% auto 0;background:#fff;border-radius:%?16?%;padding:%?30?% %?24?%;box-shadow:border-box}.card .top .avatar[data-v-00fe5318]{width:%?80?%;height:%?80?%;flex-shrink:0;margin-right:%?20?%;border-radius:50%}.card .center .title[data-v-00fe5318]{font-size:%?34?%;font-weight:700;margin:%?20?% 0 0}.card .center .intr[data-v-00fe5318]{font-size:%?30?%;padding:%?15?% 0}.card .center .audio[data-v-00fe5318]{width:%?654?%;height:%?84?%;background:#f9f9f9;border-radius:%?42?%;padding:0 %?24?%;box-sizing:border-box;margin:%?24?% 0}.card .center .audio .icon_box[data-v-00fe5318]{width:%?74?%}.card .center .audio .icon_box .chat-icon[data-v-00fe5318]{color:#fb231f;font-size:%?50?%;flex-shrink:0}.card .center .audio .wave_box[data-v-00fe5318]{flex:1;height:100%;overflow:hidden}.card .center .audio .wave_box .wave_line[data-v-00fe5318]{width:%?4?%;background:#c4c4c4;border-radius:%?8?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(1){height:%?7?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(2){height:%?2?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(3){height:%?19?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(4){height:%?32?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(5){height:%?31?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(6){height:%?8?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(7){height:%?28?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(8){height:%?21?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(9){height:%?11?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(10){height:%?37?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(11){height:%?28?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(12){height:%?16?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(13){height:%?23?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(14){height:%?5?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(15){height:%?3?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(16){height:%?15?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(17){height:%?32?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(18){height:%?9?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(19){height:%?2?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(20){height:%?7?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(21){height:%?11?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(22){height:%?34?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(23){height:%?31?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(24){height:%?32?%}.card .center .audio .wave_box .wave_line[data-v-00fe5318]:nth-of-type(25){height:%?28?%}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]{background:#fb231f}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(1){-webkit-animation:load-data-v-00fe5318 2.5s 2s infinite linear;animation:load-data-v-00fe5318 2.5s 2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(2){-webkit-animation:load-data-v-00fe5318 2.5s 2s infinite linear;animation:load-data-v-00fe5318 2.5s 2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(3){-webkit-animation:load-data-v-00fe5318 2.5s 1.2s infinite linear;animation:load-data-v-00fe5318 2.5s 1.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(4){-webkit-animation:load-data-v-00fe5318 2.5s 2.6s infinite linear;animation:load-data-v-00fe5318 2.5s 2.6s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(5){-webkit-animation:load-data-v-00fe5318 2.5s 2.2s infinite linear;animation:load-data-v-00fe5318 2.5s 2.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(6){-webkit-animation:load-data-v-00fe5318 2.5s 2.2s infinite linear;animation:load-data-v-00fe5318 2.5s 2.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(7){-webkit-animation:load-data-v-00fe5318 2.5s 2.4s infinite linear;animation:load-data-v-00fe5318 2.5s 2.4s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(8){-webkit-animation:load-data-v-00fe5318 2.5s 2s infinite linear;animation:load-data-v-00fe5318 2.5s 2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(9){-webkit-animation:load-data-v-00fe5318 2.5s 1.4s infinite linear;animation:load-data-v-00fe5318 2.5s 1.4s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(10){-webkit-animation:load-data-v-00fe5318 2.5s 1.4s infinite linear;animation:load-data-v-00fe5318 2.5s 1.4s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(11){-webkit-animation:load-data-v-00fe5318 2.5s 1.2s infinite linear;animation:load-data-v-00fe5318 2.5s 1.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(12){-webkit-animation:load-data-v-00fe5318 2.5s 1.2s infinite linear;animation:load-data-v-00fe5318 2.5s 1.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(13){-webkit-animation:load-data-v-00fe5318 2.5s 2.6s infinite linear;animation:load-data-v-00fe5318 2.5s 2.6s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(14){-webkit-animation:load-data-v-00fe5318 2.5s 3s infinite linear;animation:load-data-v-00fe5318 2.5s 3s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(15){-webkit-animation:load-data-v-00fe5318 2.5s 2.4s infinite linear;animation:load-data-v-00fe5318 2.5s 2.4s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(16){-webkit-animation:load-data-v-00fe5318 2.5s 2.4s infinite linear;animation:load-data-v-00fe5318 2.5s 2.4s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(17){-webkit-animation:load-data-v-00fe5318 2.5s 2.2s infinite linear;animation:load-data-v-00fe5318 2.5s 2.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(18){-webkit-animation:load-data-v-00fe5318 2.5s 1.6s infinite linear;animation:load-data-v-00fe5318 2.5s 1.6s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(19){-webkit-animation:load-data-v-00fe5318 2.5s 2.2s infinite linear;animation:load-data-v-00fe5318 2.5s 2.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(20){-webkit-animation:load-data-v-00fe5318 2.5s 2s infinite linear;animation:load-data-v-00fe5318 2.5s 2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(21){-webkit-animation:load-data-v-00fe5318 2.5s 1.8s infinite linear;animation:load-data-v-00fe5318 2.5s 1.8s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(22){-webkit-animation:load-data-v-00fe5318 2.5s 2.2s infinite linear;animation:load-data-v-00fe5318 2.5s 2.2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(23){-webkit-animation:load-data-v-00fe5318 2.5s 2s infinite linear;animation:load-data-v-00fe5318 2.5s 2s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(24){-webkit-animation:load-data-v-00fe5318 2.5s 2.4s infinite linear;animation:load-data-v-00fe5318 2.5s 2.4s infinite linear}.card .center .audio .wave_box .wave_line.active[data-v-00fe5318]:nth-of-type(25){-webkit-animation:load-data-v-00fe5318 2.5s 1.2s infinite linear;animation:load-data-v-00fe5318 2.5s 1.2s infinite linear}@-webkit-keyframes load-data-v-00fe5318{0%{height:70%}30%{height:20%}60%{height:60%}100%{height:10%}}@keyframes load-data-v-00fe5318{0%{height:70%}30%{height:20%}60%{height:60%}100%{height:10%}}@-webkit-keyframes rotate-data-v-00fe5318{100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-00fe5318{100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.card .center .audio .time[data-v-00fe5318]{width:%?100?%;text-align:right;font-size:%?28?%}.card .center uni-video[data-v-00fe5318]{width:%?654?%;height:%?400?%;border-radius:%?16?%}.card .center .img_box .img_con[data-v-00fe5318]{width:33.33%;text-align:center}.card .center .img_box .img uni-image[data-v-00fe5318]{border-radius:%?16?%}',""]),e.exports=a},6474:function(e,a,t){"use strict";var i=t("3a21"),n=t.n(i);n.a},"9e12":function(e,a,t){"use strict";var i=t("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.courseShare=a.addComment=a.addCollection=a.getCollection=a.latelyCourse=a.getCourseComment=a.courseDetail=a.getCate=a.courseList=void 0;var n=i(t("daa8")),o=function(e){return n.default.get("/course/course/list",e)};a.courseList=o;var r=function(e){return n.default.get("/course/cate/getCate",e)};a.getCate=r;var d=function(e){return n.default.get("/course/course/detail",e)};a.courseDetail=d;var f=function(e){return n.default.get("/course/course/getCourseComment",e)};a.getCourseComment=f;var l=function(e){return n.default.get("/course/course/current",e)};a.latelyCourse=l;var s=function(e){return n.default.get("/course/collection/getCollection",e)};a.getCollection=s;var c=function(e){return n.default.post("/course/collection/addCollection",e)};a.addCollection=c;var v=function(e){return n.default.post("/course/comment/addComment",e)};a.addComment=v;var u=function(e){return n.default.post("/course/course/share",e)};a.courseShare=u},a82c:function(e,a,t){e.exports=t.p+"static/img/no_card.2f9f644c.png"},c79c:function(e,a,t){"use strict";t("99af"),t("4160"),t("d81d"),t("159b"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=t("9e12"),n={data:function(){return{params:{page_index:1,page_size:6},list:[],play:{self:null,index:-1,all:!1,ing:!1,time:0},duration:"",videoContent:"",totalPage:0,curPlay:"",videoList:[]}},onLoad:function(){this.getList(),this.play.self=uni.createInnerAudioContext()},onUnload:function(){this.play.self.destroy()},watch:{"play.ing":function(e){var a=this;e?(this.play.self.onTimeUpdate((function(){a.play.time=a.play.self.currentTime})),this.play.self.onPause((function(){a.play.time=a.play.self.currentTime})),this.play.self.onEnded((function(){a.toPause(),a.list[a.curPlay].audioPlay=!1,a.play.time=0}))):this.play.self.offTimeUpdate()}},onReachBottom:function(){this.getMore()},methods:{preview:function(e,a,t){var i=[];i=a?[this.list[t].img[0]]:[this.list[t].img[0],this.list[t].img[1],this.list[t].img[2]],uni.previewImage({current:e,urls:i})},playing:function(e){var a=this,t=e.currentTarget.id,i=this.videoList;i.forEach((function(e,i){if(null!=e&&""!=e){var n="video"+e.id;n!=t&&uni.createVideoContext(n,a).pause()}}))},detailPlay:function(e,a){this.curPlay=a;var t=this.list;if(t[a].audioPlay=!t[a].audioPlay,t[a].audioPlay){for(var i=0;i<t.length;i++)i!=a&&(t[i].audioPlay=!1);this.play.self.src=e,this.play.self.play(),this.play.ing=!0,this.list[a].audioPlay=!0}else this.toPause();this.play.index=1},toPlay:function(e,a){this.play.ing&&this.play.self.pause(),this.play.self.src=e,this.play.self.play(),this.play.ing=!0,a&&a()},toPause:function(){if(!this.play.ing)return!1;this.play.ing=!1,this.play.self.pause()},skipDetail:function(e){uni.navigateTo({url:"../course-detail/course-detail?id="+e})},getList:function(e){var a=this;uni.showLoading({title:"加载中..."});var t=this;(0,i.latelyCourse)(t.params).then((function(t){if(200===t.code){var i=t.data.list;a.totalPage=Math.ceil(t.data.total/a.params.page_size),i.map((function(e){a.$set(e,"audioPlay",!1),e.video.length>0&&a.videoList.push({id:e.id,video:e.video[0]}),e.img.length>0&&uni.getImageInfo({src:e.img[0],success:function(t){var i=t.width,n=t.height;a.$set(e,"isOne",n-i>0)}})})),a.list=e?a.list.concat(i):i}else uni.showModal({content:t.message||"获取课程列表失败"});uni.hideLoading()})).catch((function(e){uni.hideLoading()}))},getMore:function(){if(this.params.page_index>=this.totalPage)return uni.showToast({title:"没有更多啦~",icon:"none"}),!1;this.params.page_index++,this.getList(!0)}}};a.default=n},ca41:function(e,a,t){"use strict";t.r(a);var i=t("cbbdc"),n=t("daac");for(var o in n)"default"!==o&&function(e){t.d(a,e,(function(){return n[e]}))}(o);t("6474");var r,d=t("f0c5"),f=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"00fe5318",null,!1,i["a"],r);a["default"]=f.exports},cbbdc:function(e,a,t){"use strict";var i;t.d(a,"b",(function(){return n})),t.d(a,"c",(function(){return o})),t.d(a,"a",(function(){return i}));var n=function(){var e=this,a=e.$createElement,i=e._self._c||a;return i("v-uni-view",{staticClass:"course_con"},[e._l(e.list,(function(a,t){return i("v-uni-view",{key:a.id,staticClass:"card",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.skipDetail(a.id)}}},[i("v-uni-view",{staticClass:"top flexB"},[i("v-uni-view",{staticClass:"flexS"},[i("v-uni-image",{staticClass:"avatar",attrs:{src:a.avatar}}),i("v-uni-view",[e._v(e._s(a.author))])],1),i("v-uni-view",{staticStyle:{color:"#999"}},[e._v(e._s(a.create_at_humans))])],1),i("v-uni-view",{staticClass:"center"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(a.title))]),i("v-uni-view",{staticClass:"intr"},[e._v(e._s(a.perface))]),a.audio.length>0&&0===a.video.length?i("v-uni-view",{staticClass:"audio flexB"},[i("v-uni-view",{staticClass:"icon_box",on:{click:function(i){i.stopPropagation(),arguments[0]=i=e.$handleEvent(i),e.detailPlay(a.audio[0].url,t)}}},[a.audioPlay?e._e():i("v-uni-text",{staticClass:"chat-icon icon-ziyuan"}),a.audioPlay?i("v-uni-text",{staticClass:"chat-icon icon-zanting2"}):e._e()],1),i("v-uni-view",{staticClass:"wave_box flexB"},e._l(25,(function(e,t){return i("v-uni-view",{key:t,staticClass:"wave_line",class:a.audioPlay?"active":""})})),1),a.audio?i("v-uni-text",{staticClass:"time",style:{color:a.audioPlay?"#FB231F":"#333"}},[e._v(e._s(a.audio[0].duration))]):e._e()],1):e._e(),a.video.length>0?i("v-uni-view",{staticClass:"video"},[i("v-uni-video",{attrs:{src:a.video[0],id:"video"+a.id,"initial-time":"1"},on:{play:function(a){arguments[0]=a=e.$handleEvent(a),e.playing.apply(void 0,arguments)}}})],1):e._e(),a.img.length>0&&0===a.video.length?i("v-uni-view",{staticClass:"img_box flexS"},e._l(a.img,(function(n,o){return i("v-uni-view",{key:o,staticClass:"img_con"},[a.isOne&&o<1?i("v-uni-image",{staticStyle:{"border-radius":"16rpx",width:"220rpx",height:"280rpx"},attrs:{src:n,mode:"aspectFill"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.preview(n,a.isOne,t)}}}):e._e(),!a.isOne&&o<3?i("v-uni-image",{staticStyle:{"border-radius":"16rpx",width:"210rpx",height:"210rpx"},attrs:{src:n,mode:"aspectFill"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.preview(n,a.isOne,t)}}}):e._e()],1)})),1):e._e()],1),i("v-uni-view",{staticClass:"bottom"})],1)})),0===e.list.length?i("v-uni-view",{staticClass:"noData"},[i("v-uni-image",{attrs:{src:t("a82c"),mode:""}}),i("v-uni-view",[e._v("--暂无数据--")])],1):e._e()],2)},o=[]},daac:function(e,a,t){"use strict";t.r(a);var i=t("c79c"),n=t.n(i);for(var o in i)"default"!==o&&function(e){t.d(a,e,(function(){return i[e]}))}(o);a["default"]=n.a}}]);