@@ -18,7 +18,7 @@ | |||
<image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`"> | |||
</image> | |||
<image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image> | |||
<image v-else class="icon" :src="state.form.vehPosImgUrl"></image> | |||
</view> | |||
</view> | |||
<view class="picture-wrapper" @click="cardImageOcr('2')"> | |||
@@ -32,7 +32,7 @@ | |||
</view> | |||
<image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`"> | |||
</image> | |||
<image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image> | |||
<image v-else class="icon" :src="state.form.vehNegImgUrl"></image> | |||
</view> | |||
</view> | |||
<view class="picture-wrapper" @click="cardFileImageUpdate()"> | |||
@@ -46,7 +46,7 @@ | |||
</view> | |||
<image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`"> | |||
</image> | |||
<image v-else class="icon" :src="strReplace(state.form.vehBodyUrl)"></image> | |||
<image v-else class="icon" :src="state.form.vehBodyUrl"></image> | |||
</view> | |||
</view> | |||
<view class="shibie-wrapper"> |
@@ -335,7 +335,7 @@ | |||
} | |||
//如果未登录||新用户 | |||
// if (!getItem('openId')) { | |||
if (!getItem('openId')) { | |||
let data = { | |||
userType: "PERSONAL", | |||
@@ -383,23 +383,23 @@ | |||
} | |||
}) | |||
// } else { | |||
//已经登录 | |||
// let data = state.form; | |||
// const options = { | |||
// type: 2, | |||
// data: data, | |||
// method: "POST", | |||
// showLoading: true, | |||
// }; | |||
// request(etcUserCardInfoSubmit, options).then((res) => { | |||
// // let result = stringToJson(res.bizContent); | |||
// console.log(res); | |||
// uni.redirectTo({ | |||
// url: `/subpackage/applyCard/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&isSign=${state.isSign}`, | |||
// }); | |||
// }); | |||
// } | |||
} else { | |||
// 已经登录 | |||
let data = state.form; | |||
const options = { | |||
type: 2, | |||
data: data, | |||
method: "POST", | |||
showLoading: true, | |||
}; | |||
request(etcUserCardInfoSubmit, options).then((res) => { | |||
// let result = stringToJson(res.bizContent); | |||
console.log(res); | |||
uni.redirectTo({ | |||
url: `/subpackage/applyCard/car-release?orderId=${state.orderId}&vehiclePlateColor=${state.vehiclePlateColor}&isSign=${state.isSign}`, | |||
}); | |||
}); | |||
} | |||
}; | |||
const cardFileImageUpdate = () => { | |||
uni.chooseImage({ |
@@ -17,7 +17,7 @@ | |||
</view> | |||
<image v-if="!state.form.posImgUrl" class="icon" :src="`${$imgUrl}applyCard/zhizhao.png`"> | |||
</image> | |||
<image v-else class="icon" :src="strReplace(state.form.posImgUrl)"></image> | |||
<image v-else class="icon" :src="state.form.posImgUrl"></image> | |||
</view> | |||
</view> | |||
<view class="picture-wrapper" @click="cardImageOcr('1')"> | |||
@@ -31,7 +31,7 @@ | |||
</view> | |||
<image v-if="!state.form.agentPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/renxiang.png`"> | |||
</image> | |||
<image v-else class="icon" :src="strReplace(state.form.agentPosImgUrl)"></image> | |||
<image v-else class="icon" :src="state.form.agentPosImgUrl"></image> | |||
</view> | |||
</view> | |||
<view class="picture-wrapper" @click="cardImageOcr('2')"> | |||
@@ -45,7 +45,7 @@ | |||
</view> | |||
<image v-if="!state.form.agentNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/guohui.png`"> | |||
</image> | |||
<image v-else class="icon" :src="strReplace(state.form.agentNegImgUrl)"></image> | |||
<image v-else class="icon" :src="state.form.agentNegImgUrl"></image> | |||
</view> | |||
</view> | |||
<view class="picture-wrapper" @click="cardFileImageUpdate()"> | |||
@@ -59,7 +59,7 @@ | |||
</view> | |||
<image v-if="!state.form.proxyUrl" class="icon" :src="`${$imgUrl}applyCard/weituoshu.png`"> | |||
</image> | |||
<image v-else class="icon" :src="strReplace(state.form.proxyUrl)"></image> | |||
<image v-else class="icon" :src="state.form.proxyUrl"></image> | |||
</view> | |||
</view> | |||
<view class="shibie-wrapper"> |
@@ -70,10 +70,10 @@ | |||
{{ "¥" + state.allMoney }} | |||
</view> | |||
</view> | |||
<view class="as-layout-horizontal as-gravity-center"> | |||
<!-- <view class="as-layout-horizontal as-gravity-center"> | |||
<checkbox value="cb" />请先阅读并同意 | |||
<a style="color:#007AFF;text-decoration: underline;">《ETC客户协议》</a> | |||
</view> | |||
</view> --> | |||
</view> | |||
<view class="action"> | |||
@@ -332,6 +332,7 @@ | |||
}; | |||
request(queryDetails, options).then((res) => { | |||
state.detailsObj = stringToJson(res.bizContent); | |||
console.log("state.detailsObj",state.detailsObj) | |||
state.allMoney = (parseFloat(state.detailsObj.product.oncePrice * 0.01) + parseFloat(state.productMoney)).toFixed(2) | |||
}); | |||
} |
@@ -60,12 +60,12 @@ | |||
display: flex; | |||
flex-direction: row; | |||
flex-wrap: wrap; | |||
justify-content: space-around; | |||
.numberplate{ | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
margin-right: 60rpx; | |||
// margin-right: 60rpx; | |||
margin-bottom: 40rpx; | |||
position: relative; | |||
@@ -73,7 +73,7 @@ | |||
margin-right: 0rpx; | |||
} | |||
&-bg{ | |||
width: 230rpx; | |||
width: 190rpx; | |||
height: 80rpx; | |||
} | |||
&-name{ |