From 42f57295f5fe64132c11a25f55cd25c3c8acf167 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 28 八月 2024 15:35:55 +0800
Subject: [PATCH] 最新版本

---
 h5/pages/driver/taskDetail.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/h5/pages/driver/taskDetail.vue b/h5/pages/driver/taskDetail.vue
index 7d8e014..9985e40 100644
--- a/h5/pages/driver/taskDetail.vue
+++ b/h5/pages/driver/taskDetail.vue
@@ -41,11 +41,7 @@
         <view class="value">
           <view class="">0 鍏噷</view>
           <view class="btn" @click="getLocation">
-            <u-icon
-              name="map"
-              :color="$store.state.primaryColor"
-              class="mr6"
-            ></u-icon>
+						<image class="icon mr6" src="../../static/driver/position.png"></image>
             閲嶆柊瀹氫綅
           </view>
         </view>
@@ -168,7 +164,9 @@
     getLocation() {
       uni.getLocation({
         type: 'wgs84',
+				
         success: function (res) {
+					console.log(res);
           console.log('褰撳墠浣嶇疆鐨勭粡搴︼細' + res.longitude)
           console.log('褰撳墠浣嶇疆鐨勭含搴︼細' + res.latitude)
         }
@@ -209,6 +207,11 @@
           font-size: 28rpx;
           color: $uni-color-primary;
           display: flex;
+					align-items: center;
+					.icon{
+						width: 30rpx;
+						height: 30rpx;
+					}
         }
       }
     }

--
Gitblit v1.9.3