import{d as e,e as s,a9 as a,b8 as n,b9 as t,f as c,g as o,o as i,h as l,w as r,i as _,j as d,A as u,m as p,O as f,y as m,z as A}from"./index-WeUkftbp.js";import{_ as b,a as g}from"./uni-row.DLutFlIQ.js";import{_ as y}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=y(e({__name:"index",setup(e){const y=s({templateType:["business_approval","business_adopt_apply","business_adopt_cc","business_fail","business_recall","assess_selt","assess_examine","assess_end","contract_expend","dealt_person_work","dealt_client_work","dealt_money_work","daily_remind","daily_update_remind","daily_show_remind","contract_urgent_renew","contract_day_remind","contract_overdue_remind","contract_return_money","contract_renew","finance_verify_success","contract_soon_overdue_remind","contract_overdue_day_remind","contract_abnormal","finance_verify_fail","finance_invoice_open","finance_invoice_close","finance_invoice_verify_fail","finance_invoice_verify_success"],count:0,message:{},selectedType:["delete","recall"]});a((()=>{n("message",(e=>{y.message=e.data,v(e)}))}));const v=e=>{const s=e.data.template_type;y.templateType.includes(s)&&(y.count++,V(),setTimeout((()=>{y.count=0}),5e3))},k=()=>{const e=y.message.buttons[0];e.uni_url&&!y.selectedType.includes(e.action)&&p(e.uni_url)},V=()=>{const e=t();e.src="/work/assets/tip-CHBt6PB0.mp3",e.autoplay=!0};return(e,s)=>{const a=f,n=c(o("uni-col"),b),t=m,p=A,v=c(o("uni-row"),g);return i(),l(p,{class:"global-content"},{default:r((()=>[_(p,{class:u(["global-notice",y.count>0?"active":"active-n"]),onClick:k},{default:r((()=>[_(v,{class:"display-align"},{default:r((()=>[_(n,{span:6,class:"global-notice-left"},{default:r((()=>[_(a,{class:"image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABCpJREFUWEfdmU+IHFUQxn/Vs6KHeFy7RyII5hDBwy4IRvDgQTFCggkmEEFQwQVFZHvWEAwasksiETE7vQeJkD1EFAwYScQBIwp6EFQQkoNgwIiX4HS7R/eguNMlr2dnmf/zXvfAsNZlDl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09xjzVL+8zH4AzVS2pSM/VbfC4taqRCPNj1mFFp8pKUpG+o96hA+1cfYaVpMFOgyLbQvy/Phm0drWtPsq0PzxTXEQ4WbQQtDhNoVFlqTWZtMmmkSnRj8T0HpR4WjUbN7mOuGIxHxYbfGqGezYi231yCe6oZGd1Dx77RLhvU/zOtk2YJqn56Vb5jZRa8pr84Cqy3f8/pynB360vRwkAAAAASUVORK5CYII=",mode:""})])),_:1}),_(n,{span:18,class:"global-notice-right"},{default:r((()=>[_(p,{class:"global-line"},{default:r((()=>[d(" 您有 "),_(t,{class:"default-color"},{default:r((()=>[d("1")])),_:1}),d(" 条新待办 ")])),_:1})])),_:1})])),_:1})])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-a900dd70"]]);export{v as g};
