<template>
	<view class="in">
		<text selectable="true" v-for="(item,index) in xwlist" :key="index">
			<text v-html="item.noticeContent"></text>
		</text>
	</view>
</template>

<script>
	// import xwxqVue from './xwxq.vue';
	export default {
		data() {
			return {
				xwlist: [],
				xw: '',
			}
		},

		onLoad(val) {
			console.log(val.xw);
			this.xw = val.xw

			let data = {
				noticeType: ''
			}
			this.$request(`/system/notice/list`, data, "get").then((res) => {

				this.xwlist = res.data.rows.filter(item => item.noticeId == this.xw)
			})

			//his.xw = JSON.parse(val.xw)
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	page {
		background-color: #fff;
	}

	.in {
		box-sizing: border-box;
		padding: 15px;
	}
</style>