| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 | <template>	<dm-pop-view ref="popView" title="更多筛选" :isShowConfirm="false" :maskTapHide="true">		<scroll-view class="screen_container" scroll-y="true">			<view class="screen_item_title" v-if='isSingleProject && roleType != 12'>选择报备组织</view>			<view class="reportOrganize" @click="openReportOrganizePicker">				<view class="organizeName">					{{holdReportOrganize.title}}				</view>				<image class="organizeIcon" src="../../static/icons/icon_aboutUs_DropDown.png" mode=""></image>			</view>			<view class="screen_item_title">报备方式</view>			<view class="level_tag_view">				<text class="level_tag" :style="{ color: holdReportType == item.value ? '#fff' : '#666', 'background-color': holdReportType == item.value ? themeColor : '#F1F5F9' }"				 v-for="(item, i) in reportTypeList" :key="i" @click="chooseType(item)">					{{ item.title }}				</text>			</view>			<view class="screen_item_title" v-if="false">报备状态</view>			<view class="level_tag_view" v-if="false">				<text class="level_tag" :style="{ color: holdReportState == item.value ? '#fff' : '#666', 'background-color': holdReportState == item.value ? themeColor : '#F1F5F9' }"				 v-for="(item, i) in reportStateList" :key="i" @click="chooseState(item)">					{{ item.title }}				</text>			</view>			<view class="bottom_btn" style="margin-top: 60rpx;">				<text class="reset_btn" :style="{'background-color':themeColor25}" @click="resetAction">重置</text>				<text class="pop_btn" :style="{'background-color':themeColor}" @click="sureAction">确定</text>			</view>						<dm-picker-view ref="reportOrganizePicker" :options="reportOrganizeList" :value="holdReportOrganize.value" title="选择报备组织" @confirm="confirmReportOrganize"></dm-picker-view>		</scroll-view>	</dm-pop-view></template><script>	import dmPopView from './dmPopView.vue'	import dmPickerView from './dmPickerView.vue'		export default {		props: {			isSingleProject: {				type: Boolean,				default: true			},			roleType: {				type: [Number, String],				default: '0'			},			holdReportOrganize: Object,			holdReportType: String,			holdReportState: String,			reportTypeList: Array,			reportStateList: Array,			reportOrganizeList: Array		},		data() {			return {				themeColor: '',				fuzhuColor: '',				themeColor50: '',				themeColor25: '',				fuzhuColor50: '',			}		},		mounted() {			let globalData = getApp().globalData			this.themeColor = globalData.themeColor			this.themeColor50 = globalData.themeColor50			this.themeColor25 = globalData.themeColor25			this.fuzhuColor = globalData.fuzhuColor			this.fuzhuColor50 = globalData.fuzhuColor50		},		methods: {			show() {				this.$refs.popView.show()			},			openReportOrganizePicker() {				this.$refs.reportOrganizePicker.show()			},			chooseType(item) {				this.$emit('chooseType', item)			},			chooseState(item) {				this.$emit('chooseState', item)			},			confirmReportOrganize(e) {				this.$emit('confirmReportOrganize', e)			},			resetAction() {				this.$refs.popView.hide()				this.$emit('resetAction')			},			sureAction() {				this.$refs.popView.hide()				this.$emit('sureAction')			}		},		components: {			dmPopView,			dmPickerView		}	}</script><style scoped lang="scss">	.screen_container {		// display: flex;		// flex-direction: column;		position: relative;		margin-bottom: 50rpx;		width: 750rpx;		height: 760rpx;		.screen_item_title {			margin-left: 30rpx;			margin-top: 54rpx;			line-height: 44rpx;			font-size: 32rpx;			font-family: Verdana, Verdana-Bold;			font-weight: 700;			text-align: left;			color: #454545;		}		.level_tag_view {			margin-left: 30rpx;			margin-top: 0rpx;			display: flex;			flex-wrap: wrap;			.level_tag {				margin-right: 16rpx;				width: 220rpx;				height: 72rpx;				border-radius: 12rpx;				font-size: 28rpx;				font-family: Verdana, Verdana-Regular;				font-weight: 400;				text-align: center;				line-height: 72rpx;				margin-top: 20rpx;			}		}		.reportOrganize {			margin-top: 20rpx;			margin-left: 30rpx;			margin-right: 30rpx;			padding: 0 30rpx;			box-sizing: border-box;			border-radius: 16rpx;			background-color: #F1F5F9;			height: 94rpx;			display: flex;			justify-content: space-between;			align-items: center;			line-height: 94rpx;			.organizeName {				font-size: 28rpx;				font-family: Verdana;			}			.organizeIcon {				width: 14rpx;				height: 9rpx;			}		}		.screen_item_sub {			margin-top: 8rpx;			margin-bottom: 40rpx;			margin-left: 30rpx;			line-height: 34rpx;			font-size: 24rpx;			font-family: Verdana, Verdana-Regular;			font-weight: 400;			text-align: left;			color: #999999;		}		.score_view {			margin-top: 30rpx;			margin-bottom: 120rpx;			display: flex;			justify-content: center;			align-items: center;			height: 82rpx;			.score_text {				font-size: 70rpx;				font-family: 'DIN Alternate', 'DIN Alternate-Bold';				font-weight: 700;			}			.score_unit {				padding-top: 25rpx;				font-size: 28rpx;				font-family: Verdana, Verdana-Regular;				font-weight: 400;			}		}		.bottom_btn {			display: flex;			justify-content: center;			margin-bottom: 60rpx;			.reset_btn {				width: 156rpx;				height: 80rpx;				border-radius: 40rpx;				font-size: 28rpx;				font-family: Verdana, Verdana-Bold;				font-weight: 700;				text-align: center;				line-height: 80rpx;				color: #666666;			}			.pop_btn {				margin-left: 30rpx;				width: 444rpx;				height: 80rpx;				border-radius: 40rpx;				font-size: 28rpx;				font-family: Verdana, Verdana-Bold;				font-weight: 700;				text-align: center;				line-height: 80rpx;				color: #ffffff;			}		}	}</style>
 |