<template>
	<view><u-navbar title-color="#fff" :custom-back="customBack" :border-bottom="false" back-icon-color="#CCE8FF" :background="{background: '#008CFF' }" title="消息中心"></u-navbar>
	<view class="content">{{this.content}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: "",
			};
		},
		onLoad(page) {
			this.content = JSON.parse(page.content);
		},
		methods: {
			customBack(){
				this.$u.route({
					type:'switchTab',
					url: 'pages/center/index'
				});
			}
		}
		
	}
</script>

<style>
/* #ifndef H5 */
page {
	height: 100%;
	background-color: #F6F6FF;
}
/* #endif */
</style>

<style lang="scss" scoped>
	.content{
		padding: 20rpx 40rpx;
		line-height: 44rpx;
	}
</style>