select-condition.vue 646 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <view class="box">
  3. <text>{{ val }}</text>
  4. <text class="iconfont">&#xeb6d;</text>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. props: {
  10. val: {
  11. type: String,
  12. default: ''
  13. }
  14. },
  15. data() {
  16. return {
  17. };
  18. },
  19. mounted() {
  20. }
  21. }
  22. </script>
  23. <style scoped lang="scss">
  24. .box {
  25. width: 230rpx;
  26. height: 58rpx;
  27. background-color: $bg_02;
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: center;
  31. padding: 20rpx;
  32. font-size: 24rpx;
  33. font-weight: normal;
  34. color: $SizeColor2;
  35. border-radius: 8rpx;
  36. .iconfont {
  37. font-size: 20rpx;
  38. }
  39. }
  40. .box+.box {
  41. margin-left: 20rpx;
  42. }
  43. </style>