From a653bcff54e077ad83e31c8528aa174d7a7348f7 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 24 十月 2023 11:46:51 +0800 Subject: [PATCH] 再生资源 bugfix --- pages/driver-page/driver-index/driver-index.vue | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue index 2e15b18..2fe8ed7 100644 --- a/pages/driver-page/driver-index/driver-index.vue +++ b/pages/driver-page/driver-index/driver-index.vue @@ -97,12 +97,15 @@ 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"> <view class="appointment-form-item" v-for="(item, index) in driverBillOfLoadingData.list3" - :key="index"> + :key="index" + @click="list3CardIconClick(item)" + > <view class="main-divider"></view> <view class="first-line"> <view class="main-information"> @@ -175,6 +178,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 +252,7 @@ <!-- 鍥剧墖棰勮寮瑰嚭妗� --> <view class="previewImage-container"> <previewImage ref="previewImage" - :imgs="TourImgList" + :imgs="driverTourImgList" :saveBtn='false'></previewImage> </view> </view> @@ -262,6 +266,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 +288,7 @@ }, }, computed: { + ...mapState(['driverTourImgList']), roleType() { return uni.getStorageSync('roleType'); }, @@ -304,18 +310,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