郭宇琦 3 روز پیش
والد
کامیت
331fc97112
1فایلهای تغییر یافته به همراه11 افزوده شده و 11 حذف شده
  1. 11 11
      pages/orderStatus/orderStatus.vue

+ 11 - 11
pages/orderStatus/orderStatus.vue

@@ -154,7 +154,7 @@
 					<view class="top-flex">
 						<view>{{orderInfo.model_name}}</view>
 						<view>
-							{{ $t('续航') }}{{(orderInfo.endurance /1000).toFixed(0)}}km{{ $t('重量') }}{{(orderInfo.weight / 1000).toFixed(0)}}kg
+							{{ $t('续航') }}{{(orderInfo.endurance /1000).toFixed(0)}}km{{ $t('重量') }}{{(orderInfo.weight / 1000).toFixed(0)}}kg
 						</view>
 					</view>
 					<!-- //{{ $t('配套服务') }} -->
@@ -229,8 +229,8 @@
 			<view class="payment-info flex-row">
 				<view
 					v-if="(orderInfo.order_status == 0 ||orderInfo.order_status == 1 || orderInfo.pay_status == 5 || orderInfo.pay_status == 0) && orderInfo.order_type != 3"
-					class="cancel" @tap="clickCancel">结束订单</view>
-				<view @tap="callStorePhone" class="link-phone-btn">联系门店</view>
+					class="cancel" @tap="clickCancel">{{$t('结束订单')}}</view>
+				<view @tap="callStorePhone" class="link-phone-btn">{{$t('联系门店')}}</view>
 			</view>
 		</block>
 		<block v-if="orderInfo.pay_status == 2">
@@ -239,20 +239,20 @@
 					<view class="grow_1" v-if="orderInfo.order_status == 0 ||orderInfo.order_status == 1">
 						<view
 							v-if="(orderInfo.order_status == 0 ||orderInfo.order_status == 1 || orderInfo.pay_status == 5 || orderInfo.pay_status == 0) && orderInfo.order_type != 3"
-							class="cancel" @tap="clickCancel">结束订单</view>
-							<view  @tap="callStorePhone" class="deposit-btn">联系门店</view>
-							<view v-if="orderInfo.order_status == 1" @tap="navToScan" class="sesame-btn ">扫码绑定</view>
-							<view v-if="orderInfo.order_status == 2" @tap="navToScan" class="sesame-btn ">去上传</view>
+							class="cancel" @tap="clickCancel">{{$t('结束订单')}}</view>
+							<view  @tap="callStorePhone" class="deposit-btn">{{$t('联系门店')}}</view>
+							<view v-if="orderInfo.order_status == 1" @tap="navToScan" class="sesame-btn ">{{$t('扫码绑定')}}</view>
+							<view v-if="orderInfo.order_status == 2" @tap="navToScan" class="sesame-btn ">{{$t('去上传')}}</view>
 					</view>
 					<!-- 使用中、已逾期 -->
 					<view class="grow_1" v-if="(orderInfo.order_status == 3||orderInfo.order_status == 4) && orderInfo.order_type != 3 && orderInfo.pay_status != 5">
-						<view  @tap="callStorePhone" class="cancel">联系门店</view>
-						<view @tap="tapReturnCar" class="deposit-btn">到店还车</view>
-						<view  @tap="bindRenew" class="sesame-btn">续租</view>
+						<view  @tap="callStorePhone" class="cancel">{{$t('联系门店')}}</view>
+						<view @tap="tapReturnCar" class="deposit-btn">{{$t('到店还车')}}</view>
+						<view  @tap="bindRenew" class="sesame-btn">{{$t('续租')}}</view>
 					</view>
 					<!-- 待门店确认、已取消、已完成 -->
 					<view class="grow_1" v-if="(orderInfo.order_status == 5||orderInfo.order_status == 6||orderInfo.order_status == 7||orderInfo.order_status == 8||orderInfo.order_status == 9)">
-						<view  @tap="callStorePhone" class="link-phone-btn">联系门店</view>
+						<view  @tap="callStorePhone" class="link-phone-btn">{{$t('联系门店')}}</view>
 					</view>	
 			</view>
 		</block>