sf_web_dist/js/email-setting.1758193456747DsgoKCrn.js
2025-09-18 19:05:30 +08:00

2 lines
2.1 KiB
JavaScript
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{b2 as e,ag as l,r as a,m as d,e as m,w as o,N as t,bp as n,g as u,bq as s,am as p,an as r,O as V,l as f}from"./index.1758193456747CyhEUdoH.js";import{E as i}from"./el-card.1758193456747DRASO7Hj.js";const _=e({__name:"email-setting",setup(e){const _=l({name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""});a([]);const c=()=>{};return(e,l)=>{const a=p,b=s,y=r,x=n,U=i;return m(),d(U,{class:"base-info"},{header:o(()=>l[7]||(l[7]=[f("div",{class:"clearfix"},[f("span",null,"邮箱设置")],-1)])),footer:o(()=>[t(b,{label:"测试收件箱"},{default:o(()=>[t(a,{modelValue:u(_).name,"onUpdate:modelValue":l[6]||(l[6]=e=>u(_).name=e),placeholder:"例如info@example.com",style:{"max-width":"400px"}},null,8,["modelValue"]),t(y,{type:"primary",onClick:c,style:{"margin-left":"12px"}},{default:o(()=>l[9]||(l[9]=[V("测试发送邮件")])),_:1,__:[9]})]),_:1})]),default:o(()=>[t(x,{model:u(_),"label-width":"auto",style:{"max-width":"600px"}},{default:o(()=>[t(b,{label:"stmp服务器"},{default:o(()=>[t(a,{modelValue:u(_).name,"onUpdate:modelValue":l[0]||(l[0]=e=>u(_).name=e)},null,8,["modelValue"])]),_:1}),t(b,{label:"smtp端口"},{default:o(()=>[t(a,{modelValue:u(_).name,"onUpdate:modelValue":l[1]||(l[1]=e=>u(_).name=e)},null,8,["modelValue"])]),_:1}),t(b,{label:"stmp用户名"},{default:o(()=>[t(a,{modelValue:u(_).name,"onUpdate:modelValue":l[2]||(l[2]=e=>u(_).name=e)},null,8,["modelValue"])]),_:1}),t(b,{label:"stmp密码"},{default:o(()=>[t(a,{modelValue:u(_).name,"onUpdate:modelValue":l[3]||(l[3]=e=>u(_).name=e),placeholder:"不修改请留空QQy邮箱请填写授权码"},null,8,["modelValue"])]),_:1}),t(b,{label:"发送人Email"},{default:o(()=>[t(a,{modelValue:u(_).name,"onUpdate:modelValue":l[4]||(l[4]=e=>u(_).name=e)},null,8,["modelValue"])]),_:1}),t(b,{label:"发送人姓名"},{default:o(()=>[t(a,{modelValue:u(_).name,"onUpdate:modelValue":l[5]||(l[5]=e=>u(_).name=e)},null,8,["modelValue"])]),_:1}),t(b,null,{default:o(()=>[t(y,{type:"primary",onClick:c},{default:o(()=>l[8]||(l[8]=[V("保存")])),_:1,__:[8]})]),_:1})]),_:1},8,["model"])]),_:1})}}},[["__scopeId","data-v-0269a5aa"]]);export{_ as default};