dmCheckboxPreView.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <template>
  2. <dm-pop-view ref='popView' :title="title" :isShowConfirm='true'>
  3. <view class="screen_container" >
  4. <view class="level_tag_view">
  5. <text class="level_tag" v-for="(item, i) in curItem" :key="i">{{item.dicDataName}}</text>
  6. </view>
  7. </view>
  8. </dm-pop-view>
  9. </template>
  10. <script>
  11. import dmPopView from './dmPopView.vue'
  12. export default {
  13. props: {
  14. curItem: Array,
  15. title:{
  16. type:String,
  17. default:'请选择'
  18. },
  19. },
  20. data() {
  21. return {
  22. }
  23. },
  24. methods: {
  25. show() {
  26. this.$refs.popView.show()
  27. }
  28. },
  29. components: {
  30. dmPopView
  31. }
  32. }
  33. </script>
  34. <style scoped lang="scss">
  35. .pop-pickerView {
  36. margin: 40rpx 0;
  37. width: 750rpx;
  38. height: 300rpx;
  39. .column-item {
  40. height: 80rpx;
  41. display: flex;
  42. box-sizing: border-box;
  43. white-space: nowrap;
  44. overflow: hidden;
  45. flex-direction: row;
  46. align-items: center;
  47. justify-content: center;
  48. }
  49. }
  50. .screen_container {
  51. display: flex;
  52. flex-direction: column;
  53. width: 750rpx;
  54. .screen_item_title {
  55. margin-left: 30rpx;
  56. margin-top: 54rpx;
  57. line-height: 44rpx;
  58. font-size: 32rpx;
  59. font-family: Verdana, Verdana-Bold;
  60. font-weight: 700;
  61. text-align: left;
  62. color: #454545;
  63. }
  64. .level_tag_view {
  65. margin-left: 30rpx;
  66. margin-top: 20rpx;
  67. margin-bottom: 100rpx;
  68. display: flex;
  69. flex-wrap: wrap;
  70. .level_tag {
  71. color: #666;
  72. margin-bottom: 20rpx;
  73. padding: 0rpx 20rpx;
  74. margin-right: 30rpx;
  75. min-width: 116rpx;
  76. height: 56rpx;
  77. border-radius: 8rpx;
  78. font-size: 28rpx;
  79. font-family: Verdana, Verdana-Regular;
  80. font-weight: 400;
  81. text-align: center;
  82. line-height: 56rpx;
  83. }
  84. }
  85. .screen_item_sub {
  86. margin-top: 8rpx;
  87. margin-bottom: 40rpx;
  88. margin-left: 30rpx;
  89. line-height: 34rpx;
  90. font-size: 24rpx;
  91. font-family: Verdana, Verdana-Regular;
  92. font-weight: 400;
  93. text-align: left;
  94. color: #999999;
  95. }
  96. .score_view {
  97. margin-top: 30rpx;
  98. margin-bottom: 120rpx;
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. height: 82rpx;
  103. .score_text {
  104. font-size: 70rpx;
  105. font-family: 'DIN Alternate', 'DIN Alternate-Bold';
  106. font-weight: 700;
  107. }
  108. .score_unit {
  109. padding-top: 25rpx;
  110. font-size: 28rpx;
  111. font-family: Verdana, Verdana-Regular;
  112. font-weight: 400;
  113. }
  114. }
  115. .bottom_btn {
  116. display: flex;
  117. justify-content: center;
  118. margin-bottom: 60rpx;
  119. .reset_btn {
  120. width: 156rpx;
  121. height: 80rpx;
  122. border-radius: 40rpx;
  123. font-size: 28rpx;
  124. font-family: Verdana, Verdana-Bold;
  125. font-weight: 700;
  126. text-align: center;
  127. line-height: 80rpx;
  128. color: #666666;
  129. }
  130. .pop_btn {
  131. margin-left: 30rpx;
  132. width: 444rpx;
  133. height: 80rpx;
  134. border-radius: 40rpx;
  135. font-size: 28rpx;
  136. font-family: Verdana, Verdana-Bold;
  137. font-weight: 700;
  138. text-align: center;
  139. line-height: 80rpx;
  140. color: #ffffff;
  141. }
  142. }
  143. }
  144. </style>