瑶都万能墙
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.

220 lines
3.6 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
7 months ago
  1. <template>
  2. <view class="item" @click="$emit('click')">
  3. <!-- <image :src="item.imageTitle"
  4. @click.stop="previewImage([item.imageTitle])"
  5. mode="aspectFill"></image> -->
  6. <!-- <view class="text">
  7. <view class="title">
  8. {{ item.title }}
  9. </view>
  10. <view class="createBy">
  11. {{ item.num }}余座
  12. {{ item.startTime }}出发
  13. </view>
  14. <view class="createBy">
  15. {{ item.startAddress }}
  16. {{ item.endAddress }}
  17. </view>
  18. <view class="createBy">
  19. <view class="">
  20. {{ $dayjs(item.createTime).format('YYYY-MM-DD') }}
  21. </view>
  22. <callPhone
  23. style="margin-left: auto;"
  24. :phone="item.phone"
  25. title="司机"/>
  26. </view>
  27. </view> -->
  28. <view class="zhaoche">
  29. <view class="touxinag">
  30. <image :src="item.imageTitle" mode="aspectFill"></image>
  31. </view>
  32. <view class="chezhaoren">
  33. <uv-icon name="car-fill" color="#2979ff" size="50"></uv-icon>
  34. 车找人 {{item.num}}空位
  35. </view>
  36. <view class="lianxi">
  37. <uv-icon name="phone-fill" color="#fff" size="40"></uv-icon>
  38. 联系
  39. </view>
  40. </view>
  41. <view class="address">
  42. <view class="shi">
  43. </view>
  44. <view class="zhi">
  45. {{item.startAddress}}
  46. </view>
  47. </view>
  48. <view class="ads">
  49. <view class="zhon">
  50. </view>
  51. <view class="zhi">
  52. {{item.endAddress}}
  53. </view>
  54. </view>
  55. <view class="time">
  56. 出发时间{{item.startTime}}
  57. </view>
  58. <!-- <view class="chexing">
  59. 车型suv
  60. </view> -->
  61. <!-- <view class="chezhuxinxi">
  62. <view class="sex">
  63. <uv-icon name="man" color="#2979ff" size="28"></uv-icon>
  64. </view>
  65. <view class="name">
  66. {{item.createBy}}
  67. </view>
  68. </view> -->
  69. </view>
  70. </template>
  71. <script>
  72. import mixinsSex from '@/mixins/sex.js'
  73. export default {
  74. mixins: [mixinsSex],
  75. props: ['item'],
  76. data() {
  77. return {
  78. };
  79. },
  80. methods: {
  81. callPhone() {
  82. uni.makePhoneCall({
  83. phoneNumber: this.item.phone
  84. })
  85. },
  86. },
  87. }
  88. </script>
  89. <style lang="scss" scoped>
  90. .item {
  91. padding: 15rpx;
  92. background-color: #fff;
  93. overflow: hidden;
  94. border-radius: 10rpx;
  95. color: #777;
  96. // display: flex;
  97. font-size: 24rpx;
  98. margin: 30rpx 0;
  99. position: relative;
  100. .zhaoche {
  101. width: 100%;
  102. margin: 20rpx 10rpx;
  103. display: flex;
  104. justify-content: space-between;
  105. .touxinag {
  106. height: 70rpx;
  107. width: 70rpx;
  108. image{
  109. width: 100%;
  110. height: 100%;
  111. }
  112. }
  113. .chezhaoren {
  114. display: flex;
  115. justify-content: center;
  116. align-items: center;
  117. margin-right: auto;
  118. margin-left: 10rpx;
  119. border: 1rpx solid $uni-color;
  120. height: 40rpx;
  121. padding: 16rpx;
  122. color: $uni-color;
  123. border-radius: 10rpx;
  124. }
  125. .lianxi {
  126. color: #fff;
  127. background-color: $uni-color;
  128. height: 70rpx;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. width: 120rpx;
  133. border-radius: 15rpx;
  134. margin: 0rpx 20rpx;
  135. }
  136. }
  137. .address {
  138. display: flex;
  139. margin: 0rpx 10rpx;
  140. .shi {
  141. margin-right: 10rpx;
  142. background-color: $uni-color;
  143. color: white;
  144. width: 30rpx;
  145. height: 30rpx;
  146. padding: 5rpx;
  147. border-radius: 50%;
  148. text-align: center;
  149. }
  150. .zhi {
  151. margin-top: 5rpx;
  152. }
  153. }
  154. .ads {
  155. display: flex;
  156. margin: 10rpx 10rpx;
  157. .zhon {
  158. margin-right: 10rpx;
  159. background-color: red;
  160. color: white;
  161. width: 30rpx;
  162. height: 30rpx;
  163. padding: 5rpx;
  164. border-radius: 50%;
  165. text-align: center;
  166. }
  167. }
  168. .time {
  169. margin: 10rpx 10rpx;
  170. }
  171. .chexing {
  172. margin: 10rpx 10rpx;
  173. }
  174. .chezhuxinxi {
  175. display: flex;
  176. margin: 10rpx 10rpx;
  177. .sex {
  178. margin-top: 5rpx;
  179. }
  180. .name {
  181. margin-left: 8rpx;
  182. }
  183. }
  184. }
  185. </style>