<template>
	<view class="page" :style="themeColor">
		<view class="flex benben-position-layout flex flex-wrap align-center registrationAgreemen_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub registrationAgreemen_fd0_0'>
				<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
					<text class='fu-iconfont2  registrationAgreemen_fd0_0_c0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">&#xE794;</text>
				</view>
				<view class='flex flex-wrap align-stretch justify-center flex-sub'>
					<text class='registrationAgreemen_fd0_0_c1_c0' v-if="type=='9'">注册协议</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='10'">隐私政策</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='11'">商品规格说明</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='15'">收费规则</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='18'">商家认证</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='22'">积分规则</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='24'">抵用券规则</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='25'">公司信息</text>
					<text class='registrationAgreemen_fd0_0_c1_c0_1' v-if="type=='23'">积分规则</text>
				</view>
				<view class='flex flex-wrap align-center registrationAgreemen_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
		<view class="ben_fu-jyf-parser_1">
			<jyf-parser :html="parser1 | richTextFormat"></jyf-parser>
		</view>


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


		data() {
			return {
				"parser1": "",
				"type": "1"
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				type
			} = options
			if (type !== undefined) this.type = type
		},
		onShow() {
			this.Get636c78ae2216b()
		},
		methods: {
			Get636c78ae2216b(){
				this.$api.post(global.apiUrls.Get636c78ae2216b,{
					aid:this.type
				}).then(res=>{
					if(res.data.code==1){
						this.parser1 = 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;
	}

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

	.registrationAgreemen_fd0_0_c2 {
		width: 32rpx;
		height: 32rpx;
	}

	.registrationAgreemen_fd0_0_c1_c0_1 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.registrationAgreemen_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.registrationAgreemen_fd0_0_c0_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.registrationAgreemen_fd0_0 {
		border-bottom: 1px solid rgba(238, 238, 238, 1);
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

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

	}
</style>
