dachesijijied.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <view>
  3. <view style="width:700rpx;background-color: white;">
  4. <view class="contentInRowS sizeSpace">
  5. <view class="contentInRowL">
  6. <image class="iconViewI" src="/static/images/dache/sijitx.png" mode="scaleToFill"></image>
  7. <view v-if="XChengObj.state==1" class="contentColumn" style="margin-left: 16rpx;">
  8. <text class="ztextfontB4">司机正在赶来</text>
  9. <text class="textfontS2" style="color: darkgray;">请耐心等待!</text>
  10. </view>
  11. <view v-if="XChengObj.state==2" class="contentColumn" style="margin-left: 16rpx;">
  12. <text class="ztextfontB4">为保证行车安全,请不要跟司机聊天!</text>
  13. <text class="textfontS2" style="color: darkgray;">请保管好个人物品,下车请拿好!</text>
  14. </view>
  15. </view>
  16. <text class="textfontS2"> </text>
  17. <!-- <text class="textfontS2" style="color: darkgray;" @click="actSelect(0)">取消订单</text> -->
  18. </view>
  19. <view class="contentColumnC">
  20. <view class="contentColumnC boxViewct">
  21. <view class="contentInRowS boxsizeSpace">
  22. <view class="contentColumn">
  23. <view class="chepaiV">
  24. </view>
  25. <view style="margin-top: -30rpx;">
  26. <text class="chepaiText">京A23456</text>
  27. </view>
  28. <text class="ztextfontB4" style="margin-top: 40rpx;">黑色·丰田 凯美瑞</text>
  29. <view class="contentInRowL" style="align-items: center;">
  30. <text class="textfontB5" style="color: darkgray;">{{XChengObj.driver.nickName}}</text>
  31. <text class="textfontB5" style="color: darkgray;padding-left: 16rpx;">接单累计:1095</text>
  32. <image style="width: 26rpx;height: 26rpx;" src="/static/images/dache/huangsexx.png" mode="scaleToFill"></image>
  33. </view>
  34. </view>
  35. <view class="contentInRowR">
  36. <image style="width: 70rpx;height: 70rpx;margin-right: 20rpx;" src="/static/images/dache/dianhualianxi.png" mode="scaleToFill" @click="actSelect(1)"></image>
  37. <image style="width: 70rpx;height: 70rpx;" src="/static/images/dache/xinxlt.png" mode="scaleToFill" @click="actSelect(2)"></image>
  38. </view>
  39. </view>
  40. <view style="height: 2rpx;background-color: lightgray;margin-top: 20rpx;margin-bottom: 20rpx;"></view>
  41. <view class="contentInRowS boxsizeSpace">
  42. <view class="contentColumnC" @click="actSelect(3)">
  43. <image class="actIconV" src="/static/images/dache/baojing.png" mode="scaleToFill"></image>
  44. <text class="textfontB5" style="color: darkgray;">一键报警</text>
  45. </view>
  46. <view class="contentColumnC" @click="actSelect(4)">
  47. <image class="actIconV" src="/static/images/dache/kefu.png" mode="scaleToFill"></image>
  48. <text class="textfontB5" style="color: darkgray;">客服中心</text>
  49. </view>
  50. <view class="contentColumnC" @click="actSelect(5)">
  51. <image class="actIconV" src="/static/images/dache/xiugai.png" mode="scaleToFill"></image>
  52. <text class="textfontB5" style="color: darkgray;">修改目的地</text>
  53. </view>
  54. <view class="contentColumnC" @click="actSelect(6)">
  55. <image class="actIconV" src="/static/images/dache/liuyan.png" mode="scaleToFill"></image>
  56. <text class="textfontB5" style="color: darkgray;">语音留言</text>
  57. </view>
  58. </view>
  59. </view>
  60. <view style="height: 40rpx;"></view>
  61. </view>
  62. </view>
  63. </view>
  64. </template>
  65. <script>
  66. export default {
  67. name:"dachesijijied",
  68. props: {
  69. XChengObj:''
  70. },
  71. data() {
  72. return {
  73. };
  74. },
  75. methods:{
  76. actSelect(index){
  77. this.$emit('EJDactSelect',index);
  78. },
  79. },
  80. }
  81. </script>
  82. <style>
  83. .iconViewI{
  84. width: 100rpx;
  85. height: 100rpx;
  86. }
  87. .sizeSpace{
  88. width: 660rpx;
  89. }
  90. .boxViewct{
  91. margin-top: 20rpx;
  92. width: 660rpx;
  93. border-radius: 20rpx;
  94. border: 1rpx solid lightgray;
  95. /* box-shadow: 0rpx 0rpx 20rpx 0rpx lightgray; */
  96. }
  97. .boxsizeSpace{
  98. width: 620rpx;
  99. }
  100. .chepaiV{
  101. margin-top: 40rpx;
  102. height: 30rpx;
  103. background: linear-gradient(to right, #E86E48, #FFFFFF);
  104. }
  105. .chepaiText{
  106. font-size: 50rpx;
  107. line-height: 60rpx;
  108. font-weight: bold;
  109. }
  110. .actIconV{
  111. width: 60rpx;
  112. height: 60rpx;
  113. }
  114. </style>