import{c as t,s,B as a,o as e,C as l,f as o,g as i,w as n,bY as r,_ as p,q as c,n as d,m as u,z as m,i as f,I as g,p as y,r as _,F as h,K as x,l as w,u as b,G as k,t as S}from"./index-007bf156.js";import{_ as j}from"./s-empty.df9577ad.js";import{_ as v}from"./uni-load-more.4c025ab2.js";import{_ as z}from"./s-layout.19bedb43.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */import"./phone-international-input.3617e4e0.js";import"./useGoods.ac3bf93e.js";const $=I({__name:"merchantApplyList",props:{merchantApplyId:{type:Number,default:""}},setup(I){const $=I;t((()=>s.$store("user").userWallet)),s.$platform.device.statusBarHeight,t((()=>s.$store("user").userInfo)),s.$platform.navbar;const C=a({currentTab:0,pagination:{list:[],total:0,pageSize:10,pageNo:1},loadStatus:""});async function M(){C.loadStatus="loading";let{code:t,data:s}=await r.getMerchantPage({pageNo:C.pagination.pageNo,pageSize:C.pagination.pageSize,merchantApplyId:$.merchantApplyId});if(0!==t)return;let a=p.concat(C.pagination.list,s.list);C.pagination.list=a,C.pagination.total=s.total,C.loadStatus=C.pagination.list.length<C.pagination.total?"more":"noMore"}function N(){"noMore"!==C.loadStatus&&(C.pagination.pageNo++,M())}return e((()=>{M()})),l((()=>{N()})),(t,a)=>{const e=x,l=w,r=c(b("s-empty"),j),p=c(b("uni-load-more"),v),I=k,$=c(b("s-layout"),z);return o(),i($,{class:"wallet-wrap",bgStyle:{backgroundColor:"#ffffff"},title:"审核记录",navbar:"normal"},{default:n((()=>[d(l,{class:"model-box ss-flex-col"},{default:n((()=>[C.pagination.total>0?(o(),i(l,{key:0,style:{padding:"0 20rpx"}},{default:n((()=>[d(l,{class:"list-item ss-flex ss-col-center ss-row-between",style:{padding:"20rpx 0","border-bottom":"1px solid #c4c4c4"}},{default:n((()=>[d(l,{class:"ss-flex ss-col-center",style:{width:"100%"}},{default:n((()=>[d(l,{class:"ss-flex ss-m-t-10",style:{"flex-direction":"column","align-items":"flex-start",width:"100%"}},{default:n((()=>[d(l,{class:"name",style:{width:"100%"}},{default:n((()=>[u(" 商户登陆地址: "),d(e,{class:"color-red",onClick:a[0]||(a[0]=t=>m(s).$helper.copyText("https://sh.letcgo.com"))},{default:n((()=>[u("https://sh.letcgo.com")])),_:1})])),_:1}),d(l,{class:"time",style:{width:"100%"}},{default:n((()=>[u(" 默认管理员账号: 联络人手机号 ")])),_:1}),d(l,{class:"time",style:{width:"100%"}},{default:n((()=>[u(" 默认管理员密码: zxpt@联络人手机号 ")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):f("",!0),d(I,{class:"list-box","scroll-y":"true",onTouchmove:a[3]||(a[3]=g((()=>{}),["stop"]))},{default:n((()=>[C.pagination.total>0?(o(),i(l,{key:0,style:{padding:"20rpx","padding-top":"0"}},{default:n((()=>[(o(!0),y(h,null,_(C.pagination.list,((t,a)=>(o(),i(l,{class:"list-item ss-flex ss-col-center ss-row-between",key:t.id,style:{padding:"20rpx 0","border-bottom":"1px solid #c4c4c4"}},{default:n((()=>[d(l,{class:"ss-flex ss-col-center",style:{width:"100%"}},{default:n((()=>[d(l,{class:"ss-flex ss-m-t-10",style:{"flex-direction":"column","align-items":"flex-start",width:"100%"}},{default:n((()=>[d(l,{class:"name",style:{width:"100%"}},{default:n((()=>[u(S(1===t.status?"通过":"拒绝"),1)])),_:2},1024),d(l,{class:"time",style:{width:"100%"}},{default:n((()=>[u(" 审核时间:"+S(m(s).$helper.timeFormat(t.createTime,"yyyy-mm-dd hh:MM")),1)])),_:2},1024),d(l,{class:"time",style:{width:"100%"}},{default:n((()=>[u(" 描述:"+S(t.checkComment),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})):(o(),i(r,{key:1,text:"暂无数据",paddingTop:"200",icon:"/static/data-empty.png"})),C.pagination.total>0?(o(),i(p,{key:2,status:C.loadStatus,"content-text":{contentdown:"点击加载更多"},onClick:a[1]||(a[1]=t=>N()),onScrolltolower:a[2]||(a[2]=t=>N())},null,8,["status"])):f("",!0)])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-02c49684"]]);export{$ as default};
