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

279 lines
4.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
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 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
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 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
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
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 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="box">
  33. <view class="chezhaoren">
  34. <uv-icon name="car-fill" color="#2979ff" size="50"></uv-icon>
  35. <!-- 车找人 -->{{item.userId_dictText}}
  36. </view>
  37. <view class="lianxi">
  38. <!-- <uv-icon name="phone-fill" color="#fff" size="40"></uv-icon>
  39. 联系 -->
  40. <callPhone
  41. style="margin-left: auto;"
  42. :phone="item.phone"
  43. type="2"
  44. :phoneTitle="item.title"
  45. :pid="item.id"
  46. title="联系"/>
  47. </view>
  48. </view>
  49. </view>
  50. <view class="address">
  51. <view class="shi">
  52. <view class="zhi">
  53. {{item.startAddress}}
  54. </view>
  55. </view>
  56. <view class="oo">
  57. </view>
  58. <view class="ads">
  59. <view class="zhon">
  60. </view>
  61. <view class="zhi">
  62. {{item.endAddress}}
  63. </view>
  64. </view>
  65. </view>
  66. <view class="pepo">
  67. 车辆座位{{item.num}}
  68. </view>
  69. <!-- <view class="time">
  70. 出发时间{{item.startTime}}
  71. </view> -->
  72. <view class="Vehicleinformation">
  73. <view class="chexing">
  74. 车型{{ item.catType }}
  75. </view>
  76. <view class="Licenseplate">
  77. 车牌{{ item.catNo }}
  78. </view>
  79. </view>
  80. </view>
  81. </template>
  82. <script>
  83. import mixinsSex from '@/mixins/sex.js'
  84. export default {
  85. mixins: [mixinsSex],
  86. props: ['item'],
  87. data() {
  88. return {
  89. };
  90. },
  91. methods: {
  92. // callPhone() {
  93. // uni.makePhoneCall({
  94. // phoneNumber: this.item.phone
  95. // })
  96. // },
  97. // callPhone() {
  98. // uni.makePhoneCall({
  99. // phoneNumber: this.item.userPhone,
  100. // success() {
  101. // console.log('安卓拨打成功');
  102. // },
  103. // fail() {
  104. // console.log('安卓拨打失败');
  105. // }
  106. // })
  107. // },
  108. },
  109. }
  110. </script>
  111. <style lang="scss" scoped>
  112. .item {
  113. padding: 15rpx;
  114. background-color: #fff;
  115. overflow: hidden;
  116. border-radius: 10rpx;
  117. color: #777;
  118. // display: flex;
  119. font-size: 24rpx;
  120. margin: 30rpx 0;
  121. position: relative;
  122. .zhaoche {
  123. width: 100%;
  124. margin: 20rpx 10rpx;
  125. display: flex;
  126. justify-content: space-between;
  127. .touxinag {
  128. height: 150rpx;
  129. width: 150rpx;
  130. image {
  131. width: 100%;
  132. height: 100%;
  133. border-radius: 10rpx;
  134. }
  135. }
  136. .box {
  137. margin-top: 20rpx;
  138. width: 70%;
  139. display: flex;
  140. justify-content: space-around;
  141. // background-color: gold;
  142. .chezhaoren {
  143. display: flex;
  144. justify-content: center;
  145. align-items: center;
  146. margin-right: auto;
  147. margin-left: 10rpx;
  148. border: 1rpx solid $uni-color;
  149. height: 40rpx;
  150. padding: 16rpx;
  151. color: $uni-color;
  152. border-radius: 10rpx;
  153. max-width: 300rpx;
  154. }
  155. .lianxi {
  156. // color: #fff;
  157. // background-color: $uni-color;
  158. // height: 70rpx;
  159. // display: flex;
  160. // justify-content: center;
  161. // align-items: center;
  162. // width: 120rpx;
  163. // border-radius: 15rpx;
  164. // margin: 0rpx 20rpx;
  165. }
  166. }
  167. }
  168. .address {
  169. display: flex;
  170. margin: 0rpx 10rpx;
  171. align-items: center;
  172. .shi {
  173. margin-right: 10rpx;
  174. background-color: $uni-color;
  175. color: white;
  176. width: 30rpx;
  177. height: 30rpx;
  178. padding: 5rpx;
  179. border-radius: 50%;
  180. text-align: center;
  181. }
  182. .zhi {
  183. margin-top: 5rpx;
  184. }
  185. .oo {
  186. margin: 0rpx 5rpx;
  187. }
  188. }
  189. .ads {
  190. display: flex;
  191. margin: 10rpx 10rpx;
  192. .zhon {
  193. margin-right: 10rpx;
  194. background-color: red;
  195. color: white;
  196. width: 30rpx;
  197. height: 30rpx;
  198. padding: 5rpx;
  199. border-radius: 50%;
  200. text-align: center;
  201. }
  202. }
  203. .pepo{
  204. margin: 10rpx 10rpx;
  205. }
  206. .time {
  207. margin: 10rpx 10rpx;
  208. }
  209. .Vehicleinformation {
  210. margin: 10rpx 10rpx;
  211. // display: flex;
  212. .chexing {
  213. }
  214. .Licenseplate {
  215. margin: 5rpx 0rpx;
  216. }
  217. }
  218. .chezhuxinxi {
  219. display: flex;
  220. margin: 10rpx 10rpx;
  221. .sex {
  222. margin-top: 5rpx;
  223. }
  224. .name {
  225. margin-left: 8rpx;
  226. }
  227. }
  228. }
  229. </style>