<template>
	<view class="msg-detail-page">
		<u-navbar title="消息详情" bg-color="#fff" title-color="#111" :border-bottom="true" @leftClick="goBack">
			<view slot="left">
				<u-icon name="arrow-left" size="44" color="#111"></u-icon>
			</view>
		</u-navbar>

		<view class="msg-detail u-p-40">
			<view class="msg-title u-font-20 u-m-b-20">{{ title }}</view>
			<view class="msg-desc u-font-14 u-tips-color">{{ desc }}</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			title: '',
			desc: ''
		}
	},
	onLoad(e) {
		this.title = decodeURIComponent(e.title || '')
		this.desc = decodeURIComponent(e.desc || '')
	},
	methods: {
		goBack() {
			uni.navigateBack()
		}
	}
}
</script>

<style lang="scss" scoped>
.msg-detail-page {
	background: #fff;
	min-height: 100vh;
}
.msg-detail {
	line-height: 1.8;
}
.msg-title {
	font-weight: bold;
}
</style>