<template> <dm-pop-view ref='popView' :title="title" :isShowConfirm='true'> <view class="screen_container" > <view class="level_tag_view"> <text class="level_tag" v-for="(item, i) in curItem" :key="i">{{item.dicDataName}}</text> </view> </view> </dm-pop-view> </template> <script> import dmPopView from './dmPopView.vue' export default { props: { curItem: Array, title:{ type:String, default:'请选择' }, }, data() { return { } }, methods: { show() { this.$refs.popView.show() } }, components: { dmPopView } } </script> <style scoped lang="scss"> .pop-pickerView { margin: 40rpx 0; width: 750rpx; height: 300rpx; .column-item { height: 80rpx; display: flex; box-sizing: border-box; white-space: nowrap; overflow: hidden; flex-direction: row; align-items: center; justify-content: center; } } .screen_container { display: flex; flex-direction: column; width: 750rpx; .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: 20rpx; margin-bottom: 100rpx; display: flex; flex-wrap: wrap; .level_tag { color: #666; margin-bottom: 20rpx; padding: 0rpx 20rpx; margin-right: 30rpx; min-width: 116rpx; height: 56rpx; border-radius: 8rpx; font-size: 28rpx; font-family: Verdana, Verdana-Regular; font-weight: 400; text-align: center; line-height: 56rpx; } } .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>