<template>
	<view>
		<view style="width: 100%;height: 80rpx;
					display: flex;
					flex-direction: row;
					align-items: center;
					justify-content: space-between;"
					@click="onTouchThisItem"
					>
			<text class="content_title">{{item.textmsg}}</text>
			<u-icon name="arrow-right" customStyle="margin-right: 20rpx;"/>
		</view>
		<u-line color="#E2E2E2" length="662rpx" customStyle="border: 1px solid #E2E2E2;margin-left:20rpx;" :hairline="true"></u-line>
	</view>
</template>

<script>
	import SkipData from '@/common/SkipData.js'
	export default {
		name:"HelpItem",
		props:{
			item : {
				type:Object,
				default: new SkipData()
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
			onTouchThisItem(){
				console.log('帮助信息：',this.item);
				getApp().globalData.showingSkipData = this.item;
				uni.navigateTo({
					url:'/pages/SkipView/SkipView'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>

	.content_title{
		height: 33rpx;
		font-size: 24rpx;
		font-family: PingFang SC;
		font-weight: 400;
		color: #333333;
		opacity: 1;
		margin-left: 20rpx;
	}
</style>
