Files
anmo/server/public/admin/assets/index-T1I-44Uq.js
2025-08-19 14:16:51 +08:00

2 lines
2.5 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{d as E,r as k,S as C,o as s,a as l,m as t,w as a,p as n,f as V,eY as P,F as _,e as B,z as L,b as i,G as p,t as u,v as N,L as T,M as D,x as H}from"./index-CGub03FT.js";import{E as F}from"./el-card-CTMWsRly.js";import{E as I,a as S}from"./el-table-column-DBYsaEIo.js";import"./el-checkbox-DPTWUty2.js";/* empty css */import{d as U}from"./payment-BfDXhAsk.js";import{E as W}from"./index-VnZzjdgn.js";import"./_baseIteratee-DQXt5gsj.js";import"./_Uint8Array-K6PPz5Xs.js";import"./isEqual-BjNIK6f1.js";import"./_initCloneObject-DyM2wGFM.js";import"./isArrayLikeObject-CV-4lauF.js";const z={key:0,class:"text-lg mb-5 font-medium"},G={key:1,class:"text-lg mb-5 font-medium"},M={key:2,class:"text-lg mb-5 font-medium"},R={style:{color:"#67c23a"}},Y=E({__name:"index",setup(j){const d=k([]);return(async()=>{d.value=await U()})(),(A,e)=>{const c=N,f=C("router-link"),y=T,r=I,g=W,w=S,b=F,x=D;return s(),l(_,null,[t(f,{class:"mr-2",to:{path:V(P)("pay.pay_way/setPayWay")}},{default:a(()=>[t(c,{type:"primary"},{default:a(()=>e[0]||(e[0]=[n("设置支付方式")])),_:1})]),_:1},8,["to"]),t(b,{shadow:"never",class:"mt-4 !border-none"},{default:a(()=>[(s(!0),l(_,null,B(d.value,(v,m)=>L((s(),l("div",{style:{"padding-bottom":"50px"},key:m},[m==1?(s(),l("div",z,e[1]||(e[1]=[n(" 微信小程序 "),i("span",{class:"text-xs form-tips font-normal ml-2"},"在微信小程序中付款的场景",-1)]))):p("",!0),m==2?(s(),l("div",G,e[2]||(e[2]=[n(" 微信公众号 "),i("span",{class:"text-xs font-normal form-tips ml-2"},"在微信公众号H5页面中付款的场景公众号类型一般为服务号",-1)]))):p("",!0),m==3?(s(),l("div",M,e[3]||(e[3]=[n(" H5支付 "),i("span",{class:"text-xs form-tips font-normal ml-2"},"在浏览器H5页面中付款的场景",-1)]))):p("",!0),t(w,{data:v,style:{width:"100%"}},{default:a(()=>[t(r,{prop:"icon",label:"图标","min-width":"150"},{default:a(o=>[t(y,{src:o.row.icon,alt:"图标",style:{width:"34px",height:"34px"}},null,8,["src"])]),_:1}),t(r,{prop:"pay_way_desc",label:"支付方式","min-width":"150"}),t(r,{prop:"is_default",label:"默认支付","min-width":"150"},{default:a(o=>[t(g,{modelValue:o.row.is_default,"onUpdate:modelValue":h=>o.row.is_default=h,name:1,label:1},{default:a(()=>[n(u(o.row.is_default?"默认":"-"),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:1}),t(r,{prop:"status",label:"状态","min-width":"150"},{default:a(o=>[i("span",R,u(o.row.status==1?"开启":"关闭"),1)]),_:1})]),_:2},1032,["data"])])),[[x,d.value.length==0]])),128))]),_:1})],64)}}}),lt=H(Y,[["__scopeId","data-v-7474ee81"]]);export{lt as default};