pages-article_details-index.B9H0x_xN.js 137 KB

12
  1. import{_ as e,o as t,c as i,w as o,a,n as s,f as l,b as r,t as n,g as h,h as d,j as c,e as u,i as g,s as p,k as f,u as m,l as y,m as T,p as S,F as w,q as R,r as M,v as x,x as C,y as I,z as b,A,B as v,C as L,$ as D,D as k,E as V,G as z,H as P,I as N,J as B,S as E,K as F,L as H,M as W,N as Z,O,P as _,Q as j,R as U,T as G,U as Y,V as Q,W as J,X as K,Y as X,Z as q,a0 as $,a1 as ee,a2 as te,a3 as ie,a4 as oe,a5 as ae,a6 as se,a7 as le}from"./index-CN-lgCOR.js";import{u as re,_ as ne,g as he,a as de,w as ce}from"./index.DulAIuLl.js";(function(){let e=navigator.userAgent;e.indexOf("Trident"),e.indexOf("Presto"),e.indexOf("AppleWebKit"),e.indexOf("Gecko")>-1&&e.indexOf("KHTML"),e.match(/AppleWebKit.*Mobile.*/),e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),e.indexOf("Android")>-1||e.indexOf("Adr")>-1||e.indexOf("Linux"),e.indexOf("iPhone"),e.indexOf("iPad"),e.indexOf("Safari"),e.indexOf("MicroMessenger"),e.match(/\sQQ/i),navigator.userAgent.indexOf("MQQBrowser")})(),(navigator.browserLanguage||navigator.language).toLowerCase();const ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUVFRUVE9CdWsAAAABHRSTlMAjjrY9ZnUjwAAAQFJREFUWMPt2MsNgzAMgGEEE1B1gKJmAIRYoCH7z9RCXrabh33iYktcIv35EEg5ZBh07pvxJU6MFSPOSRnjnBUjUsaciRUjMsb4xIoRCWNiYsUInzE5sWKEyxiYWDbyefqHx1zIeiYTk7mQYziTYecxHvEJjwmIT3hMQELCYSISEg4TkZj0mYTEpM8kJCU9JiMp6TEZyUmbAUhO2gxAQNJiIAKSFgMRmNQZhMCkziAEJTUGIyipMRjBSZkhCE7KDEFIUmTeGCHJxWz0zXaE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v4olMBCeIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==";const Re=e({name:"z-paging-empty-view",data:()=>({}),props:{emptyViewText:{type:String,default:"没有数据哦~"},emptyViewImg:{type:String,default:""},showEmptyViewReload:{type:Boolean,default:!1},emptyViewReloadText:{type:String,default:"重新加载"},isLoadFailed:{type:Boolean,default:!1},emptyViewStyle:{type:Object,default:function(){return{}}},emptyViewImgStyle:{type:Object,default:function(){return{}}},emptyViewTitleStyle:{type:Object,default:function(){return{}}},emptyViewReloadStyle:{type:Object,default:function(){return{}}},emptyViewZIndex:{type:Number,default:9},emptyViewFixed:{type:Boolean,default:!0},unit:{type:String,default:"rpx"}},computed:{emptyImg(){return this.isLoadFailed?Se:Te},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}},[["render",function(e,p,f,m,y,T){const S=c,w=u,R=g;return t(),i(R,{class:s({"zp-container":!0,"zp-container-fixed":f.emptyViewFixed}),style:l([T.finalEmptyViewStyle]),onClick:T.emptyViewClick},{default:o(()=>[a(R,{class:"zp-main"},{default:o(()=>[f.emptyViewImg.length?(t(),i(S,{key:1,class:s({"zp-main-image-rpx":"rpx"===f.unit,"zp-main-image-px":"px"===f.unit}),mode:"aspectFit",style:l([f.emptyViewImgStyle]),src:f.emptyViewImg},null,8,["class","style","src"])):(t(),i(S,{key:0,class:s({"zp-main-image-rpx":"rpx"===f.unit,"zp-main-image-px":"px"===f.unit}),style:l([f.emptyViewImgStyle]),src:T.emptyImg},null,8,["class","style","src"])),a(w,{class:s(["zp-main-title",{"zp-main-title-rpx":"rpx"===f.unit,"zp-main-title-px":"px"===f.unit}]),style:l([f.emptyViewTitleStyle])},{default:o(()=>[r(n(f.emptyViewText),1)]),_:1},8,["class","style"]),f.showEmptyViewReload?(t(),i(w,{key:2,class:s({"zp-main-error-btn":!0,"zp-main-error-btn-rpx":"rpx"===f.unit,"zp-main-error-btn-px":"px"===f.unit}),style:l([f.emptyViewReloadStyle]),onClick:h(T.reloadClick,["stop"])},{default:o(()=>[r(n(f.emptyViewReloadText),1)]),_:1},8,["class","style","onClick"])):d("",!0)]),_:1})]),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-15f3d1f0"]]),Me="2.8.7",xe=100,Ce="z-paging-error-emit",Ie="z-paging-complete-emit",be="z-paging-cache",Ae="zp_index",ve="zp_unique_index",Le={},De="Z-PAGING-REFRESHER-TIME-STORAGE-KEY";let ke=null,Ve=!1,ze=null;const Pe={};function Ne(){return f(De)}function Be(e){return m(e)}function Ee(){return(new Date).getTime()}function Fe(e){return 1===(e=e.toString()).length?"0"+e:e}const He={gc:function(e,t){return()=>{if(function(){if(Ve)return;Le&&Object.keys(Le).length&&(ke=Le);!ke&&uni.$zp&&(ke=uni.$zp.config);ke=ke?Object.keys(ke).reduce((e,t)=>(e[function(e){return e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}(t)]=ke[t],e),{}):null,Ve=!0}(),!ke)return t;const i=ke[e];return void 0===i?t:i}},setRefesrherTime:function(e,t){const i=Ne()||{};i[t]=e,p(De,i)},getRefesrherFormatTimeByKey:function(e,t){const i=function(e){const t=Ne();return t&&t[e]?t[e]:null}(e),o=i?function(e,t){const i=new Date(e),o=new Date,a=new Date(e).setHours(0,0,0,0),s=(new Date).setHours(0,0,0,0),l=a-s;let r="";const n=function(e){const t=e.getHours(),i=e.getMinutes();return`${Fe(t)}:${Fe(i)}`}(i);r=0===l?t.today:-864e5===l?t.yesterday:function(e,t=!0){const i=e.getFullYear(),o=e.getMonth()+1,a=e.getDate();return t?`${i}-${Fe(o)}-${Fe(a)}`:`${Fe(o)}-${Fe(a)}`}(i,i.getFullYear()!==o.getFullYear());return`${r} ${n}`}(i,t):t.none;return`${t.title}${o}`},getTouch:function(e){let t=null;if(e.touches&&e.touches.length)t=e.touches[0];else if(e.changedTouches&&e.changedTouches.length)t=e.changedTouches[0];else{if(!e.datail||e.datail=={})return{touchX:0,touchY:0};t=e.datail}return{touchX:t.clientX,touchY:t.clientY}},getTouchFromZPaging:function e(t){if(t&&t.tagName&&"BODY"!==t.tagName&&"UNI-PAGE-BODY"!==t.tagName){const i=t.classList;return i&&i.contains("z-paging-content")?{isFromZp:!0,isPageScroll:i.contains("z-paging-content-page"),isReachedTop:i.contains("z-paging-reached-top"),isUseChatRecordMode:i.contains("z-paging-use-chat-record-mode")}:e(t.parentNode)}return{isFromZp:!1}},getParent:function e(t){return t?t.$refs.paging?t:e(t.$parent):null},convertToPx:function(e){if("[object Number]"===Object.prototype.toString.call(e))return e;let t=!1;return-1!==e.indexOf("rpx")||-1!==e.indexOf("upx")?(e=e.replace("rpx","").replace("upx",""),t=!0):-1!==e.indexOf("px")&&(e=e.replace("px","")),isNaN(e)?0:Number(t?Be(e):e)},getTime:Ee,getInstanceId:function(){const e=[];for(let t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+Ee()},consoleErr:function(e){console.error(`[z-paging]${e}`)},delay:function(e,t=xe,i){const o=setTimeout(e,t);return i&&(Pe[i]&&clearTimeout(Pe[i]),Pe[i]=o),o},wait:function(e){return new Promise(t=>{setTimeout(t,e)})},isPromise:function(e){return"[object Promise]"===Object.prototype.toString.call(e)},addUnit:function(e,t){if("[object String]"===Object.prototype.toString.call(e)){let t=e;t=t.replace("rpx","").replace("upx","").replace("px",""),-1===e.indexOf("rpx")&&-1===e.indexOf("upx")&&-1!==e.indexOf("px")&&(t=2*parseFloat(t)),e=t}return"rpx"===t?e+"rpx":e/2+"px"},deepCopy:function e(t){if("object"!=typeof t||null===t)return t;let i=Array.isArray(t)?[]:{};for(let o in t)t.hasOwnProperty(o)&&(i[o]=e(t[o]));return i},rpx2px:Be,getSystemInfoSync:function(e=!1){if(e&&ze)return ze;const{deviceInfo:t,appBaseInfo:i,windowInfo:o}=["DeviceInfo","AppBaseInfo","WindowInfo"].reduce((e,t)=>{const i=`get${t}`;return uni[i]&&y(i)&&(e[t.charAt(0).toLowerCase()+t.slice(1)]=uni[i]()),e},{});return ze=t&&i&&o?{...t,...i,...o}:T(),ze},useBufferedInsert:function(e,t=50){let i=[],o=null,a=[];return function(s,...l){const r="[object Array]"!==Object.prototype.toString.call(s)?[s]:s;i.push(...r),a=l,o||(o=setTimeout(()=>{e(1===i.length?i[0]:i,...a),i=[],o=null},1===i.length?10:t))}}},We={LoadingType:{Refresher:"refresher",LoadMore:"load-more"},Refresher:{Default:"default",ReleaseToRefresh:"release-to-refresh",Loading:"loading",Complete:"complete",GoF2:"go-f2"},More:{Default:"default",Loading:"loading",NoMore:"no-more",Fail:"fail"},QueryFrom:{UserPullDown:"user-pull-down",Reload:"reload",Refresh:"refresh",LoadMore:"load-more"},CellHeightMode:{Fixed:"fixed",Dynamic:"dynamic"},CacheMode:{Default:"default",Always:"always"}};const Ze=e({name:"z-paging-refresh",data:()=>({R:We.Refresher,refresherTimeText:"",zTheme:{title:{white:"#efefef",black:"#555555"},arrow:{white:ge,black:ue},flower:{white:fe,black:pe},success:{white:ye,black:me},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","goF2Text","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","imgStyle","titleStyle","updateTimeStyle","updateTimeTextMap","unit","isIos"],computed:{ts(){return this.defaultThemeStyle},statusTextMap(){this.updateTime();const{R:e,defaultText:t,pullingText:i,refreshingText:o,completeText:a,goF2Text:s}=this;return{[e.Default]:t,[e.ReleaseToRefresh]:i,[e.Loading]:o,[e.Complete]:a,[e.GoF2]:s}},currentTitle(){return this.statusTextMap[this.status]||this.defaultText},leftImageClass(){const e=`zp-r-left-image-pre-size-${this.unit}`;return this.status===this.R.Complete?e:`zp-r-left-image ${e} ${this.status===this.R.Default?"zp-r-arrow-down":"zp-r-arrow-top"}`},leftImageStyle(){const e=this.showUpdateTime,t=e?He.addUnit(36,this.unit):He.addUnit(34,this.unit);return{width:t,height:t,"margin-right":e?He.addUnit(20,this.unit):He.addUnit(9,this.unit)}},leftImageSrc(){const e=this.R,t=this.status;return t===e.Default?this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.ReleaseToRefresh?this.pullingImg?this.pullingImg:this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.Loading?this.refreshingImg?this.refreshingImg:this.zTheme.flower[this.ts]:t===e.Complete?this.completeImg?this.completeImg:this.zTheme.success[this.ts]:t===e.GoF2?this.zTheme.arrow[this.ts]:""},rightTextStyle(){let e={};return e.color=this.zTheme.title[this.ts],e["font-size"]=He.addUnit(30,this.unit),e}},methods:{addUnit:(e,t)=>He.addUnit(e,t),updateTime(){this.showUpdateTime&&(this.refresherTimeText=He.getRefesrherFormatTimeByKey(this.updateTimeKey,this.updateTimeTextMap))}}},[["render",function(e,h,p,f,m,y){const T=c,S=g,w=u;return t(),i(S,{style:{height:"100%"}},{default:o(()=>[a(S,{class:s(p.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container")},{default:o(()=>[a(S,{class:"zp-r-left"},{default:o(()=>[p.status!==m.R.Loading?(t(),i(T,{key:0,class:s(y.leftImageClass),style:l([y.leftImageStyle,p.imgStyle]),src:y.leftImageSrc},null,8,["class","style","src"])):(t(),i(T,{key:1,class:s({"zp-line-loading-image":p.refreshingAnimated,"zp-r-left-image":!0,"zp-r-left-image-pre-size-rpx":"rpx"===p.unit,"zp-r-left-image-pre-size-px":"px"===p.unit}),style:l([y.leftImageStyle,p.imgStyle]),src:y.leftImageSrc},null,8,["class","style","src"]))]),_:1}),a(S,{class:"zp-r-right"},{default:o(()=>[a(w,{class:"zp-r-right-text",style:l([y.rightTextStyle,p.titleStyle])},{default:o(()=>[r(n(y.currentTitle),1)]),_:1},8,["style"]),p.showUpdateTime&&m.refresherTimeText.length?(t(),i(w,{key:0,class:s(["zp-r-right-text",{"zp-r-right-time-text-rpx":"rpx"===p.unit,"zp-r-right-time-text-px":"px"===p.unit}]),style:l([{color:m.zTheme.title[y.ts]},p.updateTimeStyle])},{default:o(()=>[r(n(m.refresherTimeText),1)]),_:1},8,["class","style"])):d("",!0)]),_:1})]),_:1},8,["class"])]),_:1})}],["__scopeId","data-v-2ee9a40c"]]);const Oe=e({name:"z-paging-load-more",data:()=>({M:We.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:fe,black:pe},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["zConfig"],computed:{ts(){return this.c.defaultThemeStyle},c(){return this.zConfig||{}},ownLoadingMoreText(){return{[this.M.Default]:this.c.defaultText,[this.M.Loading]:this.c.loadingText,[this.M.NoMore]:this.c.noMoreText,[this.M.Fail]:this.c.failText}[this.finalStatus]},finalStatus(){return this.c.defaultAsLoading&&this.c.status===this.M.Default?this.M.Loading:this.c.status},finalLoadingIconType(){return this.c.loadingIconType}},methods:{doClick(){this.$emit("doClick")}}},[["render",function(e,a,h,p,f,m){const y=u,T=c,R=g;return t(),i(R,{class:s(["zp-l-container",{"zp-l-container-rpx":"rpx"===m.c.unit,"zp-l-container-px":"px"===m.c.unit}]),style:l([m.c.customStyle]),onClick:m.doClick},{default:o(()=>[m.c.hideContent?d("",!0):(t(),S(w,{key:0},[m.c.showNoMoreLine&&m.finalStatus===f.M.NoMore?(t(),i(y,{key:0,class:s({"zp-l-line-rpx":"rpx"===m.c.unit,"zp-l-line-px":"px"===m.c.unit}),style:l([{backgroundColor:f.zTheme.line[m.ts]},m.c.noMoreLineCustomStyle])},null,8,["class","style"])):d("",!0),m.finalStatus===f.M.Loading&&m.c.loadingIconCustomImage?(t(),i(T,{key:1,src:m.c.loadingIconCustomImage,style:l([m.c.iconCustomStyle]),class:s({"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":m.c.loadingAnimated,"zp-l-line-loading-custom-image-rpx":"rpx"===m.c.unit,"zp-l-line-loading-custom-image-px":"px"===m.c.unit})},null,8,["src","style","class"])):d("",!0),m.finalStatus!==f.M.Loading||"flower"!==m.finalLoadingIconType||m.c.loadingIconCustomImage.length?d("",!0):(t(),i(T,{key:2,class:s({"zp-line-loading-image":!0,"zp-line-loading-image-rpx":"rpx"===m.c.unit,"zp-line-loading-image-px":"px"===m.c.unit}),style:l([m.c.iconCustomStyle]),src:f.zTheme.flower[m.ts]},null,8,["class","style","src"])),m.finalStatus!==f.M.Loading||"circle"!==m.finalLoadingIconType||m.c.loadingIconCustomImage.length?d("",!0):(t(),i(y,{key:3,class:s(["zp-l-circle-loading-view",{"zp-l-circle-loading-view-rpx":"rpx"===m.c.unit,"zp-l-circle-loading-view-px":"px"===m.c.unit}]),style:l([{borderColor:f.zTheme.circleBorder[m.ts],borderTopColor:f.zTheme.circleBorderTop[m.ts]},m.c.iconCustomStyle])},null,8,["class","style"])),!m.c.isChat||!m.c.chatDefaultAsLoading&&m.finalStatus===f.M.Default||m.finalStatus===f.M.Fail?(t(),i(y,{key:4,class:s({"zp-l-text-rpx":"rpx"===m.c.unit,"zp-l-text-px":"px"===m.c.unit}),style:l([{color:f.zTheme.title[m.ts]},m.c.titleCustomStyle])},{default:o(()=>[r(n(m.ownLoadingMoreText),1)]),_:1},8,["class","style"])):d("",!0),m.c.showNoMoreLine&&m.finalStatus===f.M.NoMore?(t(),i(y,{key:5,class:s({"zp-l-line-rpx":"rpx"===m.c.unit,"zp-l-line-px":"px"===m.c.unit}),style:l([{backgroundColor:f.zTheme.line[m.ts]},m.c.noMoreLineCustomStyle])},null,8,["class","style"])):d("",!0)],64))]),_:1},8,["class","style","onClick"])}],["__scopeId","data-v-80237b32"]]),_e={data:()=>({systemInfo:null,cssSafeAreaInsetBottom:-1,isReadyDestroy:!1}),computed:{windowTop(){if(!this.systemInfo)return 0;return document.getElementsByTagName("uni-page-head").length&&this.systemInfo.windowTop||0},safeAreaBottom(){if(!this.systemInfo)return 0;let e=0;return e=Math.max(this.cssSafeAreaInsetBottom,0),e},isOldWebView(){try{const e=He.getSystemInfoSync(!0).system.split(" "),t=e[0],i=parseInt(e[1]);if("iOS"===t&&i<=10||"Android"===t&&i<=6)return!0}catch(e){return!1}return!1},zSlots(){return this.$slots}},beforeDestroy(){this.isReadyDestroy=!0},unmounted(){this.isReadyDestroy=!0},methods:{updateFixedLayout(){this.fixed&&this.$nextTick(()=>{this.systemInfo=He.getSystemInfoSync()})},_getNodeClientRect(e,t=!0,i=!1){if(this.isReadyDestroy)return Promise.resolve(!1);let o=t?R().in(!0===t?this:t):R();return i?o.select(e).scrollOffset():o.select(e).boundingClientRect(),new Promise((e,t)=>{o.exec(t=>{e(!(!t||""==t||null==t||!t.length)&&t)})})},_updateLeftAndRightWidth(e,t){this.$nextTick(()=>{setTimeout(()=>{["left","right"].map(i=>{this._getNodeClientRect(`.${t}-${i}`).then(t=>{this.$set(e,i,t?t[0].width+"px":"0px")})})},0)})},_getCssSafeAreaInsetBottom(e){this._getNodeClientRect(".zp-safe-area-inset-bottom").then(t=>{this.cssSafeAreaInsetBottom=t?t[0].height:-1,t&&e&&e()})},_getSystemInfoSync:(e=!1)=>He.getSystemInfoSync(e)}},je="Query",Ue="FetchParams",Ge="FetchResult",Ye="Language2Local";function Qe(){return M()}function Je(){return Qe()&&Qe().globalData}function Ke(e,t){try{setTimeout(function(){Je()&&(Qe().globalData[`zp_handle${e}Callback`]=t)},1)}catch(i){}}function Xe(e){return Je()?Qe().globalData[`zp_handle${e}Callback`]:null}const qe={handleQuery:function(e){return Ke(je,e),this},_handleQuery:function(e,t,i,o){const a=Xe(je);return a?a(e,t,i,o):[e,t,i]},handleFetchParams:function(e){return Ke(Ue,e),this},_handleFetchParams:function(e,t){const i=Xe(Ue);return i?i(e,t||{}):{pageNo:e.pageNo,pageSize:e.pageSize,...t||{}}},handleFetchResult:function(e){return Ke(Ge,e),this},_handleFetchResult:function(e,t,i){const o=Xe(Ge);return o&&o(e,t,i),!!o},handleLanguage2Local:function(e){return Ke(Ye,e),this},_handleLanguage2Local:function(e,t){const i=Xe(Ye);return i?i(e,t):t}},$e={props:{defaultPageNo:{type:Number,default:He.gc("defaultPageNo",1),observer:function(e){this.pageNo=e}},defaultPageSize:{type:Number,default:He.gc("defaultPageSize",10),validator:e=>(e<=0&&He.consoleErr("default-page-size必须大于0!"),e>0)},dataKey:{type:[Number,String,Object],default:He.gc("dataKey",null)},useCache:{type:Boolean,default:He.gc("useCache",!1)},cacheKey:{type:String,default:He.gc("cacheKey",null)},cacheMode:{type:String,default:He.gc("cacheMode",We.CacheMode.Default)},autowireListName:{type:String,default:He.gc("autowireListName","")},autowireQueryName:{type:String,default:He.gc("autowireQueryName","")},fetch:{type:Function,default:null},fetchParams:{type:Object,default:He.gc("fetchParams",null)},auto:{type:Boolean,default:He.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:He.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:He.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:He.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:He.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:He.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:He.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:He.gc("localPagingLoadingTime",200)},concat:{type:Boolean,default:He.gc("concat",!0)},callNetworkReject:{type:Boolean,default:He.gc("callNetworkReject",!0)},value:{type:Array,default:function(){return[]}},modelValue:{type:Array,default:function(){return[]}}},data(){return{currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],dataPromiseResultMap:{reload:null,complete:null,localPaging:null},isSettingCacheList:!1,pageNo:1,currentRefreshPageSize:0,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,queryFrom:"",listRendering:!1,isHandlingRefreshToPage:!1,isFirstPageAndNoMore:!1,totalDataChangeThrow:!0,addDataFromTopBufferedInsert:He.useBufferedInsert(this._addDataFromTop)}},computed:{pageSize(){return this.defaultPageSize},finalConcat(){return this.concat&&this.privateConcat},finalUseCache(){return this.useCache&&!this.cacheKey&&He.consoleErr("use-cache为true时,必须设置cache-key,否则缓存无效!"),this.useCache&&!!this.cacheKey},finalCacheKey(){return this.cacheKey?`${be}-${this.cacheKey}`:null},isFirstPage(){return this.pageNo===this.defaultPageNo}},watch:{totalData(e,t){this._totalDataChange(e,t,this.totalDataChangeThrow),this.totalDataChangeThrow=!0},currentData(e,t){this._currentDataChange(e,t)},useChatRecordMode(e,t){e&&(this.nLoadingMoreFixedHeight=!1)},value:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0},modelValue:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0}},methods:{complete(e,t=!0){return this.customNoMore=-1,this.addData(e,t)},completeByKey(e,t=null,i=!0){return null!==t&&null!==this.dataKey&&t!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise(e=>e())):(this.customNoMore=-1,this.addData(e,i))},completeByTotal(e,t,i=!0){if("undefined"==t)this.customNoMore=-1;else{const o=this._checkDataType(e,i,!1);if(e=o.data,i=o.success,t>=0&&i)return new Promise((o,a)=>{this.$nextTick(()=>{let s=!1;let l=(this.pageNo==this.defaultPageNo?0:this.realTotalData.length)+(this.privateConcat?e.length:0)-t;l>=0&&(s=!0,l=this.defaultPageSize-l,this.privateConcat&&l>0&&l<e.length&&(e=e.splice(0,l))),this.completeByNoMore(e,s,i).then(e=>o(e)).catch(()=>a())})})}return this.addData(e,i)},completeByNoMore(e,t,i=!0){return"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,i)},completeByError(e){return this.customerEmptyViewErrorText=e,this.complete(!1)},addData(e,t=!0){this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);const i=He.getTime()-this.requestTimeStamp;let o=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(o=Math.max(400,o));const a=this.requestTimeStamp>0&&i<o?o-i:0;return this.$nextTick(()=>{He.delay(()=>{this._addData(e,t,!1)},this.delay>0?this.delay:a)}),new Promise((e,t)=>{this.dataPromiseResultMap.complete={resolve:e,reject:t}})},addDataFromTop(e,t=!0,i=!0){(this.finalUseVirtualList?this.addDataFromTopBufferedInsert:this._addDataFromTop)(e,t,i)},resetTotalData(e){this.isTotalChangeFromAddData=!0,e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.totalData=e},setLocalPaging(e,t=!0){return this.isLocalPaging=!0,this.$nextTick(()=>{this._addData(e,t,!0)}),new Promise((e,t)=>{this.dataPromiseResultMap.localPaging={resolve:e,reject:t}})},reload(e=this.showRefresherWhenReload){return e&&(this.privateShowRefresherWhenReload=e,this.isUserPullDown=!0),this.showLoadingMoreWhenReload||(this.listRendering=!0),this.$nextTick(()=>{this._preReload(e,!1)}),new Promise((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}})},refresh(){return this._handleRefreshWithDisPageNo(this.pageNo-this.defaultPageNo+1)},refreshToPage(e){return this.isHandlingRefreshToPage=!0,this._handleRefreshWithDisPageNo(e+this.defaultPageNo-1)},updateCache(){this.finalUseCache&&this.totalData.length&&this._saveLocalCache(this.totalData.slice(0,Math.min(this.totalData.length,this.pageSize)))},clean(){this._reload(!0),this._addData([],!0,!1)},clear(){this.clean()},_preReload(e=this.showRefresherWhenReload,t=!0,i=0){const o=this.finalRefresherEnabled&&this.useCustomRefresher;-1===this.customRefresherHeight&&o?He.delay(()=>{++i%10==0&&this._updateCustomRefresherHeight(),this._preReload(e,t,i)},xe/2):(this.isUserReload=!0,this.loadingType=We.LoadingType.Refresher,e?(this.privateShowRefresherWhenReload=e,this.useCustomRefresher?this._doRefresherRefreshAnimate():this.refresherTriggered=!0):this._refresherEnd(!1,!1,!1,!1),this._reload(!1,t))},_reload(e=!1,t=!1,i=!1){if(this.isAddedData=!1,this.insideOfPaging=-1,this.cacheScrollNodeHeight=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!e&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isSettingCacheList||(this.totalData=[]),!e){this._emitQuery(this.pageNo,this.defaultPageSize,i?We.QueryFrom.UserPullDown:We.QueryFrom.Reload);let e=0;He.delay(this._callMyParentQuery,e),!t&&this.autoScrollToTopWhenReload&&this._scrollToTop(!1)}},_addData(e,t,i){this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();const o=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(He.setRefesrherTime(He.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!i&&o&&this.isFirstPage&&(this.isUserPullDown=!1),this.listRendering=!0,this.$nextTick(()=>{He.delay(()=>this.listRendering=!1)});let a=this._checkDataType(e,t,i);e=a.data,t=a.success;let s=xe;if(this.useChatRecordMode&&(s=0),this.loadingForNow=!1,He.delay(()=>{this.pagingLoaded=!0,this.$nextTick(()=>{!i&&this._refresherEnd(s>0,!0,o)})}),this.isFirstPage&&(this.isLoadFailed=!t,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&t&&(this.cacheMode===We.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(e)),this.isSettingCacheList=!1,t){if((!1!==this.privateConcat||this.isHandlingRefreshToPage||this.loadingStatus!==We.More.NoMore)&&(this.loadingStatus=We.More.Default),i){this.totalLocalPagingList=e;const t=this.defaultPageNo,i=this.queryFrom!==We.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(t,i,0,e=>{He.delay(()=>{this.completeByTotal(e,this.totalLocalPagingList.length)},0)})}else{let t=0;He.delay(()=>{this._currentDataChange(e,this.currentData),this._callDataPromise(!0,this.totalData)},t)}this.isHandlingRefreshToPage&&(this.isHandlingRefreshToPage=!1,this.pageNo=this.defaultPageNo+Math.ceil(e.length/this.pageSize)-1,e.length%this.pageSize!==0&&(this.customNoMore=1))}else this._currentDataChange(e,this.currentData),this._callDataPromise(!1),this.loadingStatus=We.More.Fail,this.isHandlingRefreshToPage=!1,this.loadingType===We.LoadingType.LoadMore&&this.pageNo--},_totalDataChange(e,t,i=!0){(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||e.length||!t.length)&&(this._doCheckScrollViewShouldFullHeight(e),this.realTotalData.length||e.length||(i=!1),this.realTotalData=e,i&&(this.$emit("input",e),this.$emit("update:modelValue",e),this.$emit("update:list",e),this.$emit("listChange",e),this._callMyParentList(e)),this.firstPageLoaded=!1,this.isTotalChangeFromAddData=!1,this.$nextTick(()=>{He.delay(()=>{this._getNodeClientRect(".zp-paging-container-content").then(e=>{e&&this.$emit("contentHeightChanged",e[0].height)})},xe*(this.isIos?1:3))}))},_currentDataChange(e,t){e=[...e],this.finalUseVirtualList&&this._setCellIndex(e,"bottom"),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?(1===this.customNoMore||0!==this.customNoMore&&!e.length)&&(this.loadingStatus=We.More.NoMore):(!e.length||e.length&&e.length<this.defaultPageSize)&&(this.loadingStatus=We.More.NoMore),this.totalData.length&&this.finalConcat?(this.oldScrollTop,this.totalData=[...this.totalData,...e]):this.totalData=e,this.privateConcat=!0},_handleRefreshWithDisPageNo(e){if(!this.isHandlingRefreshToPage&&!this.realTotalData.length)return this.reload();if(e>=1){this.loading=!0,this.privateConcat=!1;const t=e*this.pageSize;this.currentRefreshPageSize=t,this.isLocalPaging&&this.isHandlingRefreshToPage?this._localPagingQueryList(this.defaultPageNo,t,0,e=>{this.complete(e)}):(this._emitQuery(this.defaultPageNo,t,We.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,t))}return new Promise((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}})},_localPagingQueryList(e,t,i,o){e=Math.max(1,e),t=Math.max(1,t);const a=[...this.totalLocalPagingList],s=(e-1)*t,l=Math.min(a.length,s+t),r=a.splice(s,l-s);He.delay(()=>o(r),i)},_addDataFromTop(e,t=!0,i=!0){let o=!this.isChatRecordModeAndNotInversion;e="[object Array]"!==Object.prototype.toString.call(e)?[e]:o?e.reverse():e,this.finalUseVirtualList&&this._setCellIndex(e,"top"),this.totalData=o?[...e,...this.totalData]:[...this.totalData,...e],t&&He.delay(()=>this.useChatRecordMode?this.scrollToBottom(i):this.scrollToTop(i))},_saveLocalCache(e){p(this.finalCacheKey,e)},_setListByLocalCache(){this.totalData=f(this.finalCacheKey)||[],this.isSettingCacheList=!0},_callMyParentList(e){if(this.autowireListName.length){const t=He.getParent(this.$parent);t&&t[this.autowireListName]&&(t[this.autowireListName]=e)}},_callMyParentQuery(e=0,t=0){if(this.autowireQueryName){if(-1===this.myParentQuery){const e=He.getParent(this.$parent);e&&e[this.autowireQueryName]&&(this.myParentQuery=e[this.autowireQueryName])}-1!==this.myParentQuery&&(t>0?this.myParentQuery(e,t):this.myParentQuery(this.pageNo,this.defaultPageSize))}},_emitQuery(e,t,i){this.queryFrom=i,this.requestTimeStamp=He.getTime();const[o]=this.realTotalData.slice(-1);if(this.fetch){const a=qe._handleFetchParams({pageNo:e,pageSize:t,from:i,lastItem:o||null},this.fetchParams),s=this.fetch(a);qe._handleFetchResult(s,this,a)||(He.isPromise(s)?s.then(e=>{this.complete(e)}).catch(e=>{this.complete(!1)}):this.complete(s))}else this.$emit("query",...qe._handleQuery(e,t,i,o||null))},_callDataPromise(e,t){for(const i in this.dataPromiseResultMap){const o=this.dataPromiseResultMap[i];o&&(e?o.resolve({totalList:t,noMore:this.loadingStatus===We.More.NoMore}):this.callNetworkReject&&o.reject(`z-paging-${i}-error`))}},_checkDataType(e,t,i){const o=Object.prototype.toString.call(e);return"[object Boolean]"===o?(t=e,e=[]):"[object Array]"!==o&&(e=[],"[object Undefined]"!==o&&"[object Null]"!==o&&He.consoleErr((i?"setLocalPaging":"complete")+"参数类型不正确,第一个参数类型必须为Array!")),{data:e,success:t}}}},et={en:{"zp.refresher.default":"Pull down to refresh","zp.refresher.pulling":"Release to refresh","zp.refresher.refreshing":"Refreshing...","zp.refresher.complete":"Refresh succeeded","zp.refresher.f2":"Refresh to enter 2f","zp.loadingMore.default":"Click to load more","zp.loadingMore.loading":"Loading...","zp.loadingMore.noMore":"No more data","zp.loadingMore.fail":"Load failed,click to reload","zp.emptyView.title":"No data","zp.emptyView.reload":"Reload","zp.emptyView.error":"Sorry,load failed","zp.refresherUpdateTime.title":"Last update: ","zp.refresherUpdateTime.none":"None","zp.refresherUpdateTime.today":"Today","zp.refresherUpdateTime.yesterday":"Yesterday","zp.systemLoading.title":"Loading..."},"zh-Hans":{"zp.refresher.default":"继续下拉刷新","zp.refresher.pulling":"松开立即刷新","zp.refresher.refreshing":"正在刷新...","zp.refresher.complete":"刷新成功","zp.refresher.f2":"松手进入二楼","zp.loadingMore.default":"点击加载更多","zp.loadingMore.loading":"正在加载...","zp.loadingMore.noMore":"没有更多了","zp.loadingMore.fail":"加载失败,点击重新加载","zp.emptyView.title":"没有数据哦~","zp.emptyView.reload":"重新加载","zp.emptyView.error":"很抱歉,加载失败","zp.refresherUpdateTime.title":"最后更新:","zp.refresherUpdateTime.none":"无","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加载中..."},"zh-Hant":{"zp.refresher.default":"繼續下拉重繪","zp.refresher.pulling":"鬆開立即重繪","zp.refresher.refreshing":"正在重繪...","zp.refresher.complete":"重繪成功","zp.refresher.f2":"鬆手進入二樓","zp.loadingMore.default":"點擊加載更多","zp.loadingMore.loading":"正在加載...","zp.loadingMore.noMore":"沒有更多了","zp.loadingMore.fail":"加載失敗,點擊重新加載","zp.emptyView.title":"沒有數據哦~","zp.emptyView.reload":"重新加載","zp.emptyView.error":"很抱歉,加載失敗","zp.refresherUpdateTime.title":"最後更新:","zp.refresherUpdateTime.none":"無","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加載中..."}},{t:tt}=x(et),it={computed:{finalLanguage(){try{const e=C(),t=this.systemInfo.appLanguage;return"auto"===e?qe._handleLanguage2Local(t,this._language2Local(t)):e}catch(e){return"zh-Hans"}},finalRefresherDefaultText(){return this._getI18nText("zp.refresher.default",this.refresherDefaultText)},finalRefresherPullingText(){return this._getI18nText("zp.refresher.pulling",this.refresherPullingText)},finalRefresherRefreshingText(){return this._getI18nText("zp.refresher.refreshing",this.refresherRefreshingText)},finalRefresherCompleteText(){return this._getI18nText("zp.refresher.complete",this.refresherCompleteText)},finalRefresherUpdateTimeTextMap:()=>({title:tt("zp.refresherUpdateTime.title"),none:tt("zp.refresherUpdateTime.none"),today:tt("zp.refresherUpdateTime.today"),yesterday:tt("zp.refresherUpdateTime.yesterday")}),finalRefresherGoF2Text(){return this._getI18nText("zp.refresher.f2",this.refresherGoF2Text)},finalLoadingMoreDefaultText(){return this._getI18nText("zp.loadingMore.default",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText(){return this._getI18nText("zp.loadingMore.loading",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText(){return this._getI18nText("zp.loadingMore.noMore",this.loadingMoreNoMoreText)},finalLoadingMoreFailText(){return this._getI18nText("zp.loadingMore.fail",this.loadingMoreFailText)},finalEmptyViewText(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("zp.emptyView.title",this.emptyViewText)},finalEmptyViewReloadText(){return this._getI18nText("zp.emptyView.reload",this.emptyViewReloadText)},finalEmptyViewErrorText(){return this.customerEmptyViewErrorText||this._getI18nText("zp.emptyView.error",this.emptyViewErrorText)},finalSystemLoadingText(){return this._getI18nText("zp.systemLoading.title",this.systemLoadingText)}},methods:{getLanguage(){return this.finalLanguage},_getI18nText(e,t){const i=Object.prototype.toString.call(t);if("[object Object]"===i){const e=t[this.finalLanguage];if(e)return e}else if("[object String]"===i)return t;return tt(e)},_language2Local(e){const t=e.toLowerCase().replace(new RegExp("_",""),"-");return-1!==t.indexOf("zh")?"zh"===t||"zh-cn"===t||-1!==t.indexOf("zh-hans")?"zh-Hans":"zh-Hant":-1!==t.indexOf("en")?"en":e}}},ot={props:{},data:()=>({nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:He.rpx2px(750),nListHeight:0,nF2Opacity:0}),computed:{},mounted(){},methods:{}},at={props:{hideEmptyView:{type:Boolean,default:He.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:He.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:He.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:He.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:He.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:He.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:He.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:He.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:He.gc("emptyViewStyle",{})},emptyViewSuperStyle:{type:Object,default:He.gc("emptyViewSuperStyle",{})},emptyViewImgStyle:{type:Object,default:He.gc("emptyViewImgStyle",{})},emptyViewTitleStyle:{type:Object,default:He.gc("emptyViewTitleStyle",{})},emptyViewReloadStyle:{type:Object,default:He.gc("emptyViewReloadStyle",{})},emptyViewFixed:{type:Boolean,default:He.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:He.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:He.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:He.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:He.gc("emptyViewZIndex",9)}},data:()=>({customerEmptyViewErrorText:""}),computed:{finalEmptyViewImg(){return this.isLoadFailed?this.emptyViewErrorImg:this.emptyViewImg},finalShowEmptyViewReload(){return this.isLoadFailed?this.showEmptyViewReloadWhenError:this.showEmptyViewReload},showEmpty(){return!(this.isOnly||this.hideEmptyView||this.realTotalData.length)&&(!this.autoHideEmptyViewWhenLoading||(!(!this.isAddedData||this.firstPageLoaded||this.loading)||!this.autoHideEmptyViewWhenPull&&!this.isUserReload))}},methods:{_emptyViewReload(){let e=!1;this.$emit("emptyViewReload",t=>{void 0!==t&&!0!==t||(this.fromEmptyViewReload=!0,this.reload().catch(()=>{})),e=!0}),this.$nextTick(()=>{e||(this.fromEmptyViewReload=!0,this.reload().catch(()=>{}))})},_emptyViewClick(){this.$emit("emptyViewClick")}}},st={props:{refresherThemeStyle:{type:String,default:He.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:He.gc("refresherImgStyle",{})},refresherTitleStyle:{type:Object,default:He.gc("refresherTitleStyle",{})},refresherUpdateTimeStyle:{type:Object,default:He.gc("refresherUpdateTimeStyle",{})},watchRefresherTouchmove:{type:Boolean,default:He.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:He.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:He.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:He.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:He.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:He.gc("refresherCompleteDuration",300)},refresherRefreshingScrollable:{type:Boolean,default:He.gc("refresherRefreshingScrollable",!0)},refresherCompleteScrollable:{type:Boolean,default:He.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:He.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:He.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:He.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:He.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:He.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:He.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:He.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:He.gc("refresherCompleteText",null)},refresherGoF2Text:{type:[String,Object],default:He.gc("refresherGoF2Text",null)},refresherDefaultImg:{type:String,default:He.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:He.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:He.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:He.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:He.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:He.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:He.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:He.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:He.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:He.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:He.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:He.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:He.gc("refresherOutRate",.65)},refresherF2Enabled:{type:Boolean,default:He.gc("refresherF2Enabled",!1)},refresherF2Threshold:{type:[Number,String],default:He.gc("refresherF2Threshold","200rpx")},refresherF2Duration:{type:[Number,String],default:He.gc("refresherF2Duration",200)},showRefresherF2:{type:Boolean,default:He.gc("showRefresherF2",!0)},refresherPullRate:{type:Number,default:He.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:He.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:He.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:He.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:He.gc("refresherNoTransform",!1)},useRefresherStatusBarPlaceholder:{type:Boolean,default:He.gc("useRefresherStatusBarPlaceholder",!1)}},data:()=>({R:We.Refresher,refresherStatus:We.Refresher.Default,refresherTouchstartY:0,lastRefresherTouchmove:null,refresherReachMaxAngle:!0,refresherTransform:"translateY(0px)",refresherTransition:"",finalRefresherDefaultStyle:"black",refresherRevealStackCount:0,refresherCompleteTimeout:null,refresherCompleteSubTimeout:null,refresherEndTimeout:null,isTouchmovingTimeout:null,refresherTriggered:!1,isTouchmoving:!1,isTouchEnded:!1,isUserPullDown:!1,privateRefresherEnabled:-1,privateShowRefresherWhenReload:!1,customRefresherHeight:-1,showCustomRefresher:!1,doRefreshAnimateAfter:!1,isRefresherInComplete:!1,showF2:!1,f2Transform:"",pullDownTimeStamp:0,moveDis:0,oldMoveDis:0,currentDis:0,oldCurrentMoveDis:0,oldRefresherTouchmoveY:0,oldTouchDirection:"",oldEmitedTouchDirection:"",oldPullingDistance:-1,refresherThresholdUpdateTag:0}),watch:{refresherDefaultStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},refresherStatus(e){e===We.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&(e===We.Refresher.ReleaseToRefresh||e===We.Refresher.GoF2)&&this._doVibrateShort(),this.$emit("refresherStatusChange",e),this.$emit("update:refresherStatus",e)},refresherEnabled(e){!e&&this.endRefresh()}},computed:{pullDownDisTimeStamp(){return 1e3/this.refresherFps},refresherThresholdUnitConverted(){return He.addUnit(this.refresherThreshold,this.unit)},finalRefresherEnabled(){return!this.layoutOnly&&!this.useChatRecordMode&&(-1===this.privateRefresherEnabled?this.refresherEnabled:1===this.privateRefresherEnabled)},finalRefresherThreshold(){let e=this.refresherThresholdUnitConverted,t=!1;return e===He.addUnit(80,this.unit)&&(t=!0,this.showRefresherUpdateTime&&(e=He.addUnit(120,this.unit))),t&&this.customRefresherHeight>0?this.customRefresherHeight+this.finalRefresherThresholdPlaceholder:He.convertToPx(e)+this.finalRefresherThresholdPlaceholder},finalRefresherF2Threshold(){return He.convertToPx(He.addUnit(this.refresherF2Threshold,this.unit))},finalRefresherThresholdPlaceholder(){return this.useRefresherStatusBarPlaceholder?this.statusBarHeight:0},finalRefresherFixedBacHeight(){return He.convertToPx(this.refresherFixedBacHeight)},finalRefresherThemeStyle(){return this.refresherThemeStyle.length?this.refresherThemeStyle:this.defaultThemeStyle},finalRefresherOutRate(){let e=this.refresherOutRate;return e=Math.max(0,e),e=Math.min(1,e),e},finalRefresherPullRate(){let e=this.refresherPullRate;return e=Math.max(0,e),e},finalRefresherTransform(){return this.refresherNoTransform||"translateY(0px)"===this.refresherTransform?"none":this.refresherTransform},finalShowRefresherWhenReload(){return this.showRefresherWhenReload||this.privateShowRefresherWhenReload},finalRefresherTriggered(){return!(!this.finalRefresherEnabled||this.useCustomRefresher)&&this.refresherTriggered},showRefresher(){const e=this.finalRefresherEnabled||this.useCustomRefresher&&!this.useChatRecordMode;return this.active&&-1===this.customRefresherHeight&&e&&this.updateCustomRefresherHeight(),e},hasTouchmove(){return this.watchRefresherTouchmove}},methods:{endRefresh(){this.totalData=this.realTotalData,this._refresherEnd(),this._endSystemLoadingAndRefresh(),this._handleScrollViewBounce({bounce:!0}),this.$nextTick(()=>{this.refresherTriggered=!1})},updateCustomRefresherHeight(){He.delay(()=>this.$nextTick(this._updateCustomRefresherHeight))},goF2(){this._handleGoF2()},closeF2(){this._handleCloseF2()},_onRefresh(e=!1,t=!0){(!e||this.finalRefresherEnabled&&!this.useCustomRefresher)&&(this.$emit("onRefresh"),this.$emit("Refresh"),this.loading||this.isRefresherInComplete||(this.loadingType=We.LoadingType.Refresher,this.nShowRefresherReveal||(this.isUserPullDown=t,this.isUserReload=!t,this._startLoading(!0),this.refresherTriggered=!0,this.reloadWhenRefresh&&t&&(this.useChatRecordMode?this._onLoadingMore("click"):this._reload(!1,!1,t)))))},_onRestore(){this.refresherTriggered="restore",this.$emit("onRestore"),this.$emit("Restore")},_handleRefresherTouchstart(e){!this.loading&&this.isTouchEnded&&(this.isTouchmoving=!1),this.loadingType=We.LoadingType.Refresher,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchEnded=!1,this.refresherTransition="",this.refresherTouchstartY=e.touchY,this.$emit("refresherTouchstart",this.refresherTouchstartY),this.lastRefresherTouchmove=e,this._cleanRefresherCompleteTimeout(),this._cleanRefresherEndTimeout()},_handleRefresherTouchmove(e,t){this.refresherReachMaxAngle=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchmoving=!0,this.isTouchEnded=!1,e>=this.finalRefresherThreshold?this.refresherStatus=this.refresherF2Enabled&&e>=this.finalRefresherF2Threshold?We.Refresher.GoF2:We.Refresher.ReleaseToRefresh:this.refresherStatus=We.Refresher.Default,this.moveDis=e},_handleRefresherTouchend(e){this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,this.isTouchEnded=!0;const t=this.finalRefresherThreshold;e>=t&&[We.Refresher.ReleaseToRefresh,We.Refresher.GoF2].indexOf(this.refresherStatus)>=0?this.refresherStatus===We.Refresher.GoF2?(this._handleGoF2(),this._refresherEnd()):(He.delay(()=>{this._emitTouchmove({pullingDistance:t,dy:this.moveDis-t})},.1),this.moveDis=t,this.refresherStatus=We.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=He.delay(()=>{this.isTouchmoving=!1},this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(I(),this.$emit("hidedKeyboard"))},_handleScrollViewBounce({bounce:e}){this.usePageScroll||this.scrollToTopBounceEnabled||(this.wxsScrollTop<=5?(this.refresherTransition="",this.scrollEnable=e):e&&(this.scrollEnable=e))},_handleWxsPullingDownStatusChange(e){this.wxsOnPullingDown=e,e&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown({moveDis:e,diffDis:t}){this._emitTouchmove({pullingDistance:e,dy:t})},_handleTouchDirectionChange({direction:e}){this.$emit("touchDirectionChange",e)},_handlePropUpdate(){this.wxsPropType=He.getTime().toString()},_refresherEnd(e=!0,t=!1,i=!1,o=!0){if(this.loadingType===We.LoadingType.Refresher){const e=t&&(i||this.showRefresherWhenReload)?this.refresherCompleteDelay:0,o=e>0?We.Refresher.Complete:We.Refresher.Default;if(this.finalShowRefresherWhenReload){const e=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,e>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=He.delay(()=>{this.refresherStatus=o,o!==We.Refresher.Complete&&(this.isRefresherInComplete=!1)},this.refresherStatus!==We.Refresher.Default&&o===We.Refresher.Default?this.refresherCompleteDuration:0),e>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=He.delay(()=>{let e=1;const i=this.refresherEndBounceEnabled&&t?"cubic-bezier(0.19,1.64,0.42,0.72)":"linear";t&&(e=this.refresherEndBounceEnabled?this.refresherCompleteDuration/1e3:this.refresherCompleteDuration/3e3),this.refresherTransition=`transform ${t?e:this.refresherDefaultDuration/1e3}s ${i}`,this.wxsPropType=this.refresherTransition+"end"+He.getTime(),this.moveDis=0,o===We.Refresher.Complete&&(this.refresherCompleteSubTimeout&&(clearTimeout(this.refresherCompleteSubTimeout),this.refresherCompleteSubTimeout=null),this.refresherCompleteSubTimeout=He.delay(()=>{this.$nextTick(()=>{this.refresherStatus=We.Refresher.Default,this.isRefresherInComplete=!1})},800*e)),this._emitTouchmove({pullingDistance:0,dy:this.moveDis})},e)}o&&(He.delay(()=>this.loading=!1,e?10:0),i&&this._onRestore())},_handleGoF2(){!this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","go"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,this.showF2=!0,He.delay(()=>{this.f2Transform="translateY(0px)"},100,"f2ShowDelay")))},_handleCloseF2(){this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","close"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,He.delay(()=>{this.showF2=!1,this.nF2Opacity=0},this.refresherF2Duration,"f2CloseDelay")))},_doRefresherRefreshAnimate(){this._cleanRefresherCompleteTimeout();!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&this.refresherThreshold===He.addUnit(80,this.unit)?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+He.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=We.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad(e=!0){this._onRefresh(!1,e),this.loading=!0},_updateCustomRefresherHeight(){this._getNodeClientRect(".zp-custom-refresher-slot-view").then(e=>{this.customRefresherHeight=e?e[0].height:0,this.showCustomRefresher=this.customRefresherHeight>0,this.doRefreshAnimateAfter&&(this.doRefreshAnimateAfter=!1,this._doRefresherRefreshAnimate())})},_emitTouchmove(e){e.viewHeight=this.finalRefresherThreshold,e.rate=e.viewHeight>0?e.pullingDistance/e.viewHeight:0,this.hasTouchmove&&this.oldPullingDistance!==e.pullingDistance&&this.$emit("refresherTouchmove",e),this.oldPullingDistance=e.pullingDistance},_cleanRefresherCompleteTimeout(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}},lt={props:{loadingMoreCustomStyle:{type:Object,default:He.gc("loadingMoreCustomStyle",{})},loadingMoreTitleCustomStyle:{type:Object,default:He.gc("loadingMoreTitleCustomStyle",{})},loadingMoreLoadingIconCustomStyle:{type:Object,default:He.gc("loadingMoreLoadingIconCustomStyle",{})},loadingMoreLoadingIconType:{type:String,default:He.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:He.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:He.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:He.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:He.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:Boolean,default:He.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:He.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:He.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:He.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:He.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:He.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:He.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:He.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:He.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:He.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:He.gc("loadingMoreNoMoreLineCustomStyle",{})},insideMore:{type:Boolean,default:He.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:He.gc("lowerThreshold","100rpx")}},data:()=>({M:We.More,loadingStatus:We.More.Default,loadingStatusAfterRender:We.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}),computed:{zLoadMoreConfig(){return{status:this.loadingStatusAfterRender,defaultAsLoading:this.loadingMoreDefaultAsLoading||this.useChatRecordMode&&this.chatLoadingMoreDefaultAsLoading,defaultThemeStyle:this.finalLoadingMoreThemeStyle,customStyle:this.loadingMoreCustomStyle,titleCustomStyle:this.loadingMoreTitleCustomStyle,iconCustomStyle:this.loadingMoreLoadingIconCustomStyle,loadingIconType:this.loadingMoreLoadingIconType,loadingIconCustomImage:this.loadingMoreLoadingIconCustomImage,loadingAnimated:this.loadingMoreLoadingAnimated,showNoMoreLine:this.showLoadingMoreNoMoreLine,noMoreLineCustomStyle:this.loadingMoreNoMoreLineCustomStyle,defaultText:this.finalLoadingMoreDefaultText,loadingText:this.finalLoadingMoreLoadingText,noMoreText:this.finalLoadingMoreNoMoreText,failText:this.finalLoadingMoreFailText,hideContent:!this.loadingMoreDefaultAsLoading&&this.listRendering,unit:this.unit,isChat:this.useChatRecordMode,chatDefaultAsLoading:this.chatLoadingMoreDefaultAsLoading}},finalLoadingMoreThemeStyle(){return this.loadingMoreThemeStyle.length?this.loadingMoreThemeStyle:this.defaultThemeStyle},finalLowerThreshold(){return He.convertToPx(this.lowerThreshold)},showLoadingMoreDefault(){return this._showLoadingMore("Default")},showLoadingMoreLoading(){return this._showLoadingMore("Loading")},showLoadingMoreNoMore(){return this._showLoadingMore("NoMore")},showLoadingMoreFail(){return this._showLoadingMore("Fail")},showLoadingMoreCustom(){return this._showLoadingMore("Custom")},loadingMoreFixedHeight(){return He.addUnit("80rpx",this.unit)}},methods:{pageReachBottom(){!this.useChatRecordMode&&this.toBottomLoadingMoreEnabled&&this._onLoadingMore("toBottom")},doLoadMore(e){this._onLoadingMore(e)},_checkScrolledToBottom(e,t=!1){-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then(t=>{if(t){const i=t[0].height;this.cacheScrollNodeHeight=i,e-i<=this.finalLowerThreshold&&this._onLoadingMore("toBottom")}}):(e-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):e-this.cacheScrollNodeHeight<=500&&!t&&He.delay(()=>{this._getNodeClientRect(".zp-scroll-view",!0,!0).then(e=>{if(e){this.oldScrollTop=e[0].scrollTop;const t=e[0].scrollHeight-this.oldScrollTop;this._checkScrolledToBottom(t,!0)}})},150,"checkScrolledToBottomDelay"),this.oldScrollTop<=150&&0!==this.oldScrollTop&&He.delay(()=>{0!==this.oldScrollTop&&this._getNodeClientRect(".zp-scroll-view",!0,!0).then(e=>{e&&0===e[0].scrollTop&&0!==this.oldScrollTop&&this._onScrollToUpper()})},150,"checkScrolledToTopDelay"))},_onLoadingMore(e="click"){this.isIos&&"toBottom"===e&&!this.scrollToBottomBounceEnabled&&this.scrollEnable&&(this.scrollEnable=!1,this.$nextTick(()=>{this.scrollEnable=!0})),this._emitScrollEvent("scrolltolower"),this.isOnly||!this.loadingMoreEnabled||this.loadingStatus!==We.More.Default&&this.loadingStatus!==We.More.Fail||this.loading||this.showEmpty||this._doLoadingMore()},_doLoadingMore(){this.pageNo>=this.defaultPageNo&&this.loadingStatus!==We.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,e=>{this.completeByTotal(e,this.totalLocalPagingList.length),this.queryFrom=We.QueryFrom.LoadMore}):(this._emitQuery(this.pageNo,this.defaultPageSize,We.QueryFrom.LoadMore),this._callMyParentQuery()),this.loadingType=We.LoadingType.LoadMore)},_preCheckShowNoMoreInside(e,t,i){this.loadingStatus===We.More.NoMore&&this.hideNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideNoMoreByLimit:this.loadingStatus===We.More.NoMore&&this.hideNoMoreInside&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick(()=>{this._checkShowNoMoreInside(e,t,i)}),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},async _checkShowNoMoreInside(e,t,i){try{const e=t||await this._getNodeClientRect(".zp-scroll-view");if(this.usePageScroll){if(e){const t=e[0].top+e[0].height;this.insideOfPaging=t<this.windowHeight,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}else{const t=i||await this._getNodeClientRect(".zp-paging-container-content"),o=t?t[0].height:0,a=e?e[0].height:0;this.insideOfPaging=o<a,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}}catch(o){this.insideOfPaging=!e.length,this.hideNoMoreInside&&(this.showLoadingMore=!this.insideOfPaging),this._updateInsideOfPaging()}},_showLoadingMore(e){if(!this.showLoadingMoreWhenReload&&(this.loadingStatus===We.More.Default&&!this.nShowBottom||!this.realTotalData.length))return!1;if((!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==We.More.Loading)&&!this.showLoadingMore||!this.loadingMoreEnabled&&(!this.showLoadingMoreWhenReload||this.isUserPullDown||this.loadingStatus!==We.More.Loading)||this.isOnly)return!1;if(this.useChatRecordMode&&"Loading"!==e)return!1;if(!this.zSlots)return!1;if("Custom"===e)return this.showDefaultLoadingMoreText&&!(this.loadingStatus===We.More.NoMore&&!this.showLoadingMoreNoMoreView);return this.loadingStatus===We.More[e]&&this.zSlots[`loadingMore${e}`]&&("NoMore"!==e||this.showLoadingMoreNoMoreView)}}},rt={props:{autoHideLoadingAfterFirstLoaded:{type:Boolean,default:He.gc("autoHideLoadingAfterFirstLoaded",!0)},loadingFullFixed:{type:Boolean,default:He.gc("loadingFullFixed",!1)},autoShowSystemLoading:{type:Boolean,default:He.gc("autoShowSystemLoading",!1)},systemLoadingMask:{type:Boolean,default:He.gc("systemLoadingMask",!0)},systemLoadingText:{type:[String,Object],default:He.gc("systemLoadingText",null)}},data:()=>({loading:!1,loadingForNow:!1}),watch:{loadingStatus(e){this.$emit("loadingStatusChange",e),this.$nextTick(()=>{this.loadingStatusAfterRender=e}),!this.useChatRecordMode||!this.isFirstPage||e!==We.More.NoMore&&e!==We.More.Fail?this.isFirstPageAndNoMore=!1:this.isFirstPageAndNoMore=!0},loading(e){e&&(this.loadingForNow=e)}},computed:{showLoading(){return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(this.finalShowSystemLoading&&b({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===We.LoadingType.Refresher)},finalShowSystemLoading(){return this.autoShowSystemLoading&&this.loadingType===We.LoadingType.Refresher}},methods:{_startLoading(e=!1){(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=We.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh(){this.finalShowSystemLoading&&A(),!this.useCustomRefresher&&v()}}},nt={props:{useChatRecordMode:{type:Boolean,default:He.gc("useChatRecordMode",!1)},chatRecordMoreOffset:{type:[Number,String],default:He.gc("chatRecordMoreOffset","0rpx")},autoHideKeyboardWhenChat:{type:Boolean,default:He.gc("autoHideKeyboardWhenChat",!0)},autoAdjustPositionWhenChat:{type:Boolean,default:He.gc("autoAdjustPositionWhenChat",!0)},chatAdjustPositionOffset:{type:[Number,String],default:He.gc("chatAdjustPositionOffset","0rpx")},autoToBottomWhenChat:{type:Boolean,default:He.gc("autoToBottomWhenChat",!1)},showChatLoadingWhenReload:{type:Boolean,default:He.gc("showChatLoadingWhenReload",!1)},chatLoadingMoreDefaultAsLoading:{type:Boolean,default:He.gc("chatLoadingMoreDefaultAsLoading",!0)}},data:()=>({keyboardHeight:0,isKeyboardHeightChanged:!1}),computed:{finalChatRecordMoreOffset(){return He.convertToPx(this.chatRecordMoreOffset)},finalChatAdjustPositionOffset(){return He.convertToPx(this.chatAdjustPositionOffset)},chatRecordRotateStyle(){let e;return e=this.useChatRecordMode?{transform:"scaleY(-1)"}:{},this.$emit("update:cellStyle",e),this.$emit("cellStyleChange",e),this.$nextTick(()=>{this.isFirstPage&&this.isChatRecordModeAndNotInversion&&this.$nextTick(()=>{this._scrollToBottom(!1),He.delay(()=>{this._scrollToBottom(!1),He.delay(()=>{this._scrollToBottom(!1)},50)},50)})}),e},isChatRecordModeHasTransform(){return this.useChatRecordMode&&this.chatRecordRotateStyle&&this.chatRecordRotateStyle.transform},isChatRecordModeAndNotInversion(){return this.isChatRecordModeHasTransform&&"scaleY(1)"===this.chatRecordRotateStyle.transform},isChatRecordModeAndInversion(){return this.isChatRecordModeHasTransform&&"scaleY(-1)"===this.chatRecordRotateStyle.transform},chatRecordModeSafeAreaBottom(){return this.safeAreaInsetBottom&&!this.keyboardHeight?this.safeAreaBottom:0}},mounted(){this.addKeyboardHeightChangeListener()},methods:{addChatRecordData(e,t=!0,i=!0){this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.addDataFromTop(e,t,i))},doChatRecordLoadMore(){this.useChatRecordMode&&this._onLoadingMore("click")},addKeyboardHeightChangeListener(){},_handleKeyboardHeightChange(e){this.$emit("keyboardHeightChange",e),this.autoAdjustPositionWhenChat&&(this.isKeyboardHeightChanged=!0,this.keyboardHeight=e.height>0?e.height+this.finalChatAdjustPositionOffset:e.height),this.autoToBottomWhenChat&&this.keyboardHeight>0&&He.delay(()=>{this.scrollToBottom(!1),He.delay(()=>{this.scrollToBottom(!1)})})}}},ht={props:{usePageScroll:{type:Boolean,default:He.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:He.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:He.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:He.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:He.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:He.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:He.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:He.gc("scrollIntoView","")}},data:()=>({scrollTop:0,oldScrollTop:0,scrollLeft:0,oldScrollLeft:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1,superContentHeight:0,lastScrollHeight:0,lastScrollDirection:"",setContentHeightPending:!1}),watch:{oldScrollTop(e){!this.usePageScroll&&this._scrollTopChange(e,!1)},pageScrollTop(e){this.usePageScroll&&this._scrollTopChange(e,!0)},usePageScroll:{handler(e){this.loaded&&this.autoHeight&&this._setAutoHeight(!e),e&&this.$nextTick(()=>{const e=this.$refs["zp-scroll-view"].$refs.main;e&&(e.style={})})},immediate:!0},finalScrollTop(e){this.renderPropScrollTop=e<6?0:10}},computed:{finalScrollWithAnimation(){return-1!==this.privateScrollWithAnimation?1===this.privateScrollWithAnimation:this.scrollWithAnimation},finalScrollViewStyle(){return 1!=this.superContentZIndex&&(this.scrollViewStyle["z-index"]=this.superContentZIndex,this.scrollViewStyle.position="relative"),this.scrollViewStyle},finalScrollTop(){return this.usePageScroll?this.pageScrollTop:this.oldScrollTop},finalIsOldWebView(){return this.isOldWebView&&!this.usePageScroll},finalScrollable(){return this.scrollable&&!this.usePageScroll&&this.scrollEnable&&(!!this.refresherCompleteScrollable||this.refresherStatus!==We.Refresher.Complete)&&(!!this.refresherRefreshingScrollable||this.refresherStatus!==We.Refresher.Loading)}},methods:{scrollToTop(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToBottom(e,!1):this.$nextTick(()=>{this._scrollToTop(e,!1)})},scrollToBottom(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToTop(e,!1):this.$nextTick(()=>{this._scrollToBottom(e)})},scrollIntoViewById(e,t,i){this._scrollIntoView(e,t,i)},scrollIntoViewByNodeTop(e,t,i){this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._scrollIntoViewByNodeTop(e,t,i)})},scrollToY(e,t,i){this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._scrollToY(e,t,i)})},scrollToX(e,t,i){this.scrollLeft=this.oldScrollLeft,this.$nextTick(()=>{this._scrollToX(e,t,i)})},scrollIntoViewByIndex(e,t,i){e>=this.realTotalData.length?He.consoleErr("当前滚动的index超出已渲染列表长度,请先通过refreshToPage加载到对应index页并等待渲染成功后再调用此方法!"):this.$nextTick(()=>{if(this.finalUseVirtualList){const o=this.cellHeightMode===We.CellHeightMode.Fixed;He.delay(()=>{if(this.finalUseVirtualList){const a=o?this.virtualCellHeight*e:this.virtualHeightCacheList[e].lastTotalHeight;this.scrollToY(a,t,i)}},o?0:100)}})},scrollIntoViewByView(e,t,i){this._scrollIntoView(e,t,i)},updatePageScrollTop(e){this.pageScrollTop=e},updatePageScrollTopHeight(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth(){this.finalIsOldWebView&&this.$nextTick(()=>this._updateLeftAndRightWidth(this.scrollViewContainerStyle,"zp-page"))},updateScrollViewScrollTop(e,t=!0){this._updatePrivateScrollWithAnimation(t),this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=e,this.oldScrollTop=this.scrollTop})},_onScrollToUpper(){this._emitScrollEvent("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick(()=>{this.oldScrollTop=0})},_onScrollToLower(e){(!e.detail||!e.detail.direction||"bottom"===e.detail.direction)&&this.toBottomLoadingMoreEnabled&&this._onLoadingMore(this.useChatRecordMode?"click":"toBottom")},_scrollToTop(e=!0,t=!0){this.usePageScroll?this.$nextTick(()=>{L({scrollTop:0,duration:e?100:0})}):(this._updatePrivateScrollWithAnimation(e),this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=0,this.oldScrollTop=this.scrollTop}))},async _scrollToBottom(e=!0){if(this.usePageScroll)this.$nextTick(()=>{L({scrollTop:Number.MAX_VALUE,duration:e?100:0})});else try{this._updatePrivateScrollWithAnimation(e);const t=await this._getNodeClientRect(".zp-paging-container"),i=await this._getNodeClientRect(".zp-scroll-view"),o=t?t[0].height:0,a=i?i[0].height:0;o>a&&(this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=o-a+this.virtualPlaceholderTopHeight,this.oldScrollTop=this.scrollTop}))}catch(t){}},_scrollIntoView(e,t=0,i=!1,o){try{this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._getNodeClientRect("#"+e.replace("#",""),!1).then(a=>{a?this._getNodeClientRect(".zp-scroll-view-container").then(e=>{e&&(this._scrollIntoViewByNodeTop(a[0].top-e[0].top,t,i),o&&o())}):He.consoleErr(`无法获取${e}的节点信息,请检查!`)})})}catch(a){}},_scrollIntoViewByNodeTop(e,t=0,i=!1){this.isChatRecordModeAndInversion?this._getNodeClientRect(".zp-scroll-view").then(o=>{o&&this._scrollToY(o[0].height-e,t,i,!0)}):this._scrollToY(e,t,i,!0)},_scrollToY(e,t=0,i=!1,o=!1){this._updatePrivateScrollWithAnimation(i),He.delay(()=>{if(this.usePageScroll){o&&-1!==this.pageScrollTop&&(e+=this.pageScrollTop);L({scrollTop:e-t,duration:i?100:0})}else o&&(e+=this.oldScrollTop),this.scrollTop=e-t},10)},_scrollToX(e,t=0,i=!1){this._updatePrivateScrollWithAnimation(i),He.delay(()=>{this.usePageScroll?He.consoleErr("使用页面滚动时不支持scrollToX"):this.scrollLeft=e-t},10)},_scroll(e){this.$emit("scroll",e);const{scrollTop:t,scrollLeft:i,scrollHeight:o}=e.detail;if(this.watchScrollDirectionChange){let e=this.oldScrollTop>t?"top":"bottom";(t<=0||!this.scrollEnable)&&(e="top"),t>this.lastScrollHeight-this.scrollViewHeight-1&&this.scrollEnable&&(e="bottom"),e!==this.lastScrollDirection&&(this.$emit("scrollDirectionChange",e),this.lastScrollDirection=e),this.lastScrollHeight===o||this.setContentHeightPending||(this.setContentHeightPending=!0,He.delay(()=>{this.lastScrollHeight=o,this.setContentHeightPending=!1}))}this.finalUseVirtualList&&this._updateVirtualScroll(t,this.oldScrollTop-t),this.oldScrollTop=t,this.oldScrollLeft=i;const a=e.detail.scrollHeight-this.oldScrollTop;!this.isIos&&this._checkScrolledToBottom(a)},_emitScrollEvent(e){const t="scrolltolower"===e?"scrolltoupper":"scrolltolower",i=this.useChatRecordMode&&!this.isChatRecordModeAndNotInversion?t:e;this.$emit(i)},_updatePrivateScrollWithAnimation(e){this.privateScrollWithAnimation=e?1:0,He.delay(()=>this.$nextTick(()=>{this.privateScrollWithAnimation=-1}),100,"updateScrollWithAnimationDelay")},_doCheckScrollViewShouldFullHeight(e){this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick(()=>{this._checkScrollViewShouldFullHeight((t,i)=>{this._preCheckShowNoMoreInside(e,t,i)})}):this._preCheckShowNoMoreInside(e)},async _checkScrollViewShouldFullHeight(e){try{const t=await this._getNodeClientRect(".zp-scroll-view"),i=await this._getNodeClientRect(".zp-paging-container-content");if(!t||!i)return;const o=i[0].height,a=t[0].top;this.isAddedData&&o+a<=this.windowHeight?(this._setAutoHeight(!0,t),e(t,i)):(this._setAutoHeight(!1),e(null,null))}catch(t){e(null,null)}},async _updateCachedSuperContentHeight(){const e=await this._getNodeClientRect(".z-paging-content");e&&(this.superContentHeight=e[0].height)},_scrollTopChange(e,t){this.$emit("scrollTopChange",e),this.$emit("update:scrollTop",e),this._checkShouldShowBackToTop(e);const i=e>5?6:0;t&&this.wxsPageScrollTop!==i?this.wxsPageScrollTop=i:t||this.wxsScrollTop===i||(this.wxsScrollTop=i,i>6&&(this.scrollEnable=!0))},_updatePageScrollTopOrBottomHeight(e){if(!this.usePageScroll)return;this._doCheckScrollViewShouldFullHeight(this.realTotalData);const t=`.zp-page-${e}`,i=`margin${e.slice(0,1).toUpperCase()+e.slice(1)}`,o=this.safeAreaInsetBottom&&!this.zSlots.bottom&&!this.useSafeAreaPlaceholder;this.$nextTick(()=>{He.delay(()=>{this._getNodeClientRect(t).then(t=>{if(t){let a=t[0].height;"bottom"===e?o&&(a+=this.safeAreaBottom):this.cacheTopHeight=a,this.$set(this.scrollViewStyle,i,`${a}px`)}else o&&this.$set(this.scrollViewStyle,i,`${this.safeAreaBottom}px`)})},0)})}}},dt={props:{autoShowBackToTop:{type:Boolean,default:He.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:He.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:He.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:He.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:He.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:He.gc("backToTopStyle",{})},enableBackToTop:{type:Boolean,default:He.gc("enableBackToTop",!0)}},data:()=>({backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}),computed:{backToTopThresholdUnitConverted(){return He.addUnit(this.backToTopThreshold,this.unit)},backToTopBottomUnitConverted(){return He.addUnit(this.backToTopBottom,this.unit)},finalEnableBackToTop(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold(){return He.convertToPx(this.backToTopThresholdUnitConverted)},finalBackToTopStyle(){const e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+He.convertToPx(this.backToTopBottomUnitConverted)+"px"),e.position||(e.position=this.usePageScroll?"fixed":"absolute"),e},finalBackToTopClass(){return`${this.backToTopClass} zp-back-to-top-${this.unit}`}},methods:{_backToTopClick(){let e=!1;this.$emit("backToTopClick",t=>{(void 0===t||!0===t)&&this._handleToTop(),e=!0}),this.$nextTick(()=>{!e&&this._handleToTop()})},_handleToTop(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(0),this.useChatRecordMode?this.scrollToBottom(this.backToTopWithAnimate):this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop(e){this.autoShowBackToTop?e>this.finalBackToTopThreshold?this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),He.delay(()=>{this.backToTopClass="zp-back-to-top zp-back-to-top-show"},300)):this.showBackToTopClass&&(this.backToTopClass="zp-back-to-top zp-back-to-top-hide",He.delay(()=>{this.showBackToTopClass=!1},(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}},ct={props:{useVirtualList:{type:Boolean,default:He.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:He.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:He.gc("extraData",{})},useInnerList:{type:Boolean,default:He.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:He.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:He.gc("cellKeyName","")},innerListStyle:{type:Object,default:He.gc("innerListStyle",{})},innerCellStyle:{type:Object,default:He.gc("innerCellStyle",{})},preloadPage:{type:[Number,String],default:He.gc("preloadPage",12),validator:e=>(e<=0&&He.consoleErr("preload-page必须大于0!"),e>0)},cellHeightMode:{type:String,default:He.gc("cellHeightMode",We.CellHeightMode.Fixed)},fixedCellHeight:{type:[Number,String],default:He.gc("fixedCellHeight",0)},virtualListCol:{type:[Number,String],default:He.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:He.gc("virtualScrollFps",80)},virtualCellIdPrefix:{type:String,default:He.gc("virtualCellIdPrefix","")},virtualInSwiperSlot:{type:Boolean,default:!1}},data:()=>({virtualListKey:He.getInstanceId(),virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualItemInsertedCount:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},updateVirtualListFromDataChange:!1}),watch:{realTotalData(){this.updateVirtualListRender()},virtualList(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)},virtualPlaceholderTopHeight(e){this.$emit("virtualTopHeightChange",e)}},computed:{virtualCellIndexKey:()=>Ae,finalUseVirtualList(){return this.useVirtualList&&this.usePageScroll&&He.consoleErr("使用页面滚动时,开启虚拟列表无效!"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName(){return this.cellKeyName},finalVirtualPageHeight(){return this.scrollViewHeight>0?this.scrollViewHeight:this.windowHeight},finalFixedCellHeight(){return He.convertToPx(this.fixedCellHeight)},fianlVirtualCellIdPrefix(){return(this.virtualCellIdPrefix?this.virtualCellIdPrefix+"-":"")+"zp-id"},finalPlaceholderTopHeightStyle:()=>({}),virtualRangePageHeight(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem(e,t){if(this.cellHeightMode!==We.CellHeightMode.Dynamic)return;this.realTotalData.splice(t,0,e),this.realTotalData=[...this.realTotalData],this.virtualItemInsertedCount++,e&&"[object Object]"===Object.prototype.toString.call(e)||(e={item:e});const i=this.virtualCellIndexKey;e[i]=`custom-${this.virtualItemInsertedCount}`,e[ve]=`${this.virtualListKey}-${e[i]}`,this.$nextTick(async()=>{let o=0;for(;o<=10;){await He.wait(xe);const a=await this._getVirtualCellNodeByIndex(e[i]);if(!a){o++;continue}const s=a?a[0].height:0,l=this.virtualHeightCacheList[t-1],r=l?l.totalHeight:0;this.virtualHeightCacheList.splice(t,0,{height:s,lastTotalHeight:r,totalHeight:r+s});for(let e=t+1;e<this.virtualHeightCacheList.length;e++){const t=this.virtualHeightCacheList[e];t.lastTotalHeight+=s,t.totalHeight+=s}this._updateVirtualScroll(this.oldScrollTop);break}})},didUpdateVirtualListCell(e){if(this.cellHeightMode!==We.CellHeightMode.Dynamic)return;const t=this.virtualHeightCacheList[e];this.$nextTick(()=>{this._getVirtualCellNodeByIndex(e).then(i=>{const o=i?i[0].height:0,a=o-t.height;t.height=o,t.totalHeight=t.lastTotalHeight+o;for(let t=e+1;t<this.virtualHeightCacheList.length;t++){const e=this.virtualHeightCacheList[t];e.totalHeight+=a,e.lastTotalHeight+=a}})})},didDeleteVirtualListCell(e){if(this.cellHeightMode!==We.CellHeightMode.Dynamic)return;const t=this.virtualHeightCacheList[e];for(let i=e+1;i<this.virtualHeightCacheList.length;i++){const e=this.virtualHeightCacheList[i];e.totalHeight-=t.height,e.lastTotalHeight-=t.height}this.virtualHeightCacheList.splice(e,1)},updateVirtualListRender(){this.finalUseVirtualList&&(this.updateVirtualListFromDataChange=!0,this.$nextTick(()=>{this.getCellHeightRetryCount.fixed=0,this.realTotalData.length?this.cellHeightMode===We.CellHeightMode.Fixed&&this.isFirstPage&&this._updateFixedCellHeight():this._resetDynamicListState(!this.isUserPullDown),this._updateVirtualScroll(this.oldScrollTop)}))},_updateFixedCellHeight(){this.finalFixedCellHeight?this.virtualCellHeight=this.finalFixedCellHeight:this.$nextTick(()=>{He.delay(()=>{this._getVirtualCellNodeByIndex(0).then(e=>{if(e)this.virtualCellHeight=e[0].height,this._updateVirtualScroll(this.oldScrollTop);else{if(this.getCellHeightRetryCount.fixed>10)return;this.getCellHeightRetryCount.fixed++,this._updateFixedCellHeight()}})},xe,"updateFixedCellHeightDelay")})},_updateDynamicCellHeight(e,t="bottom"){const i="top"===t,o=this.virtualHeightCacheList,a=i?[]:o;let s=0;this.$nextTick(()=>{He.delay(async()=>{for(let l=0;l<e.length;l++){const r=await this._getVirtualCellNodeByIndex(e[l][this.virtualCellIndexKey]),n=r?r[0].height:0;if(!r)return void(this.getCellHeightRetryCount.dynamic<=10&&(o.splice(o.length-l,l),this.getCellHeightRetryCount.dynamic++,this._updateDynamicCellHeight(e,t)));const h=a.length?a.slice(-1)[0]:null,d=h?h.totalHeight:0;a.push({height:n,lastTotalHeight:d,totalHeight:d+n}),i&&(s+=n)}if(i&&e.length){for(let e=0;e<o.length;e++){const t=o[e];t.lastTotalHeight+=s,t.totalHeight+=s}this.virtualHeightCacheList=a.concat(o)}this._updateVirtualScroll(this.oldScrollTop)},xe,"updateDynamicCellHeightDelay")})},_setCellIndex(e,t="bottom"){let i=0;const o=this.virtualCellIndexKey;if("bottom"===t&&[We.QueryFrom.Refresh,We.QueryFrom.Reload].indexOf(this.queryFrom)>=0&&this._resetDynamicListState(),this.totalData.length&&this.queryFrom!==We.QueryFrom.Refresh){if("bottom"===t){i=this.realTotalData.length;const e=this.realTotalData.length?this.realTotalData.slice(-1)[0]:null;e&&void 0!==e[o]&&(i=e[o]+1)}else if("top"===t){const t=this.realTotalData.length?this.realTotalData[0]:null;t&&void 0!==t[o]&&(i=t[o]-e.length)}}else this._resetDynamicListState();for(let a=0;a<e.length;a++){let t=e[a];t&&"[object Object]"===Object.prototype.toString.call(t)||(t={item:t}),t[ve]&&(t=He.deepCopy(t)),t[o]=i+a,t[ve]=`${this.virtualListKey}-${t[o]}`,e[a]=t}this.getCellHeightRetryCount.dynamic=0,this.cellHeightMode===We.CellHeightMode.Dynamic&&this._updateDynamicCellHeight(e,t)},_updateVirtualScroll(e,t=0){const i=He.getTime();if(0===e&&this._resetTopRange(),0!==e&&this.virtualScrollTimeStamp&&i-this.virtualScrollTimeStamp<=this.virtualScrollDisTimeStamp)return;this.virtualScrollTimeStamp=i;let o=0;const a=this.cellHeightMode;if(a===We.CellHeightMode.Fixed)o=parseInt(e/this.virtualCellHeight)||0,this._updateFixedTopRangeIndex(o),this._updateFixedBottomRangeIndex(o);else if(a===We.CellHeightMode.Dynamic){const i=t>0?"top":"bottom",o=this.virtualRangePageHeight,a=e-o,s=e+this.finalVirtualPageHeight+o;let l=0,r=0,n=!1;const h=this.virtualHeightCacheList,d=h?h.slice(-1)[0]:null;let c=this.virtualTopRangeIndex;if("bottom"===i)for(let e=c;e<h.length;e++){const t=h[e];if(t&&t.totalHeight>a){this.virtualTopRangeIndex=e,this.virtualPlaceholderTopHeight=t.lastTotalHeight;break}}else{let e=!1;for(let t=c;t>=0;t--){const i=h[t];if(i&&i.totalHeight<a){this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=i.lastTotalHeight,e=!0;break}}!e&&this._resetTopRange()}for(let e=this.virtualTopRangeIndex;e<h.length;e++){const t=h[e];if(t&&t.totalHeight>s){l=e,r=d.totalHeight-t.totalHeight,n=!0;break}}n&&0!==this.virtualBottomRangeIndex?(this.virtualBottomRangeIndex=l,this.virtualPlaceholderBottomHeight=r):(this.virtualBottomRangeIndex=this.realTotalData.length?this.realTotalData.length-1:this.pageSize,this.virtualPlaceholderBottomHeight=0),this._updateVirtualList()}},_updateFixedTopRangeIndex(e){let t=0===this.virtualCellHeight?0:e-(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*this.preloadPage;t*=this.virtualListCol,t=Math.max(0,t),this.virtualTopRangeIndex=t,this.virtualPlaceholderTopHeight=t/this.virtualListCol*this.virtualCellHeight},_updateFixedBottomRangeIndex(e){let t=0===this.virtualCellHeight?this.pageSize:e+(parseInt(this.finalVirtualPageHeight/this.virtualCellHeight)||1)*(this.preloadPage+1);t*=this.virtualListCol,t=Math.min(this.realTotalData.length,t),this.virtualBottomRangeIndex=t,this.virtualPlaceholderBottomHeight=(this.realTotalData.length-t)*this.virtualCellHeight/this.virtualListCol,this._updateVirtualList()},_updateVirtualList(){(this.updateVirtualListFromDataChange||this.lastVirtualTopRangeIndex!==this.virtualTopRangeIndex||this.lastVirtualBottomRangeIndex!==this.virtualBottomRangeIndex)&&(this.updateVirtualListFromDataChange=!1,this.lastVirtualTopRangeIndex=this.virtualTopRangeIndex,this.lastVirtualBottomRangeIndex=this.virtualBottomRangeIndex,this.virtualList=this.realTotalData.slice(this.virtualTopRangeIndex,this.virtualBottomRangeIndex+1))},_resetDynamicListState(e=!1){this.virtualHeightCacheList=[],e&&(this.virtualList=[]),this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0},_resetTopRange(){this.virtualTopRangeIndex=0,this.virtualPlaceholderTopHeight=0,this._updateVirtualList()},_checkVirtualListScroll(){this.finalUseVirtualList&&this.$nextTick(()=>{this._getNodeClientRect(".zp-paging-touch-view").then(e=>{const t=e?e[0].top:0;(!e||t===this.pagingOrgTop&&0!==this.virtualPlaceholderTopHeight)&&this._updateVirtualScroll(0)})})},_getVirtualCellNodeByIndex(e){let t=this.finalUseInnerList;return this._getNodeClientRect(`#${this.fianlVirtualCellIdPrefix}-${e}`,t)},_innerCellClick(e,t){this.$emit("innerCellClick",e,t)}}},ut=He.getSystemInfoSync(),gt={name:"z-paging",components:{zPagingRefresh:Ze,zPagingLoadMore:Oe,zPagingEmptyView:Re},mixins:[_e,$e,it,ot,at,st,lt,rt,nt,ht,dt,ct],data:()=>({base64BackToTop:we,loadingType:We.LoadingType.Refresher,requestTimeStamp:0,wxsPropType:"",renderPropScrollTop:-1,checkScrolledToBottomTimeOut:null,cacheTopHeight:-1,statusBarHeight:ut.statusBarHeight,scrollViewHeight:0,pagingOrgTop:-1,insideOfPaging:-1,isLoadFailed:!1,isIos:"ios"===ut.platform,disabledBounce:!1,fromCompleteEmit:!1,disabledCompleteEmit:!1,pageLaunched:!1,active:!1,wxsIsScrollTopInTopRange:!0,wxsScrollTop:0,wxsPageScrollTop:0,wxsOnPullingDown:!1}),props:{delay:{type:[Number,String],default:He.gc("delay",0)},minDelay:{type:[Number,String],default:He.gc("minDelay",0)},pagingStyle:{type:Object,default:He.gc("pagingStyle",{})},pagingClass:{type:[String,Array,Object],default:He.gc("pagingClass","")},height:{type:String,default:He.gc("height","")},width:{type:String,default:He.gc("width","")},maxWidth:{type:String,default:He.gc("maxWidth","")},bgColor:{type:String,default:He.gc("bgColor","")},pagingContentStyle:{type:Object,default:He.gc("pagingContentStyle",{})},autoHeight:{type:Boolean,default:He.gc("autoHeight",!1)},autoHeightAddition:{type:[Number,String],default:He.gc("autoHeightAddition","0px")},defaultThemeStyle:{type:String,default:He.gc("defaultThemeStyle","black")},fixed:{type:Boolean,default:He.gc("fixed",!0)},safeAreaInsetBottom:{type:Boolean,default:He.gc("safeAreaInsetBottom",!1)},useSafeAreaPlaceholder:{type:Boolean,default:He.gc("useSafeAreaPlaceholder",!1)},bottomBgColor:{type:String,default:He.gc("bottomBgColor","")},topZIndex:{type:Number,default:He.gc("topZIndex",99)},superContentZIndex:{type:Number,default:He.gc("superContentZIndex",1)},contentZIndex:{type:Number,default:He.gc("contentZIndex",1)},f2ZIndex:{type:Number,default:He.gc("f2ZIndex",100)},autoFullHeight:{type:Boolean,default:He.gc("autoFullHeight",!0)},watchTouchDirectionChange:{type:Boolean,default:He.gc("watchTouchDirectionChange",!1)},watchScrollDirectionChange:{type:Boolean,default:He.gc("watchScrollDirectionChange",!1)},layoutOnly:{type:Boolean,default:He.gc("layoutOnly",!1)},unit:{type:String,default:He.gc("unit","rpx")}},created(){this.createdReload&&!this.isOnly&&this.auto&&(this._startLoading(),this.$nextTick(this._preReload))},mounted(){this.active=!0,this.wxsPropType=He.getTime().toString(),this.renderJsIgnore,this.createdReload||this.isOnly||!this.auto||He.delay(()=>this.$nextTick(this._preReload),0),this.finalUseCache&&this._setListByLocalCache();let e=0;e=xe,this.$nextTick(()=>{this.systemInfo=He.getSystemInfoSync(),!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(),this.loaded=!0,He.delay(()=>{this.updateFixedLayout(),this._updateCachedSuperContentHeight(),this._updateScrollViewHeight()})}),this.updatePageScrollTopHeight(),this.updatePageScrollBottomHeight(),this.updateLeftAndRightWidth(),this.finalRefresherEnabled&&this.useCustomRefresher&&this.$nextTick(()=>{this.isTouchmoving=!0}),this.layoutOnly||this._onEmit(),this.$nextTick(()=>{setTimeout(()=>{this._getCssSafeAreaInsetBottom(()=>this.safeAreaInsetBottom&&this.updatePageScrollBottomHeight())},e)})},destroyed(){this._handleUnmounted()},unmounted(){this._handleUnmounted()},watch:{defaultThemeStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},autoHeight(e){this.loaded&&!this.usePageScroll&&this._setAutoHeight(e)},autoHeightAddition(e){this.loaded&&!this.usePageScroll&&this.autoHeight&&this._setAutoHeight(e)}},computed:{finalPagingStyle(){const e={...this.pagingStyle};if(!this.systemInfo)return e;const{windowTop:t,windowBottom:i}=this;return!this.usePageScroll&&this.fixed&&(t&&!e.top&&(e.top=t+"px"),i&&!e.bottom&&(e.bottom=i+"px")),this.bgColor.length&&!e.background&&(e.background=this.bgColor),this.height.length&&!e.height&&(e.height=this.height),this.width.length&&!e.width&&(e.width=this.width),this.maxWidth.length&&!e["max-width"]&&(e["max-width"]=this.maxWidth,e.margin="0 auto"),e},finalPagingContentStyle(){return 1!=this.contentZIndex&&(this.pagingContentStyle["z-index"]=this.contentZIndex,this.pagingContentStyle.position="relative"),this.pagingContentStyle},finalUseSafeAreaPlaceholder(){return this.useSafeAreaPlaceholder&&!this.zSlots.bottom},renderJsIgnore(){return(this.usePageScroll&&this.useChatRecordMode||!this.refresherEnabled&&this.scrollable||!this.useCustomRefresher)&&this.$nextTick(()=>{this.renderPropScrollTop=10}),0},windowHeight(){return this.systemInfo&&this.systemInfo.windowHeight||0},windowBottom(){return this.systemInfo&&this.systemInfo.windowBottom||0},isIosAndH5(){return this.isIos},isOnly(){return this.layoutOnly||this.refresherOnly}},methods:{getVersion:()=>`z-paging v${Me}`,setSpecialEffects(e){this.setListSpecialEffects(e)},setListSpecialEffects(e){this.nFixFreezing=e&&Object.keys(e).length,this.isIos&&(this.privateRefresherEnabled=0),!this.usePageScroll&&this.$refs["zp-n-list"].setSpecialEffects(e)},_doVibrateShort(){},async _setAutoHeight(e=!0,t=null){const i="min-height";try{if(e){let e=t||await this._getNodeClientRect(".zp-scroll-view"),o=await this._getNodeClientRect(".zp-page-bottom");if(e){const t=e[0].top;let a=this.windowHeight-t;a-=o?o[0].height:0;const s=He.convertToPx(this.autoHeightAddition);let l=" !important";const r=a+s-(this.insideMore?1:0)+"px"+l;this.$set(this.scrollViewStyle,i,r),this.$set(this.scrollViewInStyle,i,r)}}else this.$delete(this.scrollViewStyle,i),this.$delete(this.scrollViewInStyle,i)}catch(o){}},async _updateScrollViewHeight(){const e=await this._getNodeClientRect(".zp-scroll-view");if(e){const t=e[0].height;this.scrollViewHeight=t,this.pagingOrgTop=e[0].top}},_handleUnmounted(){this.active=!1,this.layoutOnly||this._offEmit()},_updateInsideOfPaging(){this.insideMore&&!0===this.insideOfPaging&&setTimeout(this.doLoadMore,200)},_cleanTimeout:e=>(e&&(clearTimeout(e),e=null),e),_onEmit(){D(Ce,e=>{this.loading&&(e&&(this.customerEmptyViewErrorText=e),this.complete(!1).catch(()=>{}))}),D(Ie,e=>{setTimeout(()=>{if(this.loading)if(this.disabledCompleteEmit)this.disabledCompleteEmit=!1;else{const t=e.type||"normal",i=e.list||e,o=e.rule;switch(this.fromCompleteEmit=!0,t){case"normal":this.complete(i);break;case"total":this.completeByTotal(i,o);break;case"nomore":this.completeByNoMore(i,o);break;case"key":this.completeByKey(i,o)}}},1)})},_offEmit(){k(Ce),k(Ie)}}},pt={startY:0,isTouchFromZPaging:!1,isUsePageScroll:!1,isReachedTop:!0,isIosAndH5:!1,useChatRecordMode:!1,appLaunched:!1},ft={name:"z-paging",mixins:[{mounted(){window&&this._handleTouch()},methods:{renderPropIsIosAndH5Change(e){-1!==e&&(pt.isIosAndH5=e)},_handleTouch(){window.$zPagingRenderJsInited||(window.$zPagingRenderJsInited=!0,window.addEventListener("touchstart",this._handleTouchstart,{passive:!0}),window.addEventListener("touchmove",this._handleTouchmove,{passive:!1}))},_handleTouchstart(e){const t=He.getTouch(e);pt.startY=t.touchY;const i=He.getTouchFromZPaging(e.target);pt.isTouchFromZPaging=i.isFromZp,pt.isUsePageScroll=i.isPageScroll,pt.isReachedTop=i.isReachedTop,pt.useChatRecordMode=i.isUseChatRecordMode},_handleTouchmove(e){const t=He.getTouch(e).touchY-pt.startY;pt.isTouchFromZPaging&&(pt.isReachedTop&&(pt.useChatRecordMode?t<0:t>0)||!pt.useChatRecordMode&&pt.isIosAndH5&&!pt.isUsePageScroll&&t<0)&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()},_removeAllEventListener(){window.removeEventListener("touchstart"),window.removeEventListener("touchmove")}}}]},mt=e=>{e.$renderjs||(e.$renderjs=[]),e.$renderjs.push("pagingRenderjs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingRenderjs=this},mounted(){this.$ownerInstance=this.$gcd(this,!0)}}),e.mixins.push(ft)};var yt=0,Tt=-1,St=-1;function wt(e,t){var i=Lt(t),o={},a={};if(t.callMethod("_handleListTouchstart"),!i||(o=i.getState(),a=i.getDataset(),!Dt(e,i))){var s=o.isTouchEnded;o.oldMoveDis=0;var l=vt(e),r=Vt(a.loading);o.startY=l.touchY,St=o.startY,o.lastTouch=l,!r&&s&&(o.isTouchmoving=!1),o.isTouchEnded=!1,t.callMethod("_handleRefresherTouchstart",l)}}function Rt(e,t){var i=vt(e),o=Lt(t),a=o.getDataset(),s=a.refresherthreshold,l=a.refresherf2threshold,r=Vt(a.refresherf2enabled);Vt(a.isios);var n=o.getState(),h={},d=0,c=!1;if(Vt(a.watchtouchdirectionchange)){d=(h=At(e,o)).currentDis;var u=(c=h.isDown)?"top":"bottom";c==n.oldTouchDirection&&c!=n.oldEmitedTouchDirection&&(t.callMethod("_handleTouchDirectionChange",{direction:u}),n.oldEmitedTouchDirection=c),n.oldTouchDirection=c}if(Dt(e,o))return kt(n,t,!1),!0;if(!function(e,t,i,o){var a=o.refreshermaxangle,s=Vt(o.refresheraecc),l=i.lastTouch,r=i.reachMaxAngle,n=i.oldMoveDis;if(!l)return!0;if(a>=0&&a<=90&&l){if((!n||n<1)&&!s&&null!=r&&!r)return!1;var h=Math.abs(t.touchX-l.touchX),d=Math.abs(t.touchY-l.touchY),c=Math.sqrt(Math.pow(h,2)+Math.pow(d,2));if((h||d)&&h>1)if(Math.asin(d/c)/Math.PI*180<a){var u=i.hitReachMaxAngleCount||0;return i.hitReachMaxAngleCount=++u,i.hitReachMaxAngleCount>2&&(i.lastTouch=t,i.reachMaxAngle=!1),!1}}return i.lastTouch=t,!0}(0,i,n,a))return kt(n,t,!1),!0;if(d=(h=At(e,o)).currentDis,c=h.isDown,d<0)return It(0,o,n,!1),kt(n,t,!1),!0;if(c&&!n.disabledBounce)return t.callMethod("_handleScrollViewBounce",{bounce:!1}),n.disabledBounce=!0,kt(n,t,c),!c;It(d,o,n,!1);var g=n.refresherStatus,p=Vt(a.oldistouchmoving),f=Vt(a.hastouchmove),m=n.isTouchmoving;return n.refresherStatus=d>=s?r&&d>l?"goF2":"releaseToRefresh":"default",m||(n.isTouchmoving=!0,m=!0),n.isTouchEnded&&(n.isTouchEnded=!1),f&&t.callMethod("_handleWxsPullingDown",{moveDis:d,diffDis:h.diffDis}),null!=g&&g==n.refresherStatus&&p==m||t.callMethod("_handleRefresherTouchmove",d,i),kt(n,t,c),!c}function Mt(e,t){vt(e);var i=Lt(t);i.getDataset();var o=i.getState();if(o.disabledBounce&&(t.callMethod("_handleScrollViewBounce",{bounce:!0}),o.disabledBounce=!1),!Dt(e,i)&&(o.reachMaxAngle=!0,o.hitReachMaxAngleCount=0,o.fixedIsTopHitCount=0,o.isTouchmoving)){var a=o.refresherStatus,s=o.moveDis,l=i.getDataset().refresherthreshold,r=At(e,i).currentDis;if(r>=l&&"releaseToRefresh"===a||(o.isTouchmoving=!1),t.callMethod("_handleRefresherTouchend",r),o.isTouchEnded=!0,!(s<l)){var n=!1;r>=l&&(r=l,n=!0),It(r,i,o,n)}}}function xt(){if(!navigator)return!1;if(-1!=Tt)return Tt;return Tt=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"].every(function(e){return navigator.userAgent.indexOf(e)<0})}var Ct=!1;function It(e,t,i,o){e=e||0,i.moveDis!=e&&(i.moveDis=e,bt("translateY("+e+"px)",t,o,""))}function bt(e,t,i,o){Vt(t.getDataset().refreshernotransform)||(e="translateY(0px)"==e?"none":e,t.requestAnimationFrame(function(){var a={transform:e};i&&(a.transition="transform .1s linear"),o.length&&(a.transition=o),t.setStyle(a)}))}function At(e,t){var i=t.getState(),o=parseFloat(t.getDataset().refresherthreshold),a=parseFloat(t.getDataset().refresheroutrate),s=parseFloat(t.getDataset().refresherpullrate),l=vt(e),r=i.startY&&"NaN"!=i.startY?i.startY:St,n=l.touchY-r,h=i.oldMoveDis||0;i.oldMoveDis=n;var d=n-h;return d>0&&(d*=s,yt>o&&(d*=1-a)),yt+=d=d>100?d/100:d>20?d/2.2:d,{currentDis:yt=Math.max(0,yt),diffDis:d,isDown:d>0}}function vt(e){var t=e;return e.touches&&e.touches.length?t=e.touches[0]:e.changedTouches&&e.changedTouches.length?t=e.changedTouches[0]:e.datail&&e.datail!={}&&(t=e.datail),{touchX:t.clientX,touchY:t.clientY}}function Lt(e){var t=e.getState().currentIns;return t||e.callMethod("_handlePropUpdate"),t}function Dt(e,t,i){var o=t.getDataset(),a=t.getState(),s=Vt(o.loading),l=Vt(o.usechatrecordmode),r=Vt(o.refresherenabled),n=Vt(o.usecustomrefresher),h=Vt(o.usepagescroll),d=parseFloat(o.pagescrolltop),c=parseFloat(o.scrolltop);return a.fixedIsTopHitCount,a.fixedIsTopHitCount=0,s||l||!r||!n||h&&n&&d>5&&!0||!h&&n&&c>5&&!0}function kt(e,t,i){(e.onPullingDown||!1)!=i&&t.callMethod("_handleWxsPullingDownStatusChange",i),e.onPullingDown=i}function Vt(e){return 1==(e=("string"==typeof e?JSON.parse(e):e)||!1)||"true"==e}const zt={touchstart:wt,touchmove:Rt,touchend:Mt,mousedown:function(e,t){xt()&&(wt(e,t),Ct=!0)},mousemove:function(e,t){xt()&&Ct&&Rt(e,t)},mouseup:function(e,t){xt()&&(Mt(e,t),Ct=!1)},mouseleave:function(e,t){xt()&&(Ct=!1)},propObserver:function(e,t,i,o){var a=i.getState()||{};if(a.currentIns=o,o.getDataset().loading,e&&-1!=e.indexOf("end"))bt("translateY(0px)",o,!1,e.split("end")[0]),a.moveDis=0,a.oldMoveDis=0,yt=0;else if(e&&-1!=e.indexOf("begin")){It(o.getDataset().refresherthreshold,o,a,!1)}}},Pt=e=>{e.$wxs||(e.$wxs=[]),e.$wxs.push("pagingWxs"),e.mixins||(e.mixins=[]),e.mixins.push({beforeCreate(){this.pagingWxs=zt}})};mt(gt),Pt(gt);const Nt=e(gt,[["render",function(e,n,u,p,f,m){const y=g,T=V("z-paging-refresh"),R=V("z-paging-load-more"),M=z(P("z-paging-empty-view"),Re),x=E,C=c;return t(),i(y,{class:s([{"z-paging-content":!0,"z-paging-content-full":!e.usePageScroll,"z-paging-content-fixed":!e.usePageScroll&&e.fixed,"z-paging-content-page":e.usePageScroll,"z-paging-reached-top":e.renderPropScrollTop<1,"z-paging-use-chat-record-mode":e.useChatRecordMode},e.pagingClass]),style:l([e.finalPagingStyle])},{default:o(()=>[-1===e.cssSafeAreaInsetBottom?(t(),i(y,{key:0,class:"zp-safe-area-inset-bottom"})):d("",!0),e.showF2&&e.showRefresherF2?(t(),i(y,{key:1,onTouchmove:n[0]||(n[0]=h(()=>{},["stop","prevent"])),class:"zp-f2-content",style:l([{transform:e.f2Transform,transition:"transform .2s linear",height:e.superContentHeight+"px","z-index":e.f2ZIndex}])},{default:o(()=>[N(e.$slots,"f2",{},void 0,!0)]),_:3},8,["style"])):d("",!0),e.zSlots.top?(t(),S(w,{key:2},[e.usePageScroll?(t(),i(y,{key:1,class:"zp-page-top",onTouchmove:n[1]||(n[1]=h(()=>{},["stop","prevent"])),style:l([{top:`${e.windowTop}px`,"z-index":e.topZIndex}])},{default:o(()=>[N(e.$slots,"top",{},void 0,!0)]),_:3},8,["style"])):N(e.$slots,"top",{key:0},void 0,!0)],64)):d("",!0),a(y,{class:s({"zp-view-super":!0,"zp-scroll-view-super":!e.usePageScroll}),style:l([e.finalScrollViewStyle])},{default:o(()=>[e.zSlots.left?(t(),i(y,{key:0,class:s({"zp-page-left":!0,"zp-absoulte":e.finalIsOldWebView})},{default:o(()=>[N(e.$slots,"left",{},void 0,!0)]),_:3},8,["class"])):d("",!0),a(y,{class:s({"zp-scroll-view-container":!0,"zp-absoulte":e.finalIsOldWebView}),style:l([e.scrollViewContainerStyle])},{default:o(()=>[a(x,{ref:"zp-scroll-view",class:s({"zp-scroll-view":!0,"zp-scroll-view-absolute":!e.usePageScroll,"zp-scroll-view-hide-scrollbar":!e.showScrollbar}),style:l([e.chatRecordRotateStyle]),"scroll-top":e.scrollTop,"scroll-left":e.scrollLeft,"scroll-x":e.scrollX,"scroll-y":e.finalScrollable,"enable-back-to-top":e.finalEnableBackToTop,"show-scrollbar":e.showScrollbar,"scroll-with-animation":e.finalScrollWithAnimation,"scroll-into-view":e.scrollIntoView,"lower-threshold":e.finalLowerThreshold,"upper-threshold":5,"refresher-enabled":e.finalRefresherEnabled&&!e.useCustomRefresher,"refresher-threshold":e.finalRefresherThreshold,"refresher-default-style":e.finalRefresherDefaultStyle,"refresher-background":e.refresherBackground,"refresher-triggered":e.finalRefresherTriggered,onScroll:e._scroll,onScrolltolower:e._onScrollToLower,onScrolltoupper:e._onScrollToUpper,onRefresherrestore:e._onRestore,onRefresherrefresh:n[4]||(n[4]=t=>e._onRefresh(!0))},{default:o(()=>[a(y,{class:"zp-paging-touch-view",onTouchstart:e.pagingWxs.touchstart,onTouchmove:e.pagingWxs.touchmove,onTouchend:e.pagingWxs.touchend,onTouchcancel:e.pagingWxs.touchend,onMousedown:e.pagingWxs.mousedown,onMousemove:e.pagingWxs.mousemove,onMouseup:e.pagingWxs.mouseup,onMouseleave:e.pagingWxs.mouseleave},{default:o(()=>[e.finalRefresherFixedBacHeight>0?(t(),i(y,{key:0,class:"zp-fixed-bac-view",style:l([{background:e.refresherFixedBackground,height:`${e.finalRefresherFixedBacHeight}px`}])},null,8,["style"])):d("",!0),a(y,{class:"zp-paging-main",style:l([e.scrollViewInStyle,{transform:e.finalRefresherTransform,transition:e.refresherTransition}]),"change:prop":e.pagingWxs.propObserver,prop:e.wxsPropType,"data-refresherThreshold":e.finalRefresherThreshold,"data-refresherF2Enabled":e.refresherF2Enabled,"data-refresherF2Threshold":e.finalRefresherF2Threshold,"data-isIos":e.isIos,"data-loading":e.loading||e.isRefresherInComplete,"data-useChatRecordMode":e.useChatRecordMode,"data-refresherEnabled":e.finalRefresherEnabled,"data-useCustomRefresher":e.useCustomRefresher,"data-pageScrollTop":e.wxsPageScrollTop,"data-scrollTop":e.wxsScrollTop,"data-refresherMaxAngle":e.refresherMaxAngle,"data-refresherNoTransform":e.refresherNoTransform,"data-refresherAecc":e.refresherAngleEnableChangeContinued,"data-usePageScroll":e.usePageScroll,"data-watchTouchDirectionChange":e.watchTouchDirectionChange,"data-oldIsTouchmoving":e.isTouchmoving,"data-refresherOutRate":e.finalRefresherOutRate,"data-refresherPullRate":e.finalRefresherPullRate,"data-hasTouchmove":e.hasTouchmove,"change:renderPropIsIosAndH5":e.pagingRenderjs.renderPropIsIosAndH5Change,renderPropIsIosAndH5:e.isIosAndH5},{default:o(()=>[e.showRefresher?(t(),i(y,{key:0,class:"zp-custom-refresher-view",style:l([{"margin-top":`-${e.finalRefresherThreshold+e.refresherThresholdUpdateTag}px`,background:e.refresherBackground,opacity:e.isTouchmoving?1:0}])},{default:o(()=>[a(y,{class:"zp-custom-refresher-container",style:l([{height:`${e.finalRefresherThreshold}px`,background:e.refresherBackground}])},{default:o(()=>[e.useRefresherStatusBarPlaceholder?(t(),i(y,{key:0,class:"zp-custom-refresher-status-bar-placeholder",style:l([{height:`${e.statusBarHeight}px`}])},null,8,["style"])):d("",!0),a(y,{class:"zp-custom-refresher-slot-view"},{default:o(()=>[e.zSlots.refresherComplete&&e.refresherStatus===e.R.Complete||e.zSlots.refresherF2&&e.refresherStatus===e.R.GoF2?d("",!0):N(e.$slots,"refresher",{key:0,refresherStatus:e.refresherStatus},void 0,!0)]),_:3}),e.zSlots.refresherComplete&&e.refresherStatus===e.R.Complete?N(e.$slots,"refresherComplete",{key:1},void 0,!0):e.zSlots.refresherF2&&e.refresherStatus===e.R.GoF2?N(e.$slots,"refresherF2",{key:2},void 0,!0):e.showCustomRefresher?d("",!0):(t(),i(T,{key:3,ref:"refresh",class:"zp-custom-refresher-refresh",style:l([{height:e.finalRefresherThreshold-e.finalRefresherThresholdPlaceholder+"px"}]),status:e.refresherStatus,defaultThemeStyle:e.finalRefresherThemeStyle,defaultText:e.finalRefresherDefaultText,isIos:e.isIos,pullingText:e.finalRefresherPullingText,refreshingText:e.finalRefresherRefreshingText,completeText:e.finalRefresherCompleteText,goF2Text:e.finalRefresherGoF2Text,defaultImg:e.refresherDefaultImg,pullingImg:e.refresherPullingImg,refreshingImg:e.refresherRefreshingImg,completeImg:e.refresherCompleteImg,refreshingAnimated:e.refresherRefreshingAnimated,showUpdateTime:e.showRefresherUpdateTime,updateTimeKey:e.refresherUpdateTimeKey,updateTimeTextMap:e.finalRefresherUpdateTimeTextMap,imgStyle:e.refresherImgStyle,titleStyle:e.refresherTitleStyle,updateTimeStyle:e.refresherUpdateTimeStyle,unit:e.unit},null,8,["style","status","defaultThemeStyle","defaultText","isIos","pullingText","refreshingText","completeText","goF2Text","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","updateTimeTextMap","imgStyle","titleStyle","updateTimeStyle","unit"]))]),_:3},8,["style"])]),_:3},8,["style"])):d("",!0),a(y,{class:"zp-paging-container",style:l([{justifyContent:e.useChatRecordMode?"flex-end":"flex-start"}])},{default:o(()=>[e.showLoading&&e.zSlots.loading&&!e.loadingFullFixed?N(e.$slots,"loading",{key:0},void 0,!0):d("",!0),a(y,{class:"zp-paging-container-content",style:l([e.finalPlaceholderTopHeightStyle,e.finalPagingContentStyle])},{default:o(()=>[e.useVirtualList?(t(),i(y,{key:0,class:"zp-virtual-placeholder",style:l([{height:e.virtualPlaceholderTopHeight+"px"}])},null,8,["style"])):d("",!0),N(e.$slots,"default",{},void 0,!0),e.finalUseInnerList?(t(),S(w,{key:1},[N(e.$slots,"header",{},void 0,!0),a(y,{class:"zp-list-container",style:l([e.innerListStyle])},{default:o(()=>[e.finalUseVirtualList?(t(!0),S(w,{key:0},B(e.virtualList,(a,s)=>(t(),i(y,{class:"zp-list-cell",style:l([e.innerCellStyle]),id:`${e.fianlVirtualCellIdPrefix}-${a[e.virtualCellIndexKey]}`,key:a.zp_unique_index,onClick:t=>e._innerCellClick(a,e.virtualTopRangeIndex+s)},{default:o(()=>[e.useCompatibilityMode?(t(),i(y,{key:0},{default:o(()=>[r("使用兼容模式请在组件源码z-paging.vue第105行中注释这一行,并打开下面一行注释")]),_:1})):N(e.$slots,"cell",{key:1,item:a,index:e.virtualTopRangeIndex+s},void 0,!0)]),_:2},1032,["style","id","onClick"]))),128)):(t(!0),S(w,{key:1},B(e.realTotalData,(a,s)=>(t(),i(y,{class:"zp-list-cell",key:s,onClick:t=>e._innerCellClick(a,s)},{default:o(()=>[N(e.$slots,"cell",{item:a,index:s},void 0,!0)]),_:2},1032,["onClick"]))),128))]),_:3},8,["style"]),N(e.$slots,"footer",{},void 0,!0)],64)):d("",!0),e.useChatRecordMode&&e.realTotalData.length>=e.defaultPageSize&&(e.loadingStatus!==e.M.NoMore||e.zSlots.chatNoMore)&&(e.realTotalData.length||e.showChatLoadingWhenReload&&e.showLoading)&&!e.isFirstPageAndNoMore?(t(),i(y,{key:2,style:l([e.chatRecordRotateStyle])},{default:o(()=>[e.loadingStatus===e.M.NoMore&&e.zSlots.chatNoMore?N(e.$slots,"chatNoMore",{key:0},void 0,!0):(t(),S(w,{key:1},[e.zSlots.chatLoading?N(e.$slots,"chatLoading",{key:0,loadingMoreStatus:e.loadingStatus},void 0,!0):(t(),i(R,{key:1,onDoClick:n[2]||(n[2]=t=>e._onLoadingMore("click")),zConfig:e.zLoadMoreConfig},null,8,["zConfig"]))],64))]),_:3},8,["style"])):d("",!0),e.useVirtualList?(t(),i(y,{key:3,class:"zp-virtual-placeholder",style:l([{height:e.virtualPlaceholderBottomHeight+"px"}])},null,8,["style"])):d("",!0),e.showLoadingMoreDefault?N(e.$slots,"loadingMoreDefault",{key:4},void 0,!0):e.showLoadingMoreLoading?N(e.$slots,"loadingMoreLoading",{key:5},void 0,!0):e.showLoadingMoreNoMore?N(e.$slots,"loadingMoreNoMore",{key:6},void 0,!0):e.showLoadingMoreFail?N(e.$slots,"loadingMoreFail",{key:7},void 0,!0):e.showLoadingMoreCustom?(t(),i(R,{key:8,onDoClick:n[3]||(n[3]=t=>e._onLoadingMore("click")),zConfig:e.zLoadMoreConfig},null,8,["zConfig"])):d("",!0),e.safeAreaInsetBottom&&e.finalUseSafeAreaPlaceholder&&!e.useChatRecordMode?(t(),i(y,{key:9,class:"zp-safe-area-placeholder",style:l([{height:e.safeAreaBottom+"px"}])},null,8,["style"])):d("",!0)]),_:3},8,["style"]),e.showEmpty?(t(),i(y,{key:1,class:s({"zp-empty-view":!0,"zp-empty-view-center":e.emptyViewCenter}),style:l([e.emptyViewSuperStyle,e.chatRecordRotateStyle])},{default:o(()=>[e.zSlots.empty?N(e.$slots,"empty",{key:0,isLoadFailed:e.isLoadFailed},void 0,!0):(t(),i(M,{key:1,emptyViewImg:e.finalEmptyViewImg,emptyViewText:e.finalEmptyViewText,showEmptyViewReload:e.finalShowEmptyViewReload,emptyViewReloadText:e.finalEmptyViewReloadText,isLoadFailed:e.isLoadFailed,emptyViewStyle:e.emptyViewStyle,emptyViewTitleStyle:e.emptyViewTitleStyle,emptyViewImgStyle:e.emptyViewImgStyle,emptyViewReloadStyle:e.emptyViewReloadStyle,emptyViewZIndex:e.emptyViewZIndex,emptyViewFixed:e.emptyViewFixed,unit:e.unit,onReload:e._emptyViewReload,onViewClick:e._emptyViewClick},null,8,["emptyViewImg","emptyViewText","showEmptyViewReload","emptyViewReloadText","isLoadFailed","emptyViewStyle","emptyViewTitleStyle","emptyViewImgStyle","emptyViewReloadStyle","emptyViewZIndex","emptyViewFixed","unit","onReload","onViewClick"]))]),_:3},8,["class","style"])):d("",!0)]),_:3},8,["style"])]),_:3},8,["style","change:prop","prop","data-refresherThreshold","data-refresherF2Enabled","data-refresherF2Threshold","data-isIos","data-loading","data-useChatRecordMode","data-refresherEnabled","data-useCustomRefresher","data-pageScrollTop","data-scrollTop","data-refresherMaxAngle","data-refresherNoTransform","data-refresherAecc","data-usePageScroll","data-watchTouchDirectionChange","data-oldIsTouchmoving","data-refresherOutRate","data-refresherPullRate","data-hasTouchmove","change:renderPropIsIosAndH5","renderPropIsIosAndH5"])]),_:3},8,["onTouchstart","onTouchmove","onTouchend","onTouchcancel","onMousedown","onMousemove","onMouseup","onMouseleave"])]),_:3},8,["class","style","scroll-top","scroll-left","scroll-x","scroll-y","enable-back-to-top","show-scrollbar","scroll-with-animation","scroll-into-view","lower-threshold","refresher-enabled","refresher-threshold","refresher-default-style","refresher-background","refresher-triggered","onScroll","onScrolltolower","onScrolltoupper","onRefresherrestore"])]),_:3},8,["class","style"]),e.zSlots.right?(t(),i(y,{key:1,class:s({"zp-page-right":!0,"zp-absoulte zp-right":e.finalIsOldWebView})},{default:o(()=>[N(e.$slots,"right",{},void 0,!0)]),_:3},8,["class"])):d("",!0)]),_:3},8,["class","style"]),a(y,{class:"zp-page-bottom-container",style:l({background:e.bottomBgColor})},{default:o(()=>[e.zSlots.bottom?(t(),S(w,{key:0},[e.usePageScroll?(t(),i(y,{key:1,class:"zp-page-bottom",onTouchmove:n[5]||(n[5]=h(()=>{},["stop","prevent"])),style:l([{bottom:`${e.windowBottom}px`,background:e.bottomBgColor}])},{default:o(()=>[N(e.$slots,"bottom",{},void 0,!0),e.safeAreaInsetBottom?(t(),i(y,{key:0,style:l([{height:e.safeAreaBottom+"px"}])},null,8,["style"])):d("",!0)]),_:3},8,["style"])):N(e.$slots,"bottom",{key:0},void 0,!0)],64)):d("",!0),!e.safeAreaInsetBottom||e.usePageScroll||e.finalUseSafeAreaPlaceholder||e.useChatRecordMode?d("",!0):(t(),i(y,{key:1,style:l([{height:e.safeAreaBottom+"px"}])},null,8,["style"])),e.useChatRecordMode&&e.autoAdjustPositionWhenChat?(t(),S(w,{key:2},[a(y,{style:l([{height:e.chatRecordModeSafeAreaBottom+"px"}])},null,8,["style"]),a(y,{class:"zp-page-bottom-keyboard-placeholder-animate",style:l([{height:e.keyboardHeight+"px"}])},null,8,["style"])],64)):d("",!0)]),_:3},8,["style"]),e.showBackToTopClass?(t(),i(y,{key:3,class:s(e.finalBackToTopClass),style:l([e.finalBackToTopStyle]),onClick:h(e._backToTopClick,["stop"])},{default:o(()=>[e.zSlots.backToTop?N(e.$slots,"backToTop",{key:0},void 0,!0):(t(),i(C,{key:1,class:s(["zp-back-to-top-img",{"zp-back-to-top-img-inversion":e.useChatRecordMode&&!e.backToTopImg.length}]),src:e.backToTopImg.length?e.backToTopImg:e.base64BackToTop},null,8,["class","src"]))]),_:3},8,["class","style","onClick"])):d("",!0),e.showLoading&&e.zSlots.loading&&e.loadingFullFixed?(t(),i(y,{key:4,class:"zp-loading-fixed"},{default:o(()=>[N(e.$slots,"loading",{},void 0,!0)]),_:3})):d("",!0)]),_:3},8,["class","style"])}],["__scopeId","data-v-ddbc816f"]]);const Bt=e({__name:"index",props:{commentType:{type:String,default:"add"}},emits:["clickComment","moveMessageTop","inputDone"],setup(e,{emit:l}){const{Toast:h}=re(),c=l,p=Z(!1);function f(){p.value=!1}function m(e){if(0===e.value)!async function(){try{await deleteComment(T.value),h({title:"删除成功"}),function(){if(0!==R.value&&0===M.value){const e=y(R.value,"one");if(e){const t=b.value.findIndex(t=>t.id===e.id);-1!==t&&b.value.splice(t,1)}}else if(0!==M.value){const e=y(M.value,"two");if(e&&e.oneItem&&e.twoItem){const t=e.oneItem.replyList.findIndex(t=>t.id===e.twoItem.id);-1!==t&&e.oneItem.replyList.splice(t,1)}}}()}catch(e){console.error("deleteComment",e)}finally{R.value=M.value=T.value=0}}();else if(1===e.value){let e=null;if(0!==M.value){const t=y(M.value,"two");t&&t.twoItem&&(e=t.twoItem)}else 0!==R.value&&(e=y(R.value,"one"));e&&k(e)}p.value=!1}function y(e,t="one"){if("one"===t)return b.value.find(t=>t.id===e)||null;if("two"===t){for(const t of b.value)if(Array.isArray(t.replyList)){const i=t.replyList.find(t=>t.id===e);if(i)return{oneItem:t,twoItem:i}}return null}return null}const T=Z(0),R=Z(0),M=Z(0);function x(e){var t,i,o;(null==(t=e.currentTarget.dataset)?void 0:t.twoLevelId)?T.value=M.value=e.currentTarget.dataset.twoLevelId:(null==(i=e.currentTarget.dataset)?void 0:i.oneLevelId)&&(T.value=R.value=null==(o=e.currentTarget.dataset)?void 0:o.oneLevelId),p.value=!0}const C=O(()=>[{name:"删除",value:0},{name:"回复",value:1}]),I=Z("");_(e=>{e.id&&(I.value=e.id)});const b=Z([]),A=Z(0),v=Z(0),L=Z(0),D=Z(0);function k(e){0===e.parentId?(v.value=e.id,A.value=e.id,D.value=e.id):(v.value=e.id,A.value=e.parentId,D.value=e.oneLevelId),L.value=e.userId,c("clickComment",e)}function N(){}const E=Z(null);function J(e,t){}!function(e){const t=e?e.value||e:null;F(()=>{t&&t.value&&t.value.reload().catch(()=>{})}),H(e=>{t&&t.value&&(t.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&t.value.doChatRecordLoadMore())}),W(()=>{t&&t.value&&t.value.pageReachBottom()})}(E),Z(!1);const K=Z([]);function X(e){Q({url:`/pages/user/personal?id=${e}`})}return(e,l)=>{const h=V("up-avatar"),c=g,y=u,T=z(P("uni-icons"),ne),R=z(P("z-paging"),Nt),M=V("up-action-sheet");return t(),S(w,null,[a(R,{ref_key:"paging",ref:E,"use-page-scroll":"",onCloseF2:N,modelValue:b.value,"onUpdate:modelValue":l[0]||(l[0]=e=>b.value=e),onQuery:J,class:"comment-paging"},{default:o(()=>[(t(!0),S(w,null,B(b.value,e=>(t(),i(c,{class:"comment-box",key:e.id},{default:o(()=>[a(c,{class:s(["item-comment",e.replyList&&e.replyList.length>0?"child":""])},{default:o(()=>[a(c,{class:"avatar"},{default:o(()=>[a(h,{onClick:t=>X(e.userId),shape:"circle",src:e.usePicture},null,8,["onClick","src"])]),_:2},1024),a(c,{class:"content"},{default:o(()=>[a(c,{class:"user-box",onClick:t=>X(e.userId)},{default:o(()=>[a(y,{class:"username"},{default:o(()=>[r(n(e.userName),1)]),_:2},1024),e.authorMark?(t(),i(y,{key:0,class:"author-tag"},{default:o(()=>[r("作者")]),_:1})):d("",!0)]),_:2},1032,["onClick"]),a(c,{onLongpress:x,"data-one-level-id":e.id,class:"reply-box",onClick:t=>k(e)},{default:o(()=>[a(y,{class:"text"},{default:o(()=>[r(n(e.content),1)]),_:2},1024),a(y,{class:"time"},{default:o(()=>[r(n(j(U)(e.createTime,"yyyy-mm-dd")),1)]),_:2},1024),a(y,{class:"reply-tip"},{default:o(()=>[r("回复")]),_:1})]),_:2},1032,["data-one-level-id","onClick"])]),_:2},1024),a(c,{class:"right-box"},{default:o(()=>[G(a(T,{customPrefix:"iconfont",size:"18",color:"#2E2E2E",class:s(["icon-state icon-dianzan",{animated:K.value.includes(e.id),heartBeat:K.value.includes(e.id)}])},null,8,["class"]),[[Y,!e.likeMark]]),G(a(T,{customPrefix:"iconfont",size:"18",color:"#FF2442",class:s(["icon-state icon-dianzanxuanzhong",{animated:K.value.includes(e.id),heartBeat:K.value.includes(e.id)}])},null,8,["class"]),[[Y,e.likeMark]]),a(y,{class:"count"},{default:o(()=>[r(n(e.likeCount),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["class"]),e.replyList&&e.replyList.length>0?(t(),S("div",{key:0,class:"child-comment-box"},[(t(!0),S(w,null,B(e.replyList,(l,u)=>(t(),i(c,{class:"item-comment sub-comment",key:u},{default:o(()=>[a(c,{class:"avatar"},{default:o(()=>[a(h,{class:"sub-avatar",shape:"circle",size:"25",src:l.usePicture},null,8,["src"])]),_:2},1024),a(c,{class:"content"},{default:o(()=>[a(c,{class:"user-box"},{default:o(()=>[a(y,{class:"username"},{default:o(()=>[r(n(l.userName),1)]),_:2},1024),l.authorMark?(t(),i(y,{key:0,class:"author-tag"},{default:o(()=>[r("作者")]),_:1})):d("",!0)]),_:2},1024),a(c,{onLongpress:x,"data-one-level-id":e.id,"data-two-level-id":l.id,class:"reply-box"},{default:o(()=>[l.replyMark?(t(),i(y,{key:0,class:"text"},{default:o(()=>[r("回复"),a(y,null,{default:o(()=>[r(n(l.replyName)+": ",1)]),_:2},1024),r(n(l.content),1)]),_:2},1024)):(t(),i(y,{key:1,class:"text"},{default:o(()=>[r(n(l.content),1)]),_:2},1024)),a(y,{class:"time"},{default:o(()=>[r(n(j(U)(l.createTime,"yyyy-mm-dd")),1)]),_:2},1024),a(y,{class:"reply-tip"},{default:o(()=>[r("回复")]),_:1})]),_:2},1032,["data-one-level-id","data-two-level-id"])]),_:2},1024),a(c,{class:"right-box"},{default:o(()=>[G(a(T,{customPrefix:"iconfont",size:"18",color:"#2E2E2E",class:s(["icon-state icon-dianzan",{animated:K.value.includes(l.id),heartBeat:K.value.includes(l.id)}])},null,8,["class"]),[[Y,!l.likeMark]]),G(a(T,{customPrefix:"iconfont",size:"18",color:"#FF2442",class:s(["icon-state icon-dianzanxuanzhong",{animated:K.value.includes(l.id),heartBeat:K.value.includes(l.id)}])},null,8,["class"]),[[Y,l.likeMark]]),a(y,{class:"count"},{default:o(()=>[r(n(l.likeCount),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),e.replyList&&e.replyList.length>0&&e.replyPage.hasMore&&e.replyCount>1?(t(),i(c,{key:0,class:"load-more"},{default:o(()=>[a(y,null,{default:o(()=>[r("展开更多回复")]),_:1})]),_:1})):d("",!0)])):d("",!0)]),_:2},1024))),128))]),_:1},8,["modelValue"]),a(M,{actions:C.value,closeOnClickOverlay:!0,cancelText:"取消",show:p.value,onClose:f,onSelect:m},null,8,["actions","show"])],64)}}},[["__scopeId","data-v-605de86f"]]),Et=e({__name:"index",setup(e){const{Toast:p}=re(),f=()=>{window.location.href="shuibei://",setTimeout(()=>{window.location.href="https://a.app.qq.com/o/simple.jsp?pkgname=uni.app.UNI9DE338F"},3e3)};de(encodeURIComponent(location.href.split("#")[0])).then(e=>{ce.config({debug:!0,appId:e.data.appId,timestamp:e.data.timestamp,nonceStr:e.data.nonceStr,signature:e.data.signature,jsapi_ticket:e.data.jsapi_ticket,jsApiList:["wx-open-subscribe","wx-open-launch-app"],openTagList:["wx-open-subscribe","wx-open-launch-app"]}),ce.checkJsApi({jsApiList:["wx-open-launch-app"],success:function(e){console.log("可用")},fail:e=>{console.log(e,"不可用")}})});const m=le(),y=Z(""),T=Z(null);function S(e){0===e.height?pe.value=0:q({success(t){const i=t.screenHeight-t.windowHeight;pe.value=e.height-i}})}O(()=>{}),_(e=>{e.articleId?(y.value=e.articleId||"",async function(){try{b({title:"加载中",mask:!0});const{data:e}=await he(y.value);T.value=e,A()}catch(e){console.error("fetchArticleDetail",e),A()}}()):p({title:"该文章不存在",icon:"none"})}),J(()=>{uni.onKeyboardHeightChange&&uni.onKeyboardHeightChange(S)}),K(()=>{D("followStateChanged",we)}),X(()=>{uni.offKeyboardHeightChange&&uni.offKeyboardHeightChange(S),k("followStateChanged",we)});const w=Z(""),M=Z(!1);function x(){M.value=!1,ie({title:"提示",content:"确认删除?",success:async function(e){e.confirm}})}const C=Z("add"),I=Z("说点什么...");function v(e){const t=e.userName;C.value="reply",I.value=`回复 @${t}`,me.value=!0}const N=Z(!0),B=Z();function E(e){var t;if(""===(null==(t=w.value)?void 0:t.trim()))return N.value=!0,p({title:"有内容才能发送哦"});N.value=!1,B.value.handleAddComment(w.value)}function F(){w.value=""}const H=Z(),W=Z(0);function U(){L({scrollTop:W.value,success(){console.log("success")},fail(e){console.error(`scrollTo error ${e}`)}})}$(()=>T.value,async(e,t)=>{if(e&&!t){await oe();R().in(m.proxy).select(".comment-section").boundingClientRect(e=>{e.top&&(W.value=e.top-60)}).exec()}});const G=Z(!1);async function Y(){try{if(G.value)return;G.value=!0,await setUserState({type:1,bookId:T.value.id}),T.value.collectMark=!T.value.collectMark,T.value.collectMark?T.value.collectCount+=1:T.value.collectCount-=1,G.value=!1}catch(e){console.error("collection error",e),G.value=!1}}const Q=Z(!1),ue=Z(!1);async function ge(){try{if(Q.value)return;Q.value=!0,await setUserState({type:0,bookId:T.value.id}),T.value.likeMark=!T.value.likeMark,T.value.likeMark?(ue.value=!0,T.value.likeCount+=1):(ue.value=!1,T.value.likeCount-=1),Q.value=!1}catch(e){Q.value=!1,p({title:"点赞失败"}),console.error("handleLike",e)}}const pe=Z(0),fe=Z(!0),me=Z(!1);function ye(e){}function Te(){pe.value=0,me.value=!1}function Se(){console.log("点击了底部Input"),I.value="说点什么...",C.value="add",me.value=!0}function we(e){var t;Number(e.userId)===Number(null==(t=T.value)?void 0:t.userId)&&(T.value.followMark=e.followMark)}return(e,p)=>{const m=c,S=g,R=u,b=ae,A=se,L=V("up-overlay"),D=V("wx-open-launch-app"),k=z(P("uni-icons"),ne),W=V("up-tabbar"),Z=V("up-popup");return T.value?(t(),i(S,{key:0,class:"page-container"},{default:o(()=>[a(S,{class:"content-box"},{default:o(()=>[a(S,{class:"content-container"},{default:o(()=>[a(S,{class:"post-content"},{default:o(()=>[a(S,{class:"post-image"},{default:o(()=>[a(S,{class:"image-list-box"},{default:o(()=>[a(m,{src:T.value.coverImage,mode:"",class:"coverImage"},null,8,["src"])]),_:1})]),_:1}),a(S,{class:"post-box"},{default:o(()=>[a(S,{class:"post-title"},{default:o(()=>[a(R,null,{default:o(()=>[r(n(T.value.title),1)]),_:1})]),_:1}),a(S,{class:"post-text"},{default:o(()=>[a(R,null,{default:o(()=>[r(n(T.value.content),1)]),_:1})]),_:1}),a(S,{class:"post-info"},{default:o(()=>[a(R,{class:"post-time"},{default:o(()=>[r(n(T.value.publishTime),1)]),_:1})]),_:1})]),_:1})]),_:1}),a(S,{class:"fixed-view"}),a(S,{class:"comment-section",ref_key:"commentSection",ref:H},{default:o(()=>[a(S,{class:"comment-title"},{default:o(()=>[a(R,null,{default:o(()=>[r("全部评论 ("+n(T.value.commentCount)+")",1)]),_:1})]),_:1}),a(j(Bt),{commentType:C.value,ref_key:"commentRef",ref:B,onClickComment:v,onMoveMessageTop:U,onInputDone:F},null,8,["commentType"])]),_:1},512)]),_:1})]),_:1}),a(S,{class:s(["keybord-input-box",pe.value>0?"keybord-fixed":""])},{default:o(()=>[a(L,{show:fe.value,onClick:p[1]||(p[1]=e=>pe.value=0)},{default:o(()=>[a(S,{class:"overlay-input-box",style:l(pe.value>0?"--tabbar-bottom:"+pe.value+"px":"")},{default:o(()=>[a(S,{class:"comment-input-container"},{default:o(()=>[a(b,{focus:me.value,border:"none",adjustPosition:!1,class:"comment-input",type:"text","confirm-type":"send","auto-blur":!0,"confirm-hold":N.value,modelValue:w.value,"onUpdate:modelValue":p[0]||(p[0]=e=>w.value=e),placeholder:I.value,onFocus:ye,onBlur:Te,onConfirm:E},null,8,["focus","confirm-hold","modelValue","placeholder"])]),_:1}),a(S,{class:"right-box",onClick:E},{default:o(()=>[a(A,{type:"default"},{default:o(()=>[r("发送")]),_:1})]),_:1})]),_:1},8,["style"])]),_:1},8,["show"])]),_:1},8,["class"]),a(W,{class:"u-bottom-tabbar"},{default:o(()=>[a(S,{class:"toAPP"},{default:o(()=>[a(D,{id:"launch-btn",appid:"wx5f33a4ace799b661",extinfo:"/pages/goods_details/index?articleId="+y.value,onError:f},{default:o(()=>[(t(),i(P("script"),ee(te({type:"text/wxtag-template"})),{default:o(()=>[a(A,{class:"storeAPP",style:{"background-color":"#e9c279",color:"#fff","border-radius":"50rpx","line-height":"100rpx",padding:"20rpx 20rpx","z-index":"999","box-sizing":"border-box"}},{default:o(()=>[r(" 打开水贝商城 ")]),_:1})]),_:1},16))]),_:1},8,["extinfo"])]),_:1}),a(S,{class:"bottom-bar"},{default:o(()=>[a(S,{onClick:h(Se,["stop"]),class:"comment-input-container"},{default:o(()=>[a(b,{border:"none",adjustPosition:!1,class:"comment-input",type:"text",readonly:!0,disabled:!0,"confirm-type":"发送","auto-blur":!0,placeholder:"说点什么..."})]),_:1}),a(S,{class:"right-box"},{default:o(()=>[a(S,{class:"item",onClick:ge},{default:o(()=>[a(k,{type:"heart",size:"24"}),a(R,null,{default:o(()=>[r(n(T.value.likeCount),1)]),_:1})]),_:1}),a(S,{class:"item",onClick:Y},{default:o(()=>[a(k,{type:"star",size:"24"}),a(R,null,{default:o(()=>[r(n(T.value.collectCount),1)]),_:1})]),_:1}),a(S,{class:"item",onClick:U},{default:o(()=>[a(k,{type:"chat",size:"24"}),a(R,null,{default:o(()=>[r(n(T.value.commentCount),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),a(Z,{show:M.value,onClose:p[3]||(p[3]=e=>M.value=!1)},{default:o(()=>[a(S,{class:"popup-box"},{default:o(()=>[a(S,{class:"close-box",onClick:p[2]||(p[2]=e=>M.value=!1)},{default:o(()=>[a(k,{type:"closeempty",size:"28"})]),_:1}),a(S,{class:"header"},{default:o(()=>[a(S,{class:"title"},{default:o(()=>[r("更多操作")]),_:1})]),_:1}),a(S,{class:"actions-menu"},{default:o(()=>[a(S,{onClick:x,class:"item-action"},{default:o(()=>[a(S,{class:"icon-box"},{default:o(()=>[a(k,{type:"trash",size:"28"})]),_:1}),a(S,{class:"icon-name"},{default:o(()=>[r("删除")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["show"])]),_:1})):d("",!0)}}},[["__scopeId","data-v-ba37a71c"]]);export{Et as default};