| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 | <template>	<div class="dialog adffc" v-if="show">		<div class="dialog-box">			<div class="dialog-box-title">{{title}}</div>			<image class="dialog-box-close" :src="imgBase+'remind_close.png'" @click="close"></image>			<div class="dialog-box-list">				<div class="dialog-box-list-item" v-for="(item,index) in list" :key="index">					<div class="dialog-box-list-item-status" :class="{'wzd':item.status===0,'yzd':item.status===1}">{{statusCfg[item.status]}}</div>					<div class="dialog-box-list-item-name adfac">						<text>{{item.name}}</text>						<div class="type">{{typeCfg[item.type]}}</div>					</div>					<div class="dialog-box-list-item-email">{{item.email}}</div>				</div>			</div>		</div>	</div></template><script>	export default {		props:{			title:{				typeof:String,				default:'团队人员'			},			show:{				typeof:Boolean,				default:false			},			list:{				typeof:Array,				default:[]			}		},		data(){			return {				typeCfg:{					1:'赞助人Sponsor',					2:'团队Leader',					3:'利益相关者Stakeholder'				},				statusCfg:{					0:'未作答',					1:'已作答'				}			}		},		methods:{			close(){				this.$emit('close')			}		}	}</script><style scoped lang="scss">	.dialog{		position: fixed;		left: 0;		right: 0;		top: 0;		bottom: 0;		z-index: 1001;		background: rgba(0,0,0,.4);		justify-content: flex-end;		&-box{			width: 100%;			background: #F7F7F7;			border-radius: 24rpx 24rpx 0rpx 0rpx;			padding: 30rpx 24rpx 50rpx;			box-sizing: border-box;			position: relative;			&-title{				font-family: PingFang-SC, PingFang-SC;				font-weight: bold;				font-size: 32rpx;				color: #002846;				line-height: 32rpx;				text-align: center;			}			&-close{				width: 48rpx;				height: 48rpx;				position: absolute;				top: 30rpx;				right: 30rpx;			}			&-list{				height: 900rpx;				margin-top: 40rpx;				overflow-y: auto;				&-item{					background: #FFFFFF;					box-shadow: inset 0rpx -1rpx 0rpx 0rpx #EFEFEF;					border-radius: 24rpx;					margin-top: 20rpx;					position: relative;					padding: 36rpx 24rpx;					&-status{						padding: 11rpx 16rpx 29rpx 37rpx;						box-sizing: border-box;						position: absolute;						top: 0;						right: 0;						font-family: PingFangSC, PingFang SC;						font-weight: 400;						font-size: 24rpx;						color: #FFFFFF;						line-height: 24rpx;						&.wzd{							background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/team_user_wzd.png') no-repeat;							background-size: 100% 100%;						}						&.yzd{							background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/team_user_yzd.png') no-repeat;							background-size: 100% 100%;						}					}					&-name{						text{							font-family: PingFang-SC, PingFang-SC;							font-weight: bold;							font-size: 30rpx;							color: #002846;							line-height: 32rpx;						}						.type{							margin-left: 20rpx;							background: #F8F4F8;							border-radius: 20rpx;							padding: 5rpx 16rpx;							font-family: PingFangSC, PingFang SC;							font-weight: 400;							font-size: 22rpx;							color: #9F6196;							line-height: 30rpx;						}					}					&-email{						font-family: PingFangSC, PingFang SC;						font-weight: 400;						font-size: 28rpx;						color: #667E90;						line-height: 28rpx;						margin-top: 24rpx;					}				}			}		}	}</style>
 |