From 6609e507632acfcdf0fef9e4251d74d9fd707323 Mon Sep 17 00:00:00 2001 From: tx <2622874537@qq.com> Date: Mon, 23 Dec 2024 10:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A8=E8=BF=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.interceptor.js | 4 +- pages.json | 9 + pages_admin/order/device_detail.vue | 27 +- pages_admin/order/order_detail.vue | 27 +- pages_adminSet/bike_track.vue | 885 ++++++++++++++++++++++++++++ 5 files changed, 948 insertions(+), 4 deletions(-) create mode 100644 pages_adminSet/bike_track.vue diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 69d8b28..21a6bb2 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -5,11 +5,11 @@ const install = (Vue, vm) => { Vue.prototype.$u.http.setConfig({ // baseUrl: 'http://61.174.243.28:15861', // baseUrl: 'http://192.168.2.46:8080', - baseUrl: 'https://che.chuangtewl.com/prod-api', + // baseUrl: 'https://che.chuangtewl.com/prod-api', // 测试环境 // baseUrl: 'https://dianche.chuantewulian.cn/prod-api', // 俞山岛 - // baseUrl: 'https://dche.ccttiot.com/prod-api', + baseUrl: 'https://dche.ccttiot.com/prod-api', // 创特 loadingText: '努力加载中~', loadingTime: 10000, diff --git a/pages.json b/pages.json index ce8d971..f92fa9e 100644 --- a/pages.json +++ b/pages.json @@ -396,6 +396,15 @@ "navigationStyle": "custom", "enablePullDownRefresh" : false } + }, + { + "path" : "bike_track", + "style" : + { + "navigationBarTitleText" : "", + "navigationStyle": "custom", + "enablePullDownRefresh" : false + } } diff --git a/pages_admin/order/device_detail.vue b/pages_admin/order/device_detail.vue index 216180a..14789c1 100644 --- a/pages_admin/order/device_detail.vue +++ b/pages_admin/order/device_detail.vue @@ -11,6 +11,10 @@ + + + @@ -458,6 +462,11 @@ }, methods: { + toTrack(){ + uni.navigateTo({ + url:'/pages_adminSet/bike_track?sn='+this.deviceInfos.sn+'&type=1' + }) + }, changeShwoList(){ console.log('diaoyongle '); this.showModelList=true @@ -2046,7 +2055,23 @@ position: relative; width: 750rpx; height: 752rpx; - + .track { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + left: 30rpx; + bottom: 40rpx; + // background-color: #fff; + border-radius: 50%; + width: 82rpx; + height: 82rpx; + // z-index: 1; + .img { + width: 82rpx; + height: 82rpx; + } + } .park { position: absolute; display: flex; diff --git a/pages_admin/order/order_detail.vue b/pages_admin/order/order_detail.vue index a3f92ce..38d21b0 100644 --- a/pages_admin/order/order_detail.vue +++ b/pages_admin/order/order_detail.vue @@ -8,6 +8,10 @@ + + + @@ -614,6 +618,11 @@ }, methods: { + toTrack(){ + uni.navigateTo({ + url:'/pages_adminSet/bike_track?sn='+this.orderInfo.sn+'&type=2'+'&startTime='+this.orderInfo.unlockTime+'&endTime='+this.orderInfo.returnTime + }) + }, backpass() { this.showload = true uni.showLoading({ @@ -1653,7 +1662,23 @@ position: relative; width: 750rpx; height: 752rpx; - + .track { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + left: 30rpx; + bottom: 40rpx; + // background-color: #fff; + border-radius: 50%; + width: 82rpx; + height: 82rpx; + // z-index: 1; + .img { + width: 82rpx; + height: 82rpx; + } + } .park { position: absolute; display: flex; diff --git a/pages_adminSet/bike_track.vue b/pages_adminSet/bike_track.vue new file mode 100644 index 0000000..b81d06b --- /dev/null +++ b/pages_adminSet/bike_track.vue @@ -0,0 +1,885 @@ + + + + + + \ No newline at end of file