<template>
	<view class="content">
		<view class="box">
			<u-parse :content="text"></u-parse>
		</view>
	</view>
</template>

<script>
	import $api from '@/static/js/api.js'
	var that = ''
	export default {
		data() {
			return {
				text: ''
			}
		},
		onLoad() {
			that = this
			that.getData()
		},
		methods: {
			getData() {
				$api.req({
					url: '/data/api.business.Login/getconfigset',
					method: 'POST',
				}, function(res) {
					if(res.code ==1) {
						that.text = res.data.shop_platform_rules
					}
				})
			}
		},
	}
</script>

<style lang="scss" scoped>
	.content {
		padding: 30rpx;
		.box {
			width: 100%;
		}
	}
</style>