<template>
	<view class="guide_body">
		<view v-for="(item,index) in guideList " :key="index" class="guide_item">
			<view class="guide_item_title">{{item.info}}</view>
			<image mode="widthFix" :src="imgs" v-for=" (imgs,imgsIndex) in item.imgs " :key="imgsIndex" class="guide_item_img"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				guideList:null
			}
		},
		onLoad(e) {
			if(e.guideList){
				this.init(e) 
			}
		},
		methods: {
			init(e){
				this.guideList = this.difData(e);
			},
			difData(e){
				return  JSON.parse(decodeURIComponent(e.guideList))
			}
		}
	}
</script>

<style lang="scss" scoped>
	@import 'index.scss';
</style>
