| | |
| | | <Notice v-if="state.activeMenu==2" ref="noticeRef"/> |
| | | <Laws v-if="state.activeMenu==3" ref="lawsRef"/> |
| | | <Publish v-if="state.activeMenu==4" ref="publishRef"/> |
| | | <Details ref="detailsRef"></Details> |
| | | </div> |
| | | </div> |
| | | <!-- 底部 --> |
| | |
| | | import Notice from './components/notice' |
| | | import Laws from './components/laws' |
| | | import Publish from './components/publish' |
| | | import Details from './components/details' |
| | | |
| | | const route = useRoute() |
| | | const router = useRouter() |
| | |
| | | activeMenu: 1, |
| | | date: '', |
| | | weekDay: '', |
| | | dayTime: '' |
| | | dayTime: '', |
| | | checkDetails: false |
| | | }) |
| | | |
| | | // 当前时间 |
| | | const getDateTime = () => { |
| | | const curTime = new Date().toLocaleString('zh', timeForm).replace(/\//g, '-'); |
| | | console.log(curTime,'time') |
| | | state.date = curTime.slice(0, 10); |
| | | let week = ['日', '一', '二', '三', '四', '五', '六']; |
| | | let day = new Date().getDay(); |