| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{1039:function(t,o,e){"use strict";e.r(o);e(12),e(13),e(6),e(16),e(11),e(17);var n=e(4),d=e(26),l=(e(91),e(14),e(90),e(34),e(36),e(29),e(723),e(24),e(93),e(92),e(168)),r=e(735),c=e(237),_=e(720),m=e(725),f=e(5);function h(object,t){var o=Object.keys(object);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(object);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),o.push.apply(o,e)}return o}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(o){Object(n.a)(t,o,source[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(source,o))}))}return t}var x={data:function(){return{limitedTimeCustomName:"限时购",category_template:"03",specsManage:[],goods_id:"",goods_type:"goods",metaData:{},allData:{},goodsInfo:{},goods_plugin:{},supplierGoods:{seo:{}},nocart:!0,optionsId:"",goodsCount:0,initialIndex:0,popThumb:"",popStock:0,popPrice:"",commentPage:1,submitActionTag:"",goodsDescription:"",isRent:!1,isBuy:!1,isTime:!1,isBegTime:!1,begTimeStr:"",endTime:0,endTimeStr:"",openVip:"",prdocut_market:{},showMyinfo:!1,member_name:"",member_card:"",is_buy:!1,courseActiveNames:[],courseData:{},chapterdigList:[],pushGoodList:[],rewardMoneyBtn:!1,rewardMoney:"",moneyActiveClass:9999,rewardArr:[{value:1,name:"5元"},{value:2,name:"10元"},{value:3,name:"20元"},{value:4,name:"其他金额"}],pay_way:[],pay_sn:"",showLevelBox:!1,level_data:[],level_id:"",tabIndex:0,tabs:[{id:0,text:"商品信息"},{id:1,text:"商品评价"},{id:2,text:"活动"}]}},components:{ElImageViewer:l.default,countDown:m.default,ProdViewImages:r.default,payBox:c.default,serviceBox:_.default},head:function(){return{title:this.supplierGoods.seo?this.supplierGoods.seo.title:"商品详情",meta:[{name:"keywords",content:"".concat(this.supplierGoods.seo?this.supplierGoods.seo.keywords:"商品详情")},{name:"description",content:"".concat(this.supplierGoods.seo?this.supplierGoods.seo.description:"商品详情")}]}},asyncData:function(t){return Object(d.a)(regeneratorRuntime.mark((function o(){var e,n,d,l,r,c,_;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=t.params,n=t.query,d=t.store,l=t.app,r=t.route,o.next=3,l.$axios.post("".concat(d.state.baseUrl,"?route=goods.goods.get-goods-page"),v(v({},n),{},{id:e.id}),{headers:{"local-url":"".concat(r.path)}});case 3:return c=o.sent,o.next=6,l.$axios.post("".concat(d.state.baseUrl,"?route=plugin.pc-terminal.api.home.goods-detail"),v(v({},n),{},{gid:e.id}));case 6:return _=o.sent,o.abrupt("return",{supplierGoods:1===_.result?_.data:{seo:{}},metaData:c,allData:1===c.result?c.data:{},goodsInfo:c.data.get_goods?c.data.get_goods:{},goods_plugin:c.data.plugin?c.data.plugin:{}});case 8:case"end":return o.stop()}}),o)})))()},computed:v({},Object(f.b)(["basicSet","basic_info"])),mounted:function(){var t=this;this.specsManage=[],1!==this.metaData.result&&setTimeout((function(){t.$router.go(-1)}),2500),this.goods_id=this.$route.params.id,this.goods_plugin.prdocut_market&&(this.tabs.push({id:3,text:"插件列表"}),this.prdocut_market=this.goods_plugin.prdocut_market),this.goodsInfo.buy_way&&1!=this.goodsInfo.buy_way&&"appointment_goods"!==this.goods_type&&"yun_sign_goods"!==this.goods_type&&"yunqian_api"!==this.goods_type?this.nocart=!1:this.nocart=!0,this.basic_info.home&&this.basic_info.home.item&&1===this.basic_info.home.item.is_decorate&&(0!=this.basic_info.home.item.ViewSet.category.is_default?this.category_template=this.basic_info.home.item.ViewSet.category.code.substring(8):this.category_template="03");var o=this.goodsInfo;o&&o.has_one_goods_limit_buy&&1===o.has_one_goods_limit_buy.status&&o.has_one_goods_limit_buy.display_name&&(this.limitedTimeCustomName=o.has_one_goods_limit_buy.display_name),console.log(this.goods_plugin),this.getData(this.goodsInfo)},methods:{toCategoryChild:function(t){"03"===this.category_template?this.$baseURL?this.$router.push(this.fun.getUrl("category_child",{},t)):this.$router.push(this.fun.getUrl("category_child-id",t)):this.$baseURL?this.$router.push(this.fun.getUrl("catelist",{},t)):this.$router.push(this.fun.getUrl("catelist-id",t))},toPlayCourse:function(t){this.$baseURL?t.id?window.open(this.fun.getSiteRoot()+"/plugins/shop_server/member/coursedetail?i="+this.fun.getKeyByI()+"&chapter_id="+t.id+"&id="+this.goods_id,"_blank"):window.open(this.fun.getSiteRoot()+"/plugins/shop_server/member/coursedetail?i="+this.fun.getKeyByI()+"&id="+this.goods_id,"_blank"):t.id?window.open(this.fun.getSiteRoot()+"/plugins/shop_server/member/coursedetail/"+this.goods_id+"?i="+this.fun.getKeyByI()+"&chapter_id="+t.id,"_blank"):window.open(this.fun.getSiteRoot()+"/plugins/shop_server/member/coursedetail/"+this.goods_id+"?i="+this.fun.getKeyByI(),"_blank")},paySuccess:function(){this.$message.success("打赏成功")},confirmReward:function(){this.fun.isTextEmpty(this.rewardMoney)?this.$message.error("请输入或选择打赏金额"):this.rewardMoney<=0?this.$message.error("打赏金额必须大于0"):this.getPayData()},getPayData:function(){var t=this;this.fun.$get("plugin.video-demand.api.lecturer-reward.pay-type",{}).then((function(o){1==o.result&&(t.pay_sn=t.courseData.has_one_goods.title,t.pay_way=o.data.buttons,t.rewardMoneyBtn=!1,t.$refs.payBox.showPay())})).catch((function(t){console.log(t)}))},chooseMoney:function(t,o){switch(this.moneyActiveClass=o,this.rewardMoney="",t){case 1:this.rewardMoney=5;break;case 2:this.rewardMoney=10;break;case 3:this.rewardMoney=20;break;case 4:this.rewardMoney=""}},moneyShow:function(){this.moneyActiveClass=9999,this.rewardMoneyBtn=!0,this.rewardMoney=""},getCourseData:function(){var t=this;this.fun.$get("plugin.video-demand.api.video-course-goods.get-course-goods-detail",{goods_id:this.$route.params.id},"..").then((function(o){if(1==o.result)if(0==o.data.has_one_goods.status)t.$message.error("该课程已下架!"),t.$router.go(-1);else{t.courseData=o.data,t.chapterdigList=t.courseData.has_many_dig_chapter,t.pushGoodList=t.courseData.pushGoods,t.courseActiveNames=t.chapterdigList.map((function(t){return t.id}));var e="",n=t.courseData.has_many_dig_chapter;if(!(n.length>=1))return;switch(e=n[0].has_many_chapter[0],o.data.watch){case 0:t.is_buy=!0;break;case 1:if(1==e.is_audition){t.is_buy=!1;break}if(0==e.is_audition){t.is_buy=!0;break}break;case 2:case 3:t.is_buy=!1}}else t.$message.error(o.msg)}),(function(t){console.log(t)}))},toLink:function(t){t&&window.open(t,"_blank")},toTop:function(){window.scrollTo(0,0)},onPreview:function(t,o){this.initialIndex=t,o.showViewer?this.$set(o,"showViewer",!1):this.$set(o,"showViewer",!0)},closeViewer:function(t){this.$set(t,"showViewer",!1)},changeIndex:function(t){this.tabIndex=t},toGoods:function(t){var o=t.id;this.$baseURL?window.open(this.fun.getSiteRoot()+"/plugins/shop_server/goods?i="+this.fun.getKeyByI()+"&id="+o,"_blank"):window.open(this.fun.getSiteRoot()+"/plugins/shop_server/goods/"+o+"?i="+this.fun.getKeyByI(),"_blank")},toUrl:function(t,o,e){this.$router.push(this.fun.getUrl(t,o,e))},removePopThumb:function(){this.popThumb=""},saveInfo:function(){var t=this,o={member_name:this.member_name,member_card:this.member_card};this.fun.$get("from.div-from.updateMemberInfo",o,"添加中").then((function(o){1==o.result?t.showMyinfo=!1:t.$message.error(o.msg)}),(function(t){console.log(t)}))},getData:function(data){this.goodsInfo.member_discount&&(this.fun.isTextEmpty(this.goodsInfo.member_discount.discount)?this.openVip=1:this.openVip=this.goodsInfo.member_discount.discount),this.allData&&this.allData.goods_type&&(this.goods_type=this.allData.goods_type),this.initPopView(),this.fun.isTextEmpty(data.has_one_goods_limit_buy)||(this.isBuy=1==data.has_one_goods_limit_buy.status,this.beginTime=data.has_one_goods_limit_buy.start_time,this.timeCompare(this.beginTime),this.endTime=data.has_one_goods_limit_buy.end_time,this.endTimeStr=String(this.endTime)),"course"===this.goods_type&&(this.tabs=[{id:0,text:"课程简介"},{id:4,text:"课程目录"}],this.tabIndex=4,this.getCourseData())},initPopView:function(){if(1==this.goodsInfo.has_option){if(!this.optionsId)for(var i=0;i<this.goodsInfo.has_many_specs.length;i++)this.goodsInfo.has_many_specs[i].description=this.goodsInfo.has_many_specs[i].specitem[0],this.selectSpecs(this.goodsInfo.has_many_specs[i].specitem[0]);this.goodsDescription="选择";for(var t=0;t<this.goodsInfo.has_many_specs.length;t++)this.goodsDescription+=" "+this.goodsInfo.has_many_specs[t].title}else this.goodsDescription=""},addCart:function(){this.isBuy&&this.isBegTime?this.$message.error("该商品还没到购买时间"):this.goodsInfo.vip_level_status&&1==this.goodsInfo.vip_level_status.status?this.$message.error(this.goodsInfo.vip_level_status.tips):(this.submitActionTag="-1",this.addCartRequest(this.goods_id,this.optionsId,this.goodsCount))},addCartRequest:function(t,o,e){var n=this;if(this.specsManage.length<this.goodsInfo.has_many_specs.length&&this.goodsDescription)this.$message.error(this.goodsDescription);else if(1!=this.goodsInfo.has_option||o)if(0!=this.goodsInfo.stock)if(e<=0)this.$message.error("请选择商品数量");else{var d=[];d.push(t);var l={goods_ids:JSON.stringify(d)};this.fun.$get("from.div-from.isDisplay",l,"处理中").then((function(d){1===d.result?d.data.status&&!d.data.member_status?n.$alert("购买跨境商品,请补充您的个人信息","提示",{confirmButtonText:"确定",callback:function(t){n.showMyinfo=!0}}):n.addCartReq(t,o,e):console.log(d.msg)}),(function(t){console.log(t)}))}else this.$message.error("商品库存不足");else this.$message.error("请选择规格")},addCartReq:function(t,o,e){var n=this;if(this.isRent){var d={goods_id:t,total:e,option_id:o};this.fun.$post("plugin.lease-toy.api.member-cart.store",d,"处理中").then((function(t){1==t.result?n.$message.success(t.msg):n.$message.error(t.msg)})).catch((function(t){console.log(t)}))}else{var l={goods_id:t,total:e,option_id:o};this.fun.$post("member.member-cart.store",l,"处理中").then((function(t){1==t.result?n.$message.success(t.msg):n.$message.error(t.msg)}),(function(t){console.log(t)}))}},getUpdateData:function(){var t=this;this.fun.$get("plugin.video-demand.api.watch-level.condition",{goods_id:this.goods_id},"...").then((function(o){1==o.result?t.fun.isTextEmpty(o.data)||(t.level_data=o.data.level_data,t.level_type=o.data.level_type,t.showLevelBox=!0):t.$message.error(o.msg)})).catch((function(t){console.log(t)}))},chooseLevel:function(t){this.level_id=t},toUpdate:function(){this.level_id?window.open(this.fun.getSiteRoot()+"/plugins/shop_server/goods/"+this.level_id+"?i="+this.fun.getKeyByI(),"_blank"):this.$message.error("请选择升级会员")},buyNow:function(){if(this.isBuy&&this.isBegTime)this.$message.error("该商品还没到购买时间");else if(this.goodsInfo.vip_level_status&&1==this.goodsInfo.vip_level_status.status)this.$message.error(this.goodsInfo.vip_level_status.tips);else if(this.submitActionTag="-2","course"===this.goods_type){var t=this.goods_id;this.$router.push(this.fun.getUrl("goodsorder",{},{tag:this.submitActionTag,goodsId:t,optionsId:"",total:1}))}else this.buyNowRequest(this.goods_id,this.optionsId,this.goodsCount)},buyNowRequest:function(t,o,e){var n=this;if(this.specsManage.length<this.goodsInfo.has_many_specs.length&&this.goodsDescription)this.$message.error(this.goodsDescription);else if(1==this.goodsInfo.has_option&&this.fun.isTextEmpty(o))this.$message.error("请选择规格");else if(0!=this.goodsInfo.stock)if(e<=0)this.$message.error("请选择商品数量");else{"appointment_goods"===this.goods_type?this.submitActionTag="appointment_goods":"yun_sign_goods"===this.goods_type?this.submitActionTag="yun_sign_goods":"yunqian_api"===this.goods_type?this.submitActionTag="yunqian_api":this.submitActionTag="-2";var d=[];d.push(t);var l={goods_ids:JSON.stringify(d)};this.fun.$get("from.div-from.isDisplay",l,"处理中").then((function(d){1==d.result?d.data.status&&!d.data.member_status?n.$alert("购买跨境商品,请补充您的个人信息","提示",{confirmButtonText:"确定",callback:function(t){n.showMyinfo=!0}}):n.isRent?n.$router.push(n.fun.getUrl("goodsorder",{},{tag:"rentBuy",goodsId:t,optionsId:o,total:e,mark:n.$route.params.mark})):n.$router.push(n.fun.getUrl("goodsorder",{},{tag:n.submitActionTag,goodsId:t,optionsId:o,total:e,mark:n.$route.params.mark})):console.log(d.msg)}),(function(t){console.log(t)}))}else this.$message.error("商品库存不足")},changeFavorite:function(){var t=this,o={goods_id:this.goods_id},e="member.member-favorite.destroy";1!=this.allData.is_favorite.status&&(e="member.member-favorite.store"),this.fun.$get(e,o,"处理中").then((function(o){1==o.result&&(1!=t.allData.is_favorite.status?(t.allData.is_favorite.status=1,t.$message.success("收藏成功")):(t.allData.is_favorite.status=0,t.$message.success("取消收藏")))}),(function(t){console.log(t)}))},getCommentData:function(){var t=this,o={goods_id:this.goods_id,page:this.commentPage};this.fun.$post("goods.comment.get-comment",o,"正在获取").then((function(o){1===o.result&&(t.goodsInfo.get_comment.last_page=o.data.last_page,1==t.commentPage?t.goodsInfo.get_comment.data=o.data.data:t.goodsInfo.get_comment.data.concat(o.data.data),t.commentPage+=1)}),(function(t){console.log(t)}))},toContentInfo:function(data){this.$router.push(this.fun.getUrl("CommentDetails",{order_id:data.order_id,goods_id:data.goods_id,comment_id:data.id,uid:data.uid}))},timeCompare:function(t){var o=new Date(1e3*parseInt(t));new Date>=o?this.isTime=!0:(this.isTime=!1,this.isBegTime=!0,this.begTimeStr=String(o))},selectSpecs:function(data){data&&(this.manageSpecs(data),this.setGoodsSpecs(data)),this.setGoodsSpecsChangeInfo(),this.getMaxCount()},getMaxCount:function(){this.specsManage.length==this.goodsInfo.has_many_specs.length&&(0==this.goodsInfo.stock&&(this.goodsCount=0),this.goodsCount>this.goodsInfo.stock&&(this.goodsCount=this.goodsInfo.stock))},setGoodsSpecsChangeInfo:function(){if(this.specsManage.sort((function(a,b){return a.id-b.id})),console.log(this.popThumb,"this.popThumb",this.specsManage),this.specsManage.length==this.goodsInfo.has_many_specs.length){for(var t="",o=0;o<this.specsManage.length;o++)t+=this.specsManage[o].id+"_";t=t.substring(0,t.length-1);for(var i=0;i<this.goodsInfo.has_many_options.length;i++)if(t==this.setGoodsSpecsBySort(this.goodsInfo.has_many_options[i].specs)){this.popPrice=this.goodsInfo.has_many_options[i].product_price,this.popThumb=this.fun.isTextEmpty(this.goodsInfo.has_many_options[i].thumb)?this.goodsInfo.thumb:this.goodsInfo.has_many_options[i].thumb,this.popStock=this.goodsInfo.has_many_options[i].stock,this.optionsId=this.goodsInfo.has_many_options[i].id,this.goodsInfo.stock=this.goodsInfo.has_many_options[i].stock,this.goodsInfo.stock>0&&(this.goodsCount=1),console.log(this.popThumb,"this.popThumb");break}}},setGoodsSpecsBySort:function(t){var o=t.split("_");o.sort((function(a,b){return a-b}));for(var e="",n=0;n<o.length;n++)e+=o[n]+"_";return e=e.substring(0,e.length-1)},manageSpecs:function(data){var t={};if(t.id=data.id,t.specid=data.specid,t.title=data.title,this.specsManage.length>0){for(var i=0;i<this.specsManage.length;i++)this.specsManage[i].specid==t.specid&&this.specsManage.splice(i,1);this.specsManage.push(t)}else this.specsManage.push(t);if(this.specsManage.length==this.goodsInfo.has_many_specs.length){for(var o=[],e=0;e<this.goodsInfo.has_many_specs.length;e++)for(var n=0;n<this.specsManage.length;n++)if(this.goodsInfo.has_many_specs[e].id==this.specsManage[n].specid){o.push(this.specsManage[n]);break}this.specsManage=o}this.setGoodsDescription()},setGoodsDescription:function(){var t="";if(this.specsManage.length==this.goodsInfo.has_many_specs.length){t="已选择 ";for(var i=0;i<this.specsManage.length;i++)t+=this.specsManage[i].title+" ";this.goodsDescription=t}else{t="请选择 ";for(var o=0;o<this.goodsInfo.has_many_specs.length;o++)for(var e=0;e<this.specsManage.length;e++)if(this.goodsInfo.has_many_specs[o].id!=this.specsManage[e].specid){t+=this.goodsInfo.has_many_specs[o].title+" ";break}this.goodsDescription=t}},setGoodsSpecs:function(t){for(var i=0;i<this.goodsInfo.has_many_specs.length;i++)t.specid!=this.goodsInfo.has_many_specs[i].id&&this.setGoodsSpecsStatus(this.goodsInfo.has_many_specs[i].specitem,t.id)},setGoodsSpecsStatus:function(t,o){for(var e=[],i=0;i<this.goodsInfo.has_many_options.length;i++)for(var n=this.goodsInfo.has_many_options[i].specs.split("_"),d=0;d<n.length;d++)if(n[d]==o)return void e.push(this.goodsInfo.has_many_options[i]);for(var l=0;l<e.length;l++)for(var r=e[l].specs.split("_"),c=0;c<r.length;c++)if(r[c]!=o&&0==e[l].stock){for(var _=0;_<t.length;_++)if(r[c]==t[_].id)return void(t[_].c=!0)}else if(r[c]!=o&&e[l].stock>0)for(var m=0;m<t.length;m++)if(r[c]==t[m].id)return void(t[m].c=!1);console.log(e)}}},y=(e(976),e(978),e(1)),component=Object(y.a)(x,(function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",{staticClass:"goodsDetail_index"},[n("div",{staticClass:"index_content m-auto"},[n("div",{staticClass:"class-box"},[n("span",{on:{click:function(o){return t.toUrl("home")}}},[t._v("首页")]),t._v(" "),t._l(t.supplierGoods.category,(function(o){return n("span",{key:o.id,on:{click:function(e){return t.toCategoryChild({id:o.id})}}},[t._v(" -> "+t._s(o.name))])}))],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:"course"!==t.goods_type,expression:"goods_type !== 'course'"}],staticClass:"top flex"},[n("div",{staticClass:"goods_img"},[n("ProdViewImages",{attrs:{bigImage:t.goodsInfo.thumb_url&&t.goodsInfo.thumb_url.length>0?t.goodsInfo.thumb_url:[t.goodsInfo.thumb],middleImage:t.goodsInfo.thumb_url&&t.goodsInfo.thumb_url.length>0?t.goodsInfo.thumb_url:[t.goodsInfo.thumb],smallImage:t.goodsInfo.thumb_url&&t.goodsInfo.thumb_url.length>0?t.goodsInfo.thumb_url:[t.goodsInfo.thumb],video:t.goodsInfo.goods_video,popThumb:t.popThumb},on:{removePopThumb:t.removePopThumb}})],1),t._v(" "),n("div",{staticClass:"right_msg"},[n("div",{staticClass:"msg_title"},[t._v("\n "+t._s(t.goodsInfo.title)+"\n ")]),t._v(" "),t.goods_plugin.label&&t.goods_plugin.label.length>0?n("div",{staticClass:"msg_spe"},t._l(t.goods_plugin.label,(function(o,e){return 1==o.status?n("div",{key:e,staticClass:"server-tag-item"},[n("div",{staticClass:"server-tag-icon"},[o.pic?n("img",{attrs:{src:o.pic,alt:""}}):t._e()]),t._v(" "),n("div",{staticClass:"server-tab-text"},[t._v(t._s(o.name))])]):t._e()})),0):t._e(),t._v(" "),1==t.prdocut_market.is_show?n("div",{staticClass:"service-time-box",staticStyle:{color:"#666","margin-top":"10px"}},[t._v("赠送售后服务时长 "),n("span",{staticStyle:{color:"red","margin-left":"0.4rem"}},[t._v(t._s(t.prdocut_market.service_time)+"天 (剩余售后服务时长730天封顶,大于则不再增加)")])]):t._e(),t._v(" "),n("client-only",[t.isBuy?n("div",{staticClass:"limit-time-box"},[n("div",{staticClass:"title"},[n("i",{staticClass:"iconfont icon-dingshi"}),t._v(" "+t._s(t.limitedTimeCustomName))]),t._v(" "),n("div",{staticClass:"time"},[t._v("\n "+t._s(t.isBegTime?"距开始还剩:":"距离结束剩余:")+"\n "),t.isBegTime?n("countDown",{attrs:{time:t.beginTime},scopedSlots:t._u([{key:"default",fn:function(o){return[n("div",{staticClass:"countDown-box"},[n("span",{staticClass:"block"},[t._v(t._s(o.timeData.day))]),t._v(" "),n("span",{staticClass:"colon"},[t._v("天")]),t._v(" "),n("span",{staticClass:"block"},[t._v(t._s(o.timeData.hours))]),t._v(" "),n("span",{staticClass:"colon"},[t._v(":")]),t._v(" "),n("span",{staticClass:"block"},[t._v(t._s(o.timeData.minutes))]),t._v(" "),n("span",{staticClass:"colon"},[t._v(":")]),t._v(" "),n("span",{staticClass:"block"},[t._v(t._s(o.timeData.seconds))])])]}}],null,!1,3749687543)}):t._e(),t._v(" "),t.isBegTime?t._e():n("countDown",{attrs:{time:t.endTime},scopedSlots:t._u([{key:"default",fn:function(o){return[n("div",{staticClass:"countDown-box"},[n("span",{staticClass:"block"},[t._v(t._s(o.timeData.day))]),t._v(" "),n("span",{staticClass:"colon"},[t._v(" 天 ")]),t._v(" "),n("span",{staticClass:"block"},[t._v(t._s(o.timeData.hours))]),t._v(" "),n("span",{staticClass:"colon"},[t._v(" : ")]),t._v(" "),n("span",{staticClass:"block"},[t._v(t._s(o.timeData.minutes))]),t._v(" "),n("span",{staticClass:"colon"},[t._v(" : ")]),t._v(" "),n("span",{staticClass:"block"},[t._v(t._s(o.timeData.seconds))])])]}}],null,!1,625777111)})],1)]):t._e()]),t._v(" "),n("div",{staticClass:"msg_money",style:{marginTop:t.isBuy?"0":"15px"}},[n("div",{staticClass:"price"},[t._v(t._s(t.basic_info.lang&&t.basic_info.lang.goods&&t.basic_info.lang.goods.price?t.basic_info.lang.goods.price:"现价")+":"),n("span",{staticClass:"fu col_red"},[t._v("¥")]),n("span",{staticClass:"cash col_red"},[t._v(t._s(1==t.goodsInfo.has_option?t.popPrice||(t.goodsInfo.min_price==t.goodsInfo.max_price?t.goodsInfo.max_price:t.goodsInfo.min_price+"-"+t.goodsInfo.max_price):t.goodsInfo.price)),t.isRent?n("em",[t._v("/天")]):t._e()])]),t._v(" "),n("div",{staticClass:"normal flex flex-j-sb flex-a-c"},[n("div",{staticClass:"flex"},[n("del",[parseInt(t.goodsInfo.market_price)&&t.goodsInfo.market_price!=t.goodsInfo.price?[t._v("\n "+t._s(t.basic_info.lang&&t.basic_info.lang.goods&&t.basic_info.lang.goods.market_price?t.basic_info.lang.goods.market_price:"原价")+":¥"+t._s(t.goodsInfo.market_price)+"\n ")]:t._e()],2),t._v(" "),n("div",{staticStyle:{color:"#999999","margin-left":"10px"}},[t._v("库存:"+t._s(t.popStock||t.goodsInfo.stock)+t._s(t.goodsInfo.sku)+"\n ")])]),t._v(" "),n("div",{staticClass:"icon flex"},[n("div",{staticClass:"flex",staticStyle:{"margin-right":"40px"}},[n("img",{staticStyle:{"margin-right":"5px",width:"23px",height:"27px"},attrs:{src:e(728)}}),t._v(" "),n("div",[n("div",[t._v("热销("+t._s(t.goodsInfo.sku)+")")]),t._v(" "),n("div",{staticClass:"col_red"},[t._v(t._s(parseInt(t.goodsInfo.show_sales)+parseInt(t.goodsInfo.virtual_sales)))])])]),t._v(" "),n("div",{staticClass:"flex"},[n("img",{staticStyle:{"margin-right":"5px",width:"23px",height:"27px"},attrs:{src:e(729)}}),t._v(" "),n("div",[n("div",[t._v("好评率")]),t._v(" "),n("div",{staticClass:"col_red"},[t._v(t._s(t.goodsInfo.favorable_rate))])])])])])]),t._v(" "),1==t.goodsInfo.has_option?t._l(t.goodsInfo.has_many_specs,(function(o,i){return n("div",{key:i,staticClass:"Spec flex flex-a-c"},[n("span",{staticClass:"spec-title"},[t._v(t._s(o.title))]),t._v(" "),n("el-radio-group",{staticClass:"item-box",model:{value:o.description,callback:function(e){t.$set(o,"description",e)},expression:"specs.description"}},t._l(o.specitem,(function(o,e){return n("el-radio",{key:e,staticClass:"item",attrs:{border:"",disabled:o.c,label:o},on:{change:t.selectSpecs}},[t._v("\n "+t._s(o.title)+"\n ")])})),1)],1)})):t._e(),t._v(" "),1!=t.goodsInfo.has_option?n("div",{staticStyle:{height:"70px"}}):t._e(),t._v(" "),n("div",{staticClass:"num flex flex-a-c"},[n("div",{staticStyle:{"margin-right":"37px"}},[t._v("数量")]),t._v(" "),n("div",{staticClass:"input flex"},[n("el-input-number",{attrs:{min:1},model:{value:t.goodsCount,callback:function(o){t.goodsCount=o},expression:"goodsCount"}})],1),t._v(" "),n("div",{staticStyle:{"margin-left":"10px",color:"#666666"}},[t._v(t._s(t.goodsInfo.sku))])]),t._v(" "),n("div",{staticClass:"btn_wrap flex flex-j-sb flex-a-c"},[n("div",{staticClass:"flex",staticStyle:{"flex-direction":"column"}},[n("div",[n("el-button",{staticClass:"buy_once",on:{click:t.buyNow}},[t._v("立即购买")]),t._v(" "),t.nocart?n("el-button",{staticClass:"add_cart",on:{click:t.addCart}},[t._v("加入购物车\n ")]):t._e()],1)]),t._v(" "),t.allData.is_favorite?n("div",{staticClass:"add_collect",on:{click:t.changeFavorite}},[1==t.allData.is_favorite.status?n("img",{attrs:{src:e(721)}}):t._e(),t._v(" "),1!=t.allData.is_favorite.status?n("img",{attrs:{src:e(411)}}):t._e(),t._v(" "),n("div",[t._v(t._s(1==t.allData.is_favorite.status?"已收藏":"加入收藏"))])]):t._e()])],2)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:"course"===t.goods_type,expression:"goods_type === 'course'"}],staticClass:"top top-course flex"},[n("div",{staticClass:"good-img"},[n("img",{attrs:{src:t.goodsInfo.thumb_url?t.goodsInfo.thumb_url:[t.goodsInfo.thumb],alt:""}}),t._v(" "),n("img",{staticClass:"play-img",attrs:{src:e(730)},on:{click:function(o){return o.stopPropagation(),t.toPlayCourse.apply(null,arguments)}}})]),t._v(" "),t.courseData.has_one_goods?n("div",{staticClass:"right_msg"},[n("div",{staticStyle:{display:"flex","flex-direction":"column"}},[n("p",{staticClass:"msg_title"},[t._v(t._s(t.courseData.has_one_goods.title))]),t._v(" "),n("div",{staticClass:"detail-box"},[t.courseData.has_one_lecturer?n("p",{staticClass:"teacher"},[t._v("讲师:"),n("span",[t._v(t._s(t.courseData.has_one_lecturer.real_name))])]):t._e(),t._v(" "),n("p",{staticClass:"lesson"},[t._v("共"+t._s(t.courseData.course_chapter_num)+"节")]),t._v(" "),0!=t.courseData.is_reward?n("p",{staticClass:"reward",on:{click:function(o){return o.stopPropagation(),t.moneyShow.apply(null,arguments)}}},[n("i",{staticClass:"iconfont iconfont icon-kc_gift"}),t._v(" "),n("span",[t._v("打赏")])]):t._e()]),t._v(" "),n("div",{staticClass:"price"},[t._v(t._s(t.basic_info.lang&&t.basic_info.lang.goods&&t.basic_info.lang.goods.price?t.basic_info.lang.goods.price:"现价")+":"),n("span",{staticClass:"fu col_red"},[t._v("¥")]),n("span",{staticClass:"cash col_red"},[t._v(t._s(1==t.goodsInfo.has_option?t.goodsInfo.min_price==t.goodsInfo.max_price?t.goodsInfo.max_price:t.goodsInfo.min_price+"-"+t.goodsInfo.max_price:t.popPrice||t.courseData.has_one_goods.price))])])]),t._v(" "),n("div",{staticClass:"btn_wrap flex flex-a-c",staticStyle:{padding:"0","justify-content":"space-between"}},[t.is_buy?n("el-button",{staticClass:"buy_once",on:{click:t.buyNow}},[t._v("单次购买")]):t._e(),t._v(" "),t.is_buy?n("el-button",{staticClass:"add_cart",staticStyle:{"margin-left":"40px"},on:{click:t.getUpdateData}},[t._v("升级会员\n ")]):t._e(),t._v(" "),t.is_buy?t._e():n("el-button",{staticClass:"add_cart",staticStyle:{"margin-left":"40px"},on:{click:t.toPlayCourse}},[t._v("立即观看\n ")]),t._v(" "),t.allData.is_favorite?n("div",{staticClass:"add_collect",staticStyle:{"margin-left":"220px"},on:{click:t.changeFavorite}},[1==t.allData.is_favorite.status?n("img",{attrs:{src:e(721)}}):t._e(),t._v(" "),1!=t.allData.is_favorite.status?n("img",{attrs:{src:e(411)}}):t._e(),t._v(" "),n("div",[t._v(t._s(1==t.allData.is_favorite.status?"已收藏":"加入收藏"))])]):t._e()],1)]):t._e()]),t._v(" "),n("div",{staticClass:"bottom"},[n("div",{staticClass:"bottom_left flex"},[t.goodsInfo.supplier&&1==t.goodsInfo.supplier.is_open?n("div",{staticClass:"left_top"},[n("div",{staticClass:"title flex flex-a-c"},[t.goodsInfo.supplier.logo?n("img",{attrs:{src:t.goodsInfo.supplier.logo}}):t._e(),t._v(" "),n("span",[t._v(t._s(t.goodsInfo.supplier.store_name&&"null"!=t.goodsInfo.supplier.store_name?t.goodsInfo.supplier.store_name:t.goodsInfo.supplier.username))])]),t._v(" "),n("div",{staticClass:"middle"},[n("div",[t._v(t._s(t.goodsInfo.supplier.address))]),t._v(" "),n("div",[t._v("商品总数:"),n("span",{staticClass:"col_red"},[t._v(t._s(t.goodsInfo.supplier_goods_count))])]),t._v(" "),n("div",[t._v("热销数量:"),n("span",{staticClass:"col_red"},[t._v(t._s(t.supplierGoods.hotCount))])])]),t._v(" "),n("div",{staticClass:"btn_wrap flex"},[n("el-button",{staticClass:"flex flex-j-c",on:{click:function(o){return t.toUrl("supplier_shop2-id",{id:t.goodsInfo.supplier.id})}}},[t._v("进入店铺\n ")])],1)]):n("div",{staticClass:"left_top"},[n("div",{staticClass:"title flex flex-a-c"},[t.basic_info.home&&t.basic_info.home.mailInfo&&t.basic_info.home.mailInfo.logo?n("img",{attrs:{src:t.basic_info.home.mailInfo.logo}}):t._e(),t._v(" "),n("span",[t._v(t._s(t.basicSet.shop_name))])]),t._v(" "),n("div",{staticClass:"middle"},[n("div",[t._v("商品总数:"),n("span",{staticClass:"col_red"},[t._v(t._s(t.supplierGoods.goods_count))])]),t._v(" "),n("div",[t._v("热销数量:"),n("span",{staticClass:"col_red"},[t._v(t._s(t.supplierGoods.hotCount))])])])]),t._v(" "),t.supplierGoods.hotGoods&&t.supplierGoods.hotGoods.length>0&&"course"!==t.goods_type?n("div",{staticClass:"left_img"},[n("div",{staticClass:"img_title flex flex-a-c"},[t._v("\n 店铺热销\n ")]),t._v(" "),n("div",{staticClass:"img_list"},t._l(t.supplierGoods.hotGoods,(function(o,e){return n("div",{key:e,staticClass:"list",on:{click:function(e){return t.toGoods(o)}}},[n("img",{staticClass:"list_img",attrs:{src:o.thumb}}),t._v(" "),n("div",{staticStyle:{"text-align":"left"}},[t._v(t._s(o.title))]),t._v(" "),n("div",[t._v(t._s(t.basic_info.lang&&t.basic_info.lang.goods&&t.basic_info.lang.goods.price?t.basic_info.lang.goods.price:"现价")+":"+t._s(o.price))])])})),0)]):t._e(),t._v(" "),"course"===t.goods_type?n("div",{staticClass:"left_img"},[n("div",{staticClass:"img_title flex flex-a-c"},[t._v("\n 相关课程推荐\n ")]),t._v(" "),n("div",{staticClass:"img_list"},[t._l(t.pushGoodList,(function(o,e){return n("div",{key:e,staticClass:"list",on:{click:function(e){return t.toGoods(o)}}},[n("img",{staticClass:"list_img",attrs:{src:o.thumb}}),t._v(" "),n("div",{staticStyle:{"text-align":"left"}},[t._v(t._s(o.title))]),t._v(" "),n("div",[t._v(t._s(t.basic_info.lang&&t.basic_info.lang.goods&&t.basic_info.lang.goods.price?t.basic_info.lang.goods.price:"现价")+":"+t._s(o.price))])])})),t._v(" "),t.pushGoodList.length<=0?n("div",{staticClass:"list"},[t._v("\n 暂无课程推荐\n ")]):t._e()],2)]):t._e()]),t._v(" "),n("div",{staticClass:"bottom_right"},[n("div",{staticClass:"right_tabs flex "},t._l(t.tabs,(function(o,d){return n("div",{key:d,staticClass:"tab flex flex-j-c flex-a-c",class:[t.tabIndex==o.id?"bg_bai":""],on:{click:function(e){return t.changeIndex(o.id)}}},[t._v("\n "+t._s(o.text)+"\n "),t.tabIndex==o.id?n("img",{staticClass:"top_icon",attrs:{src:e(731)}}):t._e()])})),0),t._v(" "),0==t.tabIndex?n("div",{staticClass:"right_content_one"},["course"!==t.goods_type?n("div",{staticClass:"commodity flex"},[t._l(t.goodsInfo.has_many_params,(function(o,e){return n("div",{key:e},[t._v(t._s(o.title)+":"+t._s(o.value)+"\n ")])})),t._v(" "),!t.goodsInfo.has_many_params||t.goodsInfo.has_many_params.length<=0?n("div",[t._v("抱歉,暂无该商品参数 ~")]):t._e()],2):t._e(),t._v(" "),"course"!==t.goods_type?n("div",{staticClass:"goods_detail_content",domProps:{innerHTML:t._s(t.goodsInfo.content)}}):t._e(),t._v(" "),"course"===t.goods_type&&t.courseData.has_one_goods?n("div",{staticClass:"goods_detail_content",staticStyle:{border:"solid 1px #dbdbdb","margin-top":"0"},domProps:{innerHTML:t._s(t.courseData.has_one_goods.content||"暂无简介")}}):t._e(),t._v(" "),t.goodsInfo.is_price_desc?n("div",{staticClass:"price-desc"},[n("p",{staticClass:"price-desc-title "},[t._v(t._s(t.goodsInfo.price_desc_title))]),t._v(" "),n("div",{staticClass:"goods_detail_content",domProps:{innerHTML:t._s(t.goodsInfo.explain)}})]):t._e()]):t._e(),t._v(" "),1==t.tabIndex?n("div",{staticClass:"right_content_two"},[n("div",{staticClass:"yelp flex"},[n("div",{staticClass:"yelp_one flex"},[n("img",{staticStyle:{"margin-right":"12px",width:"25px",height:"24px"},attrs:{src:e(732)}}),t._v(" "),n("div",{staticClass:"rate"},[n("div",[t._v("商品评分")]),t._v(" "),n("div",{staticClass:"col_red flex flex-j-c",staticStyle:{"margin-top":"8px"}},[t._v("\n "+t._s((parseInt(t.goodsInfo.favorable_rate.slice(0,-1))/100*5).toFixed(1))+"分\n ")])])]),t._v(" "),n("div",{staticClass:"yelp_two flex"},[n("img",{staticStyle:{"margin-right":"12px",width:"25px",height:"24px"},attrs:{src:e(733)}}),t._v(" "),n("div",{staticClass:"rate"},[n("div",[t._v("好评率")]),t._v(" "),n("div",{staticClass:"col_red flex flex-j-c",staticStyle:{"margin-top":"8px"}},[t._v(t._s(t.goodsInfo.favorable_rate))])])])]),t._v(" "),t.goodsInfo.get_comment?n("div",{staticClass:"total_comemnt flex flex-a-c"},[t._v("\n 全部评价("+t._s(t.goodsInfo.get_comment.total)+")\n ")]):t._e(),t._v(" "),t.goodsInfo.get_comment?n("div",{staticClass:"comments"},[t._l(t.goodsInfo.get_comment.data,(function(o){return n("div",{key:o.id,staticClass:"comment_list flex"},[n("div",{staticClass:"comment_left"},[n("div",{staticClass:"left_avatar"},[n("img",{attrs:{src:o.head_img_url}})]),t._v(" "),n("div",{staticClass:"name"},[t._v(t._s(o.nick_name))])]),t._v(" "),n("div",{staticClass:"comment_right"},[n("div",{staticClass:"right_xin"},[n("div",{staticClass:"flex xin_rate flex-a-c"},[n("el-rate",{attrs:{disabled:"","show-score":"","icon-classes":["iconfont icon-zb_all_like","iconfont icon-zb_all_like","iconfont icon-zb_all_like"],"disabled-void-icon-class":"iconfont icon-zb_all_like",colors:["#f11111","#f11111","#f11111"],"score-template":"{value}.0","text-color":"#f11111"},model:{value:o.level,callback:function(e){t.$set(o,"level",e)},expression:"comment.level"}})],1),t._v(" "),n("div",{staticClass:"time"},[t._v(t._s(o.created_at))])]),t._v(" "),n("div",{staticClass:"desc"},[t._v(t._s(o.content))]),t._v(" "),o.images?n("div",{staticClass:"image_list flex",staticStyle:{"margin-top":"17px","flex-wrap":"wrap",width:"100%"}},t._l(o.images,(function(e,d){return n("img",{key:d,staticStyle:{"margin-right":"20px",width:"44px",height:"44px"},attrs:{src:e},on:{click:function(e){return t.onPreview(d,o)}}})})),0):t._e(),t._v(" "),o.showViewer?n("el-image-viewer",{attrs:{initialIndex:t.initialIndex,"url-list":o.images},on:{onClose:function(e){return t.closeViewer(o)}}}):t._e()],1)])})),t._v(" "),t.goodsInfo.get_comment.data&&t.goodsInfo.get_comment.data.length<=0?n("div",{staticClass:"comment_list comment_none"},[t._v("\n 抱歉,暂无评论 ~\n ")]):t._e(),t._v(" "),t.goodsInfo.get_comment.last_page&&t.goodsInfo.get_comment.last_page>t.commentPage?n("div",{staticClass:"check-more",on:{click:t.getCommentData}},[t._v("\n 查看更多\n ")]):t._e()],2):t._e()]):t._e(),t._v(" "),2==t.tabIndex?n("div",{staticClass:"right_content_three"},[t.goodsInfo.goods_sale?t._l(t.goodsInfo.goods_sale.sale,(function(o,i){return n("div",{key:i,staticClass:"block"},[n("div",{staticClass:"col_red"},[t._v(t._s(o.name))]),t._v(" "),"string"==o.type?n("div",{staticClass:"text"},[t._v(t._s(o.value))]):t._e(),t._v(" "),t._l(o.value,(function(e,d){return"array"==o.type?n("div",{key:d,staticClass:"text"},[t._v(t._s(e)+"\n ")]):t._e()})),t._v(" "),o.desc?n("div",{staticClass:"tips"},[t._v(t._s(o.desc))]):t._e()],2)})):t._e(),t._v(" "),!t.goodsInfo.goods_sale||t.goodsInfo.goods_sale.length<=0?[n("div",{staticClass:"block",staticStyle:{"text-align":"center"}},[t._v("\n 抱歉,暂无活动 ~\n ")])]:t._e()],2):t._e(),t._v(" "),3==t.tabIndex?n("div",{staticClass:"right_content_three"},[t.prdocut_market.apps?n("div",{staticClass:"block"},[t._v(t._s(t.prdocut_market.apps))]):t._e(),t._v(" "),t.prdocut_market.plugin?t._l(t.prdocut_market.plugin,(function(o,i){return n("div",{key:i,staticClass:"block"},[n("div",{staticClass:"col_red"},[t._v(t._s(o))])])})):t._e()],2):t._e(),t._v(" "),4==t.tabIndex?n("div",{staticClass:"right_content_three"},[n("div",{staticClass:"collapse-box"},[n("el-collapse",{model:{value:t.courseActiveNames,callback:function(o){t.courseActiveNames=o},expression:"courseActiveNames"}},t._l(t.chapterdigList,(function(o,e){return n("el-collapse-item",{key:e,attrs:{title:o.chapter_name,name:o.id}},t._l(o.has_many_chapter,(function(o,e){return n("div",{staticClass:"chapter_box flex"},[n("span",{staticClass:"chapter-title"},[t._v("第"+t._s(e+1)+"节: "+t._s(o.chapter_name))]),t._v(" "),n("span",{staticClass:"play-box flex",on:{click:function(e){return e.stopPropagation(),t.toPlayCourse(o)}}},[n("span",[t._v("播放")]),t._v(" "),n("i",{staticClass:"iconfont icon-fontclass-bofang"})])])})),0)})),1)],1)]):t._e()])])]),t._v(" "),n("service-box"),t._v(" "),n("el-dialog",{attrs:{title:"我的信息",visible:t.showMyinfo,"show-close":!1,"close-on-click-modal":!1,width:"60%"},on:{"update:visible":function(o){t.showMyinfo=o}}},[n("el-form",{attrs:{"label-width":"150px"}},[n("el-form-item",{attrs:{label:"真实姓名"}},[n("el-input",{attrs:{placeholder:"请输入真实姓名"},model:{value:t.member_name,callback:function(o){t.member_name=o},expression:"member_name"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"身份证号码"}},[n("el-input",{attrs:{placeholder:"请输入身份证号码"},model:{value:t.member_card,callback:function(o){t.member_card=o},expression:"member_card"}})],1)],1),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.saveInfo}},[t._v("确 定")])],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"打赏",visible:t.rewardMoneyBtn,width:"600px"},on:{"update:visible":function(o){t.rewardMoneyBtn=o}}},[n("div",{staticClass:"reward-box flex"},t._l(t.rewardArr,(function(o,e){return n("div",{key:e,staticClass:"reward-item",class:{moneyActive:e==t.moneyActiveClass},on:{click:function(n){return t.chooseMoney(o.value,e)}}},[t._v(t._s(o.name))])})),0),t._v(" "),3==t.moneyActiveClass?n("div",{staticClass:"reward-box flex",staticStyle:{"margin-top":"20px"}},[n("span",{staticStyle:{"margin-right":"5px"}},[t._v("打赏金额:¥ ")]),t._v(" "),n("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入打赏金额"},model:{value:t.rewardMoney,callback:function(o){t.rewardMoney=o},expression:"rewardMoney"}})],1):t._e(),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(o){t.rewardMoneyBtn=!1}}},[t._v("关 闭")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.confirmReward}},[t._v("确 定")])],1)]),t._v(" "),n("el-dialog",{attrs:{title:"升级会员",visible:t.showLevelBox,width:"700px"},on:{"update:visible":function(o){t.showLevelBox=o}}},[n("p",{staticClass:"tips"},[t._v("以下等级可以免费观看")]),t._v(" "),n("div",{staticClass:"level-box"},t._l(t.level_data,(function(o,e){return n("div",{key:e,staticClass:"level-item"},[n("p",{staticClass:"level-title"},[t._v(t._s(o.level_name))]),t._v(" "),t._l(o.goods,(function(o){return n("div",{key:o.id,staticClass:"good-item flex",class:{levelActive:o.id==t.level_id},on:{click:function(e){return t.chooseLevel(o.id)}}},[n("div",{staticClass:"radio_button",class:[o.id==t.level_id?"radio":""]}),t._v(" "),n("img",{staticClass:"good-item-img",attrs:{src:o.thumb,alt:""}}),t._v(" "),n("div",{staticClass:"good-item-right flex"},[n("p",{staticClass:"level-good-title"},[t._v(t._s(o.title))]),t._v(" "),n("p",{staticClass:"level-good-price"},[t._v("¥"+t._s(o.price))])])])}))],2)})),0),t._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(o){t.showLevelBox=!1}}},[t._v("关 闭")]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.toUpdate}},[t._v("确 定")])],1)]),t._v(" "),n("payBox",{ref:"payBox",attrs:{pay_way:t.pay_way,pay_sn:t.pay_sn,order_pay_id:Number(t.goods_id),money:String(t.rewardMoney),from:"course"},on:{paySuccess:t.paySuccess}})],1)}),[],!1,null,"63901f8a",null);o.default=component.exports},840:function(t,o,e){var content=e(977);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(8).default)("f260c07e",content,!0,{sourceMap:!1})},841:function(t,o,e){var content=e(979);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(8).default)("71484cfa",content,!0,{sourceMap:!1})},976:function(t,o,e){"use strict";e(840)},977:function(t,o,e){var n=e(7)(!1);n.push([t.i,".col_red[data-v-63901f8a]{color:#f11111}.col_green[data-v-63901f8a]{color:#44be95}.col_white[data-v-63901f8a]{color:#fff}.flex-col[data-v-63901f8a]{flex-direction:column}.flex-j-c[data-v-63901f8a]{justify-content:center}.flex-j-sb[data-v-63901f8a]{justify-content:space-between}.flex-j-ar[data-v-63901f8a]{justify-content:space-around}.flex-a-c[data-v-63901f8a]{align-items:center}.flex-a-e[data-v-63901f8a]{align-items:flex-end}.w[data-v-63901f8a]{width:1200px}.m-auto[data-v-63901f8a]{margin:0 auto}.height-one[data-v-63901f8a]{height:100%}.flex[data-v-63901f8a]{display:flex}.text-overflow[data-v-63901f8a]{-webkit-line-clamp:4}.text-overflow[data-v-63901f8a],.text-overflow-2[data-v-63901f8a]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.text-overflow-2[data-v-63901f8a]{-webkit-line-clamp:2}.text-overflow-3[data-v-63901f8a]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.overflow-hide[data-v-63901f8a],.text-overflow-3[data-v-63901f8a]{overflow:hidden;text-overflow:ellipsis}.overflow-hide[data-v-63901f8a]{white-space:nowrap}.hiddenScroll[data-v-63901f8a]{scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:scroll}.hiddenScroll[data-v-63901f8a]::-webkit-scrollbar{display:none}.finger-point[data-v-63901f8a]{cursor:pointer}.cursor-default[data-v-63901f8a]{cursor:default}.el-icon-circle-close[data-v-63901f8a]{color:#fff}.goodsDetail_index .index_content[data-v-63901f8a]{width:1200px;padding:10px 0 30px;position:relative}.goodsDetail_index .index_content .class-box[data-v-63901f8a]{padding:10px;color:#f11111}.goodsDetail_index .index_content .class-box span[data-v-63901f8a]{cursor:pointer}.goodsDetail_index .index_content .top[data-v-63901f8a]{padding:10px;border:1px solid #dbdbdb;margin-bottom:34px}.goodsDetail_index .index_content .top .goods_img[data-v-63901f8a],.goodsDetail_index .index_content .top .goods_img .da_img[data-v-63901f8a]{width:400px}.goodsDetail_index .index_content .top .goods_img .da_img img[data-v-63901f8a]{width:100%;height:100%}.goodsDetail_index .index_content .top .image[data-v-63901f8a]{width:100%;margin-top:20px}.goodsDetail_index .index_content .top .image .image_item[data-v-63901f8a]{width:20%;box-sizing:border-box}.goodsDetail_index .index_content .top .image .image_item img[data-v-63901f8a]{width:100%;height:100%}.goodsDetail_index .index_content .top .image .img_boder[data-v-63901f8a]{border:1px solid var(--color)}.goodsDetail_index .index_content .top .right_msg[data-v-63901f8a]{margin-left:30px;flex:1;display:flex;flex-direction:column}.goodsDetail_index .index_content .top .right_msg .msg_title[data-v-63901f8a]{font-size:22px}.goodsDetail_index .index_content .top .right_msg .msg_spe[data-v-63901f8a]{display:flex;flex-wrap:wrap;color:var(--color);font-size:16px;margin-top:10px}.goodsDetail_index .index_content .top .right_msg .server-tag-item[data-v-63901f8a]{display:flex;align-items:center;margin:.3rem}.goodsDetail_index .index_content .top .right_msg .server-tag-item .server-tag-icon[data-v-63901f8a]{width:1rem;height:1rem;border-radius:.125rem}.goodsDetail_index .index_content .top .right_msg .server-tag-item .server-tag-icon img[data-v-63901f8a]{width:1rem;height:1rem}.goodsDetail_index .index_content .top .right_msg .server-tag-item .server-tab-text[data-v-63901f8a]{margin-left:.313rem;font-weight:700}.goodsDetail_index .index_content .top .right_msg .server-tag-item[data-v-63901f8a]:not(:last-child){padding-right:5px;border-right:2px solid var(--color)}.goodsDetail_index .index_content .top .right_msg .msg_money[data-v-63901f8a]{min-height:140px;background-color:#f5f5f5;padding:17px;box-sizing:border-box}.goodsDetail_index .index_content .top .right_msg .msg_money .price[data-v-63901f8a]{color:#999;font-size:18px;margin-right:8px}.goodsDetail_index .index_content .top .right_msg .msg_money .price .cash[data-v-63901f8a]{font-size:24px}.goodsDetail_index .index_content .top .right_msg .msg_money .normal[data-v-63901f8a]{margin-top:26px}.goodsDetail_index .index_content .top .right_msg .msg_money .normal del[data-v-63901f8a]{color:#999}.goodsDetail_index .index_content .top .right_msg .msg_money .normal .icon[data-v-63901f8a]{font-size:16px}.goodsDetail_index .index_content .top .right_msg .limit-time-box[data-v-63901f8a]{width:100%;height:34px;line-height:34px;background-color:#ff0b5b;color:#fff;display:flex;justify-content:space-between;padding:0 20px;box-sizing:border-box;margin-top:15px}.goodsDetail_index .index_content .top .right_msg .limit-time-box .title[data-v-63901f8a]{display:flex;align-items:center;font-size:18px;font-weight:700}.goodsDetail_index .index_content .top .right_msg .limit-time-box .title i[data-v-63901f8a]{font-size:24px;margin-right:6px;font-weight:400}.goodsDetail_index .index_content .top .right_msg .limit-time-box .time[data-v-63901f8a],.goodsDetail_index .index_content .top .right_msg .limit-time-box .time .countDown-box[data-v-63901f8a]{display:flex;align-items:center}.goodsDetail_index .index_content .top .right_msg .limit-time-box .time .countDown-box .block[data-v-63901f8a]{display:block;height:24px;line-height:24px;padding:0 4px;background-color:#443b3b;border-radius:4px;margin:0 4px}.goodsDetail_index .index_content .top .right_msg .Spec[data-v-63901f8a]{padding-left:20px;margin-top:20px}.goodsDetail_index .index_content .top .right_msg .Spec .spec-title[data-v-63901f8a]{max-width:120px;min-width:40px;margin-right:15px;display:inline-block}.goodsDetail_index .index_content .top .right_msg .Spec .item-box[data-v-63901f8a]{display:flex;flex-wrap:wrap}.goodsDetail_index .index_content .top .right_msg .Spec .item[data-v-63901f8a]{margin:10px;cursor:pointer}.goodsDetail_index .index_content .top .right_msg .Spec .item[data-v-63901f8a] .el-radio__inner{display:none}.goodsDetail_index .index_content .top .right_msg .Spec .item[data-v-63901f8a]:last-child{margin-right:0}.goodsDetail_index .index_content .top .right_msg .num[data-v-63901f8a]{padding-left:19px;margin-top:24px;font-size:16px}.goodsDetail_index .index_content .top .right_msg .num .input[data-v-63901f8a]{border-radius:4px;box-sizing:border-box}.goodsDetail_index .index_content .top .right_msg .btn_wrap[data-v-63901f8a]{padding-left:19px;margin-top:50px}.goodsDetail_index .index_content .top .right_msg .btn_wrap .el-button[data-v-63901f8a]{font-size:18px}.goodsDetail_index .index_content .top .right_msg .btn_wrap .buy_once[data-v-63901f8a]{background-color:#f11111;color:#fff;width:160px;height:56px}.goodsDetail_index .index_content .top .right_msg .btn_wrap .buy_once[data-v-63901f8a]:hover{opacity:.6}.goodsDetail_index .index_content .top .right_msg .btn_wrap .add_cart[data-v-63901f8a]{background-color:var(--color);color:#fff;width:160px;height:56px}.goodsDetail_index .index_content .top .right_msg .btn_wrap .add_cart[data-v-63901f8a]:hover{opacity:.6}.goodsDetail_index .index_content .top .right_msg .btn_wrap .add_collect[data-v-63901f8a]{cursor:pointer;text-align:center;margin-right:30px}.goodsDetail_index .index_content .top-course[data-v-63901f8a]{border:none;box-shadow:0 0 3px hsla(0,0%,74.9%,.3)}.goodsDetail_index .index_content .top-course .good-img[data-v-63901f8a]{width:400px;height:400px;position:relative}.goodsDetail_index .index_content .top-course .good-img .play-img[data-v-63901f8a]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:50px;height:50px;cursor:pointer}.goodsDetail_index .index_content .top-course .good-img img[data-v-63901f8a]{width:100%;height:100%}.goodsDetail_index .index_content .top-course .right_msg[data-v-63901f8a]{padding:10px 0;justify-content:space-between}.goodsDetail_index .index_content .top-course .detail-box[data-v-63901f8a]{display:flex;align-items:center;padding:30px 0;color:#999;width:450px}.goodsDetail_index .index_content .top-course .detail-box .teacher[data-v-63901f8a]{flex:1}.goodsDetail_index .index_content .top-course .detail-box .teacher span[data-v-63901f8a]{color:var(--color)}.goodsDetail_index .index_content .top-course .detail-box .lesson[data-v-63901f8a]{flex:1}.goodsDetail_index .index_content .top-course .detail-box .reward[data-v-63901f8a]{flex:0 0 50px;width:50px;cursor:pointer;display:flex;align-items:center;padding:2px 8px;color:#fc9211;border-radius:15px;border:1px solid #fc9211}.goodsDetail_index .index_content .top-course .price[data-v-63901f8a]{color:#999;font-size:18px;margin-right:8px}.goodsDetail_index .index_content .top-course .price .cash[data-v-63901f8a]{font-size:24px}.goodsDetail_index .index_content .bottom[data-v-63901f8a]{color:#666;display:inline-flex}.goodsDetail_index .index_content .bottom .bottom_left[data-v-63901f8a]{display:inline-block;width:230px;flex-wrap:wrap}.goodsDetail_index .index_content .bottom .bottom_left .left_top[data-v-63901f8a]{width:230px;border:1px solid #dbdbdb;box-sizing:border-box}.goodsDetail_index .index_content .bottom .bottom_left .left_top .title[data-v-63901f8a]{padding-left:30px;min-height:55px;border-bottom:1px solid #dbdbdb}.goodsDetail_index .index_content .bottom .bottom_left .left_top .title img[data-v-63901f8a]{margin-right:8px;width:40px;height:40px;border-radius:50%}.goodsDetail_index .index_content .bottom .bottom_left .left_top .middle[data-v-63901f8a]{padding:30px}.goodsDetail_index .index_content .bottom .bottom_left .left_top .middle div[data-v-63901f8a]{margin-bottom:10px}.goodsDetail_index .index_content .bottom .bottom_left .left_top .middle div[data-v-63901f8a]:last-child{margin-bottom:0}.goodsDetail_index .index_content .bottom .bottom_left .left_top .btn_wrap[data-v-63901f8a]{padding:20px}.goodsDetail_index .index_content .bottom .bottom_left .left_top .btn_wrap .el-button[data-v-63901f8a]{flex:1}.goodsDetail_index .index_content .bottom .bottom_left .left_img[data-v-63901f8a]{width:230px;border:1px solid #dbdbdb;box-sizing:border-box;margin-top:20px}.goodsDetail_index .index_content .bottom .bottom_left .left_img .img_title[data-v-63901f8a]{height:57px;padding-left:21px;color:#202020;font-size:18px}.goodsDetail_index .index_content .bottom .bottom_left .left_img .img_list .list[data-v-63901f8a]{cursor:pointer;padding:12px;border-top:1px solid #dbdbdb;text-align:center}.goodsDetail_index .index_content .bottom .bottom_left .left_img .img_list .list .list_img[data-v-63901f8a]{width:100%}.goodsDetail_index .index_content .bottom .bottom_right[data-v-63901f8a]{display:inline-block;width:950px;margin-left:20px}.goodsDetail_index .index_content .bottom .bottom_right .right_tabs[data-v-63901f8a]{height:55px;border:1px solid #dbdbdb;border-bottom:none;box-sizing:border-box}.goodsDetail_index .index_content .bottom .bottom_right .right_tabs .tab[data-v-63901f8a]{position:relative;width:107px;height:54px;background-color:#f2f2f2;cursor:pointer}.goodsDetail_index .index_content .bottom .bottom_right .right_tabs .tab .top_icon[data-v-63901f8a]{width:100%;position:absolute;top:0}.goodsDetail_index .index_content .bottom .bottom_right .right_content_one .commodity[data-v-63901f8a]{border:1px solid #dbdbdb;padding:20px;flex-wrap:wrap}.goodsDetail_index .index_content .bottom .bottom_right .right_content_one .commodity div[data-v-63901f8a]{margin:5px 10px;padding-right:10px;border-right:1px solid #dbdbdb}.goodsDetail_index .index_content .bottom .bottom_right .right_content_one .commodity div[data-v-63901f8a]:last-child{border-right:none}.goodsDetail_index .index_content .bottom .bottom_right .right_content_one .goods_detail_content[data-v-63901f8a]{margin-top:20px;padding:20px}.goodsDetail_index .index_content .bottom .bottom_right .right_content_one .price-desc[data-v-63901f8a]{background-color:#fff;padding:25px}.goodsDetail_index .index_content .bottom .bottom_right .right_content_one .price-desc .price-desc-title[data-v-63901f8a]{text-align:left;color:#1f1f1f;font-weight:700;margin-bottom:10px}.goodsDetail_index .index_content .bottom .bottom_right .right_content_three[data-v-63901f8a]{border:1px solid #dbdbdb}.goodsDetail_index .index_content .bottom .bottom_right .right_content_three .block[data-v-63901f8a]{padding:20px;font-size:16px;border-bottom:1px solid #dbdbdb}.goodsDetail_index .index_content .bottom .bottom_right .right_content_three .block .text[data-v-63901f8a]{margin-top:10px;color:#666}.goodsDetail_index .index_content .bottom .bottom_right .right_content_three .tips[data-v-63901f8a]{margin-top:10px;font-size:14px;color:#f11111}.goodsDetail_index .index_content .bottom .bottom_right .right_content_three .block[data-v-63901f8a]:last-child{border-bottom:none}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box[data-v-63901f8a]{padding:10px 20px}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box[data-v-63901f8a] .el-collapse-item__header{background-color:#e8f3fe;padding:0 15px;margin:8px 0;height:auto;line-height:24px;min-height:48px}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box[data-v-63901f8a] .el-collapse{border-top:none;border-bottom:none}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box[data-v-63901f8a] .el-collapse-item__content{background-color:#f3f5f7;padding:5px 0}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box .chapter_box[data-v-63901f8a]{align-items:center;margin:6px 10px;padding:5px 20px;background-color:#fff}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box .chapter-title[data-v-63901f8a]{flex:1}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box .play-box[data-v-63901f8a]{cursor:pointer;flex:0 0 60px;align-items:center;color:#2486e9;margin-left:15px}.goodsDetail_index .index_content .bottom .bottom_right .collapse-box .play-box .icon-fontclass-bofang[data-v-63901f8a]{margin-left:8px}.goodsDetail_index .index_content .bottom .bottom_right .right_content_two .yelp[data-v-63901f8a]{font-size:16px;height:65px;border:1px solid #dbdbdb;border-bottom:none;padding-top:20px;padding-left:31px}.goodsDetail_index .index_content .bottom .bottom_right .right_content_two .yelp .yelp_one[data-v-63901f8a]{margin-right:50px}.goodsDetail_index .index_content .bottom .bottom_right .right_content_two .total_comemnt[data-v-63901f8a]{height:40px;background-color:#f2f2f2;padding-left:23px;font-size:16px;border:1px solid #dbdbdb}.goodsDetail_index .index_content .bottom .comments .comment_none[data-v-63901f8a]{text-align:center}.goodsDetail_index .index_content .bottom .comments .comment_list[data-v-63901f8a]{padding:25px 0;border-bottom:1px solid #dbdbdb;font-size:16px}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_left[data-v-63901f8a]{display:flex;max-width:300px;align-items:center}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_left .left_avatar[data-v-63901f8a]{width:60px;height:60px;flex:0 0 60px}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_left .left_avatar img[data-v-63901f8a]{width:100%;height:100%;border-radius:50%}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_left .name[data-v-63901f8a]{margin-left:20px;margin-right:50px}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_right[data-v-63901f8a]{flex:1;display:flex;flex-direction:column;justify-content:space-between}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_right .right_xin[data-v-63901f8a]{display:flex;align-items:center}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_right .right_xin[data-v-63901f8a] .el-rate__icon{font-size:28px}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_right .right_xin[data-v-63901f8a] .el-rate__text{font-size:16px}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_right .desc[data-v-63901f8a]{margin-top:10px}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_right .time[data-v-63901f8a]{color:#acacac;margin-left:30px}.goodsDetail_index .index_content .bottom .comments .comment_list .comment_right .image_list img[data-v-63901f8a]{cursor:pointer}.goodsDetail_index .index_content .bottom .comments .check-more[data-v-63901f8a]{cursor:pointer;text-align:center;padding:25px 0;border-bottom:1px solid #dbdbdb;font-size:16px}.goodsDetail_index .bg_bai[data-v-63901f8a]{background-color:#fff!important;color:#f11111}.goodsDetail_index .reward-box[data-v-63901f8a]{flex-wrap:wrap;align-items:center;padding:0 50px;min-height:60px}.goodsDetail_index .reward-box .reward-item[data-v-63901f8a]{color:#999;border:1px solid #999;padding:3px 12px;border-radius:5px;cursor:pointer;margin-right:10px}.goodsDetail_index .reward-box .reward-item.moneyActive[data-v-63901f8a],.goodsDetail_index .reward-box .reward-item[data-v-63901f8a]:hover{color:var(--color);border:1px solid var(--color)}.goodsDetail_index .tips[data-v-63901f8a]{color:#f11111;margin-bottom:10px}.goodsDetail_index .level-box[data-v-63901f8a]{max-height:500px;overflow-y:scroll;padding:0 10px}.goodsDetail_index .level-box .level-item[data-v-63901f8a]{margin-bottom:20px}.goodsDetail_index .level-box .level-item .level-title[data-v-63901f8a]{margin-bottom:10px}.goodsDetail_index .level-box .level-item .good-item[data-v-63901f8a]{align-items:center;cursor:pointer;padding:15px;border:1px solid #e1e1e1;border-radius:10px;margin-bottom:10px}.goodsDetail_index .level-box .level-item .good-item-img[data-v-63901f8a]{width:100px;height:100px}.goodsDetail_index .level-box .level-item .good-item-right[data-v-63901f8a]{height:80px;flex-direction:column;justify-content:space-between;padding:10px 20px}.goodsDetail_index .level-box .level-item .level-good-price[data-v-63901f8a]{color:#f11111}.goodsDetail_index .level-box .level-item .radio_button[data-v-63901f8a]{margin-right:10px;border-radius:50%;width:10px;height:10px;background-color:#e1e1e1}.goodsDetail_index .level-box .level-item .good-item.levelActive[data-v-63901f8a]{border:1px solid var(--color)}.goodsDetail_index .level-box .level-item .radio_button.radio[data-v-63901f8a]{background-color:var(--color)}",""]),t.exports=n},978:function(t,o,e){"use strict";e(841)},979:function(t,o,e){var n=e(7)(!1);n.push([t.i,".col_red{color:#f11111}.col_green{color:#44be95}.col_white{color:#fff}.flex-col{flex-direction:column}.flex-j-c{justify-content:center}.flex-j-sb{justify-content:space-between}.flex-j-ar{justify-content:space-around}.flex-a-c{align-items:center}.flex-a-e{align-items:flex-end}.w{width:1200px}.m-auto{margin:0 auto}.height-one{height:100%}.flex{display:flex}.text-overflow{-webkit-line-clamp:4}.text-overflow,.text-overflow-2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.text-overflow-2{-webkit-line-clamp:2}.text-overflow-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.overflow-hide,.text-overflow-3{overflow:hidden;text-overflow:ellipsis}.overflow-hide{white-space:nowrap}.hiddenScroll{scrollbar-width:none;-ms-overflow-style:none;overflow-x:hidden;overflow-y:scroll}.hiddenScroll::-webkit-scrollbar{display:none}.finger-point{cursor:pointer}.cursor-default{cursor:default}.el-icon-circle-close{color:#fff}.goods_detail_content img{display:inline-block;vertical-align:middle}.goods_detail_content img,.goods_detail_content video{max-width:100%;height:auto}",""]),t.exports=n}}]);
|