feat: 兼容性修改
This commit is contained in:
parent
fc1a36ef3b
commit
4910ed04cb
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<uni-card
|
<uni-card
|
||||||
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
||||||
:padding="'0px'"
|
|
||||||
:margin="'20px'"
|
:margin="'20px'"
|
||||||
:border="false"
|
:border="false"
|
||||||
>
|
>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<uni-card
|
<uni-card
|
||||||
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
||||||
:padding="'0px'"
|
|
||||||
:margin="'20px'"
|
:margin="'20px'"
|
||||||
:border="false"
|
:border="false"
|
||||||
>
|
>
|
||||||
|
|
|
@ -1,6 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<Layout>
|
<Layout>
|
||||||
<!-- 轮播图 -->
|
<!-- 轮播图 -->
|
||||||
|
<!-- <button
|
||||||
|
open-type="im"
|
||||||
|
:data-im-id="'13918346152'"
|
||||||
|
@im="imCallback"
|
||||||
|
@error="onimError"
|
||||||
|
class="animate-button"
|
||||||
|
>
|
||||||
|
点击咨询
|
||||||
|
</button> -->
|
||||||
|
|
||||||
<CustomSwiper> </CustomSwiper>
|
<CustomSwiper> </CustomSwiper>
|
||||||
<!-- 入口 -->
|
<!-- 入口 -->
|
||||||
<view class="entry-card">
|
<view class="entry-card">
|
||||||
|
@ -97,6 +107,14 @@ const handleClick = (item: any) => {
|
||||||
url: item.url, // 要跳转到的页面路径
|
url: item.url, // 要跳转到的页面路径
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const imCallback = (e: any) => {
|
||||||
|
console.log("跳转IM客服成功", e.detail);
|
||||||
|
};
|
||||||
|
|
||||||
|
const onimError = (e: any) => {
|
||||||
|
console.log("拉起IM客服失败", e.detail);
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<uni-card
|
<uni-card
|
||||||
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
||||||
:padding="'0px'"
|
|
||||||
:margin="'20px'"
|
:margin="'20px'"
|
||||||
:border="false"
|
:border="false"
|
||||||
>
|
>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<uni-card
|
<uni-card
|
||||||
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
||||||
:padding="'0px'"
|
|
||||||
:margin="'20px'"
|
:margin="'20px'"
|
||||||
:border="false"
|
:border="false"
|
||||||
>
|
>
|
||||||
|
<view class="uni-card__content">
|
||||||
<view class="title">车辆信息</view>
|
<view class="title">车辆信息</view>
|
||||||
<u-form
|
<u-form
|
||||||
labelPosition="left"
|
labelPosition="left"
|
||||||
|
@ -82,6 +82,8 @@
|
||||||
</template>
|
</template>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
|
</view>
|
||||||
|
|
||||||
</uni-card>
|
</uni-card>
|
||||||
|
|
||||||
<view class="btn-box-fix-btn">
|
<view class="btn-box-fix-btn">
|
||||||
|
@ -437,16 +439,21 @@ const startSave = () => {
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .uni-card__content {
|
.uni-card__content {
|
||||||
padding: 20rpx !important;
|
padding: 10px !important;
|
||||||
height: calc(100vh - 100px);
|
height: calc(100vh - 100px);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
// ::v-deep .uni-card__content {
|
||||||
|
// padding: 10px !important;
|
||||||
|
// height: calc(100vh - 100px);
|
||||||
|
// overflow: auto;
|
||||||
|
// }
|
||||||
::v-deep .uni-card--shadow {
|
::v-deep .uni-card--shadow {
|
||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
}
|
}
|
||||||
::v-deep .u-form-item {
|
::v-deep .u-form-item {
|
||||||
height: auto;
|
height: auto !important;
|
||||||
border-bottom: 1rpx solid rgba(233, 233, 233, 0.76);
|
border-bottom: 1rpx solid rgba(233, 233, 233, 0.76);
|
||||||
margin: 0px 20rpx;
|
margin: 0px 20rpx;
|
||||||
padding: 0px 20rpx;
|
padding: 0px 20rpx;
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<uni-card
|
<uni-card
|
||||||
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
||||||
:padding="'0px'"
|
|
||||||
:margin="'20px'"
|
:margin="'20px'"
|
||||||
:border="false"
|
:border="false"
|
||||||
>
|
>
|
||||||
|
<view style="text-align: center;">
|
||||||
<image
|
<image
|
||||||
style="height: 680rpx"
|
style="height: 680rpx; background-size: 100%"
|
||||||
:src="`${url}/static/img/vehicle/flow.png`"
|
:src="`${url}/static/img/vehicle/flow.png`"
|
||||||
mode="'aspectFit'"
|
mode="'aspectFit'"
|
||||||
></image>
|
></image>
|
||||||
|
</view>
|
||||||
</uni-card>
|
</uni-card>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
@ -18,7 +19,7 @@ import { url } from "@/utils/data";
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .uni-card--shadow {
|
::v-deep .uni-card--shadow {
|
||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
background: linear-gradient(0deg, #EAF6FF, #FFFFFF);
|
background: linear-gradient(0deg, #eaf6ff, #ffffff);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<uni-card
|
<uni-card
|
||||||
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
:shadow="'0rpx 0rpx 10rpx 0rpx rgba(5,68,37,0.12)'"
|
||||||
:padding="'0px'"
|
|
||||||
:margin="'20px'"
|
:margin="'20px'"
|
||||||
:border="false"
|
:border="false"
|
||||||
>
|
>
|
||||||
|
|
|
@ -73,7 +73,7 @@ export const http = <T>(options: UniApp.RequestOptions) => {
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
files: (options as any).data.files,
|
files: (options as any).data.files,
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef MP-WEIXIN || MP-TOUTIAO
|
// #ifdef MP-WEIXIN || MP-TOUTIAO || MP-ALIPAY
|
||||||
filePath: compressedTempFilePath,
|
filePath: compressedTempFilePath,
|
||||||
// #endif
|
// #endif
|
||||||
name: "file",
|
name: "file",
|
||||||
|
|
Loading…
Reference in New Issue