洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
1.7 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="itemBox" >
  3. <view class="img">
  4. <image :src="item.schoolIntroduceDO.iconPath" mode="" v-if="item.schoolIntroduceDO"></image>
  5. </view>
  6. <view class="textCon">
  7. <view class="name oneRowText">{{item.name}}</view>
  8. <view class="flex-b">
  9. <view class="starBox">
  10. <view class="num">{{item.stars|| '无'}}</view>
  11. </view>
  12. <callPhone v-if="showPhone" :servicePhone="[{name: item.phone}]">
  13. <view class="pozPhone">
  14. <image src="@/static/images/indexIcon/phone.png" mode=""></image>
  15. </view>
  16. </callPhone>
  17. </view>
  18. <view class="adr"><text style="margin-right: 6rpx;">{{item.districtName}}</text> 距您{{ $u.utils.distanceFn(item.distance)}}</view>
  19. <!-- <view class="credit">行业信用 <text v-if="item.creditrating">{{item.creditrating}}</text></view> -->
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. props: {
  26. showPhone: {
  27. type: Boolean,
  28. default: true
  29. },
  30. item: {
  31. type: Object,
  32. default: {}
  33. }
  34. },
  35. methods: {
  36. }
  37. }
  38. </script>
  39. <style lang="scss" scoped>
  40. .itemBox {
  41. background: #FFFFFF;
  42. border-radius: 16rpx;
  43. padding: 20rpx 0rpx;
  44. position: relative;
  45. display: flex;
  46. border-bottom: 1px solid #F4F4F4;
  47. }
  48. .img {
  49. width: 200rpx;
  50. height: 135rpx;
  51. background: #f6f6f6;
  52. border-radius: 20rpx;
  53. overflow: hidden;
  54. flex-shrink: 0;
  55. }
  56. .textCon {
  57. flex: 1;
  58. font-size: 24rpx;
  59. padding: 0 0 0 20rpx;
  60. width: 0;
  61. .name {
  62. font-size: 26rpx;
  63. margin-top: 4rpx;
  64. color: #363A44;
  65. }
  66. .starBox {
  67. margin: 10rpx 0;
  68. }
  69. .credit {
  70. color: #1989FA;
  71. margin-bottom: 4rpx;
  72. }
  73. .adr {
  74. color: #999;
  75. font-size: 24rpx;
  76. }
  77. }
  78. .pozPhone {
  79. width: 55rpx;
  80. height: 55rpx;
  81. margin-top: 10rpx;
  82. }
  83. </style>