@@ -14,7 +14,7 @@ | |||
</image> | |||
</view> | |||
</view> | |||
<view class="item-row"> | |||
<!-- <view class="item-row"> | |||
<view class="item-left"> | |||
<view class="title">安装照</view> | |||
<view class="desc">上传安装照片</view> | |||
@@ -23,10 +23,14 @@ | |||
<view class="item-right" @click="chooseImage(2)"> | |||
<image :src="state.installImg ?state.installImg: defInstallImg"></image> | |||
</view> | |||
</view> --> | |||
<view class="hint" style="margin-top: 40rpx;"> | |||
<image :src="`${$imgUrl}common/icon-hint.png`" class="icon"></image> | |||
<view>请打开手机蓝牙后再进行下一步操作。</view> | |||
</view> | |||
<view class="hint"> | |||
<image :src="`${$imgUrl}common/icon-hint.png`" class="icon"></image> | |||
<view>请打开手机蓝牙后再进行下一步操作。</view> | |||
<view>运营和服务规则中:车载单元(OBU),安装在车辆内部(风挡玻璃或仪表台上)。</view> | |||
</view> | |||
<view class="open-tips"> | |||
<view class="tip-title">开启蓝牙</view> | |||
@@ -154,22 +158,22 @@ | |||
}) | |||
return | |||
} else { | |||
const options = { | |||
type: 2, | |||
data: { | |||
orderId: state.orderId, | |||
vehicleBodyImgUrl: state.headstockImg, | |||
installImgUrl: state.installImg, | |||
orderSource: "WECHAT", | |||
openId: state.openId, | |||
}, | |||
method: "POST", | |||
showLoading: true, | |||
}; | |||
requestNew(activeImgUpload, options).then((res) => { | |||
// const options = { | |||
// type: 2, | |||
// data: { | |||
// orderId: state.orderId, | |||
// vehicleBodyImgUrl: state.headstockImg, | |||
// installImgUrl: state.installImg, | |||
// orderSource: "WECHAT", | |||
// openId: state.openId, | |||
// }, | |||
// method: "POST", | |||
// showLoading: true, | |||
// }; | |||
// requestNew(activeImgUpload, options).then((res) => { | |||
navTo(`/pages/bluetooth/bluetooth?routeType=1&transfer=${state.transfer}&isAfter=${state.isAfter}`) | |||
}); | |||
// }); | |||
} | |||
} | |||
@@ -251,32 +255,6 @@ | |||
width: 100%; | |||
height: 174rpx; | |||
} | |||
// &::before { | |||
// content: ''; | |||
// position: absolute; | |||
// width: 22rpx; | |||
// height: 22rpx; | |||
// border: 4rpx solid #21BEB1; | |||
// border-bottom: none; | |||
// border-right: none; | |||
// z-index: 0; | |||
// left: -4rpx; | |||
// top: -4rpx; | |||
// } | |||
// &::after { | |||
// content: ''; | |||
// position: absolute; | |||
// width: 22rpx; | |||
// height: 22rpx; | |||
// border: 4rpx solid #21BEB1; | |||
// border-top: none; | |||
// border-right: none; | |||
// z-index: 0; | |||
// left: -4rpx; | |||
// bottom: -4rpx; | |||
// } | |||
} | |||
.empty-node { | |||
@@ -284,32 +262,6 @@ | |||
z-index: 0; | |||
width: 100%; | |||
height: 100%; | |||
// &::before { | |||
// content: ''; | |||
// position: absolute; | |||
// width: 22rpx; | |||
// height: 22rpx; | |||
// border: 4rpx solid #21BEB1; | |||
// border-left: none; | |||
// border-bottom: none; | |||
// z-index: 0; | |||
// right: -4rpx; | |||
// top: -4rpx; | |||
// } | |||
// &::after { | |||
// content: ''; | |||
// position: absolute; | |||
// width: 22rpx; | |||
// height: 22rpx; | |||
// border: 4rpx solid #21BEB1; | |||
// border-top: none; | |||
// border-left: none; | |||
// z-index: 0; | |||
// right: -4rpx; | |||
// bottom: -4rpx; | |||
// } | |||
} | |||
} | |||
@@ -320,7 +272,7 @@ | |||
font-size: 28rpx; | |||
color: #545454; | |||
padding: 0px 30rpx; | |||
margin-top: 40rpx; | |||
margin-top: 20rpx; | |||
align-items: center; | |||
.icon { |
@@ -223,14 +223,6 @@ | |||
const getCardId = () => { | |||
//执行0015文件 | |||
tools.showLoadingAlert("执行指令"); | |||
// var arr=['00A40000023F00','00A40000021001','0020000006313233343536','00B201C400','00B202C400','00B203C400','00B204C400','00B205C400','00B206C400','00B207C400','00B208C400','00B209C400','00B20aC400','00B20bC400','00B20cC400','00B20dC400','00B20eC400','00B20fC400','00B210C400','00B211C400','00B212C400','00B213C400','00B214C400','00B215C400','00B216C400','00B217C400','00B218C400','00B219C400','00B21aC400','00B21bC400','00B21cC400','00B21dC400','00B21eC400','00B21fC400','00B220C400','00B221C400','00B222C400','00B223C400','00B224C400','00B225C400','00B226C400','00B227C400','00B228C400','00B229C400','00B22aC400','00B22bC400','00B22cC400','00B22dC400','00B22eC400','00B22fC400','00B230C400','00B231C400','00B232C400'] | |||
// console.log("通行流水进来") | |||
// var arr = ['00A40000023F00','00A40000021001','0020000006313233343536','00B201C400','00B202C400',] | |||
// bluetoothUtil.transCmd(arr, '10', function(res) { //10:写卡 20:写OBU | |||
// console.log("通行流水出来",res) | |||
// }) | |||
// return; | |||
let cmdArr = [cmd.HOME_DIRECTORY, cmd.APPLICATION_DIRECTORY, cmd.CMD_READBINARY, cmd.CMD_GETBALANCE]; | |||
console.log(cmdArr); | |||
console.log(bluetoothUtil); |