Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b0e81d98
authored
Jul 01, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
19345869
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
184 deletions
env.js
pages/equity/detail/components/Guarantee.vue
pages/equity/detail/components/History.vue
pages/equity/detail/components/PartsPop.vue
pages/equity/detail/detail.vue
env.js
View file @
b0e81d9
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
"beta"
];
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
"beta"
];
const
index
=
2
;
const
index
=
1
;
/**
/**
*
*
0本地
0本地
...
...
pages/equity/detail/components/Guarantee.vue
View file @
b0e81d9
...
@@ -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-0
6-26 16:28:12
* @LastEditTime: 2024-0
7-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
,
ul
List
,
screen
List
,
showIndex
:
-
1
,
showIndex
:
-
1
,
};
};
},
},
...
...
pages/equity/detail/components/History.vue
View file @
b0e81d9
...
@@ -7,12 +7,20 @@
...
@@ -7,12 +7,20 @@
<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>
<view
class=
"name"
>
{{ nameHide(item.customerName) }}
</view>
<view
class=
"name"
>
{{ nameHide(item.customerName) }}
</view>
<view
class=
"goods-name"
>
{{ item.customer
Name }}
</view>
<view
class=
"goods-name"
>
{{ item.goods
Name }}
</view>
<view
class=
"card-info"
>
<view
class=
"card-info"
>
<view
class=
"label"
>
车架号
</view>
<view
class=
"label"
>
车架号
</view>
<view
class=
"value"
>
{{ item.carVin || "-" }}
</view>
<view
class=
"value"
>
{{ item.carVin || "-" }}
</view>
...
@@ -31,6 +39,7 @@
...
@@ -31,6 +39,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"end-text"
v-if=
"historyList.length > 0 && isEnd"
>
我是一个有底线的人
</view>
<view
class=
"end-text"
v-if=
"historyList.length > 0 && isEnd"
>
我是一个有底线的人
</view>
</scroll-view>
</scroll-view>
</template>
</template>
...
@@ -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,7 +221,22 @@ export default {
...
@@ -212,7 +221,22 @@ export default {
right
:
0
rpx
;
right
:
0
rpx
;
top
:
0
rpx
;
top
:
0
rpx
;
width
:
252
rpx
;
width
:
252
rpx
;
height
:
364
rpx
;
border-radius
:
0
32
rpx
32
rpx
0
;
z-index
:
-1
;
}
.gradient-overlay
{
z-index
:
-1
;
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
252
rpx
;
height
:
372
rpx
;
height
:
372
rpx
;
background
:
linear-gradient
(
to
left
,
rgba
(
247
,
249
,
255
,
0
)
0%
,
rgba
(
247
,
249
,
255
,
1
)
100%
);
}
}
}
}
}
}
...
...
pages/equity/detail/components/PartsPop.vue
View file @
b0e81d9
...
@@ -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"
);
},
},
...
...
pages/equity/detail/detail.vue
View file @
b0e81d9
...
@@ -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-0
6-24 16:41:5
4
* @LastEditTime: 2024-0
7-01 16:38:2
4
-->
-->
<
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
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment