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