1 line
35 KiB
JavaScript
1 line
35 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fd4453a0"],{"0e38":function(e,t,a){"use strict";a("fb6b")},1984:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ad-article-item",on:{click:e.clickItem}},[a("div",{staticClass:"ad-article_header"},[a("img",{staticClass:"ad-article-cover",attrs:{src:e.data.cover_picture}}),e.showCategory?a("div",{staticClass:"ad-article-category"},[e._v(e._s(e.data.genre))]):e._e(),e.showClicks?a("div",{staticClass:"ad-article-clicks"},[e._v("点击人数:"+e._s(e.data.read_count))]):e._e()]),a("div",{staticClass:"ad-article_title ellipsis1"},[e._v(e._s(e.data.title))]),a("div",{staticClass:"ad-article_author ellipsis1"},[a("img",{staticClass:"ad-article_author-avatar",attrs:{src:e.data.avatar,alt:""}}),e._v(" "+e._s(e.data.nickname)+" ")])])},s=[],n={props:{data:{type:Object},showClicks:{type:Boolean,default:!1},showCategory:{type:Boolean,default:!1}},methods:{clickItem:function(){this.$emit("click")}}},r=n,o=(a("8d9e8"),a("2877")),l=Object(o["a"])(r,i,s,!1,null,"23dea862",null);t["a"]=l.exports},1999:function(e,t,a){var i=a("8bfd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var s=a("499e").default;s("267de2fa",i,!0,{sourceMap:!1,shadowMode:!1})},"1ea4":function(e,t,a){var i=a("b270");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var s=a("499e").default;s("f1af756c",i,!0,{sourceMap:!1,shadowMode:!1})},5811:function(e,t,a){var i=a("e20c4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var s=a("499e").default;s("233fd506",i,!0,{sourceMap:!1,shadowMode:!1})},6791:function(e,t,a){"use strict";a("5811")},7947:function(e,t,a){"use strict";a("1999")},"7c61":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".ad-article-item[data-v-23dea862]{padding-bottom:.66rem;width:10.63rem;text-align:left;border-radius:.31rem;background-color:#fff;overflow:hidden}.ad-article_header[data-v-23dea862]{position:relative}.ad-article-cover[data-v-23dea862]{width:100%;height:14.16rem;-o-object-fit:cover;object-fit:cover;vertical-align:bottom}.ad-article-category[data-v-23dea862]{top:.47rem;left:.47rem;padding:.32rem .54rem;font-size:.69rem;border-radius:1rem;-webkit-box-sizing:border-box;box-sizing:border-box}.ad-article-category[data-v-23dea862],.ad-article-clicks[data-v-23dea862]{position:absolute;color:#fff;background-color:rgba(0,0,0,.6)}.ad-article-clicks[data-v-23dea862]{bottom:0;left:0;padding:.34rem .63rem;width:100%;font-size:.7rem;text-align:left}.ad-article_title[data-v-23dea862]{margin:.69rem .53rem 0;line-height:1.13rem;font-size:.88rem;color:#1e1e1e;word-break:break-all}.ad-article_author[data-v-23dea862]{padding:0 .56rem;margin-top:.91rem;font-size:.69rem;color:#2a2a2a}.ad-article_author-avatar[data-v-23dea862]{vertical-align:top;margin-right:.34rem;width:1.25rem;height:1.25rem;-o-object-fit:cover;object-fit:cover;border-radius:50%}",""]),e.exports=t},"8bfd":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,"#livestreaming .living-box[data-v-7fb7208c]{margin:.8rem}#livestreaming .living-item[data-v-7fb7208c]{margin:0;width:48%;overflow:hidden;vertical-align:top;display:inline-block}#livestreaming .living-item li[data-v-7fb7208c]{margin-bottom:.875rem;position:relative}#livestreaming .living-item .bg[data-v-7fb7208c]{width:100%;border-radius:.313rem;overflow:hidden}#livestreaming .living-item .bg img[data-v-7fb7208c]{width:100%;height:100%}#livestreaming .living-item .title[data-v-7fb7208c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#livestreaming .living-item .title img[data-v-7fb7208c]{-webkit-box-flex:0;-webkit-flex:0 0 1.656rem;-ms-flex:0 0 1.656rem;flex:0 0 1.656rem;width:1.656rem;height:1.656rem;border-radius:50%;margin-top:-.625rem;border:.125rem solid #fff}#livestreaming .living-item .title .name[data-v-7fb7208c]{display:inline-block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left;line-height:1rem;margin-left:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#livestreaming .living-item .top[data-v-7fb7208c]{position:absolute;top:.5rem;left:.25rem;background-color:rgba(0,0,0,.4);border-radius:.15rem;color:#fff;padding:0 .15rem 0 0;font-size:12px;height:1.25rem;line-height:1.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#livestreaming .living-item .top .red[data-v-7fb7208c]{background-color:#f10303;border-radius:.15rem;padding:0 .25rem;margin-right:.2rem;display:inline-block;height:100%}#livestreaming .living-item .top .van-count-down[data-v-7fb7208c]{color:#fff;font-size:12px}#livestreaming .living-item .top .huifan_color[data-v-7fb7208c]{background-color:#999}#livestreaming .living-item .goods_icon[data-v-7fb7208c]{position:absolute;top:.5rem;right:.5rem;font-size:12px;height:1.25rem;line-height:1.25rem}#livestreaming .living-item .goods_icon i[data-v-7fb7208c]{font-size:1.625rem;color:#ffa303}#livestreaming .living-item .goods_icon span[data-v-7fb7208c]{background-color:#fff;border-radius:.266rem;color:red;position:absolute;right:-4px;height:.875rem;line-height:.875rem;font-size:.625rem;padding:0 .15rem}#livestreaming .living-item .bottom[data-v-7fb7208c]{width:100%;height:2.5rem;line-height:1.25rem;position:absolute;bottom:1.875rem;left:0;font-weight:700;font-size:.875rem;color:#fff;text-align:left;padding:0 .5rem}#livestreaming .living-item .overflow1[data-v-7fb7208c]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}#livestreaming .living-item .purple[data-v-7fb7208c]{background-color:#8415f5}#livestreaming .living-item .gray[data-v-7fb7208c],#livestreaming .living-item .purple[data-v-7fb7208c]{position:absolute;top:.5rem;left:.5rem;color:#fff;font-size:12px;border-radius:.625rem 0 .625rem 0;padding:.2rem .6rem}#livestreaming .living-item .gray[data-v-7fb7208c]{background-color:#999}#livestreaming .zq-waterfall-left[data-v-7fb7208c]{margin-right:.5rem}.my-publish_title[data-v-7fb7208c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;margin:.9rem 0;font-size:.88rem;color:#484848}.my-publish_sub-type[data-v-7fb7208c]{color:#404040;font-size:.75rem}",""]),e.exports=t},"8d9e8":function(e,t,a){"use strict";a("c912")},"8f8b":function(e,t,a){"use strict";a("1ea4")},"9b78":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,"#newMediaMy .living-box{margin:0!important}",""]),e.exports=t},b270:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".item[data-v-7d66e38d]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;height:3rem;padding:0 .6rem;margin-bottom:.5rem;background-color:#fff;border-radius:.25rem}.item .face[data-v-7d66e38d],.item .face img[data-v-7d66e38d]{width:1.5rem;height:1.5rem}.item .face img[data-v-7d66e38d]{border-radius:50%}.item .name[data-v-7d66e38d]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:.45rem;font-size:.75rem;color:#3d3d3d;text-align:left}.item .cancel-btn[data-v-7d66e38d]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:1.15rem;padding:0 .425rem;color:#fff;font-size:.55rem;background-color:#f4a00e;border-radius:.575rem}",""]),e.exports=t},c912:function(e,t,a){var i=a("7c61");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var s=a("499e").default;s("06d78ff4",i,!0,{sourceMap:!1,shadowMode:!1})},d5b5:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"item"},[a("div",{staticClass:"face"},[a("img",{attrs:{src:e.data.avatar}})]),a("div",{staticClass:"name"},[e._v(e._s(e.data.nickname))]),e.is_cancel&&e.isFollower?a("div",{staticClass:"cancel-btn",on:{click:e.cancelFollow}},[e._v("取消关注")]):e._e()])},s=[],n={props:{is_cancel:{default:!0,type:Boolean},data:{type:Object}},data:function(){return{isFollower:!0}},methods:{cancelFollow:function(){var e=this;$http.post("plugin.new-media-advertising.frontend.media-advertisingt.cancel-attention",{advertisingt_member:this.data.member_id}).then((function(t){0!==t.result?(e.isFollower=!1,e.$toast("取消关注成功")):e.$toast("取消关注失败")}))}}},r=n,o=(a("8f8b"),a("2877")),l=Object(o["a"])(r,i,s,!1,null,"7d66e38d",null);t["a"]=l.exports},daed:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my",attrs:{id:"newMediaMy"}},[a("c-title",{staticStyle:{position:"relative","z-index":"999"},attrs:{text:"新媒体"}}),a("img",{staticClass:"head-img",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new_media/my_head_bg.png"}}),e.memberInfo?a("div",{staticClass:"page-main"},[a("div",{staticClass:"user"},[a("van-image",{staticClass:"user-avatar",attrs:{src:e.memberInfo.avatar,width:"2.8rem",height:"2.8rem",round:"",fit:"cover"}}),e._v(" "+e._s(e.memberInfo.nickname)+" ")],1),a("div",{staticClass:"flow"},[a("div",{staticClass:"flow-value"},[e._v(" 我的流量: "),a("span",[e._v(e._s(e.memberInfo.stream))])]),a("ul",{staticClass:"flow-relative"},[a("li",{staticClass:"flow-relative-item"},[a("router-link",{attrs:{to:e.fun.getUrl("newMediaRechange")}},[a("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new_media/recharge_flow.png"}}),a("div",[e._v("充值流量值")])])],1),a("li",{staticClass:"flow-relative-item"},[a("router-link",{attrs:{to:e.fun.getUrl("newMediaExchange")}},[a("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new_media/exchange_flow.png"}}),a("div",[e._v("兑换流量值")])])],1),a("li",{staticClass:"flow-relative-item"},[a("router-link",{attrs:{to:e.fun.getUrl("newMediaPoints")}},[a("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new_media/check_details.png"}}),a("div",[e._v("查看明细")])])],1)])]),a("div",{staticClass:"tabs tabs_border",on:{click:e.switchTab}},[a("div",{staticClass:"tab",class:[1==e.currentShowTab?"tab-active":""],attrs:{"data-name":"1"}},[e._v("我看过的")]),a("div",{staticClass:"tab",class:[2==e.currentShowTab?"tab-active":""],attrs:{"data-name":"2"}},[e._v("我发布的")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.currentShowTab,expression:"currentShowTab == 2"}],staticClass:"statistics"},[a("ul",{staticClass:"statistics-list"},[a("li",{staticClass:"statistics-item"},[a("div",[e._v(e._s(e.memberInfo.read_count))]),e._v(" "+e._s(e.myViewContentTypes.read_name)+"人数 ")]),a("li",{staticClass:"statistics-item"},[a("div",[e._v(e._s(e.memberInfo.like_count))]),e._v(" "+e._s(e.myViewContentTypes.like_name)+"人数 ")]),a("li",{staticClass:"statistics-item"},[a("div",[e._v(e._s(e.memberInfo.collect_count))]),e._v(" "+e._s(e.myViewContentTypes.favorites_name)+"人数 ")]),a("li",{staticClass:"statistics-item"},[a("div",[e._v(e._s(e.memberInfo.comment_count))]),e._v(" "+e._s(e.myViewContentTypes.comment_name)+"人数 ")]),a("li",{staticClass:"statistics-item"},[a("div",[e._v(e._s(e.memberInfo.share_count))]),e._v(" "+e._s(e.myViewContentTypes.share_name)+"人数 ")]),a("li",{staticClass:"statistics-item"},[a("div",[e._v(e._s(e.memberInfo.attention_count))]),e._v(" 粉丝 ")])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.currentShowTab,expression:"currentShowTab == 1"}],staticClass:"my-view"},[a("ul",{staticClass:"record-type",on:{click:e.myViewSwtichType}},[e._l(e.myView.liveTypesObj,(function(t,i){return a("li",{key:i,staticClass:"record-type-item",class:{"record-type-item_active":e.myViewCurrentSelectedTypeName==i},attrs:{"data-name":i,"data-value":t.value}},[e._v(" "+e._s(t.text)+" ")])})),a("li",{staticClass:"record-type-item",class:{"record-type-item_active":"live"==e.myViewCurrentSelectedTypeName},attrs:{"data-name":"live"}},[e._v("直播")])],2),a("div",{staticClass:"record-empty",attrs:{hidden:""}},[e._v("Empty~")]),a("van-list",{directives:[{name:"show",rawName:"v-show",value:"attention_name"!==e.myViewCurrentSelectedTypeName&&"live"!==e.myViewCurrentSelectedTypeName,expression:"myViewCurrentSelectedTypeName !== 'attention_name' && myViewCurrentSelectedTypeName !== 'live'"}],staticClass:"record-list ad-articles",attrs:{finished:e.myView.pagination.finished,"immediate-check":!1},on:{load:e.getMyContents},model:{value:e.myView.pagination.loading,callback:function(t){e.$set(e.myView.pagination,"loading",t)},expression:"myView.pagination.loading"}},e._l(e.myView.contents,(function(t,i){return a("ad-article-item",{key:i,staticClass:"ad-article-item",attrs:{data:t},on:{click:function(a){return e.routeToArticleDetails(t)}}})})),1),"live"==e.myViewCurrentSelectedTypeName?a("LiveList",{attrs:{id:1,nameSet:e.memberInfo.name_set}}):e._e(),a("van-list",{directives:[{name:"show",rawName:"v-show",value:"attention_name"===e.myViewCurrentSelectedTypeName,expression:"myViewCurrentSelectedTypeName === 'attention_name'"}],staticClass:"follow-list",attrs:{finished:e.myView.fansPagination.finished},on:{load:e.getFans},model:{value:e.myView.fansPagination.loading,callback:function(t){e.$set(e.myView.fansPagination,"loading",t)},expression:"myView.fansPagination.loading"}},e._l(e.myView.fans,(function(e){return a("fans-item",{key:e,attrs:{data:e}})})),1)],1),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.currentShowTab,expression:"currentShowTab == 2"}],staticClass:"tabs",on:{click:e.switchSubTab}},[a("div",{staticClass:"tab",class:[0===e.currentShowSubTab?"tab-active":""],attrs:{"data-name":0}},[e._v("广告审核")]),a("div",{staticClass:"tab",class:[1===e.currentShowSubTab?"tab-active":""],attrs:{"data-name":1}},[e._v("普通区")]),a("div",{staticClass:"tab",class:[2===e.currentShowSubTab?"tab-active":""],attrs:{"data-name":2}},[e._v("广告专区")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.currentShowTab,expression:"currentShowTab == 2"}],staticClass:"my-publish"},[a("div",{staticClass:"my-publish_title"},[a("span",[e._v(e._s(e.myPublishTitle))]),a("van-popover",{directives:[{name:"show",rawName:"v-show",value:2!=e.currentShowSubTab,expression:"currentShowSubTab != 2"}],attrs:{trigger:"click",actions:e.myPublish.contentTypes,placement:"bottom-end"},on:{select:e.myPublishSelectContentType},scopedSlots:e._u([{key:"reference",fn:function(){return[a("span",{staticClass:"my-publish_sub-type"},[e._v(" "+e._s(e.myPublish.selectedContentType.text)+" "),a("i",{staticClass:"iconfont",class:[e.showSubTypePopover?"icon-member-top":"icon-member-bottom"]})])]},proxy:!0}],null,!1,3166415239),model:{value:e.showSubTypePopover,callback:function(t){e.showSubTypePopover=t},expression:"showSubTypePopover"}})],1),a("van-list",{staticClass:"content-list",attrs:{finished:e.myPublish.pagination.finished},on:{load:e.getMypublish},model:{value:e.myPublish.pagination.loading,callback:function(t){e.$set(e.myPublish.pagination,"loading",t)},expression:"myPublish.pagination.loading"}},e._l(e.myPublish.contents,(function(t){return a("div",{key:t.id,staticClass:"content-item",on:{click:function(a){return e.gotoDetails(t)}}},[2==e.currentShowSubTab?a("div",{staticClass:"content_cast-time"},[e._v("投放时间: "+e._s(t.start_time)+" - "+e._s(t.end_time))]):e._e(),a("van-image",{attrs:{src:t.cover_picture,width:"5rem",height:"5rem",radius:"0.3rem"}}),a("div",{staticClass:"content-info"},[a("div",{staticClass:"content-title"},[0===e.currentShowSubTab?a("span",{staticClass:"content_review-status",class:[t.reviewStatusClassName]},[e._v(e._s(t.reviewStatusString))]):e._e(),e._v(" "+e._s(t.title)+" ")]),a("div",{staticClass:"content-type"},[e._v(e._s(t.typeString))]),2==t.type?a("div",{staticClass:"content-flow"},[e._v(e._s(t.stream_all)+"流量值/小时 时长"+e._s(t.duration))]):e._e()]),e.currentShowSubTab>0?a("ul",{staticClass:"content-statistics"},[a("li",{staticClass:"content-statistics-item"},[a("i",{staticClass:"iconfont icon-massage_order"}),e._v(" "+e._s(t.read_count)+" ")]),a("li",{staticClass:"content-statistics-item"},[a("i",{staticClass:"iconfont icon-fontclass-dianzan"}),e._v(" "+e._s(t.like_count)+" ")]),a("li",{staticClass:"content-statistics-item"},[a("i",{staticClass:"iconfont icon-fontclass-pingfen"}),e._v(" "+e._s(t.favorites_count)+" ")]),a("li",{staticClass:"content-statistics-item"},[a("i",{staticClass:"iconfont icon-fontclass-pinglun"}),e._v(" "+e._s(t.comment_count)+" ")]),a("li",{staticClass:"content-statistics-item"},[a("i",{staticClass:"iconfont icon-share"}),e._v(" "+e._s(t.share_count)+" ")])]):e._e()],1)})),0)],1)]):e._e()],1)},s=[],n=(a("d82d"),a("7278")),r=(a("4056"),a("44bf")),o=a("b85c"),l=a("2909"),c=(a("a9e3"),a("b0c0"),a("1984")),d=a("d5b5"),m=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.className,attrs:{id:"livestreaming"}},[a("div",{staticClass:"my-publish_title"},[a("span",[e._v("直播")]),a("van-popover",{attrs:{trigger:"click",actions:e.liveTypes,placement:"bottom-end"},on:{select:e.selectContentType},scopedSlots:e._u([{key:"reference",fn:function(){return[a("span",{staticClass:"my-publish_sub-type"},[e._v(" "+e._s(e.selectedContentType.text)+" "),a("i",{staticClass:"iconfont",class:[e.showSubTypePopover?"icon-member-top":"icon-member-bottom"]})])]},proxy:!0}]),model:{value:e.showSubTypePopover,callback:function(t){e.showSubTypePopover=t},expression:"showSubTypePopover"}})],1),a("van-list",{attrs:{finished:e.pagination.finished,"immediate-check":!1},on:{load:e.getData},model:{value:e.pagination.loading,callback:function(t){e.$set(e.pagination,"loading",t)},expression:"pagination.loading"}},[a("div",{staticClass:"living-box"},[a("ul",{ref:"newArray1",staticClass:"zq-waterfall-left living-item",class:"zq-waterfall-left"+e.id},e._l(e.newArray1,(function(t,i){return a("li",{key:i,on:{click:function(a){return e.gotoAnchor_2(t.status,null,t.id,t.back_id)}}},[a("div",{staticClass:"bg"},[a("img",{attrs:{src:t.cover,alt:""}})]),a("div",{staticClass:"title"},[a("img",{attrs:{src:t.avatar,alt:""}}),a("span",{staticClass:"name"},[e._v(e._s(t.nickname))])]),a("div",{staticClass:"top"},[a("span",{staticClass:"red",class:"4"==t.status?"huifan_color":""},[e._v(" "+e._s("3"==t.status?"直播中":"4"==t.status?"回放":"预告")+" ")]),"2"!=t.status?[e._v(e._s(t.view_num)+"人观看")]:e._e(),"2"==t.status?[0!=e.fun.getTimeDifference(t.live_time)?a("van-count-down",{attrs:{time:e.fun.getTimeDifference(t.live_time),format:"DD天HH时mm分ss秒"}}):a("span",[e._v("等待开播")])]:e._e()],2),a("div",{staticClass:"goods_icon"},[a("i",{staticClass:"iconfont icon-zb_goods"}),a("span",[e._v(e._s(t.goods_num))])]),a("div",{staticClass:"bottom overflow1"},[e._v(e._s(t.title))])])})),0),a("ul",{ref:"newArray2",staticClass:"zq-waterfall-right living-item",class:"zq-waterfall-right"+e.id},e._l(e.newArray2,(function(t,i){return a("li",{key:i,on:{click:function(a){return e.gotoAnchor_2(t.status,null,t.id,t.back_id)}}},[a("div",{staticClass:"bg"},[a("img",{attrs:{src:t.cover,alt:""}})]),a("div",{staticClass:"title"},[a("img",{attrs:{src:t.avatar,alt:""}}),a("span",{staticClass:"name"},[e._v(e._s(t.nickname))])]),a("div",{staticClass:"top"},[a("span",{staticClass:"red",class:"4"==t.status?"huifan_color":""},[e._v(" "+e._s("3"==t.status?"直播中":"4"==t.status?"回放":"预告")+" ")]),"2"!=t.status?[e._v(e._s(t.view_num)+"人观看")]:e._e(),"2"==t.status?[0!=e.fun.getTimeDifference(t.live_time)?a("van-count-down",{attrs:{time:e.fun.getTimeDifference(t.live_time),format:"DD天HH时mm分ss秒"}}):a("span",[e._v("等待开播")])]:e._e()],2),a("div",{staticClass:"goods_icon"},[a("i",{staticClass:"iconfont icon-zb_goods"}),a("span",[e._v(e._s(t.goods_num))])]),a("div",{staticClass:"bottom overflow1"},[e._v(e._s(t.title))])])})),0)])])],1)},u=[],f=(a("e7e5"),a("d399")),p=(a("07ac"),a("4e82"),{props:["id","nameSet"],data:function(){return{active:"0",recordsList:[],newArray1:[],newArray2:[],isShowBack:!0,isLoadMore:!0,page:1,total_page:0,pagination:{finished:!1,loading:!1,pages:1},showSubTypePopover:!1,liveTypesObj:{read_name:{text:"阅读记录",value:3},like_name:{text:"点赞记录",value:1},comment_name:{text:"评论记录",value:6},share_name:{text:"分享记录",value:4},attention_name:{text:"关注记录",value:2}},liveTypes:[],selectedContentType:{text:""}}},computed:{className:function(){var e=["component-wrapper","component-".concat(this.id)];return e}},mounted:function(){var e=this.nameSet;for(var t in e)this.liveTypesObj[t]&&(this.liveTypesObj[t]["text"]=e[t]+"记录");this.liveTypes=Object.values(this.liveTypesObj),this.selectedContentType=this.liveTypes[0],this.getData()},methods:{switchTabs:function(e){this.recordsList=[],this.newArray1=[],this.newArray2=[],this.pagination={finished:!1,loading:!1,pages:1},this.getData()},getData:function(){var e=this,t="plugin.new-media-advertising.frontend.member.get-my-behavior-room-list",a={page:this.pagination.pages,behavior_type:this.selectedContentType.value},i=this.$toast.loading({duration:0});$http.post(t,a).then((function(t){if(e.pagination.loading=!1,i.clear(),1===t.result){var a,s=e.recordsList.length;(a=e.recordsList).push.apply(a,Object(l["a"])(t.data.data)),t.data.current_page==t.data.last_page&&(e.pagination.finished=!0),e.pagination.pages++,e.sort(s,e.recordsList)}else Object(f["a"])(t.msg)})).catch((function(e){i.clear()}))},getImg:function(e,t,a){var i=new Image;i.src=e,i.complete?t(i.width,i.height,Number(i.height)/Number(i.width)):(i.onload=function(){t(i.width,i.height,Number(i.height)/Number(i.width))},i.onerror=function(){a()})},sort:function(e,t){var a=this,i=e||0;t.length>i&&a.getImg(t[i].cover,(function(e,s,n){var r=0,o=0;document.getElementsByClassName("zq-waterfall-left".concat(a.id))[0]&&(r=document.getElementsByClassName("zq-waterfall-left".concat(a.id))[0].clientHeight),document.getElementsByClassName("zq-waterfall-right".concat(a.id))[0]&&(o=document.getElementsByClassName("zq-waterfall-right".concat(a.id))[0].clientHeight),r<=o?(a.newArray1.push(t[i]),a.$nextTick((function(){a.sort(i+1,t)}))):(a.newArray2.push(t[i]),a.$nextTick((function(){a.sort(i+1,t)})))}),(function(){t[i].cover="",a.$nextTick((function(){a.sort(i,t)}))})),t.length-1==i&&(this.isLoadMore=!0)},gotoAnchor:function(e,t,a,i){1==e&&a?this.$router.push(this.fun.getUrl("livePage",{},{shareType:"livePlay",room_id:a})):3==e&&a&&i?this.$router.push(this.fun.getUrl("livePage",{},{shareType:"playBack",room_id:a,backid:i})):0==e&&t?this.$router.push(this.fun.getUrl("anchorDetail",{id:t})):2==e&&a&&this.$router.push(this.fun.getUrl("foreshow",{id:a}))},gotoAnchor_1:function(e,t,a,i){"1"==e&&a?this.$router.push(this.fun.getUrl("livePage",{},{shareType:"livePlay",room_id:a})):"2"==e&&a&&i&&this.$router.push(this.fun.getUrl("livePage",{},{shareType:"playBack",room_id:a,backid:i}))},gotoAnchor_2:function(e,t,a,i){3==e&&a?this.$router.push(this.fun.getUrl("livePage",{},{shareType:"livePlay",room_id:a})):4==e&&a&&i?this.$router.push(this.fun.getUrl("livePage",{},{shareType:"playBack",room_id:a,backid:i})):2==e&&Object(f["a"])("直播暂未开始!")},selectContentType:function(e){this.selectedContentType=e,this.pagination={finished:!1,loading:!1,pages:1},this.recordsList=[],this.newArray1=[],this.newArray2=[]}},components:{VanPopover:n["a"]}}),v=p,g=(a("7947"),a("2877")),h=Object(g["a"])(v,m,u,!1,null,"7fb7208c",null),b=h.exports;function w(e){switch(e){case 0:return"待审核";case 1:return"审核通过";case 2:return"审核驳回"}}function y(e){switch(e){case 0:return"wait";case 1:return"pass";case 2:return"reject"}}function _(e){switch(e){case 1:return"图文";case 2:return"文章";case 3:return"音频";case 4:return"视频"}}var x={data:function(){return{memberInfo:null,showSubTypePopover:!1,currentShowTab:1,currentShowSubTab:0,myViewContentTypes:[],myViewCurrentSelectedTypeName:"read_name",myView:{contents:[],pagination:{finished:!1,loading:!1,pages:1},fans:[],fansPagination:{finished:!1,loading:!1,pages:1},liveTypesObj:{read_name:{text:"阅读记录",value:3},like_name:{text:"点赞记录",value:1},favorites_name:{text:"收藏记录",value:1},comment_name:{text:"评论记录",value:6},share_name:{text:"分享记录",value:4},attention_name:{text:"关注记录",value:2}},liveTypes:[],liveSelectedType:{text:""},liveShowSelectType:!1},myPublish:{contents:[],selectedContentType:{value:-1,text:"全部"},contentTypesObj:[{text:"全部",value:0},{text:"图文",value:1},{text:"视频",value:4},{text:"音频",value:3},{text:"文章",value:2}],contentTypes:[],pagination:{finished:!1,loading:!1,pages:1}}}},mounted:function(){var e=this;this.fun.setWXTitle("新媒体");var t=this.$toast.loading({duration:0});$http.get("plugin.new-media-advertising.frontend.member.my-behavior").then((function(a){if(t.clear(),0!=a.result){for(var i in e.memberInfo=a.data,a.data.name_set)e.myView.liveTypesObj[i]&&(e.myView.liveTypesObj[i]["text"]=a.data.name_set[i]+"记录");e.myViewContentTypes=a.data.name_set,e.getMyViewRecords()}else e.$toast(a.msg)})).catch((function(){t.clear()}))},methods:{gotoDetails:function(e){if(1!=e.is_open)return this.$toast("广告已下架");var t={ad_id:e.id},a="newMediaAdDetails";switch(Number(e.genre)){case 4:a="newMediaAdVideo",t["page"]=1,t["content_type"]=this.currentShowCategory,t["tab_type"]=this.currentShowTab;break}this.$router.push(this.fun.getUrl(a,{},t))},switchTab:function(e){var t=e.target.dataset;t.name&&(this.currentShowTab=Number(t.name),2==this.currentShowTab&&0==this.myPublish.contents.length&&this.getMypublish())},myViewSwtichType:function(e){var t=e.target.dataset;if(t.name){if(this.myViewCurrentSelectedTypeName=t.name,"attention_name"==t.name)return void(0==this.myView.fans.length&&this.getFans());if("live"==t.name)return;this.myView.pagination={finished:!1,loading:!0,pages:1},this.myView.contents=[],this.getMyViewRecords()}},getMyViewRecords:function(){var e=this,t=this.$toast.loading({duration:0});$http.get("plugin.new-media-advertising.frontend.member.get-my-behavior-list",{page:this.myView.pagination.pages,behavior_type:this.getBehaviorCode(this.myViewCurrentSelectedTypeName)}).then((function(a){var i,s=a.data,n=s.data,r=s.current_page,o=s.last_page,c=a.result,d=a.msg;e.myView.pagination.loading=!0,t.clear(),0!=c?(e.myView.pagination.pages++,r==o&&(e.myView.pagination.finished=!0),(i=e.myView.contents).push.apply(i,Object(l["a"])(n))):e.$toast(d)})).catch((function(){t.clear()}))},getBehaviorCode:function(e){return{favorites_name:5,read_name:3,like_name:1,comment_name:6,share_name:4,attention_name:2,reward_name:7}[e]},getFans:function(){var e=this,t=this.$toast.loading({duration:0});$http.get("plugin.new-media-advertising.frontend.member.get-my-behavior-list",{page:this.myView.fansPagination.pages,behavior_type:2}).then((function(a){var i,s=a.data,n=s.data,r=s.last_page,o=s.current_page;a.result,a.msg;t.clear(),e.myView.fansPagination.loading=!1,e.myView.fansPagination.pages++,r==o&&(e.myView.fansPagination.finished=!0),(i=e.myView.fans).push.apply(i,Object(l["a"])(n))})).catch((function(){t.clear()}))},myViewLiveSelectedType:function(e){this.myView.liveSelectedType=e,this.myView.pagination={finished:!1,loading:!0,pages:1},this.myView.contents=[],this.getLives()},routeToArticleDetails:function(e){var t={ad_id:e.id},a="newMediaAdDetails";switch(Number(e.genre)){case 4:a="newMediaAdVideo",t["page"]=1,t["content_type"]=this.currentShowCategory,t["tab_type"]=this.currentShowTab;break}this.$router.push(this.fun.getUrl(a,{},t))},switchSubTab:function(e){var t=e.target.dataset;void 0!==t.name&&(this.currentShowSubTab=Number(t.name),this.myPublish.selectedContentType={value:-1,text:"全部"},this.reGetMyPublish())},myPublishSelectContentType:function(e){this.myPublish.selectedContentType=e,this.reGetMyPublish()},getMypublish:function(){var e=this,t=this.$toast.loading({duration:0}),a={page:this.myPublish.pagination.pages,advertisingt_type:this.currentShowSubTab};-1!==this.myPublish.selectedContentType.value&&(0==this.currentShowSubTab&&(a["check_type"]=this.myPublish.selectedContentType.value),1==this.currentShowSubTab&&(a["genre"]=this.myPublish.selectedContentType.value)),$http.get("plugin.new-media-advertising.frontend.media-advertisingt.get-advertisingt-list",a).then((function(a){var i,s=a.data,n=s.data,r=s.current_page,c=s.last_page,d=a.result,m=a.msg;if(t.clear(),e.myPublish.pagination.loading=!1,0!=d){r==c&&(e.myPublish.pagination.finished=!0);var u,f=Object(o["a"])(n);try{for(f.s();!(u=f.n()).done;){var p=u.value;p["reviewStatusString"]=w(p.check_type),p["reviewStatusClassName"]=y(p.check_type),p["typeString"]=_(p.genre)}}catch(v){f.e(v)}finally{f.f()}(i=e.myPublish.contents).push.apply(i,Object(l["a"])(n))}else e.$toast(m)})).catch((function(){t.clear()}))},reGetMyPublish:function(){this.myPublish.pagination={finished:!1,loading:!0,pages:1},this.myPublish.contents=[],this.getMypublish()},changeMethod:function(e){this.myPublish.contentTypes=0==e?[{text:"全部",value:-1},{text:"待审核",value:0},{text:"审核通过",value:1},{text:"审核驳回",value:2}]:1==e?[{text:"全部",value:0},{text:"图文",value:1},{text:"视频",value:4},{text:"音频",value:3},{text:"文章",value:2}]:[]}},computed:{myPublishTitle:function(){switch(this.currentShowSubTab){case 0:return this.changeMethod(0),"广告审核";case 1:return this.changeMethod(1),"普通区";case 2:return this.changeMethod(),"广告专区"}return""}},components:{AdArticleItem:c["a"],FansItem:d["a"],VanImage:r["a"],VanPopover:n["a"],LiveList:b}},k=x,C=(a("0e38"),a("6791"),Object(g["a"])(k,i,s,!1,null,"4e756d0a",null));t["default"]=C.exports},e20c4:function(e,t,a){var i=a("24fb"),s=a("aa06");t=i(!1),t.i(s),t.push([e.i,'.my[data-v-4e756d0a]{position:relative}.head-img[data-v-4e756d0a]{width:100%;height:10.88rem;-o-object-fit:cover;object-fit:cover}.page-main[data-v-4e756d0a]{position:absolute;z-index:999;width:100%;top:5.44rem;padding-bottom:6.25rem}.user[data-v-4e756d0a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:0 1.4rem;color:#fff;font-size:1.14rem;text-align:left;word-break:break-all}.user-avatar[data-v-4e756d0a]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.6rem}.flow[data-v-4e756d0a]{margin:1.19rem .94rem 0;padding:.96rem;text-align:left;font-size:.94rem;color:#303030;background-color:#fff;border-radius:.64rem}.flow-value span[data-v-4e756d0a]{color:#ef3532}.flow-relative[data-v-4e756d0a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;margin-top:1.03rem;text-align:center;font-size:.75rem;color:#747474}.flow-relative-item a[data-v-4e756d0a]{display:block}.flow-relative-item img[data-v-4e756d0a]{width:2.7rem;height:2.5rem}.tabs[data-v-4e756d0a]{margin-top:.64rem}.my-publish[data-v-4e756d0a],.my-view[data-v-4e756d0a]{padding:0 .94rem}.contents-empty[data-v-4e756d0a]{min-height:calc(100vh - 21rem);background:#fff}.record-type[data-v-4e756d0a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.75rem 0 0;margin-bottom:6px;width:100%;line-height:.75rem;font-size:.75rem;overflow:auto hidden}.record-type-item[data-v-4e756d0a]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:.4rem .5rem;margin-right:.53rem;min-width:3.4rem;color:#717171;background-color:#f3f3f3;border-radius:1rem}.record-type-item_active[data-v-4e756d0a]{color:#fff;background-color:var(--newMediaPrimaryColor)}.record-empty[data-v-4e756d0a]{margin-top:5.66rem;font-size:.8rem;color:#717171}.record-list[data-v-4e756d0a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;row-gap:.3125rem}.statistics[data-v-4e756d0a]{padding:.78rem .94rem;background-color:#fff}.statistics-list[data-v-4e756d0a]{display:grid;grid-template-columns:repeat(3,33.3%);row-gap:1.7rem;padding:.98rem;background:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new_media/my_statistics_bar_bg.png) #fd644b 50%;background-size:cover;border-radius:.64rem}.statistics-item[data-v-4e756d0a]{position:relative;text-align:center;font-size:.8rem;color:#fff}.statistics-item[data-v-4e756d0a]:nth-child(2):before,.statistics-item[data-v-4e756d0a]:nth-child(5):before{content:"";position:absolute;left:0;top:0;bottom:0;margin:auto 0;height:1.56rem;width:.06rem;background:#fff}.statistics-item[data-v-4e756d0a]:nth-child(2):after,.statistics-item[data-v-4e756d0a]:nth-child(5):after{content:"";position:absolute;right:0;top:0;bottom:0;margin:auto 0;height:1.56rem;width:.06rem;background:#fff}.statistics-item span[data-v-4e756d0a]{padding-bottom:.72rem;font-size:1.13rem}.my-publish_title[data-v-4e756d0a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;margin:.9rem 0;font-size:.88rem;color:#484848}.my-publish_sub-type[data-v-4e756d0a]{color:#404040;font-size:.75rem}.content-list[data-v-4e756d0a]{text-align:left}.content-item[data-v-4e756d0a]{margin-bottom:.63rem;padding:.56rem .5rem;background-color:#fff;border-radius:.3rem}.content-info[data-v-4e756d0a]{display:inline-block;vertical-align:top;margin-left:.63rem;width:calc(100% - 5.63rem);word-break:break-all}.content_cast-time[data-v-4e756d0a]{margin-bottom:.56rem;font-size:.63rem;color:#aeaeae}.content-title[data-v-4e756d0a]{margin-top:.1rem;line-height:1.4rem;font-size:.8rem;color:#1e1e1e}.content_review-status[data-v-4e756d0a]{margin-right:.38rem;padding:.18rem .44rem;line-height:.7rem;color:#fff;font-size:.7rem;border-radius:.13rem}.content_review-status[data-v-4e756d0a],.content_review-status.reject[data-v-4e756d0a]{background-color:#a1a1a1}.content_review-status.wait[data-v-4e756d0a]{background-color:#ff9d57}.content_review-status.pass[data-v-4e756d0a]{background-color:#ee2e2b}.content-type[data-v-4e756d0a]{display:inline-block;padding:.22rem .63rem;margin-top:.4rem;line-height:.63rem;font-size:.63rem;color:#7c7c7c;background-color:#eee;border-radius:.2rem}.content-flow[data-v-4e756d0a]{margin-top:.5rem;font-size:.63rem;color:#ee2e2b}.content-statistics[data-v-4e756d0a]{display:grid;grid-template-columns:repeat(5,20%);-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;row-gap:.44rem;margin-top:.44rem;font-size:.63rem;color:#4f4f4f;text-align:center}.content-statistics i[data-v-4e756d0a]{padding-right:.1rem;font-size:.94rem;color:#979797}.ad-articles[data-v-4e756d0a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.ad-article-item[data-v-4e756d0a]{margin-bottom:.31rem;padding-bottom:.66rem;width:49%;border-radius:.31rem;background-color:#fff;overflow:hidden}',""]),e.exports=t},fb6b:function(e,t,a){var i=a("9b78");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var s=a("499e").default;s("2434c789",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |