/*! For license information please see c2e71d01e53b8973158f7cbf3f008959.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/c2e71d01e53b8973158f7cbf3f008959"],{"./src/components/LoadMore/index.tsx":function(e,o,n){var s=n("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var t=n("./src/components/iconfont/iconfont.tsx");var a=n("./src/components/loadingCard/index.tsx");var i=n("./src/components/LoadMore/index.module.scss");var r=n("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var c=function LoadMore(e){var o=e.status,n=e.moreText,c=n===void 0?"查看更多":n,d=e.loadingText,l=d===void 0?"加载中":d,x=e.noMoreText,m=x===void 0?"没有更多":x,u=e.emptyText,p=u===void 0?"暂无数据":u,f=e.onClick;var j=function handleShowMore(){f&&f()};var v=null;if(o==="loading"){v=(0,r.jsx)(a["default"],{title:l})}else if(o==="more"){v=(0,r.jsxs)(s.View,{className:"flex-row",onClick:j,children:[(0,r.jsx)(s.Text,{style:{marginRight:"5px"},children:c}),(0,r.jsx)(t["default"],{name:"icon-zhankai",size:32})]})}else if(o==="empty"){v=(0,r.jsx)(s.View,{className:i["default"].empty,children:(0,r.jsx)(s.Text,{children:p})})}else{v=(0,r.jsx)(s.Text,{children:m})}return(0,r.jsx)(s.View,{className:i["default"].loadMore,children:v})};o["default"]=c}}]);