<template>
	<view class="page" :style="themeColor">
		<view class="flex align-stretch benben-position-layout flex newDetail_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex align-center justify-between flex-sub newDetail_fd0_0'>
				<view class='flex align-center newDetail_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
					data-url="1">
					<text class='fu-iconfont2  newDetail_fd0_0_c0_c0'>&#xE794;</text>
				</view>
				<view class='flex align-center'>
					<text class='newDetail_fd0_0_c1_c0'>消息详情</text>
				</view>
				<view class='flex align-center newDetail_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

		<view class="flex flex-direction align-stretch newDetail_flex_1">
			<text class='newDetail_fd1_0'>{{details.title}}</text>
			<text class='newDetail_fd1_1'>{{details.create_time}}</text>
		</view>


		<view class="ben_fu-jyf-parser_2">
			<jyf-parser :html="parser2 | richTextFormat"></jyf-parser>
		</view>


	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"parser2": "这是富文本",
				"id": "",
				details:""
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {id} = options
			if (id !== undefined) this.id = id
			this.get6437c2a476843()
		},
		methods: {
			get6437c2a476843(){
				this.$api.post(global.apiUrls.get6437c2a476843,{
					id:this.id
				}).then(res=>{
					if(res.data.code==1){
						this.details = res.data.data
						this.parser2 = res.data.data.body
					}
				})
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto !important;
	}

	.newDetail_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.newDetail_fd0_0_c2 {
		width: 180rpx;
	}

	.newDetail_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
	}

	.newDetail_fd0_0_c0_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: #333;
	}

	.newDetail_fd0_0_c0 {
		width: 180rpx;
	}

	.newDetail_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.newDetail_flex_1 {
		padding: 25rpx 32rpx 16rpx 32rpx;
	}

	.newDetail_fd1_1 {
		color: rgba(153, 153, 153, 1);
		font-size: 24rpx;
		line-height: 81rpx;
	}

	.newDetail_fd1_0 {
		font-size: 32rpx;
		line-height: 54rpx;
		font-weight: 500;
		color: #333333;
	}

	.ben_fu-jyf-parser_2 {
		background-color: #fff;
		padding-left: 24rpx;
		padding-right: 24rpx;
		padding-top: 24rpx;
		padding-bottom: 24rpx;

	}
</style>
