<template>
	<view class="fireBashWrapper">
		
		<block v-if="TabCur==0">
			<view class="" style="margin-top:0">
				<view class="cu-list menu-avatar ">
					<view class="cu-item" v-for="(item,index) in unporcessList" :key="index"  @tap="goFireBaseDetail">
						<view class="cu-avatar" style="background-image:url(../../../static/fire-base1.png);"></view>
						<view class="content">
							<view class="pro-title">
								<view class="cut">{{item.title}}</view>
							</view>
							<view class="pro-des  ">
								<view class="text-cut">
									{{item.subtit}}
								</view>
							</view>
							<view class="pro-date">{{item.time}}</view>
						</view>
						
					</view>
				</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				unporcessList:[{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},
				{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},
				{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},
				{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				},
				{
					title:'火灾逃生九大要诀',
					time:'2020-02-12',
					subtit:'admin'
				}],
				
				
				modalName: null,
				listTouchStart: 0,
				listTouchDirection: null,
				CustomBar: this.CustomBar,
				TabCur: 0,
				
				tabNav: ['未处理', '已处理']
			};
		},
		methods: {
			tabSelect(e) {
				this.TabCur = e.currentTarget.dataset.id;
				this.scrollLeft = (e.currentTarget.dataset.id - 1) * 60
			},
			
			// 页面跳转
			goFireBaseDetail() {
				uni.navigateTo({
					url: '/pages/info/fireBashDetail/fireBashDetail',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			},
			goProcessedDetail(){
				uni.navigateTo({
					url: '/pages/processedDetail/processedDetail',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
				
			}
		}
	}
</script>

<style lang="scss">

	.processList{
		position:static;
	}
	
</style>
