aboutus.vue 860 字节
<template>

	<div class='box'>
		<div class="intro">
			<rich-text class="conRich" :nodes="aboutus.description"></rich-text>
		</div>

	</div>
</template>

<script>
	import app from "../../App.vue";
	export default {
		data() {
			return {
				aboutus: '',

			}
		},
		methods: {
			// 关于我们数据
			getus() {
				app.post("api/abouts/aboutDetail", '', 'get')
					.then(res => {
						console.log(res);
						this.aboutus = res


					})
					.catch(err => {});
			},



		},
		onLoad(options) {

		},
		mounted() {
			this.getus()

		},
		created() {

		}
	}
</script>

<style>
	.box {
		background: #F5F5F5;
		padding: 40rpx 34rpx;
		box-sizing: border-box;
	}

	.intro {
		background: #fff;
		height: 1112rpx;
		overflow-y: scroll;
		padding: 30rpx;
		box-sizing: border-box;
		color: #404040;
		font-size: 28rpx;
		line-height: 1.5;

	}
</style>