From 491249bdf736a5f7d50417c889ad2db734b12383 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期四, 07 九月 2023 10:22:07 +0800
Subject: [PATCH] 操作指引修改
---
pages/customer-page/customer-index/customer-index.vue | 77 ++++++++++++++++++++++++++++++++++++--
1 files changed, 72 insertions(+), 5 deletions(-)
diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index 49837bf..b1c1aff 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -6,6 +6,25 @@
<view class="wait-collection"
:style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/customerbanner.png)`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }">
</view>
+ <!-- 寮曞椤� -->
+ <view class="noob-tour"
+ v-if="roleType===4">
+ <combined-title title="鎿嶄綔鎸囧紩"></combined-title>
+ <u-cell-group>
+ <u-cell title="鏂版墜鎸囧紩"
+ name='1'
+ :clickable="true"
+ @click="noobTour">
+ <u-badge type="primary"
+ value="01"
+ slot='icon'></u-badge>
+ <u-icon slot="value"
+ name="arrow-right"
+ size="30"
+ color="#b8b8b8"></u-icon>
+ </u-cell>
+ </u-cell-group>
+ </view>
<view style="position: relative;top: -120px;">
<u-empty mode="data"
icon="http://cdn.uviewui.com/uview/empty/data.png"
@@ -37,12 +56,12 @@
</view>
</view>
<view class="third-line">
- <view class="time-icon">
+ <!-- <view class="time-icon">
<view
:style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/carNO.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'24rpx',height:'24rpx',lineHeight:'24rpx'}">
</view>
- </view>
- <view class="car-num">{{ item.carNos||item.carNo||''}}</view>
+ </view> -->
+ <view class="car-num">{{ item.code||''}}</view>
</view>
<view class="third-line">
<view class="time-icon">
@@ -138,6 +157,14 @@
</scroll-view>
</view>
</view>
+ <!-- 鍥剧墖棰勮寮瑰嚭妗� -->
+ <view class="previewImage-container">
+ <view class="previewImage-container">
+ <previewImage ref="previewImage"
+ :imgs="TourImgList"
+ :saveBtn='false'></previewImage>
+ </view>
+ </view>
<!-- 棰嗗彇寮瑰嚭妗� -->
<u-popup :show="show"
@close="close"
@@ -165,6 +192,7 @@
import { onlineurl } from '@/api/request.js'
import combinedTitle from '@/components/combined-title/combined-title.vue';
import { customerId } from '@/utils/status';
+ import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
export default {
props: {
orderPlanDataStore: {
@@ -173,7 +201,8 @@
}
},
components: {
- combinedTitle
+ combinedTitle,
+ previewImage
},
watch: {
orderPlanDataStore: {
@@ -215,7 +244,19 @@
// 鍓╀綑鐨勯�氱煡鍗曟暟閲�
carNumSurplus: '',
canClick: false,
- onlineurl: ''
+ onlineurl,
+ previewImageShow: false,
+ previewImageSrc: '',
+ TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality02.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality03.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality04.jpg',
+ 'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality05.jpg'
+ ],
+ imgIndex: 0,
+ startX: 0, // 瑙︽懜璧峰鐐圭殑X鍧愭爣
+ endX: 0, // 瑙︽懜缁撴潫鐐圭殑X鍧愭爣
+ transition: false
};
},
onLoad() {},
@@ -349,6 +390,9 @@
uni
.navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan?index=${index}` });
},
+ noobTour(v) {
+ this.$refs.previewImage.open('https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg')
+ }
}
};
</script>
@@ -481,6 +525,29 @@
}
}
+ .noob-tour {
+ margin-bottom: vww(10);
+ position: relative;
+ top: -120px;
+ }
+
+ .u-popup {
+ .u-transition {
+ .u-popup__content {
+ .editDriverPopup-container-box {}
+
+ //closeIcon
+ .u-popup__content__close--top-right {
+ .u-icon {
+ .u-icon__icon {
+ font-size: vww(20) !important;
+ }
+ }
+ }
+ }
+ }
+ }
+
::v-deep.customer-index {
width: 100%;
margin: 0 auto;
--
Gitblit v1.9.1