From e7405bb543d28c8e81402e7219575b83146942d4 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 15 九月 2023 09:55:20 +0800
Subject: [PATCH] 司机我的提交遗漏
---
pages/driver-page/driver-index/driver-index.vue | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue
index 2e15b18..af5dd49 100644
--- a/pages/driver-page/driver-index/driver-index.vue
+++ b/pages/driver-page/driver-index/driver-index.vue
@@ -97,6 +97,7 @@
icon="http://cdn.uviewui.com/uview/empty/data.png"
textSize="30"
iconSize="1000"
+ text="鏆傛棤鏁版嵁"
v-if="driverBillOfLoadingData.list3 ? (driverBillOfLoadingData.list3.length == 0 ? true : false) : true"></u-empty>
<view class="appointment-form">
@@ -175,6 +176,7 @@
icon="http://cdn.uviewui.com/uview/empty/data.png"
textSize="30"
iconSize="1000"
+ text="鏆傛棤鏁版嵁"
v-if="driverBillOfLoadingData.list2 ? (driverBillOfLoadingData.list2.length == 0 ? true : false) : true"></u-empty>
<view class="appointment-form">
<view class="appointment-form-item"
@@ -248,7 +250,7 @@
<!-- 鍥剧墖棰勮寮瑰嚭妗� -->
<view class="previewImage-container">
<previewImage ref="previewImage"
- :imgs="TourImgList"
+ :imgs="driverTourImgList"
:saveBtn='false'></previewImage>
</view>
</view>
@@ -262,6 +264,7 @@
import { onlineurl } from '@/api/request.js'
import { BaseUrl } from '@/api/publicInterface.js'
import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
+ import { mapState } from 'vuex'
export default {
components: {
combinedTitle,
@@ -283,6 +286,7 @@
},
},
computed: {
+ ...mapState(['driverTourImgList']),
roleType() {
return uni.getStorageSync('roleType');
},
@@ -304,18 +308,13 @@
customerId: '',
coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚', '楠岃川瀹屾垚'],
onlineurl,
- TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj1.jpg',
- 'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj2.jpg',
- 'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj3.jpg',
- 'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj4.jpg',
- 'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj5.jpg',
- 'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj6.jpg',
- 'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj7.jpg'
- ],
phone: "",
isFirstLogin: true //鏄惁鏄涓�娆$櫥褰�
};
},
+ onLoad() {
+ this.TourImgList = TourImgList
+ },
onShow() {
this.init();
},
--
Gitblit v1.9.1