From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007

---
 h5/pages/driver/index.vue |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/h5/pages/driver/index.vue b/h5/pages/driver/index.vue
index 2d430e1..8887bda 100644
--- a/h5/pages/driver/index.vue
+++ b/h5/pages/driver/index.vue
@@ -10,10 +10,14 @@
 			<view class="h2">鐗╂祦杞︿笓鍖�</view>
 			<image class="banner" src="../../static/driver/wuliuche_banner@2x.png" mode="widthFix"></image>
 		</view>
-		<!--  -->
+		<!--  -->
+		<view class="title_wrap">
+			<view class="name">浣滀笟浠诲姟</view>
+			<view v-if="activeCurrent > 0" class="placeholder9">{{activeCurrent + 1}}/{{taskList.length}}</view>
+		</view>
 		<view v-if="taskList && taskList.length > 0" class="task_list">
-			<swiper circular class="task_swiper">
-				<swiper-item v-for="item in taskList" :key="item.id" @click="taskClick(item)">
+			<swiper circular indicator-dots indicator-active-color="#4d99a8" indicator-color="#e0e2e7" class="task_swiper" @change="changeCur" :current="activeCurrent">
+				<swiper-item v-for="item in taskList" :current='activeCurrent' :key="item.id" @click="taskClick(item)">
 					<view class="item">
 						<view class="head">
 							<view class="name">{{ item.contractNum ? '鍚堝悓鍗�' : '杩愯緭鍗�' }}{{ item.billCode || item.contractNum }}</view>
@@ -64,7 +68,7 @@
 			<view class="left">
 				<view class="img_wrap img1" @click="jump('/pages/driver/notice')">
 					<image src="@/static/driver/wuliu_ic_ruyuanyuyue@2x.png" class="img"></image>
-					<view class="h1">鍏ュ洯棰勭害</view>
+					<view class="h1">鍏ュ洯鍗歌揣棰勭害</view>
 					<view class="h2">RESERVATION</view>
 				</view>
 				<view class="img_wrap img2" @click="jump('/pages/driver/reservedGuide?str=bookingTips')">
@@ -109,7 +113,8 @@
 	export default {
 		data() {
 			return {
-				taskList: [],
+				taskList: [],
+				activeCurrent: 0,
 				driverInfo: uni.getStorageSync('driverInfo'),
 			}
 		},
@@ -139,7 +144,10 @@
 			this.initData()
 		},
 
-		methods: {
+		methods: {
+			changeCur(e) {
+				this.activeCurrent = e.detail.current
+			},
 			jump(path) {
 				this.$jump(path)
 			},
@@ -218,9 +226,9 @@
 			width: 144rpx;
 			height: 56rpx;
 			border-radius: 36rpx;
-			border: 1rpx solid $uni-color-primary;
-			font-size: 26rpx;
-			color: $uni-color-primary;
+			border: 1rpx solid #B2B2B2;
+			font-size: 26rpx;
+			color: #666666;
 			display: flex;
 			justify-content: center;
 			align-items: center;

--
Gitblit v1.9.3