hz-zhhq-app/unpackage/dist/build/CCINTZHHQKF/static/js/pages-active-active.217bc80...

1 line
26 KiB
JavaScript
Raw Normal View History

2025-01-22 10:53:47 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-active-active"],{2909:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var i=c(n("6005")),a=c(n("db90")),o=c(n("06c5")),r=c(n("3427"));function c(t){return t&&t.__esModule?t:{default:t}}function d(t){return(0,i.default)(t)||(0,a.default)(t)||(0,o.default)(t)||(0,r.default)()}},3427:function(t,e,n){"use strict";function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"40d3":function(t,e,n){"use strict";n.r(e);var i=n("4e1f"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"4e1f":function(t,e,n){"use strict";var i=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("2909")),o=(i(n("3403")),n("d24f")),r=n("fb8c"),c=i(n("474f")),d=(i(n("bb31")),i(n("28ef"))),l=i(n("4729")),f=i(n("b539")),s={data:function(){return{formatDate:r.formatDate,userId:(0,r.getStorage)("userInfo").userId,currentTabIndex:0,page0:1,pageSize0:10,loadingType0:2,page1:1,pageSize1:10,loadingType1:2,list0:[],list1:[],contentText0:{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"},contentText1:{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"},reportType:0}},components:{loadMore:c.default,contentNone:d.default,UniPopup:l.default,xflSelect:f.default},watch:{currentTabIndex:function(t,e){this.currentTabIndex=t,0==this.currentTabIndex?(this.page0=1,this.loadingType0=0):1==this.currentTabIndex&&(this.page1=1,this.loadingType1=0),this.getActiveInfoList()}},onLoad:function(t){this.currentTabIndex=t.currentTabIndex||0,this.reportType=t.reportType||0,this.getActiveInfoList()},methods:{detail:function(t){uni.navigateTo({url:"/pages/active/active-detail2?id="+t.id})},getActiveInfoList:function(){var t=this,e={};e=0==this.currentTabIndex?{pageNum:this.page0,pageSize:this.pageSize0,signUp:0,userId:this.userId}:{pageNum:this.page1,pageSize:this.pageSize1,signUp:1,userId:this.userId};var n={method:o.getActiveInfoList,data:e};(0,r.callbackRequest)(n).then((function(e){if(1==e.data.returnCode){var n=e.data.returnData||[];0==t.currentTabIndex?1==t.page0?t.list0=n:n.length>0?(t.list0=[].concat((0,a.default)(t.reservationList0),[n]),t.loadingType0=0):t.loadingType0=2:1==t.page1?t.list1=n:n.length>0?(t.list1=[].concat((0,a.default)(t.reservationList1),[n]),t.loadingType1=0):t.loadingType1=2}else(0,r.alertTip)(e.data.returnMsg)}))}},onReachBottom:function(){if(0==this.currentTabIndex){if(0!==this.loadingType0)return;this.loadingType0=1,this.page0=this.page0+1,this.getActiveInfoList()}else if(1==this.currentTabIndex){if(0!==this.loadingType1)return;this.loadingType1=1,this.page1=this.page1+1,this.getActiveInfoList()}}};e.default=s},"51a4":function(t,e,n){var i=n("9837");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("2574b8da",i,!0,{sourceMap:!1,shadowMode:!1})},6005:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=a(n("6b75"));function a(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t))return(0,i.default)(t)}},9837:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */@font-face{font-family:iconfont;src:url(/static/ttf/iconfont.eot?t=1564651597095);\n /* IE9 */src:url(/static/ttf/iconfont.eot?t=1564651597095#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABhMAAsAAAAAKtgAABf+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCIFgq/aLMaATYCJAOBHAtQAAQgBYRtB4MlG28jM5KzWniiKJWLJvs/JHAyxrKAq9GKoqBGzCLTaMPhKOFZHqNlFow4Nu21gxh5J5+e4BTeRVEr6h2OGsb/tUrXahFVV9Ye9cGHJEWTh2K//529Ys++mE0nkVRD