"use weex:vue";

if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
  Promise.prototype.finally = function(callback) {
    const promise = this.constructor
    return this.then(
      value => promise.resolve(callback()).then(() => value),
      reason => promise.resolve(callback()).then(() => {
        throw reason
      })
    )
  }
};

if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
  const global = uni.requireGlobal()
  ArrayBuffer = global.ArrayBuffer
  Int8Array = global.Int8Array
  Uint8Array = global.Uint8Array
  Uint8ClampedArray = global.Uint8ClampedArray
  Int16Array = global.Int16Array
  Uint16Array = global.Uint16Array
  Int32Array = global.Int32Array
  Uint32Array = global.Uint32Array
  Float32Array = global.Float32Array
  Float64Array = global.Float64Array
  BigInt64Array = global.BigInt64Array
  BigUint64Array = global.BigUint64Array
};


(()=>{var H=Object.create;var R=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var U=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var M=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of U(t))!_.call(e,l)&&l!==r&&R(e,l,{get:()=>t[l],enumerable:!(s=N(t,l))||s.enumerable});return e};var T=(e,t,r)=>(r=e!=null?H(O(e)):{},M(t||!e||!e.__esModule?R(r,"default",{value:e,enumerable:!0}):r,e));var m=(e,t,r)=>new Promise((s,l)=>{var a=g=>{try{n(r.next(g))}catch(u){l(u)}},d=g=>{try{n(r.throw(g))}catch(u){l(u)}},n=g=>g.done?s(g.value):Promise.resolve(g.value).then(a,d);n((r=r.apply(e,t)).next())});var S=P((oe,A)=>{A.exports=Vue});var ne=T(S());function I(e,t,...r){uni.__log__?uni.__log__(e,t,...r):console[e].apply(console,[...r,t])}var W={tips(e,t=2e3,r="bottom"){plus.nativeUI.toast(e,{type:"text",duration:t,align:"center",verticalAlign:r})},isIOS(){return uni.getSystemInfoSync().platform==="ios"},isAndroid(){return uni.getSystemInfoSync().platform==="android"},getUUID(){return m(this,null,function*(){return new Promise((e,t)=>{plus.device.getInfo({success:r=>{e(r.uuid)},fail:r=>{t(r)}})})})},timeToTimestamp(e){return new Date(e.replace(/-/g,"/"))},friendlyDate(e){let t=this.timeToTimestamp(e);var r={year:"%n% \u5E74\u524D",month:"%n% \u6708\u524D",day:"%n% \u5929\u524D",hour:"%n% \u5C0F\u65F6\u524D",minute:"%n% \u5206\u949F\u524D",second:"%n% \u79D2\u524D"},s=Date.now(),l=Math.floor((s-t)/1e3),a=Math.floor(l/60),d=Math.floor(a/60),n=Math.floor(d/24),g=Math.floor(n/30),u=Math.floor(g/12),h="",x=0;return u>0?(h="year",x=u):g>0?(h="month",x=g):n>0?(h="day",x=n):d>0?(h="hour",x=d):a>0?(h="minute",x=a):(h="second",x=l===0?l=1:l),r[h].replace("%n%",x)},base64Encode(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="",s,l,a,d,n,g,u,h=0;for(e=this.utf8Encode(e);h<e.length;)s=e.charCodeAt(h++),l=e.charCodeAt(h++),a=e.charCodeAt(h++),d=s>>2,n=(s&3)<<4|l>>4,g=(l&15)<<2|a>>6,u=a&63,isNaN(l)?g=u=64:isNaN(a)&&(u=64),r=r+t.charAt(d)+t.charAt(n)+t.charAt(g)+t.charAt(u);return r},utf8Encode(e){e=e.replace(/\r\n/g,`
`);for(var t="",r=0;r<e.length;r++){var s=e.charCodeAt(r);s<128?t+=String.fromCharCode(s):s>127&&s<2048?(t+=String.fromCharCode(s>>6|192),t+=String.fromCharCode(s&63|128)):(t+=String.fromCharCode(s>>12|224),t+=String.fromCharCode(s>>6&63|128),t+=String.fromCharCode(s&63|128))}return t},utf8Decode(e){var t=[],r=0,s=0,l=0,a=0,d=0;for(e+="";r<e.length;)l=e.charCodeAt(r),l<128?(t[s++]=String.fromCharCode(l),r++):l>191&&l<224?(a=e.charCodeAt(r+1),t[s++]=String.fromCharCode((l&31)<<6|a&63),r+=2):(a=e.charCodeAt(r+1),d=e.charCodeAt(r+2),t[s++]=String.fromCharCode((l&15)<<12|(a&63)<<6|d&63),r+=3);return t.join("")},base64Decode(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r,s,l,a,d,n,g,u,h=0,x=0,D="",C=[];if(!e)return e;for(e+="";h<e.length;)a=t.indexOf(e.charAt(h++)),d=t.indexOf(e.charAt(h++)),n=t.indexOf(e.charAt(h++)),g=t.indexOf(e.charAt(h++)),u=a<<18|d<<12|n<<6|g,r=u>>16&255,s=u>>8&255,l=u&255,n==64?C[x++]=String.fromCharCode(r):g==64?C[x++]=String.fromCharCode(r,s):C[x++]=String.fromCharCode(r,s,l);return D=C.join(""),this.utf8Decode(D)},hasNotchInScreen(){return plus.navigator.hasNotchInScreen()}},v=W,z=!1;function p(e){uni.getNetworkType({success:function(s){if(s.networkType=="none")return v.tips("\u8BF7\u68C0\u6D4B\u7F51\u7EDC\u8FDE\u63A5"),!1}}),e.loading&&uni.showLoading({title:"\u52A0\u8F7D\u4E2D...",mask:!0,icon:"none"});let t={};var r=uni.getStorageSync("USER_TOKEN");return t.Authorization=r,t["Content-Type"]="application/x-www-form-urlencoded",new Promise((s,l)=>{uni.request({url:e.url,method:e.method||"POST",data:e.data||{},header:t,timeout:5e3,success:a=>{z&&I("log","at utils/request.js:48",a),s(a.data)},fail:a=>{z&&I("log","at utils/request.js:52",a),l(a)},complete:a=>{e.loading&&uni.hideLoading()}})})}p.baseURL="https://newapp.cheshi.com";var o=T(S());var k=(e,t)=>{let r=e.__vccOpts||e;for(let[s,l]of t)r[s]=l;return r};var q="/static/link-outlined.png",G="/static/bf.png",V={newsitem:{"":{width:"686rpx",backgroundColor:"#FFFFFF",borderRadius:"16rpx",overflow:"hidden",paddingTop:"30rpx",paddingRight:"20rpx",paddingBottom:"30rpx",paddingLeft:"20rpx"}},columnType:{".newsitem ":{height:"32rpx",alignItems:"flex-start",marginBottom:"20rpx"}},"type-text":{".newsitem .columnType ":{fontSize:"20rpx",color:"#8E8E93",fontWeight:"400",backgroundColor:"#efeff4",height:"32rpx",lineHeight:"32rpx",paddingTop:0,paddingRight:"10rpx",paddingBottom:0,paddingLeft:"10rpx"}},onebox:{".newsitem .nrbox ":{flexDirection:"row",justifyContent:"space-between"}},onetitle:{".newsitem .nrbox .onebox ":{width:"388rpx",height:"150rpx"}},"one-title-text":{".newsitem .nrbox .onebox .onetitle ":{overflow:"hidden",lines:3,textOverflow:"ellipsis",fontSize:"36rpx",color:"#333333",fontWeight:"600",lineHeight:"48rpx"}},"one-img-box":{".newsitem .nrbox .onebox ":{width:"226rpx",height:"150rpx",overflow:"hidden",borderRadius:"16rpx"}},"one-img":{".newsitem .nrbox .onebox .one-img-box ":{borderRadius:"16rpx",width:"226rpx",height:"150rpx"}},moretitle:{".newsitem .nrbox .morebox ":{marginBottom:"20rpx"},".newsitem .vbox ":{marginBottom:"20rpx"}},"more-title-text":{".newsitem .nrbox .morebox .moretitle ":{fontSize:"36rpx",color:"#333333",fontWeight:"600",lineHeight:"48rpx"},".newsitem .vbox .moretitle ":{fontSize:"36rpx",color:"#333333",fontWeight:"600",lineHeight:"48rpx"}},"more-img-box":{".newsitem .nrbox .morebox ":{width:"646rpx",height:"142rpx",overflow:"hidden",borderRadius:"16rpx",flexDirection:"row",justifyContent:"space-between"}},"more-img":{".newsitem .nrbox .morebox .more-img-box ":{width:"213rpx",height:"142rpx"}},"img-right":{".newsitem .nrbox .morebox .more-img-box ":{borderTopRightRadius:"16rpx",borderBottomRightRadius:"16rpx"}},"bottom-box":{".newsitem .nrbox ":{marginTop:"20rpx",height:"33rpx",lineHeight:"33rpx",flexDirection:"row",alignItems:"center"}},"b-t-box":{".newsitem .nrbox .bottom-box ":{flexDirection:"row",alignItems:"center",height:"33rpx",marginRight:"10rpx"}},"bot-text":{".newsitem .nrbox .bottom-box .b-t-box ":{fontSize:"24rpx",color:"#8E8E93",marginRight:"10rpx"}},xline:{".newsitem .nrbox .bottom-box .b-t-box ":{width:"1rpx",height:"20rpx",backgroundColor:"#D1D1D6"}},"ser-box":{".newsitem .nrbox .bottom-box ":{marginLeft:"16rpx",flexDirection:"row",alignItems:"center"}},cxtb:{".newsitem .nrbox .bottom-box .ser-box ":{width:"24rpx",height:"24rpx",marginRight:"10rpx"}},cxm:{".newsitem .nrbox .bottom-box .ser-box ":{fontSize:"24rpx",color:"#333333"}},vinner:{".newsitem .vbox ":{width:"646rpx",height:"404rpx",overflow:"hidden",borderRadius:"16rpx",alignItems:"center"}},"v-img":{".newsitem .vbox .vinner ":{width:"646rpx",height:"404rpx",borderRadius:"16rpx",flex:1}},"bf-icon":{".newsitem .vbox .vinner ":{width:"120rpx",height:"120rpx",position:"absolute",top:"142rpx",left:"263rpx"}},"v-time":{".newsitem .vbox .vinner ":{backgroundColor:"rgba(0,0,0,0.5)",fontSize:"24rpx",color:"#FFFFFF",height:"33rpx",lineHeight:"33rpx",paddingTop:0,paddingRight:"8rpx",paddingBottom:0,paddingLeft:"8rpx",position:"absolute",bottom:"10rpx",right:"10rpx",borderRadius:"8rpx"}}},K={props:{newsItem:{type:Object,default:function(e){return{}}},stype:{type:[String],default:""}},methods:{click(){this.$emit("click")},bseriesFn(e){e.stopPropagation(),this.$emit("bseriesFn")}}};function X(e,t,r,s,l,a){return(0,o.openBlock)(),(0,o.createElementBlock)("view",{class:"newsitem",onClick:t[1]||(t[1]=(...d)=>a.click&&a.click(...d)),renderWhole:!0},[r.stype!="search"?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:0,class:"columnType"},[(0,o.createElementVNode)("u-text",{class:"type-text"},(0,o.toDisplayString)(r.newsItem.columnType),1)])):(0,o.createCommentVNode)("",!0),r.newsItem.imgType!="video"?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:1,class:"nrbox"},[r.newsItem.imgType=="one"?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:0,class:"onebox"},[(0,o.createElementVNode)("view",{class:"onetitle"},[(0,o.createElementVNode)("u-text",{class:"one-title-text"},(0,o.toDisplayString)(r.newsItem.title),1)]),(0,o.createElementVNode)("view",{class:"one-img-box"},[(0,o.createElementVNode)("u-image",{class:"one-img",src:r.newsItem.title_pic1,fadeShow:"true"},null,8,["src"])])])):(0,o.createCommentVNode)("",!0),r.newsItem.imgType=="more"?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:1,class:"morebox"},[(0,o.createElementVNode)("view",{class:"moretitle"},[(0,o.createElementVNode)("u-text",{class:"more-title-text"},(0,o.toDisplayString)(r.newsItem.title),1)]),(0,o.createElementVNode)("view",{class:"more-img-box"},[((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(3,d=>(0,o.createElementVNode)("u-image",{class:(0,o.normalizeClass)(["more-img",d==3?"img-right":""]),src:r.newsItem.picList[d-1],fadeShow:"true",style:(0,o.normalizeStyle)(d==1?"border-top-left-radius: 16rpx;border-bottom-left-radius: 16rpx;":"")},null,14,["src"])),64))])])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("view",{class:"bottom-box"},[r.newsItem.author?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:0,class:"b-t-box"},[(0,o.createElementVNode)("u-text",{class:"bot-text"},(0,o.toDisplayString)(r.newsItem.author),1)])):(0,o.createCommentVNode)("",!0),r.newsItem.commentCount!=""?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:1,class:"b-t-box"},[(0,o.createElementVNode)("u-text",{class:"bot-text"},(0,o.toDisplayString)(r.newsItem.commentCount)+"\u6761\u8BC4\u8BBA",1)])):(0,o.createCommentVNode)("",!0),r.newsItem.modi_date_format?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:2,class:"b-t-box"},[(0,o.createElementVNode)("u-text",{class:"bot-text"},(0,o.toDisplayString)(r.newsItem.modi_date_format),1)])):(0,o.createCommentVNode)("",!0),r.newsItem.bseries.name!=""?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:3,class:"ser-box",onClick:t[0]||(t[0]=(0,o.withModifiers)((...d)=>a.bseriesFn&&a.bseriesFn(...d),["stop"]))},[(0,o.createElementVNode)("u-image",{class:"cxtb",src:q,mode:""}),(0,o.createElementVNode)("u-text",{class:"cxm"},(0,o.toDisplayString)(r.newsItem.bseries.name),1)])):(0,o.createCommentVNode)("",!0)])])):(0,o.createCommentVNode)("",!0),r.newsItem.imgType=="video"?((0,o.openBlock)(),(0,o.createElementBlock)("view",{key:2,class:"vbox"},[(0,o.createElementVNode)("view",{class:"moretitle"},[(0,o.createElementVNode)("u-text",{class:"more-title-text"},(0,o.toDisplayString)(r.newsItem.title),1)]),(0,o.createElementVNode)("view",{class:"vinner"},[(0,o.createElementVNode)("u-image",{class:"v-img",src:r.newsItem.title_pic1,mode:""},null,8,["src"]),(0,o.createElementVNode)("u-image",{class:"bf-icon",src:G,mode:""}),(0,o.createElementVNode)("u-text",{class:"v-time"},(0,o.toDisplayString)(r.newsItem.video_length),1)])])):(0,o.createCommentVNode)("",!0)])}var j=k(K,[["render",X],["styles",[V]]]);var B="USER_TOKEN",y="USER_INFO",c=p.baseURL+"/v1",Q={baseURL:c,STORAGE_USER_KEY:y,isLogin(){return!!(uni.getStorageSync(B)&&uni.getStorageSync(y))},login(){return uni.navigateTo({url:"/pages/login/index"}),!1},bindThird(e){let t={url:c+"/user/bind-app",data:{openid:e.openid,type:e.type,unionid:e.unionid,nickname:e.nickname,avatar:e.avatar}};return p(t)},getUserInfo(e=!1){return m(this,null,function*(){if(!e){let s=uni.getStorageSync(y);if(s)return s}let t={url:c+"/person/user-info"};return(yield p(t)).data})},getCode(e,t,r,s){let l={url:c+"/user/get-code",data:{device_id:e,mobile:t,token:r,type:s}};return p(l)},fastLogin(e,t){let r={url:c+"/user/fast-login",data:{mobile:e,code:t}};return p(r)},logOff(){let e={url:c+"/person/log-off"};return p(e)},oAuthLogin(e,t,r,s,l,a,d){let n={url:c+"/user/oauth-login",data:{openid:e,type:t,unionid:r,nickname:s,user_img:l,mobile:a,code:d}};return p(n)},updateUserInfo(e,t){let r={url:c+"/person/update-user-info",data:{key:e,value:t}};return p(r)},bindMobile(e,t){let r={url:c+"/user/bind-mobile",data:{mobile:e,code:t}};return p(r)},getNewsHistory(e,t="news",r=10){let s={url:c+"/person/my-history",data:{type:t,page:e,limit:r},method:"POST"};return p(s)},getFocus(e,t=10){let r={url:c+"/person/my-focus",data:{page:e,limit:t},method:"POST"};return p(r)},addFocus(e){let t={url:c+"/person/add-focus",data:{to_uid:e},method:"post"};return p(t)},delFocus(e){let t={url:c+"/person/del-focus",data:{to_uid:e},method:"post"};return p(t)},getMyLikes(e){let t={url:c+"/collect/list",data:{type:e.type,page:e.page,limit:e.limit||30},method:"post"};return p(t)},getProvinceList(){let e={url:c+"/user/get-provinces"};return p(e)},getCityList(e){let t={url:c+"/user/get-citys",data:{provinceID:e}};return p(t)},logout(){this.updateUserClientId("del"),uni.removeStorageSync(B),uni.removeStorageSync(y)},getFavoriteList(e){let t={url:c+"/story/collectlist",data:{action:e.type||"all",page:e.page||1,pagesize:e.limit||10}};return p(t)},thirdLogin(e){return m(this,null,function*(){let t={url:c+"/user/oauth-login",data:{openid:e.openid,type:e.type,unionid:e.unionid,nickname:e.nickname,avatar:e.avatar,mobile:e.mobile,code:e.code}},r=yield p(t);if(v.tips(r.message),r.code==204&&e.mobile==0&&e.code==0)return uni.setStorageSync("LOGIN_BIND_INFO",t.data),uni.redirectTo({url:"/pages/user/bind-mobile/index"}),!1;if(r.code!=200)return uni.removeStorageSync(B),uni.removeStorageSync(y),!1;uni.setStorageSync(B,r.data.login_token),uni.setStorageSync(y,r.data.user_info),this.updateUserClientId("add"),uni.switchTab({url:"/pages/index/index"})})},share(e){return m(this,null,function*(){if(!this.isAppExists("wechat"))return!1;let[t,r]=yield uni.showActionSheet({itemList:["\u5206\u4EAB\u7ED9\u670B\u53CB","\u5206\u4EAB\u5230\u670B\u53CB\u5708"]});if(!r)return!1;let s=yield this.getUserInfo(),l=["video","live"].includes(e.imageType)?s.base_share_host+"/app_"+e.imageType+"_"+e.id+"/?s_id="+s.id:s.base_share_host+"/kaizen/article/"+s.id+"/"+e.id+".html",a=e.title_pic1||e.share_logo,d={provider:"weixin",scene:r.tapIndex==0?"WXSceneSession":"WXSenceTimeline",type:0,href:l,title:e.title+" - KAIZEN",summary:e.short_summary,imageUrl:a};uni.setClipboardData({data:e.short_summary}),yield uni.share(d);let n={url:c+"/story/share",data:{favid:e.id,action:e.imageType}};yield p(n)})},updateUserClientId(e){let t=uni.getStorageSync("UNI_PUSH_CLIENT_ID")||"";if(t=="")return!1;let r={url:c+"/user/push-device",data:{action:e,cid:t,from:v.isIOS()?"ios":"android"}};return p(r)},updateAppBadge(){let e=uni.getStorageSync("UNI_PUSH_CLIENT_ID")||"";if(e==""||v.isAndroid())return!1;let t={url:c+"/public/delete-badge",data:{cid:e,badge:0}};return p(t)},isAppExists(e){let t={};switch(e){case"wechat":t.pname="com.tencent.mm",t.action="weixin://";break;default:t.pname="",t.action=""}return plus.runtime.isApplicationExist(t)}},b=Q;var f=p.baseURL,Y={getNewsInfo(e,t){let r={url:f+"/v1/news/info",method:"GET",data:{type:e,id:t},loading:!0};return p(r)},getNewsComments(e){let t={url:f+"/v1/comment/list",data:{id:e.id,cid:e.cid,type:e.type,page:e.page,flush:e.flush},method:"GET"};return p(t)},setDigg(e,t,r){let s={url:f+"/v1/digg/index",data:{id:e,type:t,digg:r},method:"GET"};return p(s)},isCollect(e,t){let r={url:f+"/v1/collect/index",data:{id:e,type:t},method:"GET"};return p(r)},addCollect(e,t){let r={url:f+"/v1/collect/add",data:{id:e,type:t},method:"GET"};return p(r)},delCollect(e,t){let r={url:f+"/v1/collect/del",data:{id:e,type:t},method:"GET"};return p(r)},sendComment(e,t,r,s,l){let a={url:f+"/v1/comment/index",data:{id:e,cid:t,ruid:r,type:l,comments:s},method:"GET"};return p(a)},commentDigg(e,t,r=1,s="news"){let l={url:f+"/v1/digg/comment",data:{id:e,digg:r,cid:t,type:s},method:"GET"};return p(l)},searchData(e,t,r){let s={url:f+"/v1/search/search",data:{search:e,type:t,last_id:r,loading:!0},method:"POST"};return p(s)}},w=Y;var i=T(S());var L=weex.requireModule("dom");L.addRule("fontFace",{fontFamily:"uniicons",src:"url('/static/uni.ttf')"});var J={components:{newsItem:j},data(){return{isLogin:!1,isLoading:!1,canLoad:!0,windowHeight:500,goTop:!1,iStatusBarHeight:0,videoSrc:"",commentCount:0,title:"\u6682\u65E0\u5185\u5BB9",ding:0,isding:!1,isCollect:!1,hits:0,bseries:{},date:"",relatBseries:[],relatList:[],replyList:[],commontPage:1,theId:"",type:"video",isFollow:!1,detail:"",zanIcon:{nor:"/static/zan.png",cur:"/static/zan1.png"},collect:{nor:"/static/collect.png",cur:"/static/collect1.png"},loadtext:"\u52A0\u8F7D\u4E2D",replying:!1,replyHeight:0,replyText:"",placeHolder:"\u8BF7\u8F93\u5165\u5185\u5BB9",cid:"",ruid:"",replyname:"",showShare:!1,video_desc:"",share_logo:"",share_url:""}},onShow(){return m(this,null,function*(){this.isLogin=b.isLogin(),this.userInfo=yield b.getUserInfo(!0)})},mounted(){let e=uni.getSystemInfoSync();this.windowHeight=e.windowHeight,this.iStatusBarHeight=e.statusBarHeight,this.getDeatil(),this.getCommentList()},onLoad(e){let t=e;this.theId=t.id},methods:{videoErrorCallback:function(e){I("log","at pages/video/index.js:79",e)},full(e){},getDeatil(){return m(this,null,function*(){let e=yield w.getNewsInfo(this.type,this.theId);e.code==200&&(this.videoSrc=e.data.data.video_link,this.commentCount=e.data.data.commentCount||0,this.title=e.data.data.title,this.hits=e.data.data.hits,this.ding=e.data.data.digg,this.bseries=e.data.data.bseries,this.date=e.data.data.modi_date_format,this.relatBseries=e.data.relatBseries,this.relatList=e.data.relatList,this.isding=e.data.data.isding,this.isCollect=e.data.data.isCollect,this.video_desc=e.data.data.video_desc,this.share_logo=e.data.data.share&&e.data.data.share.logo?e.data.data.share.logo:"static/logo_200.jpg",this.share_url=e.data.data.share?e.data.data.share.url:"https://newapp.cheshi.com/h5/video/index?id="+this.theId)})},getCommentList(e){return m(this,null,function*(){if(this.isLoading||!this.canLoad)return;this.isLoading=!0;let t={id:this.theId,type:this.type,page:this.commontPage,flush:e},r=yield w.getNewsComments(t);r.code==200&&(r.data.data.length>=1?e?this.replyList=r.data.data:this.replyList=this.replyList.concat(r.data.data):(this.loadtext="\u6CA1\u6709\u66F4\u591A\u4E86",this.canLoad=!1)),this.isLoading=!1,this.commontPage=this.commontPage+1})},reply(e){if(!this.isLogin){b.login();return}this.replying=!0,this.cid="",this.ruid="",this.replyname="",e&&(this.replyname=e.username,e.replys_count>=0?(this.cid=e.id,this.ruid=""):(this.cid=e.reply_id,this.ruid=e.userid)),uni.onKeyboardHeightChange(t=>{t.height>0?this.replyHeight=120:this.replyHeight=0})},sendReply(){return m(this,null,function*(){if(!this.isLogin){b.login();return}let e=yield w.sendComment(this.theId,this.cid,this.ruid,this.replyText,this.type);e.code==200?(uni.showToast({title:"\u8BC4\u8BBA\u53D1\u8868\u6210\u529F",icon:"none",mask:!0}),this.cancel(),this.commontPage=1,this.getCommentList("yes")):uni.showToast({title:e.message,icon:"none",mask:!0})})},replyTextFn(e){this.replyText=e.detail.value},dianzan(){return m(this,null,function*(){if(!this.isLogin){b.login();return}if(this.isding){uni.showToast({title:"\u5DF2\u7ECF\u70B9\u8FC7\u8D5E\u4E86",icon:"none",mask:!0});return}(yield w.setDigg(this.theId,this.type,1)).code==200&&(this.ding=Math.abs(this.ding)+1,this.isding=!0)})},gozan(e,t=""){return m(this,null,function*(){if(!this.isLogin){b.login();return}let r="";t?r=this.replyList[e].replys[0].id:r=this.replyList[e].id;let s=yield w.commentDigg(this.theId,r);s.code==200?t?(this.replyList[e].replys[0].isding=1,this.replyList[e].replys[0].ding=parseInt(this.replyList[e].replys[0].ding)+1):(this.replyList[e].isding=1,this.replyList[e].ding=parseInt(this.replyList[e].ding)+1):s.code==201&&uni.showToast({title:s.message,icon:"none",mask:!0})})},collectFn(){return m(this,null,function*(){if(!this.isLogin){b.login();return}this.isCollect?(yield w.delCollect(this.theId,this.type)).code==200&&(this.isCollect=!1,uni.showToast({title:"\u5DF2\u53D6\u6D88\u6536\u85CF",icon:"none",mask:!0})):(yield w.addCollect(this.theId,this.type)).code==200&&(this.isCollect=!0,uni.showToast({title:"\u6536\u85CF\u6210\u529F",icon:"none",mask:!0}))})},cancel(){uni.hideKeyboard(),this.replying=!1},goAll(e){if(!e)return;let t={};t.id=this.theId,t.type=this.type,t.data=e,t=encodeURIComponent(JSON.stringify(t)),uni.navigateTo({url:"/pages/news/comments?details="+t})},onloading(e){this.getCommentList()},goBack(){uni.navigateBack()},goDetail(e){e.type=="video"&&uni.redirectTo({url:"/pages/video/index?id="+e.id}),e.type=="news"&&uni.navigateTo({url:"/pages/news/index?id="+e.id})},goComment(){L.scrollToElement(this.$refs.comment,{offset:0,animated:!1})},scroll(e){Math.abs(e.contentOffset.y)>=this.windowHeight?this.goTop=!0:this.goTop=!1},goTopFn(){L.scrollToElement(this.$refs.top,{offset:0,animated:!1})},goBseries(e){uni.navigateTo({url:"/pages/bseries/index?id="+e})},shareFn(){this.showShare=!0},hideShare(){this.showShare=!1},makeShare(e,t=""){let r=this;uni.share({provider:e,scene:t,type:0,href:r.share_url,title:r.title,summary:r.video_desc,imageUrl:r.share_logo,success:function(s){r.showShare=!1},fail:function(s){uni.showToast({title:"\u5206\u4EAB\u5931\u8D25",icon:"none"})}})}}},Z="/static/share_wx.png",$="/static/share_pyq.png",ee="/static/share_qq.png",te={content:{"":{backgroundColor:"#f5f6f9",flex:1}},topview:{".content ":{position:"relative",alignItems:"center"}},gnt:{".content .topview ":{width:"750rpx",backgroundColor:"rgba(0,0,0,0.9)"}},header:{".content .topview ":{width:"750rpx",height:"88rpx",backgroundColor:"rgba(0,0,0,0)",flexDirection:"row",justifyContent:"space-between",alignItems:"center",position:"absolute",top:0,left:0}},tbg:{".content .topview .header ":{width:"750rpx",height:"88rpx"}},goback:{".content .topview .header ":{position:"absolute",left:"32rpx",top:"4rpx",width:"40rpx",height:"80rpx",alignItems:"center",justifyContent:"center"}},backicon:{".content .topview .header .goback ":{fontFamily:"uniicons",fontWeight:"600",fontSize:"40rpx",lineHeight:"80rpx",color:"#FFFFFF"}},"video-box":{".content .topview ":{width:"750rpx"}},player:{".content .topview ":{width:"750rpx",height:"422rpx"}},biglist:{".content ":{backgroundColor:"rgba(0,0,0,0)",flex:1,marginBottom:"110rpx"}},"video-info":{".content .biglist ":{paddingTop:"50rpx",paddingRight:"32rpx",paddingBottom:"50rpx",paddingLeft:"32rpx",backgroundColor:"#ffffff",marginBottom:"40rpx"}},title:{".content .biglist .video-info ":{marginBottom:"50rpx"}},ntitle:{".content .biglist .video-info .title ":{fontSize:"56rpx",fontWeight:"600",color:"#333333",lineHeight:"78rpx"}},"v-time":{".content .biglist .video-info ":{height:"40rpx",lineHeight:"40rpx",fontSize:"28rpx",color:"#8e8e93",marginBottom:"50rpx"}},"video-btn":{".content .biglist .video-info ":{flexDirection:"row",alignItems:"center",justifyContent:"space-around"}},"btn-icon":{".content .biglist .video-info .video-btn .sig-btn ":{width:"72rpx",height:"72rpx",marginBottom:"16rpx"}},"btn-text":{".content .biglist .video-info .video-btn .sig-btn ":{height:"40rpx",lineHeight:"40rpx",color:"#333333",fontSize:"28rpx",textAlign:"center"}},xgzx:{".content .biglist ":{paddingTop:0,paddingRight:"32rpx",paddingBottom:0,paddingLeft:"32rpx",marginBottom:"20rpx"}},zxsig:{".content .biglist .xgzx ":{marginBottom:"20rpx"}},replbox:{".content .biglist ":{paddingTop:0,paddingRight:"32rpx",paddingBottom:0,paddingLeft:"32rpx"}},noreplay:{".content .biglist .replbox ":{alignItems:"center",justifyContent:"center",paddingTop:"40rpx",paddingRight:0,paddingBottom:"40rpx",paddingLeft:0}},"no-text":{".content .biglist .replbox .noreplay ":{fontSize:"24rpx",color:"#8E8E93"}},"repl-inner":{".content .biglist ":{backgroundColor:"#ffffff",borderRadius:"16rpx",paddingTop:"20rpx",paddingRight:"20rpx",paddingBottom:"20rpx",paddingLeft:"20rpx"}},"repl-sig":{".content .biglist .repl-inner ":{borderBottomStyle:"solid",borderBottomWidth:"1rpx",borderBottomColor:"#D1D1D6",paddingTop:"20rpx",paddingRight:0,paddingBottom:"20rpx",paddingLeft:0}},"repl-top":{".content .biglist .repl-inner .repl-sig ":{flexDirection:"row",justifyContent:"space-between",height:"80rpx",alignItems:"center"}},"repl-top-left":{".content .biglist .repl-inner .repl-sig .repl-top ":{flexDirection:"row",alignItems:"center"}},"repl-imgbox":{".content .biglist .repl-inner .repl-sig .repl-top .repl-top-left ":{width:"80rpx",height:"80rpx",overflow:"hidden",borderRadius:"40rpx",marginRight:"28rpx"}},"repl-img":{".content .biglist .repl-inner .repl-sig .repl-top .repl-top-left .repl-imgbox ":{width:"80rpx",height:"80rpx",borderRadius:"40rpx"}},"repl-name":{".content .biglist .repl-inner .repl-sig ":{height:"40rpx",lineHeight:"40rpx",fontSize:"28rpx",color:"#333333",fontWeight:"600"}},"repl-right":{".content .biglist .repl-inner .repl-sig ":{height:"40rpx",flexDirection:"row",alignItems:"center"}},"repl-num":{".content .biglist .repl-inner .repl-sig .repl-right ":{fontSize:"28rpx",color:"#333333",fontWeight:"400",lineHeight:"40rpx"}},"z-icon":{".content .biglist .repl-inner .repl-sig .repl-right ":{width:"30rpx",height:"30rpx",marginRight:"9rpx"}},"repl-mid":{".content .biglist .repl-inner .repl-sig ":{paddingLeft:"108rpx"}},rrepl:{".content .biglist .repl-inner .repl-sig ":{paddingLeft:"108rpx",marginTop:"10rpx"}},"rrepl-box":{".content .biglist .repl-inner .repl-sig .rrepl ":{paddingTop:"20rpx",paddingRight:"20rpx",paddingBottom:"20rpx",paddingLeft:"20rpx",backgroundColor:"#EFEFF4",borderRadius:"8rpx",marginBottom:"20rpx"}},"rrepl-top":{".content .biglist .repl-inner .repl-sig .rrepl .rrepl-box ":{height:"40rpx",flexDirection:"row",justifyContent:"space-between"}},goall:{".content .biglist .repl-inner .repl-sig .rrepl ":{color:"#8e8e93",lineHeight:"33rpx",fontSize:"24rpx"}},"repl-text":{".content .biglist .repl-inner .repl-sig ":{fontSize:"32rpx",color:"#333333",fontWeight:"400",lineHeight:"45rpx",marginBottom:"10rpx"}},"mid-btn":{".content .biglist .repl-inner .repl-sig ":{flexDirection:"row",height:"33rpx"}},"repl-time":{".content .biglist .repl-inner .repl-sig .mid-btn ":{fontSize:"24rpx",color:"#8E8E93"}},"repl-btn":{".content .biglist .repl-inner .repl-sig .mid-btn ":{fontSize:"24rpx",color:"#FF0005"}},noborder:{".content .biglist .repl-inner ":{borderBottomWidth:"0rpx"}},bigtitle:{".content .biglist ":{height:"60rpx",flexDirection:"row",alignItems:"center",marginBottom:"20rpx"}},"title-icon":{".content .biglist .bigtitle ":{width:"12rpx",height:"36rpx",backgroundColor:"#ff0005",borderTopLeftRadius:"0rpx",borderTopRightRadius:"8rpx",borderBottomRightRadius:"8rpx",borderBottomLeftRadius:"0rpx",marginRight:"24rpx"}},"title-text":{".content .biglist .bigtitle ":{fontSize:"42rpx",color:"#333333",fontWeight:"600"}},botbox:{".content ":{width:"750rpx",height:"120rpx",backgroundColor:"#FFFFFF",position:"fixed",left:0,bottom:0,flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingTop:0,paddingRight:"32rpx",paddingBottom:0,paddingLeft:"32rpx"}},writebox:{".content .botbox ":{width:"686rpx",height:"68rpx",flexDirection:"row",alignItems:"center",backgroundColor:"#EFEFF4",borderRadius:"8rpx",paddingTop:0,paddingRight:"20rpx",paddingBottom:0,paddingLeft:"20rpx"}},"write-img":{".content .botbox .writebox ":{width:"32rpx",height:"32rpx",marginRight:"16rpx"}},"write-text":{".content .botbox .writebox ":{fontSize:"24rpx",color:"#8E8E93"}},loadingbox:{"":{left:0,right:0}},"load-text":{"":{height:"30rpx",textAlign:"center",fontSize:"24rpx"}},goTop:{"":{width:"174rpx",height:"174rpx",position:"fixed",bottom:"150rpx",left:"750rpx",transitionProperty:"left",transitionDuration:300}},goshow:{"":{left:"576rpx"}},"go-img":{"":{width:"174rpx",height:"174rpx"}},laybox:{"":{position:"fixed",top:0,left:0,bottom:0,right:0,flex:1,backgroundColor:"rgba(0,0,0,0.6)",width:"750rpx"}},textareabox:{"":{width:"750rpx",backgroundColor:"#FFFFFF",paddingTop:"20rpx",paddingRight:"32rpx",paddingBottom:"20rpx",paddingLeft:"32rpx",position:"absolute",left:0,bottom:0,alignItems:"flex-end"}},"text-area":{"":{width:"686rpx",height:"160rpx",backgroundColor:"#f0f0f0",paddingTop:"10rpx",paddingRight:"10rpx",paddingBottom:"10rpx",paddingLeft:"10rpx",marginBottom:"20rpx"}},send:{"":{lineHeight:"60rpx",paddingTop:"10rpx",paddingRight:"20rpx",paddingBottom:"10rpx",paddingLeft:"20rpx",backgroundColor:"#FF0005",color:"#FFFFFF",borderRadius:"16rpx"}},shareBox:{"":{position:"fixed",left:0,top:0,width:"750rpx",display:"flex",flexDirection:"column",justifyContent:"flex-end",zIndex:9999}},shareBg:{".shareBox ":{position:"absolute",left:0,top:0,width:"750rpx",backgroundColor:"rgba(0,0,0,0.7)"}},shareCont:{".shareBox ":{width:"750rpx",paddingTop:"40rpx",paddingRight:"32rpx",paddingBottom:"40rpx",paddingLeft:"32rpx",backgroundColor:"#ffffff",display:"flex",flexDirection:"row",justifyContent:"space-around",position:"relative"}},shareItem:{".shareBox ":{width:"150rpx",display:"flex",flexDirection:"column",alignItems:"center"}},icon:{".shareBox .shareItem ":{width:"100rpx",height:"100rpx",marginBottom:"14rpx"}},txt:{".shareBox .shareItem ":{fontSize:"24rpx",color:"#8E8E93"}},"@TRANSITION":{goTop:{property:"left",duration:300}}};function ie(e,t,r,s,l,a){let d=(0,i.resolveComponent)("news-item");return(0,i.openBlock)(),(0,i.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,i.createElementVNode)("view",{class:"content"},[(0,i.createElementVNode)("view",{class:"topview"},[(0,i.createElementVNode)("view",{class:"gnt",style:(0,i.normalizeStyle)({height:e.iStatusBarHeight+"px"})},null,4),(0,i.createElementVNode)("view",{class:"video-box"},[(0,i.createElementVNode)("u-video",{class:"player",src:e.videoSrc,autoplay:"true",objectFit:"contain",title:e.title,onError:t[0]||(t[0]=(...n)=>e.videoErrorCallback&&e.videoErrorCallback(...n)),onFullscreenchange:t[1]||(t[1]=(...n)=>e.full&&e.full(...n))},null,40,["src","title"])]),(0,i.createElementVNode)("view",{class:"header",style:(0,i.normalizeStyle)({top:e.iStatusBarHeight+"px"})},[(0,i.createElementVNode)("view",{class:"goback",onClick:t[2]||(t[2]=n=>e.goBack())},[(0,i.createElementVNode)("u-text",{class:"backicon"},"\uE582")])],4)]),(0,i.createElementVNode)("list",{id:"page",class:"biglist",bounce:!0,showScrollbar:!1,loadmoreoffset:"30",onScroll:t[9]||(t[9]=(...n)=>e.scroll&&e.scroll(...n))},[(0,i.createElementVNode)("cell",{ref:"top"},[(0,i.createElementVNode)("view",{class:"video-info"},[(0,i.createElementVNode)("view",{class:"title"},[(0,i.createElementVNode)("u-text",{class:"ntitle"},(0,i.toDisplayString)(e.title),1)]),(0,i.createElementVNode)("u-text",{class:"v-time"},(0,i.toDisplayString)(e.hits>0?e.hits+"\u6B21\u64AD\u653E \xB7 ":"")+(0,i.toDisplayString)(e.date),1),(0,i.createElementVNode)("view",{class:"video-btn"},[(0,i.createElementVNode)("view",{class:"sig-btn",onClick:t[3]||(t[3]=(...n)=>e.collectFn&&e.collectFn(...n))},[(0,i.createElementVNode)("u-image",{class:"btn-icon",src:e.isCollect?e.collect.cur:e.collect.nor,mode:""},null,8,["src"]),(0,i.createElementVNode)("u-text",{class:"btn-text"},"\u6536\u85CF")]),(0,i.createElementVNode)("view",{class:"sig-btn",onClick:t[4]||(t[4]=n=>e.goComment())},[(0,i.createElementVNode)("u-image",{class:"btn-icon",src:"/static/replay.png",mode:""}),(0,i.createElementVNode)("u-text",{class:"btn-text"},"\u8BC4\u8BBA")]),(0,i.createElementVNode)("view",{class:"sig-btn",onClick:t[5]||(t[5]=(...n)=>e.dianzan&&e.dianzan(...n))},[(0,i.createElementVNode)("u-image",{class:"btn-icon",src:e.isding?e.zanIcon.cur:e.zanIcon.nor,mode:""},null,8,["src"]),(0,i.createElementVNode)("u-text",{class:"btn-text"},(0,i.toDisplayString)(e.ding>999?(e.ding/1e4).toFixed(2)+"\u4E07":e.ding),1)]),(0,i.createElementVNode)("view",{class:"sig-btn",onClick:t[6]||(t[6]=(...n)=>e.shareFn&&e.shareFn(...n))},[(0,i.createElementVNode)("u-image",{class:"btn-icon",src:"/static/share_big.png",mode:""}),(0,i.createElementVNode)("u-text",{class:"btn-text"},"\u5206\u4EAB")])])])],512),(0,i.createElementVNode)("cell",null,[e.relatList.length>0?((0,i.openBlock)(),(0,i.createElementBlock)("view",{key:0,class:"xgzx"},[(0,i.createElementVNode)("view",{class:"bigtitle"},[(0,i.createElementVNode)("view",{class:"title-icon"}),(0,i.createElementVNode)("u-text",{class:"title-text"},"\u76F8\u5173\u8D44\u8BAF")]),(0,i.createElementVNode)("view",{class:"zxbox"},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.relatList,(n,g)=>((0,i.openBlock)(),(0,i.createElementBlock)("view",{class:"zxsig",key:g},[(0,i.createVNode)(d,{newsItem:n,onClick:u=>e.goDetail(n)},null,8,["newsItem","onClick"])]))),128))])])):(0,i.createCommentVNode)("",!0)]),(0,i.createElementVNode)("cell",{ref:"comment"},[(0,i.createElementVNode)("view",{class:"replbox"},[(0,i.createElementVNode)("view",{class:"bigtitle"},[(0,i.createElementVNode)("view",{class:"title-icon"}),(0,i.createElementVNode)("u-text",{class:"title-text",onClick:t[7]||(t[7]=(...n)=>e.goAll&&e.goAll(...n))},"\u5168\u90E8\u8BC4\u8BBA")]),e.replyList.length<=0?((0,i.openBlock)(),(0,i.createElementBlock)("view",{key:0,class:"noreplay"},[(0,i.createElementVNode)("u-text",{class:"no-text"},"\u6682\u65E0\u76F8\u5173\u8BC4\u8BBA")])):(0,i.createCommentVNode)("",!0),e.replyList.length>0?((0,i.openBlock)(),(0,i.createElementBlock)("view",{key:1,class:"repl-inner"},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.replyList,(n,g)=>((0,i.openBlock)(),(0,i.createElementBlock)("view",{class:(0,i.normalizeClass)(["repl-sig",g==e.replyList.length-1?"noborder":""]),key:g},[(0,i.createElementVNode)("view",{class:"repl-top"},[(0,i.createElementVNode)("view",{class:"repl-top-left"},[(0,i.createElementVNode)("view",{class:"repl-imgbox"},[(0,i.createElementVNode)("u-image",{class:"repl-img",src:n.user_img_url},null,8,["src"])]),(0,i.createElementVNode)("u-text",{class:"repl-name"},(0,i.toDisplayString)(n.username),1)]),(0,i.createElementVNode)("view",{class:"repl-right",onClick:u=>e.gozan(g)},[(0,i.createElementVNode)("u-image",{class:"z-icon",src:n.isding>0?e.zanIcon.cur:e.zanIcon.nor,mode:""},null,8,["src"]),(0,i.createElementVNode)("u-text",{class:"repl-num"},(0,i.toDisplayString)(Math.abs(n.ding)>0?n.ding:"\u8D5E"),1)],8,["onClick"])]),(0,i.createElementVNode)("view",{class:"repl-mid"},[(0,i.createElementVNode)("u-text",{class:"repl-text"},(0,i.toDisplayString)(n.comments),1),(0,i.createElementVNode)("view",{class:"mid-btn"},[(0,i.createElementVNode)("u-text",{class:"repl-time"},(0,i.toDisplayString)(n.dt_format)+" \xB7 ",1),(0,i.createElementVNode)("u-text",{class:"repl-btn",onClick:u=>e.reply(n)},"\u56DE\u590D",8,["onClick"])])]),n.replys.length>0?((0,i.openBlock)(),(0,i.createElementBlock)("view",{key:0,class:"rrepl"},[(0,i.createElementVNode)("view",{class:"rrepl-box"},[(0,i.createElementVNode)("view",{class:"rrepl-top"},[(0,i.createElementVNode)("view",{class:"repl-top-left"},[(0,i.createElementVNode)("u-text",{class:"repl-name"},(0,i.toDisplayString)(n.replys[0].username),1)]),(0,i.createElementVNode)("view",{class:"repl-right",onClick:u=>e.gozan(g,n.replys[0])},[(0,i.createElementVNode)("u-image",{class:"z-icon",src:n.replys[0].isding>0?e.zanIcon.cur:e.zanIcon.nor,mode:""},null,8,["src"]),(0,i.createElementVNode)("u-text",{class:"repl-num"},(0,i.toDisplayString)(Math.abs(n.replys[0].ding)>0?n.replys[0].ding:"\u8D5E"),1)],8,["onClick"])]),(0,i.createElementVNode)("view",{class:"rrepl-mid"},[(0,i.createElementVNode)("u-text",{class:"repl-text"},(0,i.toDisplayString)(n.replys[0].comments),1),(0,i.createElementVNode)("view",{class:"mid-btn"},[(0,i.createElementVNode)("u-text",{class:"repl-time"},(0,i.toDisplayString)(n.replys[0].dt_format)+" \xB7 ",1),(0,i.createElementVNode)("u-text",{class:"repl-btn",onClick:u=>e.reply(n.replys[0])},"\u56DE\u590D",8,["onClick"])])])]),(0,i.createElementVNode)("u-text",{class:"goall",onClick:u=>e.goAll(n)},"\u67E5\u770B\u5168\u90E8"+(0,i.toDisplayString)(n.replys_count)+"\u6761\u8BC4\u8BBA",9,["onClick"])])):(0,i.createCommentVNode)("",!0)],2))),128))])):(0,i.createCommentVNode)("",!0)])],512),(0,i.createElementVNode)("loading",{class:"loadingbox",onLoading:t[8]||(t[8]=(...n)=>e.onloading&&e.onloading(...n)),display:e.isLoading?"show":"hide"},null,40,["display"])],32),(0,i.createElementVNode)("view",{class:"botbox"},[(0,i.createElementVNode)("view",{class:"writebox",onClick:t[10]||(t[10]=n=>e.reply())},[(0,i.createElementVNode)("u-image",{class:"write-img",src:"/static/write.png",mode:""}),(0,i.createElementVNode)("u-text",{class:"write-text"},"\u5199\u70B9\u4EC0\u4E48\u5427...")])])]),(0,i.createElementVNode)("view",{class:(0,i.normalizeClass)(["goTop",e.goTop?"goshow":""]),onClick:t[11]||(t[11]=n=>e.goTopFn())},[(0,i.createElementVNode)("u-image",{class:"go-img",src:"/static/gotop.png"})],2),e.replying?((0,i.openBlock)(),(0,i.createElementBlock)("view",{key:0,class:"laybox",onClick:t[14]||(t[14]=(...n)=>e.cancel&&e.cancel(...n))},[(0,i.createElementVNode)("view",{class:"textareabox",style:(0,i.normalizeStyle)({bottom:e.replyHeight+"rpx"})},[(0,i.createElementVNode)("u-textarea",{onInput:t[12]||(t[12]=(...n)=>e.replyTextFn&&e.replyTextFn(...n)),class:"text-area",maxlength:"200",name:"",id:"",focus:"true",placeholder:e.replyname?"\u56DE\u590D"+e.replyname:e.placeHolder,placeholderStyle:"corlor:#888888",confirmType:"send"},null,40,["placeholder"]),(0,i.createElementVNode)("u-text",{class:"send",onClick:t[13]||(t[13]=(0,i.withModifiers)((...n)=>e.sendReply&&e.sendReply(...n),["stop"]))},"\u53D1\u9001")],4)])):(0,i.createCommentVNode)("",!0),e.showShare?((0,i.openBlock)(),(0,i.createElementBlock)("view",{key:1,class:"shareBox",style:(0,i.normalizeStyle)({height:e.windowHeight+"px"})},[(0,i.createElementVNode)("view",{class:"shareBg",onClick:t[15]||(t[15]=(0,i.withModifiers)((...n)=>e.hideShare&&e.hideShare(...n),["stop"])),style:(0,i.normalizeStyle)({height:e.windowHeight+"px"})},null,4),(0,i.createElementVNode)("view",{class:"shareCont"},[(0,i.createElementVNode)("view",{class:"shareItem",onClick:t[16]||(t[16]=n=>e.makeShare("weixin","WXSceneSession"))},[(0,i.createElementVNode)("u-image",{class:"icon",src:Z}),(0,i.createElementVNode)("u-text",{class:"txt"},"\u5FAE\u4FE1")]),(0,i.createElementVNode)("view",{class:"shareItem",onClick:t[17]||(t[17]=n=>e.makeShare("weixin","WXSceneTimeline"))},[(0,i.createElementVNode)("u-image",{class:"icon",src:$}),(0,i.createElementVNode)("u-text",{class:"txt"},"\u5FAE\u4FE1\u670B\u53CB\u5708")]),(0,i.createElementVNode)("view",{class:"shareItem",onClick:t[18]||(t[18]=n=>e.makeShare("qq"))},[(0,i.createElementVNode)("u-image",{class:"icon",src:ee}),(0,i.createElementVNode)("u-text",{class:"txt"},"QQ")])])],4)):(0,i.createCommentVNode)("",!0)])}var F=k(J,[["render",ie],["styles",[te]]]);var E=plus.webview.currentWebview();if(E){let e=parseInt(E.id),t="pages/video/index",r={};try{r=JSON.parse(E.__query__)}catch(l){}F.mpType="page";let s=Vue.createPageApp(F,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:r});s.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...F.styles||[]])),s.mount("#root")}})();
