<template>
	<view>
		<z-navbar title="预定回访明细" back></z-navbar>
		<view class="ml-20">
			
		
		<z-timeline class="mt-24" align="top"  v-if="dataList.length" >
			<z-timeline-item :timestamp="item.createTime" v-for="(item,index) in dataList" :key="index">
				<z-card class="back_card mtb-20 " width="593">
					<view class="flex-n fac">
						<image class="back_card_img" :src="item.headImageSrc||'../../../static/touxiang_2.png'"></image>
						<view class="back_card_content">
							<view  class="back_card_text">{{item.roleName}}</view>
							<view  class="back_card_text">{{item.createUserName}}</view>
						</view>
					</view>
					<view  class="back_card_text2">{{item.remark}}</view>
				</z-card>
			</z-timeline-item>
		</z-timeline>
		<image class="norecord" mode="widthFix" src="../../../static/nocontent.png"></image>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList:[]
			};
		},
		mounted() {
			this.getData();
		},
		methods:{
			getData(){
				uni.getStorage({
					key:'orderFollowList',
					success: (res) => {
						this.dataList=res.data;
					}
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.norecord{
		width: 457rpx;
		margin-left: 147rpx;
		margin-top: 240rpx;
	}
.back_card{
	margin-left: 0!important;
	font-size: 24rpx;
	padding:26rpx;
	.back_card_img{
		width: 89rpx;
		min-width: 89rpx;
		height: 89rpx;
		border-radius: 45rpx;
		background: yellow;
		overflow: hidden;
		margin-right: 19rpx;
	}
	.back_card_text{
		color: #555555;
		line-height: 30rpx;
	}
	.back_card_text2{
		color: #888888;
		margin-left: 108rpx;
	}
}
</style>
