Browse Source

支付宝适配

yxb
skx 2 years ago
parent
commit
7159430a49

+ 9
- 4
subpackage/personal-center/setting/car-information/car-change.vue View File



<image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`"> <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
</image> </image>
<image v-else class="icon" :src="state.form.vehPosImgUrl"></image>
<image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
</view> </view>
</view> </view>
<view class="picture-wrapper" @click="cardImageOcr('2')"> <view class="picture-wrapper" @click="cardImageOcr('2')">
</view> </view>
<image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`"> <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
</image> </image>
<image v-else class="icon" :src="state.form.vehNegImgUrl"></image>
<image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
</view> </view>
</view> </view>
<view class="picture-wrapper" @click="cardFileImageUpdate()"> <view class="picture-wrapper" @click="cardFileImageUpdate()">
</view> </view>
<image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`"> <image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
</image> </image>
<image v-else class="icon" :src="state.form.vehBodyUrl"></image>
<image v-else class="icon" :src="strReplace(state.form.vehBodyUrl)"></image>
</view> </view>
</view> </view>
<view class="shibie-wrapper"> <view class="shibie-wrapper">
etcCarOcrCard, etcCarOcrCard,
fileUpload, fileUpload,
changeCarInfo, changeCarInfo,
envs
} from "@/utils/network/api.js"; } from "@/utils/network/api.js";
import { import {
request request




let cacachCarid='' let cacachCarid=''

const strReplace = (str : string) => {
let imgUrl = str.replace("http://192.168.101.145:9000", envs[process.env.NODE_ENV].baseUrl);
imgUrl = imgUrl.replace("http://100.64.2.113:9000", envs[process.env.NODE_ENV].baseUrl);
return imgUrl;
};
// 修改 // 修改
const savaHandle = () => { const savaHandle = () => {
state.form.vehicleId=cacachCarid state.form.vehicleId=cacachCarid

Loading…
Cancel
Save