Commit b0e81d98 by 胡悦

提交

1 parent 19345869
const target = ["ip", "dev", "uat", "prod", "beta"]; const target = ["ip", "dev", "uat", "prod", "beta"];
const index = 2; const index = 1;
/** /**
* *
0本地 0本地
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-06-20 11:32:52 * @Date: 2024-06-20 11:32:52
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-06-26 16:28:12 * @LastEditTime: 2024-07-01 16:41:55
--> -->
<template> <template>
<view class="layout" @click.prevent="touch"> <view class="layout" @click.prevent="touch">
...@@ -47,163 +47,10 @@ ...@@ -47,163 +47,10 @@
</view> </view>
</template> </template>
</wnCanvas> </wnCanvas>
<partsPop ref="partsRef"></partsPop> <partsPop ref="partsRef" :screenList="screenList"></partsPop>
</view> </view>
</template> </template>
<script> <script>
const list = [
{
name: "冷却系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-1.webp",
style: "width: 284rpx;height: 498rpx;float: left;",
class: "m-r-b",
description: '冷却风扇电机、散热器、冷却液水壶盖、冷却液水壶、冷却液循环泵'
},
{
name: "悬挂系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-2.webp",
style: "width: 582rpx;height: 330rpx;float: left;",
class: "m-r-b",
description: '前轮轴承、后轮轴承、平衡杆、平衡杆固定螺栓、平衡杆拉杆、减震器上座、减震器上座螺丝、减震 下摆臂'
},
{
name: "制动系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-3.webp",
style: "width: 288rpx;height: 330rpx;float: left;",
class: "m-r-b",
description: '骨制动踏板、真空泵、制动主缸、液压控制单元、液压管路、制动轮缸等'
},
{
name: "灯光照明系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-4.webp",
style: "width: 584rpx;height: 330rpx;float: left;",
class: "m-b",
description: '示宽灯开关、大灯开关、大灯变光开关、雾灯开关、转向灯开关、双闪灯开关、大灯清洗开关、仪表照明调节开关、灯光总成控制集成单元等'
},
{
name: "转向系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-9.webp",
style: "width: 284rpx;height: 242rpx; float: right;",
description: '转向机、转向柱、转向柱锁、转向连接杆(转向柱到转向机)、方向盘'
},
{
name: "传动系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-8.webp",
style: "width: 284rpx;height: 242rpx;float: right;",
class: "m-r-b",
description: '传动轴、传动轴固定螺丝、传动轴支撑、等速万向节、元宝梁、转向节'
},
{
name: "电气系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-7.webp",
style: "width: 584rpx;height: 498rpx;float: right;",
class: "m-r-b",
description: '发电机、档位开关、巡航定速开关、巡航控制传感器、巡航控制电机、车载充电器总成、座椅开关、座椅记录开关、后视镜电机、点火开关、点火线圈、起动机雨刮开关、雨刮电机、雨刮清洗电机、雨量传感器、中控锁开关、中央防盗控制单元、后备箱开关、油箱盖开关、天窗开关、天窗电机、组合仪表等'
},
{
name: "空调系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-6.webp",
style: "width: 286rpx;height: 498rpx;float: right;",
class: "m-r-b",
description: '空调压缩机、空调高压力传感器、空调低压力传感器、蒸发箱温度传感器、蒸发箱、暖风水箱、空调伺服电机、空调开关、空调控制单元、空调0形密封圈、压缩机高压管、压缩机低压管、膨胀阀'
},
{
name: "安全气囊系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-5.webp",
style: "width: 284rpx;height: 330rpx;float: right;",
class: "m-r-b",
description: '安全气囊模块(未开过封条/事故无效)、安全气囊碰撞传感器、安全气囊、安全带收紧器、安全带收紧器马达、安全带'
},
{
name: "智能辅助系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-10.webp",
style:
"width: 584rpx;height: 240rpx;position: absolute;top:604rpx;right:0;",
class: "",
description: '传感器:摄像头 雷达 激光雷达 超声波传感器等 执行器:电机刹车 转向等导航系统 语音控制系统 远程控制系统等'
},
{
name: "增程器",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-11.webp",
style: "width: 586rpx;height: 332rpx;float: left;",
class: "m-r",
description: '气缸体、曲轴油封、气缸盖垫、轴承盖轴瓦、轴承盖、止推垫片、飞轮、机油泵、集滤器、机油喷嘴 连杆轴盖瓦、连杆轴瓦、活塞卡环、活塞环、连杆 机油尺导向管、凸轮轴调节、电磁阀等'
},
{
name: "舒适系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-12.webp",
style: "width: 284rpx;height: 332rpx;float: left;",
class: "m-r",
description: '巡航定速开关、座椅开关、座椅记忆开关、座椅电机、转向辅助系统开关、多功能方向盘按键'
},
{
name: "ABS防抱死制动系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-13.webp",
style: "width: 582rpx;height: 332rpx;float: left;",
class: "m-r",
description: '传ABS传感器、电子驻车控制单元、制动信号灯开ABS控制单元、驻车制动器开关、电控驻车制动器伺服马达、制动总泵、制动分泵、制动液压硬管、制动踏板、支架制动钳、电子真空力泵等'
},
{
name: "娱乐系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-14.webp",
style: "width: 286rpx;height: 332rpx;float: left;",
description: '导航控制系统、音响系统、视频/多媒体播放器、收音机、显示屏、语音控制系统等'
},
];
const ulList = [
{
index: "01",
name: "元宝梁",
value: "价值4千-1万元",
},
{
index: "02",
name: "转向节",
value: "价值2千-5千元",
},
{
index: "03",
name: "减震器上座",
value: "价值1千-3千元",
},
{
index: "04",
name: "智能中控屏",
value: "价值5千-3万元",
hasArrow: true,
flagName: "control",
},
{
index: "05",
name: "空调压缩机",
value: "价值4千-1.6万元",
hasArrow: true,
flagName: "compressor",
},
{
index: "06",
name: "空气悬挂",
value: "价值1万-1.3万元",
hasArrow: true,
flagName: "airSuspension",
},
];
import partsPop from './PartsPop.vue' import partsPop from './PartsPop.vue'
export default { export default {
name: "Guarantee", name: "Guarantee",
...@@ -212,12 +59,14 @@ export default { ...@@ -212,12 +59,14 @@ export default {
penSwitch: Boolean, penSwitch: Boolean,
title: String, title: String,
madiaId: Number, madiaId: Number,
ulList: Array,
screenList: Array
}, },
components: {partsPop}, components: {partsPop},
data() { data() {
return { return {
list, list,
ulList, screenList,
showIndex: -1, showIndex: -1,
}; };
}, },
......
...@@ -7,27 +7,36 @@ ...@@ -7,27 +7,36 @@
<view class="card-item" v-for="item in historyList" :key="item.id"> <view class="card-item" v-for="item in historyList" :key="item.id">
<template> <template>
<image <image
v-if="item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl"
class="image-box"
:src="item.vdQuotationPaymentDoc.paymentDocUrl"
/>
<image
v-else
class="image-box" class="image-box"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp" src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp"
/> />
<view class="gradient-overlay"></view>
</template> </template>
<view class="name">{{ nameHide(item.customerName) }}</view> <view>
<view class="goods-name">{{ item.customerName }}</view> <view class="name">{{ nameHide(item.customerName) }}</view>
<view class="card-info"> <view class="goods-name">{{ item.goodsName }}</view>
<view class="label">车架号</view> <view class="card-info">
<view class="value">{{ item.carVin || "-" }}</view> <view class="label">车架号</view>
</view> <view class="value">{{ item.carVin || "-" }}</view>
<view class="card-info"> </view>
<view class="label">工单号</view> <view class="card-info">
<view class="value">{{ item.payId }}</view> <view class="label">工单号</view>
</view> <view class="value">{{ item.payId }}</view>
<view class="card-info"> </view>
<view class="label">交易流水号</view> <view class="card-info">
<view class="value">{{ item.transactionNo }}</view> <view class="label">交易流水号</view>
</view> <view class="value">{{ item.transactionNo }}</view>
<view class="card-info"> </view>
<view class="label">实收金额</view> <view class="card-info">
<view class="price"><view class="flag">¥</view>{{ accDiv(item.equityPrice) }}</view> <view class="label">实收金额</view>
<view class="price"><view class="flag">¥</view>{{ accDiv(item.equityPrice) }}</view>
</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -59,7 +68,7 @@ export default { ...@@ -59,7 +68,7 @@ export default {
isEnd: false, isEnd: false,
currentPage: 1, currentPage: 1,
shopMerchantId: '', shopMerchantId: '',
goodsName: 'M5' goodsName: null
} }
}, },
watch: { watch: {
...@@ -212,8 +221,23 @@ export default { ...@@ -212,8 +221,23 @@ export default {
right: 0rpx; right: 0rpx;
top: 0rpx; top: 0rpx;
width: 252rpx; width: 252rpx;
height: 372rpx; height: 364rpx;
border-radius: 0 32rpx 32rpx 0;
z-index: -1;
} }
.gradient-overlay {
z-index: -1;
position: absolute;
top: 0;
right: 0;
width: 252rpx;
height: 372rpx;
background: linear-gradient(
to left,
rgba(247, 249, 255, 0) 0%,
rgba(247, 249, 255, 1) 100%
);
}
} }
} }
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<view class="screen-container"> <view class="screen-container">
<image <image
class="screen-image" class="screen-image"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/screen-1.webp" :src="`https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/screen-${screenInfo.id}.webp`"
/> />
<view class="feature-container"> <view class="feature-container">
<view class="feature-title">{{screenInfo.title}}</view> <view class="feature-title">{{screenInfo.title}}</view>
...@@ -29,39 +29,20 @@ ...@@ -29,39 +29,20 @@
</template> </template>
<script> <script>
const SCREEN_INFO = [
{
name: 'control',
title: '中控大屏',
detail: '导航、控制、娱乐、通信、智能助手',
tips: '避免长时间暴晒、液体泼溅、硬物撞击。'
},
{
name: 'compressor',
title: '空调压缩机',
detail: '车内空气制冷、除湿,保持车内外空气循环',
tips: '正确启动和关闭,周期性清理灰尘及更换滤芯。'
},
{
name: 'airSuspension',
title: '空气悬挂',
detail: '提升通过性、驾驶舒适性及操控感',
tips: '避免异物卡阻或频繁调整悬挂高度,及时处理故障报警。'
}
]
export default { export default {
name: 'PartsPop', name: 'PartsPop',
props: {
screenList: Array,
},
data() { data() {
return { return {
screenInfo: {} screenInfo: {}
// screenInfo: SCREEN_INFO
} }
}, },
methods: { methods: {
show(name) { show(name) {
console.log(name,'====') console.log(name,'====')
this.screenInfo = SCREEN_INFO.find(item => item.name === name) this.screenInfo = this.screenList.find(item => item.name === name)
console.log(this.screenInfo) console.log(this.screenInfo)
this.$refs.partsRef.open("center"); this.$refs.partsRef.open("center");
}, },
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-04-08 11:30:30 * @Date: 2024-04-08 11:30:30
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-06-24 16:41:54 * @LastEditTime: 2024-07-01 16:38:24
--> -->
<template> <template>
<view <view
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
:madiaId="item.id" :madiaId="item.id"
:carTypeList="item.carTypeList || []" :carTypeList="item.carTypeList || []"
@scale="scale" @scale="scale"
:ulList="item.ulList"
:screenList="item.screenList"
/> />
</view> </view>
</template> </template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!