<template>
	<view class="view">
		<!-- <image :src="$util.img('/upload/weapp/user/bf.png')"></image> -->
		<view class="notice-content">
			<u-parse :content="content" :selectable="true"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: '' //富文本
			}
		},
		methods: {

		},
		onShow() {

			this.$api.sendRequest({
				url: '/api/config/businessServiceContent',
				data: {},
				success: res => {
					this.content = res.data.content;
					let content = this.content;
					content = content.replace(
						/\<img/gi,
						'<img style="width:auto;height:auto;max-width:100%;"'
					);
					this.content = content;
				}
			})
		}
	}
</script>

<style lang="scss" scoped>
	.view {
		min-height: 100vh;
		background-color: #fff;
		padding: 32rpx;

		image {
			width: 686rpx;
			height: 272rpx;
			background: #D8D8D8;
			border-radius: 16rpx;
			margin-bottom: 32rpx;
		}



	}
</style>