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