var f=(t,i,n)=>new Promise((u,o)=>{var p=e=>{try{c(n.next(e))}catch(l){o(l)}},s=e=>{try{c(n.throw(e))}catch(l){o(l)}},c=e=>e.done?u(e.value):Promise.resolve(e.value).then(p,s);c((n=n.apply(t,i)).next())});import{_ as v,c as r,w as a,P as h,aP as x,f as y,o as d,k as _,j as I,i as m,p as g,t as k,al as w,a6 as b}from"./index-CZJgrp0v.js";import{c as C}from"./eventJava.C13-6nEn.js";const D={name:"eventRules",data(){return{eventId:"",title:"",descriptions:""}},methods:{getEventInfoData(){return f(this,null,function*(){let t=yield C(this.eventId),{data:i,code:n}=t;if(n!==0){h({title:t.msg,icon:"none"});return}this.title=i.name+"竞赛规程",this.descriptions=x(i.descriptions)})}},onLoad(t){this.eventId=t.eventId,this.getEventInfoData()}};function E(t,i,n,u,o,p){const s=I,c=w,e=b,l=y("layout-default-uni");return d(),r(l,null,{default:a(()=>[_(s,{class:"container"},{default:a(()=>[o.descriptions!=""?(d(),r(s,{key:0,class:"content"},{default:a(()=>[_(s,{class:"content_top",style:{position:"relative"}},{default:a(()=>[_(s,{class:"title"},{default:a(()=>[g(k(o.title),1)]),_:1})]),_:1}),_(s,{class:"des-content"},{default:a(()=>[_(c,{nodes:o.descriptions},null,8,["nodes"])]),_:1})]),_:1})):m("",!0),t.eventRulesContent==""?(d(),r(e,{key:1})):m("",!0)]),_:1})]),_:1})}const V=v(D,[["render",E],["__scopeId","data-v-b4e2bcbb"]]);export{V as default};
