<template>
	<view>
		<uni-card v-for="(item, index) in jianyiList" :key="index" :title="item.suggestionTime">
			<text class="uni-body">建议内容:{{ item.suggestionContent }}</text>
		</uni-card>
	</view>
</template>

<script>
import { listSuggestionReply, getSuggestionReply } from '@/api/advice/tishengjianyi.js';
export default {
	data() {
		return {
			jianyiList: []
		};
	},
	methods: {
		getDataList() {
			listSuggestionReply().then(res => {
				this.jianyiList = res.rows;
			});
		}
	},
	onLoad() {
		this.getDataList();
	}
};
</script>

<style lang="scss"></style>
