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

208 lines
3.4 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
7 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
7 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
7 months ago
7 months ago
7 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. </view>
  31. <view class="chezhaoren">
  32. <uv-icon name="car-fill" color="#2979ff" size="50"></uv-icon>
  33. 车找人 {{item.num}}空位
  34. </view>
  35. <view class="lianxi">
  36. <uv-icon name="phone-fill" color="#fff" size="40"></uv-icon>
  37. 联系
  38. </view>
  39. </view>
  40. <view class="address">
  41. <view class="shi">
  42. </view>
  43. <view class="zhi">
  44. {{item.startAddress}}
  45. </view>
  46. </view>
  47. <view class="ads">
  48. <view class="zhon">
  49. </view>
  50. <view class="zhi">
  51. {{item.endAddress}}
  52. </view>
  53. </view>
  54. <view class="time">
  55. 出发时间{{item.startTime}}
  56. </view>
  57. <view class="chexing">
  58. 车型suv
  59. </view>
  60. <view class="chezhuxinxi">
  61. <view class="sex">
  62. <uv-icon name="man" color="#2979ff" size="28"></uv-icon>
  63. </view>
  64. <view class="name">
  65. {{item.createBy}}
  66. </view>
  67. </view>
  68. </view>
  69. </template>
  70. <script>
  71. import mixinsSex from '@/mixins/sex.js'
  72. export default {
  73. mixins: [mixinsSex],
  74. props: ['item'],
  75. data() {
  76. return {
  77. };
  78. },
  79. methods: {
  80. callPhone() {
  81. uni.makePhoneCall({
  82. phoneNumber: this.item.phone
  83. })
  84. },
  85. },
  86. }
  87. </script>
  88. <style lang="scss" scoped>
  89. .item {
  90. height: 330rpx;
  91. width: 100%;
  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. background-color: black;
  109. }
  110. .chezhaoren {
  111. display: flex;
  112. justify-content: center;
  113. align-items: center;
  114. margin-right: 230rpx;
  115. border: 1rpx solid $uni-color;
  116. height: 40rpx;
  117. padding: 16rpx;
  118. color:$uni-color ;
  119. }
  120. .lianxi {
  121. color: #fff;
  122. background-color: $uni-color;
  123. height: 70rpx;
  124. display: flex;
  125. justify-content: center;
  126. align-items: center;
  127. width: 120rpx;
  128. border-radius: 15rpx;
  129. margin: 0rpx 20rpx;
  130. }
  131. }
  132. .address{
  133. display: flex;
  134. margin: 0rpx 10rpx;
  135. .shi{
  136. margin-right: 10rpx;
  137. background-color:$uni-color ;
  138. color: white;
  139. width: 30rpx;
  140. height: 30rpx;
  141. padding: 5rpx;
  142. border-radius: 50%;
  143. text-align: center;
  144. }
  145. .zhi{
  146. margin-top: 5rpx;
  147. }
  148. }
  149. .ads{
  150. display: flex;
  151. margin: 10rpx 10rpx;
  152. .zhon{
  153. margin-right: 10rpx;
  154. background-color:red;
  155. color: white;
  156. width: 30rpx;
  157. height: 30rpx;
  158. padding: 5rpx;
  159. border-radius: 50%;
  160. text-align: center;
  161. }
  162. }
  163. .time{
  164. margin: 10rpx 10rpx;
  165. }
  166. .chexing{
  167. margin: 10rpx 10rpx;
  168. }
  169. .chezhuxinxi{
  170. display: flex;
  171. margin: 10rpx 10rpx;
  172. .sex{
  173. margin-top: 5rpx;
  174. }
  175. .name{
  176. margin-left: 8rpx;
  177. }
  178. }
  179. }
  180. </style>