productCheck.vue 4.7 KB
<template>
	<view>
		<view class="productList">
			<view class="productItem">
				<view class="productRight">
					<image src="../../../static/image/del/ic_90@2x.png" mode=""></image>
				</view>
				<view class="productLeft">
					<view class="productName">
						物品名称1
					</view>
					<view class="productDesc">
						x1
					</view>
				</view>
			</view>
		</view>
		<view class="checkList">
			<view class="checkItem">
				<view class="companyItem">
					<view class="itemLeft">
						科室
					</view>
					<view class="itemRight">
						财务科
					</view>
				</view>
				<view class="companyItem">
					<view class="itemLeft">
						职位
					</view>
					<view class="itemRight">
						财务职员1
					</view>
				</view>
				<view class="companyItem">
					<view class="itemLeft">
						申请人姓名
					</view>
					<view class="itemRight">
						岳岳
					</view>
				</view>
				<!-- 条件判断控制显示申请时间、开始时间结束时间 -->
				<view class="companyItem">
					<view class="itemLeft">
						申请时间
					</view>
					<view class="itemRight">
						2020-10-31
					</view>
				</view>
				<!-- <view class="companyItem">
					<view class="itemLeft">
						开始时间
					</view>
					<view class="itemRight">
						2020-10-31
					</view>
				</view>
				<view class="companyItem">
					<view class="itemLeft">
						结束时间
					</view>
					<view class="itemRight">
						2020-10-31
					</view>
				</view> -->
			</view>
		</view>
		<view class="checkList">
			<view class="checkItem">
				<view class="companyItem" style="font-weight: 600;">
					申请原因
				</view>
				<view class="demandDesc">
					审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核审核容内容审核内容审核内容审核内容审核内容审核审核容
				</view>
			</view>
		</view>
		<!-- 底部按钮区域 -->
		<view style="height: 120rpx;"></view>
		<view class="bottomBtnWrap">
			<view class="btnItem">
				审核失败
			</view>
			<view class="btnItem active">
				审核通过
			</view>
		</view>
		<textarea-alert v-if="showReason" @close="showReason = false"></textarea-alert>
	</view>
</template>

<script>
	import textareaAlert from '@/components/textareaAlert.vue'
	export default{
		data(){
			return{
				showReason:true
			}
		},
		components:{
			textareaAlert
		}
	}
</script>

<style lang="scss">
	page{
		background-color: $uni-bg-color-hui;
	}
	.productList{
		padding: 32rpx;
		border-bottom: 2rpx solid  #ebedf0;
		background: $uni-bg-bai-color;
		.productItem{
			padding: 32rpx;
			display: flex;
			background: $uni-bg-color-hui;
			border-radius: 8rpx;
			.productLeft{
				flex: 1;
				.productName{
					padding-top: 26rpx;
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-line-clamp:1;
					-webkit-box-orient:vertical;
					font-size: $uni-font-size-36;
				}
				.productDesc{
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-line-clamp:2;
					-webkit-box-orient:vertical;
					padding-top: 26rpx;
					text-align: right;
					color: $uni-text-color-hui;
					font-size: $uni-font-size-28;
				}
			}
			.productRight{
				width: 232rpx;
				display: flex;
				justify-content: flex-start;
				image{width: 212rpx;height: 148rpx;border-radius: 20rpx;}
			}
		}
	}
	.checkList{
		padding: 32rpx;
		background: $uni-bg-bai-color;
		border-bottom: 2rpx solid  #ebedf0;
		.checkItem{
			border-radius: 20rpx;
			background: $uni-bg-bai-color;
			.companyItem{
				height: 70rpx;
				font-size: $uni-font-size-30;
				text{font-weight: 600;}
				display: flex;
				justify-content: space-between;
				align-items: center;
				.itemRight{
					flex: 1;
					height: 40rpx;
					border-radius: 20rpx;
					color: $uni-text-color-hui;
					line-height: $uni-font-lh-40;
				}
				.itemLeft{
					font-weight: 600;
					width: 200rpx;
				}
			}
			.demandDesc{
				font-size: $uni-font-size-30;
				padding-left: 60rpx;
				overflow: hidden;
				text-overflow: ellipsis;
				display: -webkit-box;
				-webkit-line-clamp:3;
				-webkit-box-orient:vertical;
			}
		}
	}
	/* 底部按钮区域 */
	.bottomBtnWrap{
		position: fixed;
		bottom: 0;
		width: 750rpx;
		height: 120rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 32rpx;
		background: $uni-bg-color-hui;
		.btnItem{
			width: 332rpx;
			height: 88rpx;
			background: #72d0f9;
			border-radius: 96rpx;
			text-align: center;
			color: $uni-text-color-bai;
			line-height: 88rpx;
			font-size: $uni-font-size-32;
		}
		.btnItem.active{
			background: $uni-bg-main-color;
		}
	}
	
</style>