<template>
	<view>
		<!-- p-notice -->
		<p-notice :bulletin="bulletin"></p-notice>
		<!-- p-icon-list -->
		<p-icon-list></p-icon-list>
		<!-- p-alarm -->
		<p-alarm></p-alarm>
		<!-- p-Gas -->
		<p-Gas></p-Gas>
		
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				bulletin:"",
				
			};
		},
		onLoad() {
			this.get_bulletin()
		},
		methods:{
			async get_bulletin(){
				const res = await this.$myRequest({
					method:'POST',
					url:'/dispatch/bulletin'
				})
				console.log(res.data.data.content)
				const data = res.data.data.content
				this.bulletin = data
			}
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #f3f3f3;
		box-sizing: border-box;
		padding: 20rpx 18rpx;
	}
	
	
</style>
