illustrate.vue 1.3 KB
<template>
	<view>
		 <!-- 预订说明 -->
		<view class="whiteItem">
			<view v-html="introduction" class="richzz">
			
			</view>
		</view>

	</view>



</template>

<script setup>
	import {
		reactive,
		toRefs,
		getCurrentInstance
	} from 'vue';
	import * as hotel from '@/common/hotel.js';
	import {onLoad,onShow} from '@dcloudio/uni-app';
	const app = getApp();
	const data = reactive({
		id: null,
		form:{},
		introduction:''
	})
	const {
		id,form,introduction
	} = toRefs(data);
	onLoad(option => {
		hotel.getActivityDetail(option.activeId).then(res => {
			introduction.value = res.data.introduction
		})
		
	})
</script>

<style lang="scss" scoped>
	.whiteItem {
		width: 700rpx;
		box-sizing: border-box;
		margin: 0 auto 26rpx;
		padding: 26rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 0rpx 27rpx 0rpx #DEDEDE;
		border-radius: 15rpx;

		.tt {
			line-height: 1;
			border-left: 4rpx solid #1EC886;
			color: #1EC886;
			padding-left: 14rpx;
		}

		.m1 {
			width: 314rpx;
			height: 225rpx;
		}

		.m2 {
			width: 315rpx;
			height: 103rpx;
			float: right;
		}

		.m3 {
			width: 315rpx;
			height: 103rpx;
			position: absolute;
			right: 0;
			bottom: 0;
		}
	}
	.richzz{
		line-height: 1.6;
		color: #333;
		text-align: justify;
	}
</style>