|
@@ -24,7 +24,9 @@
|
|
|
</view>
|
|
|
<view class="end" @click="chooseAddress('end')">
|
|
|
<view class="point"></view>
|
|
|
- {{ form.end || '您想去哪里' }}
|
|
|
+ <view class="place">
|
|
|
+ {{ form.end || '您想去哪里' }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<u-button @click="call()" color="#FF4A39" shape="circle" :loading="loading">
|
|
|
呼叫秋香代驾
|
|
@@ -92,7 +94,7 @@
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="price-box" @click="jump('../expense/index?priceItems='+JSON.stringify(priceItems))">
|
|
|
+ <view class="price-box" @click="jump('../expense/index?priceItems=' + JSON.stringify(priceItems))">
|
|
|
<view class="price">预估<text>{{ driver.payPrice }}</text>元</view>
|
|
|
<view class="jiantou">
|
|
|
<image src="../../static/jiantou-icon.png" mode=""></image>
|
|
@@ -229,7 +231,7 @@
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
- <view class="price-box" @click="jump('../expense/index?priceItems='+JSON.stringify(priceItems))">
|
|
|
+ <view class="price-box" @click="jump('../expense/index?priceItems=' + JSON.stringify(priceItems))">
|
|
|
<view class="price">需支付<text>{{ driver.payPrice }}</text>元</view>
|
|
|
<view class="jiantou">
|
|
|
<image src="../../static/jiantou-icon.png" mode=""></image>
|
|
@@ -682,12 +684,12 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- callPhone(){
|
|
|
+ callPhone() {
|
|
|
uni.makePhoneCall({
|
|
|
phoneNumber: this.driver.driverPhone
|
|
|
})
|
|
|
},
|
|
|
- customer(){
|
|
|
+ customer() {
|
|
|
uni.showModal({
|
|
|
title: '提示',
|
|
|
content: '是否拨打客服电话0851-86889969',
|
|
@@ -881,6 +883,18 @@ export default {
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
|
|
|
+ .place {
|
|
|
+ width: 90%;
|
|
|
+ text-indent: 0;
|
|
|
+ word-break: break-all;
|
|
|
+ // 超出部分变成...
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ -webkit-line-clamp: 1;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.btn {
|