This commit is contained in:
吴鹏 2025-09-09 11:24:11 +08:00
parent ffd482bed1
commit e421e61c3f
13 changed files with 121 additions and 129 deletions

View File

@ -499,7 +499,10 @@
<view class="top">
<image src="https://api.ccttiot.com/smartmeter/img/static/uft9oJbJIjOd6whGG3cM" mode=""></image> {{wenbentxt}}
</view>
<image class="ddc" src="https://api.ccttiot.com/smartmeter/img/static/uKOCB6yMx4VMyBgblz3H" mode=""></image>
<view class="" style="width: 100%;text-align: center;margin-top: 20rpx;font-size: 26rpx;color: #3D3D3D;">
骑行前请检查车轿刹车是否灵敏安全骑行
</view>
<image class="ddc" src="https://api.ccttiot.com/%E5%88%B9%E8%BD%A6-1756546350335.gif" mode=""></image>
</view>
<view class="mask" style="z-index: 998;" v-if="wenbentxtflag"></view>

View File

@ -108,10 +108,12 @@
list: [],
loading: false,
finished: false,
statusParam: ''
statusParam: '',
areaId:''
}
},
onLoad() {
onLoad(option) {
this.areaId = option.areaId
this.getlist()
},
computed: {
@ -206,7 +208,7 @@
getlist() {
if (this.loading) return;
this.loading = true;
const base = `/bst/complaint/list?pageNum=${this.pageNum}&pageSize=${this.pageSize}&orderByColumn=createTime&isAsc=desc`;
const base = `/bst/complaint/list?pageNum=${this.pageNum}&pageSize=${this.pageSize}&orderByColumn=createTime&isAsc=desc&areaId=${this.areaId}`;
const url = this.statusParam ? `${base}&statusList=${encodeURIComponent(this.statusParam)}` : base;
this.$u.get(url).then((res) => {
if (!res) return;

View File

@ -162,7 +162,6 @@ let pollIntervalId = null; // 轮询interval
let rangeDebounceId = null; // debounce
var appMap = null;
export default {
data() {
return {
bgc: {
@ -199,8 +198,7 @@ let rangeDebounceId = null; // 滑动筛选debounce
showdevList: false,
circles: [], //
qbobj:{},
sn:''
sn:'',
}
},
components: {
@ -305,8 +303,6 @@ let rangeDebounceId = null; // 滑动筛选debounce
return '禁用中'
}
},
onMapRegionChange(event) {
if (event.detail.type == 'end') {
this.getCenterLocation()
@ -333,8 +329,8 @@ let rangeDebounceId = null; // 滑动筛选debounce
fail: (err) => {
console.error('获取中心点定位失败:', err)
}
})
},
})
},
getCenter: function() {
var _that = this
appMap.getCurrentCenter(
@ -455,7 +451,7 @@ let rangeDebounceId = null; // 滑动筛选debounce
this.sn = getQueryParam(decodedValue, 's')
console.log(this.sn,'....')
if (this.sn != '') {
this.$u.get('/bst/device?sn=' + this.sn).then((res) => {
this.$u.get('/bst/device?sn=' + this.sn + '&supportLocation=true').then((res) => {
if (res.code === 200) {
console.log(res, 'rererer')
if (res.data.areaId == this.areaId) {
@ -836,7 +832,7 @@ let rangeDebounceId = null; // 滑动筛选debounce
// return
// }
if (this.statusidx != 7 && this.statusidx != 20 && this.statusidx != 10) {
this.$u.get(`/bst/device/all?areaId=${this.areaId}&status=${this.statusidx}&powerRange=${this.rangeValue[0] + ',' + this.rangeValue[1]}&refresh=true`).then((res) => {
this.$u.get(`/bst/device/all?areaId=${this.areaId}&status=${this.statusidx}&powerRange=${this.rangeValue[0] + ',' + this.rangeValue[1]}&refresh=true&supportLocation=true`).then((res) => {
if (res.code == 200) {
this.showmap = true
this.allDeviceData = res.data //
@ -865,7 +861,7 @@ let rangeDebounceId = null; // 滑动筛选debounce
}
})
} else if (this.statusidx == 7) {
this.$u.get(`/bst/device/all?areaId=${this.areaId}&powerRange=${this.rangeValue[0] + ',' + this.rangeValue[1]}&refresh=true`).then((res) => {
this.$u.get(`/bst/device/all?areaId=${this.areaId}&powerRange=${this.rangeValue[0] + ',' + this.rangeValue[1]}&refresh=true&supportLocation=true`).then((res) => {
if (res.code == 200) {
this.showmap = true
this.allDeviceData = res.data //
@ -894,7 +890,7 @@ let rangeDebounceId = null; // 滑动筛选debounce
}
})
} else if (this.statusidx == 20 || this.statusidx == 10) {
this.$u.get(`/bst/device/all?areaId=${this.areaId}&onlineStatus=${this.statusidx == 20 ? 0 : 1}&powerRange=${this.rangeValue[0] + ',' + this.rangeValue[1]}&refresh=true`).then((res) => {
this.$u.get(`/bst/device/all?areaId=${this.areaId}&onlineStatus=${this.statusidx == 20 ? 0 : 1}&powerRange=${this.rangeValue[0] + ',' + this.rangeValue[1]}&refresh=true&supportLocation=true`).then((res) => {
if (res.code == 200) {
this.showmap = true
this.allDeviceData = res.data //

View File

@ -173,15 +173,15 @@ export default {
content: '确定要删除该记录吗?',
success: (res) => {
if (res.confirm) {
this.deleteParking(item.parkingId);
this.deleteParking(item.id);
}
}
});
},
//
deleteParking(parkingId) {
this.$u.delete(`/appVerify/parking/${parkingId}`).then(res => {
deleteParking(id) {
this.$u.delete(`/bst/areaSub/${id}`).then(res => {
if (res.code === 200) {
uni.showToast({
title: '删除成功',
@ -239,6 +239,8 @@ page {
.content {
padding: 20rpx;
background-color: #f5f5f5;
height: 68vh;
overflow: scroll;
}
.list {

View File

@ -303,7 +303,8 @@ export default {
areaId: this.areaId,
orderByColumn: this.typeSort,
refresh: true,
Keyword: this.searchKeyword
Keyword: this.searchKeyword,
supportLocation:true
}
this.selectedItems = []
@ -537,7 +538,8 @@ export default {
areaId: this.areaId,
// orderByColumn: this.typeSort,
// refresh:true,
Keyword:this.searchKeyword
Keyword:this.searchKeyword,
supportLocation:true
}
this.selectedItems = []
this.$u.get(`/bst/device/all`, data).then((res) => {

View File

@ -85,11 +85,12 @@
会员中心
</view>
</view>
<view class="cont" @click="btnts">
<view class="cont" style="position: relative;" @click="btnts">
<image src="https://api.ccttiot.com/smartmeter/img/static/usv2hT8WU6LTBQXemobM" mode=""></image>
<view class="text">
用户投诉
</view>
<text style="position: absolute;top: 0;right: 0;display: inline-block;width: 30rpx;height: 30rpx;border-radius: 50%;color: #fff;text-align: center;line-height: 30rpx;background-color: red;font-size: 24rpx;">{{weinum}}</text>
</view>
</view>
<view class="top">
@ -230,7 +231,8 @@ export default {
announcements: {},
yyqid:'',
userId:'',
fuwuewm:false
fuwuewm:false,
weinum:0
}
},
onLoad(option) {
@ -253,6 +255,7 @@ export default {
console.log(this.areaId);
// this.getArea()
this.getinfo()
this.getweicl()
// this.getareaList()
}
@ -267,6 +270,15 @@ export default {
}
},
methods: {
//
getweicl(){
this.$u.get(`/dashboard/complaint/statusMap?areaId=${this.areaId}`).then(res => {
if (res.code== 200) {
const key = "1";
this.weinum = res.data[key]
}
})
},
//
btnfuwuewm(){
let that = this
@ -291,7 +303,7 @@ export default {
//
btnts(){
uni.navigateTo({
url:'/page_fenbao/tousu/shlist'
url:'/page_fenbao/tousu/shlist?areaId='+this.areaId
})
},
//

View File

@ -206,7 +206,7 @@ export default {
},
methods: {
getDeviceInfo() {
this.$u.get(`/bst/device?id=${this.id}`).then((res) => {
this.$u.get(`/bst/device?id=${this.id}&supportLocation=true`).then((res) => {
if (res.code === 200) {
this.vehicleNum = res.data.vehicleNum
this.deviceNumber = res.data.sn

View File

@ -1841,7 +1841,7 @@
},
deviceInfo() {
this.markers = []
this.$u.get(`/bst/device?id=${this.sn}&refresh=true`).then((res) => {
this.$u.get(`/bst/device?id=${this.sn}&refresh=true&supportLocation=true`).then((res) => {
console.log(res, 'rererer')
if (res.code === 200) {
if (res.data.music == 0) {

View File

@ -1635,8 +1635,6 @@
icon: 'none',
duration: 2000
})
// uni.hideLoading()
// this.bulebtn(4)
}
})
} else if (num == 9) {
@ -1883,7 +1881,7 @@
if (this.buleclose == false && this.buleopen == false && this.bulerebort == false &&
this.bulering == false) {
if (this.buletxt == '蓝牙连接中') {
this.buletxt = '蓝牙连接成功'
this.buletxt = '蓝牙连接成功!'
}
}
if (this.buleclose) {
@ -2022,7 +2020,7 @@
deviceInfo() {
this.markers = [];
this.polygon = []; // polygon
this.$u.get(`/bst/device?sn=${this.sn}`).then((res) => {
this.$u.get(`/bst/device?sn=${this.sn}&supportLocation=true`).then((res) => {
console.log(res, 'rererer');
if (res.code === 200) {
this.deviceInfos = res.data;
@ -2229,18 +2227,15 @@
},
convertBoundaryToPolylines(boundaries, num) {
if (!boundaries || !Array.isArray(boundaries)) return [];
return boundaries.map(boundary => {
if (!boundary) return null;
try {
const coords = JSON.parse(boundary);
if (!Array.isArray(coords)) return null;
const points = coords.map(coord => ({
latitude: coord[1],
longitude: coord[0]
}));
}))
let style = {};
if (num === 1) {
style = {
@ -2270,7 +2265,6 @@
borderColor: "#FFC107"
};
}
return {
points: points,
...style
@ -2293,8 +2287,7 @@
width: 20,
height: 28.95,
iconPath: item.type == 1 ?
'https://lxnapi.ccttiot.com/bike/img/static/up2xXqAgwCX5iER600k3' : item
.type == 2 ?
'https://lxnapi.ccttiot.com/bike/img/static/up2xXqAgwCX5iER600k3' : item.type == 2 ?
'https://lxnapi.ccttiot.com/bike/img/static/uDNY5Q4zOiZTCBTA2Jdq' :
'https://lxnapi.ccttiot.com/bike/img/static/u53BAQcFIX3vxsCzEZ7t',
callout: {
@ -2302,8 +2295,7 @@
color: '#ffffff',
fontSize: 14,
borderRadius: 10,
bgColor: item.type == 1 ? '#3A7EDB' : item.type == 2 ? '#FF473E' :
'#FFC107',
bgColor: item.type == 1 ? '#3A7EDB' : item.type == 2 ? '#FF473E' : '#FFC107',
padding: 6,
display: 'ALWAYS'
},
@ -2335,7 +2327,6 @@
return null;
}
},
convertBoundaryToPolygons(boundaries, num) {
if (!boundaries || !boundaries.length) return [];
const colors = {
@ -2353,28 +2344,27 @@
}
};
return boundaries.map(boundary => {
if (!boundary) return null;
if (!boundary) return null
try {
const coords = JSON.parse(boundary);
if (!Array.isArray(coords)) return null;
const coords = JSON.parse(boundary)
if (!Array.isArray(coords)) return null
const points = coords.map(coord => ({
latitude: coord[1],
longitude: coord[0]
}));
}))
return {
points: points,
fillColor: colors[num].fill,
strokeColor: colors[num].stroke,
strokeWidth: 1,
zIndex: 1
};
}
} catch (error) {
console.error("Error converting boundary to polygons:", error);
return null;
console.error("Error converting boundary to polygons:", error)
return null
}
}).filter(Boolean);
}).filter(Boolean)
},
getParking() {
@ -2383,32 +2373,29 @@
};
this.$u.get('/bst/areaSub/listByAreaId', data).then((res) => {
if (res.code === 200) {
const filteredData = res.data.filter(item => item.status != 1);
const type1Data = [];
const type2Data = [];
const type3Data = [];
const filteredData = res.data.filter(item => item.status != 1)
const type1Data = []
const type2Data = []
const type3Data = []
filteredData.forEach(row => {
if (row.type == 1) type1Data.push(row);
else if (row.type == 2) type2Data.push(row);
else if (row.type == 3) type3Data.push(row);
});
if (row.type == 1) type1Data.push(row)
else if (row.type == 2) type2Data.push(row)
else if (row.type == 3) type3Data.push(row)
})
// type1
const validBoundaries = type1Data.map(row => row.boundaryStr).filter(boundary =>
typeof boundary === 'string' && boundary.trim() !== '');
const polygons = this.convertBoundaryToPolygons(validBoundaries, 1);
typeof boundary === 'string' && boundary.trim() !== '')
const polygons = this.convertBoundaryToPolygons(validBoundaries, 1)
if (polygons && polygons.length > 0) {
this.polygon = this.polygon.concat(polygons);
this.polygon = this.polygon.concat(polygons)
}
// type2
const validBoundaries1 = type2Data.map(row => row.boundaryStr).filter(boundary =>
typeof boundary === 'string' && boundary.trim() !== '');
const polygons1 = this.convertBoundaryToPolygons(validBoundaries1, 2);
typeof boundary === 'string' && boundary.trim() !== '')
const polygons1 = this.convertBoundaryToPolygons(validBoundaries1, 2)
if (polygons1 && polygons1.length > 0) {
this.polygon = this.polygon.concat(polygons1);
this.polygon = this.polygon.concat(polygons1)
}
// type3
const validBoundaries2 = type3Data.map(row => row.boundaryStr).filter(boundary =>
typeof boundary === 'string' && boundary.trim() !== '');

View File

@ -259,7 +259,7 @@ export default {
name: this.devicename
})
uni.reLaunch({
url:'/pages/myorder/returned/index'
url:'/pages/index/index'
})
},1000)
}else{

View File

@ -13,26 +13,11 @@
</map>
<view class="lticon">
<image style="width: 80rpx;height: 80rpx;" src="https://api.ccttiot.com/smartmeter/img/static/ucMoHgzqfBeC1lh2vo4Q" @click="btnbz" mode=""></image>
<image style="width: 80rpx;height: 80rpx;" src="https://api.ccttiot.com/smartmeter/img/static/uaxzNTZkmyPdh90eae7m" @click="btnkefu" mode=""></image>
<!-- <image style="width: 80rpx;height: 80rpx;" src="https://api.ccttiot.com/smartmeter/img/static/uc22ylFbNAU10aRjwdcq" @click="btnkefu" mode=""></image> -->
</view>
<image style="width: 80rpx;height: 80rpx;position: fixed;right: 22rpx;bottom: 586rpx;" @click="toggleIconAndCallout"
<image style="width: 80rpx;height: 80rpx;position: fixed;right: 22rpx;bottom: 840rpx;" @click="toggleIconAndCallout"
src="https://api.ccttiot.com/smartmeter/img/static/u6r5tQVe2VO6bvxTLeFT" mode=""></image>
<image style="width: 80rpx;height: 80rpx;position: fixed;right: 22rpx;bottom: 706rpx;" src="https://api.ccttiot.com/smartmeter/img/static/ug1ExhYsZmdWWjVvjjuk" @click="btnhuiz" mode=""></image>
<!-- 右侧图标 -->
<view class="rticon">
<!-- <image v-if="rtindex != 1" src="https://api.ccttiot.com/smartmeter/img/static/uRtmbcCSrLLZ7hkGFeg2"
@click="btntap(1)" mode=""></image>
<image v-if="rtindex == 1" src="https://api.ccttiot.com/smartmeter/img/static/u8zXd0xYhLKD0BvgZDVv"
@click="btntap(1)" mode=""></image>
<image v-if="rtindex != 2" src="https://api.ccttiot.com/smartmeter/img/static/uySqZZMETPWLmP26Qajc"
@click="btntap(2)" mode=""></image>
<image v-if="rtindex == 2" :src="iconobj.bikertpicgl"
@click="btntap(2)" mode=""></image>
<image v-if="rtindex != 3" src="https://api.ccttiot.com/smartmeter/img/static/unaFMV8lmyqWVyY2uOhR"
@click="btntap(3)" mode=""></image>
<image v-if="rtindex == 3" src="https://api.ccttiot.com/smartmeter/img/static/uEWVQFGBf10XJn8aTlaZ"
@click="btntap(3)" mode=""></image> -->
</view>
<image style="width: 80rpx;height: 80rpx;position: fixed;right: 22rpx;bottom: 740rpx;" src="https://api.ccttiot.com/smartmeter/img/static/ug1ExhYsZmdWWjVvjjuk" @click="btnhuiz" mode=""></image>
<!-- 点击地图门店弹窗 -->
<view class="shoptc" v-if="shoptcflag" @click="btnmendain">
<view class="top">
@ -161,13 +146,13 @@
<text v-if="orderobj.deviceRemainingPower >= 20 && orderobj.deviceRemainingPower < 50" style="color: #e87f25;">{{orderobj.deviceRemainingPower == null ? '--' : orderobj.deviceRemainingPower}}%</text>
<text v-if="orderobj.deviceRemainingPower >= 0 && orderobj.deviceRemainingPower < 20 " style="color: #e81e1e;">{{orderobj.deviceRemainingPower == null ? '--' : orderobj.deviceRemainingPower}}%</text>
</view>
<view class="" style="margin-left: 20rpx;font-weight: 600;font-size: 28rpx;color: #3D3D3D;margin-top: 10rpx;">
<view class="" style="margin-left: 20rpx;font-weight: 600;font-size: 28rpx;color: #3D3D3D;">
可骑行约{{orderobj.deviceRemainEndurance == null ? '--' : orderobj.deviceRemainEndurance}}km
</view>
</view>
<view class="" style="margin-top: 10rpx;color: #4C97E7;" @click="btnguzhang">
故障上报
</view>
<view class="" style="font-size: 28rpx;color: #4297F3;display: flex;align-items: center;" @click="btnkefu">
<image style="width: 40rpx;height: 40rpx;margin-right: 10rpx;" src="https://api.ccttiot.com/smartmeter/img/static/utZyZyusfqjD0TO0iOgZ" mode=""></image> 联系客服
</view>
</view>
<view class="cont_li">
<view class="one">
@ -189,7 +174,7 @@
</view>
<view class="one">
<view class="oneone">
{{orderobj.orderDistance == null ? '0.00' : orderobj.orderDistance}} <text>km</text>
{{orderobj.orderDistance == null ? '0.0' : (orderobj.orderDistance / 1000).toFixed(1)}} <text>km</text>
</view>
<view class="twotwo">
骑行距离
@ -204,6 +189,7 @@
<view class="botbtn">
<view class="suocheanniu">
<image src="https://api.ccttiot.com/smartmeter/img/static/uYk2NdudtWdF6lvJCbSW" @click="btnxl" mode=""></image>
<image src="https://api.ccttiot.com/smartmeter/img/static/ubg3Go1JkwJmzHxUqBdT" @click="btnghbike" mode=""></image>
<view class="jsdd" @click.stop="btnqd">
{{orderobj.deviceLockStatus == 1 ? '临时锁车' : '开锁'}}
</view>
@ -212,11 +198,16 @@
</view>
</view>
</view>
<view class="" style="font-weight: 600;font-size: 32rpx;color: #4297F3;width: 100%;text-align: center;margin-top: 30rpx;" @click="btnghbike">
换车骑行
</view>
<view class="" style="color: #7C7C7C;font-size: 24rpx;margin-top: 30rpx;width: 100%;text-align: center;">
车牌{{orderobj.deviceVehicleNum == null ? '--' : orderobj.deviceVehicleNum}} <text style="margin-left: 40rpx;">SN{{orderobj.deviceSn == null ? '--' : orderobj.deviceSn}}</text>
<!-- <view class="" style="font-weight: 600;font-size: 32rpx;color: #4297F3;width: 100%;text-align: center;margin-top: 30rpx;" @click="btnghbike">
换车
</view> -->
<view class="" style="color: #7C7C7C;font-size: 24rpx;margin-top: 30rpx;width: 100%;text-align: center;display: flex;justify-content: space-between;padding: 0 50rpx;">
<view class="">
车牌{{orderobj.deviceVehicleNum == null ? '--' : orderobj.deviceVehicleNum}} <text style="margin-left: 40rpx;">SN{{orderobj.deviceSn == null ? '--' : orderobj.deviceSn}}</text>
</view>
<view class="" style="color: #4C97E7;" @click="btnguzhang">
故障上报
</view>
</view>
</view>
@ -250,8 +241,8 @@
需额外支付<text>{{fajinobj.manageFee > 0 ? fajinobj.manageFee : fajinobj.dispatchFee > 0 ? fajinobj.dispatchFee : ''}}</text><text
@click="btntcd" v-if="fajinobj.dispatchFee > 0">查看最近停车点</text> <text v-if="fajinobj.manageFee > 0">请规范还车</text>
</view>
<image src="https://api.ccttiot.com/%E5%88%B9%E8%BD%A6-1756546350335.gif" class="tcimg" mode="aspectFill">
</image>
<image v-if="fajinobj.manageFee > 0" src="https://api.ccttiot.com/smartmeter/img/static/u1JsP3mFqiYgfxrlfvA3" class="tcimg" mode="aspectFill"></image>
<image v-if="fajinobj.dispatchFee > 0" src="https://api.ccttiot.com/smartmeter/img/static/uVZ6KuaUpYHJgOeSpbv4" class="tcimg" mode="aspectFill"></image>
<view class="btnan">
<view class="fj" @click="btnfajin">
缴纳罚金还车
@ -266,9 +257,14 @@
<!-- 统一动画 -->
<view class="tongyi" v-if="wenbentxtflag">
<view class="top">
<image src="https://api.ccttiot.com/smartmeter/img/static/uft9oJbJIjOd6whGG3cM" mode=""></image> {{wenbentxt}} <text class="percentage-text" @click="restartPercentageAnimation">{{Math.floor(percentage)}}%</text>
<image src="https://api.ccttiot.com/smartmeter/img/static/uft9oJbJIjOd6whGG3cM" mode=""></image>
{{wenbentxt}} <text class="percentage-text" @click="restartPercentageAnimation">{{Math.floor(percentage)}}%</text>
</view>
<image class="ddc" src="https://api.ccttiot.com/%E5%88%B9%E8%BD%A6-1756546350335.gif" mode=""></image>
<view class="" style="width: 100%;text-align: center;margin-top: 20rpx;font-size: 26rpx;color: #3D3D3D;">
{{caozuotext}}
</view>
<image class="ddc" v-if="caozuotext == '骑行前请检查车轿刹车是否灵敏,安全骑行'" src="https://api.ccttiot.com/%E5%88%B9%E8%BD%A6-1756546350335.gif" mode=""></image>
<image class="ddc" v-else src="https://api.ccttiot.com/smartmeter/img/static/uKOCB6yMx4VMyBgblz3H" mode=""></image>
</view>
<view class="mask" v-if="wenbentxtflag"></view>
@ -288,7 +284,8 @@
还是不行查看教程
</view>
</view>
<image class="ddc" style="margin-top: 20rpx;" src="https://api.ccttiot.com/%E5%88%B9%E8%BD%A6-1756546350335.gif" mode=""></image>
<image class="ddc" v-if="caozuotext == '骑行前请检查车轿刹车是否灵敏,安全骑行'" src="https://api.ccttiot.com/%E5%88%B9%E8%BD%A6-1756546350335.gif" mode=""></image>
<image class="ddc" v-else src="https://api.ccttiot.com/smartmeter/img/static/uKOCB6yMx4VMyBgblz3H" mode=""></image>
<view class="anniu">
<view class="lx" @click="btnkefu">
联系客服
@ -394,6 +391,7 @@
daohangflag:false,
distance:0,
chexq:{},
caozuotext:''
}
},
onLoad() {
@ -1232,6 +1230,7 @@
},
//
btnjsdd() {
this.caozuotext = '还车前请将车辆停放于运营区和停车区内'
if(this.jieshuflag == true){
this.jieshuflag = false
this.$u.get("/app/order/mineProcessing").then((res) => {
@ -1653,6 +1652,7 @@
},
//
btnghbike() {
this.caozuotext = '换车前请将车辆停放于运营区和停车区内'
if(this.jiance == true){
xBlufi.initXBlufi(1)
xBlufi.notifyStartDiscoverBle({
@ -1676,7 +1676,7 @@
}
})
let that = this
that.wenbentxt = '车辆连接中...'
that.wenbentxt = '车辆锁车中...'
that.wenbentxtflag = true
let query = {
orderId: that.orderobj.orderId,
@ -1690,7 +1690,7 @@
that.wenbentxt = ''
that.wenbentxtflag = false
uni.showToast({
title: '临时锁车成功',
title: '锁车成功',
icon: 'success',
duration: 2000
})
@ -1742,7 +1742,7 @@
url: '/page_user/huanbike?sn=' + that.orderobj.deviceSn + '&orderid=' + that.orderobj.orderId + '&deviceid=' + that.deviceid + '&devicename=' + that.devicename
})
}else{
that.wenbentxt = '蓝牙连接中...'
that.wenbentxt = '车辆锁车中...'
const findDevice = () =>{
that.ver_dataflag = 2
const matchedDevice = that.devicesarr.find(device => {
@ -1871,6 +1871,7 @@
},
// and
btnqd() {
this.caozuotext = '骑行前请检查车轿刹车是否灵敏,安全骑行'
if(this.jiance == true){
xBlufi.initXBlufi(1)
xBlufi.notifyStartDiscoverBle({
@ -3186,7 +3187,7 @@
.conts_box {
width: 100%;
height: 560rpx;
height: 500rpx;
margin: 0 auto;
margin-top: 38rpx;
background: #FFFFFF;
@ -3221,7 +3222,6 @@
font-weight: 600;
font-size: 32rpx;
color: #3D3D3D;
margin-top: 10rpx;
display: flex;
align-items: center;
image{
@ -3280,7 +3280,7 @@
height: 88rpx;
}
.jsdd{
width: 210rpx;
width: 190rpx;
height: 88rpx;
background: rgba(76,151,231,0);
border-radius: 20rpx 20rpx 20rpx 20rpx;
@ -3295,7 +3295,7 @@
font-weight: 600;
font-size: 36rpx;
color: #FFFFFF;
width: 300rpx;
width: 240rpx;
height: 88rpx;
text-align: center;
line-height: 88rpx;
@ -3308,7 +3308,7 @@
width: 100%;
justify-content: space-between;
margin-top: 30rpx;
padding: 0 54rpx;
padding: 0 30rpx;
}
.imgpic{
display: flex;
@ -3776,29 +3776,24 @@
color: #0D75E5;
margin-right: 20rpx;
}
.dizhi {
font-size: 28rpx;
color: #808080;
}
}
.top {
display: flex;
justify-content: space-between;
.name {
font-size: 32rpx;
color: #3D3D3D;
font-weight: 600;
}
.zu {
font-size: 24rpx;
color: #3D3D3D;
display: flex;
align-items: center;
image {
width: 22rpx;
height: 22rpx;
@ -3806,7 +3801,6 @@
}
}
}
.rticon {
position: fixed;
right: 28rpx;
@ -3819,12 +3813,10 @@
margin-top: 32rpx;
}
}
.lticon {
position: fixed;
left: 28rpx;
top: 200rpx;
right: 20rpx;
bottom: 940rpx;
image {
width: 88rpx;
height: 88rpx;
@ -3832,7 +3824,6 @@
margin-top: 32rpx;
}
}
.map {
width: 100%;
height: 130vh;

View File

@ -268,9 +268,8 @@
return label.includes(searchValue) || deptName.includes(searchValue);
});
}
},
},
selectItem(item) {
this.confirm(item)
this.show = false
this.searchKey = '' //
this.displayList = this.list //

View File

@ -103,7 +103,7 @@
<view class="container">
<view class="scroll-text">
<view class="scroll-item">
{{announcements.noticeTitle == null ? '暂无最新公告' : announcements.noticeTitle}}
{{announcements.noticeTitle == null ? '欢迎使用小鹿骑行' : announcements.noticeTitle}}
</view>
</view>
</view>
@ -139,11 +139,11 @@
</view>
</view>
<view class="kuaijie">
<image @click="btnpage(2)" style="height: 100rpx;margin-top: 16rpx;" src="https://api.ccttiot.com/smartmeter/img/static/udUQI8zA1tYUEndx9guO" mode=""></image> <!-- 订单 -->
<image @click="btntiao(2)" src="https://api.ccttiot.com/smartmeter/img/static/uECTLFe6fzWgzNzVdsPs" mode=""></image> <!-- 使用帮助 -->
<image @click="btnpage(4)" src="https://api.ccttiot.com/smartmeter/img/static/uPyDAy2sWgh4UkDr3yX4" mode=""></image> <!-- 编号开锁 -->
<image @click="btntiao(3)" src="https://api.ccttiot.com/smartmeter/img/static/uxLGGshcH6nr557ffO5E" mode=""></image> <!-- 意见反馈 -->
<image @click="btnkf" src="https://api.ccttiot.com/smartmeter/img/static/up53i8F9cn9wajU8dXuS" mode=""></image> <!-- 客服 -->
<image @click="btnpage(2)" src="https://api.ccttiot.com/smartmeter/img/static/uz1m5rLPQXfZ4DqusQAD" mode=""></image> <!-- 订单 -->
<image @click="btntiao(2)" src="https://api.ccttiot.com/smartmeter/img/static/uEtD1Iy9b24neWNWZ32U" mode=""></image> <!-- 使用帮助 -->
<image @click="btnpage(4)" src="https://api.ccttiot.com/smartmeter/img/static/uSoJx3BETr3hfqKSW4hN" mode=""></image> <!-- 编号开锁 -->
<image @click="btntiao(3)" src="https://api.ccttiot.com/smartmeter/img/static/uViw2fP4m96qI56WKgfO" mode=""></image> <!-- 意见反馈 -->
<image @click="btnkf" src="https://api.ccttiot.com/smartmeter/img/static/ufnz4ed8lFPMObtApooR" mode=""></image> <!-- 客服 -->
</view>
<!-- 商户轮播图 广告 -->
<view class="guanggao">
@ -423,8 +423,6 @@
uni.setStorageSync('token', res.token)
taht.getinfo()
taht.getlunbo()
}else{
taht.getinfo()
}
})
}
@ -1730,7 +1728,7 @@
margin-top: 32rpx;
image{
width: 96rpx;
height: 116rpx;
height: 96rpx;
}
}
}