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 6675c89b
authored
Jun 20, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
9e9c5ad0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
204 additions
and
2 deletions
pages/equity/detail/components/Guarantee.vue
pages/equity/detail/detail.vue
pages/equity/detail/components/Guarantee.vue
0 → 100644
View file @
6675c89
<
template
>
<view
class=
"layout"
>
<wnCanvas
:drawStatus=
"penSwitch"
:canvasId=
"`c-$
{madiaId}`" custom>
<template
slot=
"customContent"
>
<view
class=
"title"
>
{{
title
}}
</view>
<view
class=
"container"
>
<view
class=
"container-left"
>
<view
v-for=
"item in list"
:key=
"item.name"
class=
"item"
:style=
"item.style"
>
<image
:src=
"item.detailUrl"
mode=
"widthFix"
class=
"item-image"
/>
<view
class=
"item-text"
>
{{
item
.
name
}}
</view>
</view>
<!--
<view
style=
"width: 284rpx; height:498rpx;"
>
<image
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-1.webp"
mode=
"widthFix"
class=
"item-image"
/>
<view
class=
"item-text"
>
冷却系统
</view>
</view>
<view
style=
"width: 582rpx; height:330rpx;"
>
<image
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-2.webp"
mode=
"widthFix"
class=
"item-image"
/>
</view>
<view
style=
"width: 288rpx; height:330rpx;"
>
<image
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-3.webp"
mode=
"widthFix"
class=
"item-image"
/>
</view>
<view
style=
"width: 584rpx; height:330rpx;"
>
<image
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-4.webp"
mode=
"widthFix"
class=
"item-image"
/>
</view>
-->
</view>
<view
class=
"container-right"
>
<image
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-15.webp"
mode=
"widthFix"
class=
"serice-image"
/>
</view>
</view>
</
template
>
</wnCanvas>
</view>
</template>
<
script
>
const
list
=
[
{
name
:
"冷却系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-1.webp"
,
style
:
'width: 284rpx;height: 498rpx;'
},
{
name
:
"悬挂系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-2.webp"
,
style
:
'width: 582rpx;height: 330rpx;'
},
{
name
:
"制动系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-3.webp"
,
style
:
'width: 288rpx;height: 330rpx;'
},
{
name
:
"灯光照明系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-4.webp"
,
style
:
'width: 584rpx;height: 330rpx;'
},
{
name
:
"安全气囊系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-5.webp"
,
style
:
'width: 284rpx;height: 330rpx;'
},
{
name
:
"空调系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-6.webp"
,
style
:
'width: 286rpx;height: 498rpx;'
},
{
name
:
"电气系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-7.webp"
,
style
:
'width: 584rpx;height: 498rpx;'
},
{
name
:
"传动系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-8.webp"
,
style
:
'width: 284rpx;height: 242rpx;'
},
{
name
:
"转向系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-9.webp"
,
style
:
'width: 284rpx;height: 242rpx;'
},
{
name
:
"智能辅助系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-10.webp"
,
style
:
'width: 584rpx;height: 240rpx;'
},
{
name
:
"增程器"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-11.webp"
,
style
:
'width: 586rpx;height: 332rpx;'
},
{
name
:
"舒适系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-12.webp"
,
style
:
'width: 284rpx;height: 332rpx;'
},
{
name
:
"ABS防抱死制动系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-13.webp"
,
style
:
'width: 582rpx;height: 332rpx;'
},
{
name
:
"娱乐系统"
,
detailUrl
:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-14.webp"
,
style
:
'width: 286rpx;height: 332rpx;'
},
];
export
default
{
name
:
"Guarantee"
,
props
:
{
views
:
Array
,
penSwitch
:
Boolean
,
title
:
String
,
madiaId
:
Number
,
},
data
()
{
return
{
viewIndex
:
6
,
list
};
},
mounted
()
{
console
.
log
(
this
.
views
);
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
.layout
{
width
:
100vw
;
height
:
100vh
;
position
:
relative
;
background-image
:
url("@/assets/images/media/media-bg.webp")
;
background-size
:
100%
;
.title
{
position
:
absolute
;
left
:
0
;
top
:
112
rpx
;
font-weight
:
500
;
font-size
:
48
rpx
;
color
:
#1a1a1a
;
letter-spacing
:
4
rpx
;
line-height
:
64
rpx
;
text-align
:
center
;
width
:
100%
;
z-index
:
2
;
}
.container
{
display
:
flex
;
padding
:
248
rpx
80
rpx
0
;
column-gap
:
64
rpx
;
&-left
{
position
:
relative
;
//
display
:
flex
;
//
flex-direction
:
row
;
//
flex-wrap
:
wrap
;
//
column-count
:
4
;
//
column-gap
:
16
rpx
;
flex
:
1
;
.item
{
float
:
left
;
margin
:
6
rpx
;
}
.item-image
{
width
:
100%
;
}
.item-text
{
position
:
absolute
;
left
:
24
rpx
;
bottom
:
24
rpx
;
font-size
:
30
rpx
;
color
:
#FFFFFF
;
line-height
:
44
rpx
;
}
}
&
-right
{
width
:
336
rpx
;
.serice-image
{
width
:
336
rpx
;
height
:
280
rpx
;
}
}
}
}
</
style
>
pages/equity/detail/detail.vue
View file @
6675c89
...
@@ -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
4-10 18:23:43
* @LastEditTime: 2024-0
6-20 11:39:31
-->
-->
<
template
>
<
template
>
<view
<view
...
@@ -71,6 +71,7 @@ import ToolBox from "@/components/ToolBox.vue";
...
@@ -71,6 +71,7 @@ import ToolBox from "@/components/ToolBox.vue";
import
Reception
from
"./components/Reception.vue"
;
import
Reception
from
"./components/Reception.vue"
;
import
MediaComponent
from
"./components/MediaComponent.vue"
;
import
MediaComponent
from
"./components/MediaComponent.vue"
;
import
Media_6
from
"./components/Media_6.vue"
;
import
Media_6
from
"./components/Media_6.vue"
;
import
Guarantee
from
'./components/Guarantee.vue'
;
import
payPop
from
"./components/payPop.vue"
;
import
payPop
from
"./components/payPop.vue"
;
import
FinishStep
from
'@/components/FinishStep.vue'
;
import
FinishStep
from
'@/components/FinishStep.vue'
;
import
{
mapMutations
}
from
"vuex"
;
import
{
mapMutations
}
from
"vuex"
;
...
@@ -81,7 +82,8 @@ export default {
...
@@ -81,7 +82,8 @@ export default {
MediaComponent
,
MediaComponent
,
Media_6
,
Media_6
,
payPop
,
payPop
,
FinishStep
FinishStep
,
Guarantee
},
},
props
:
{
props
:
{
id
:
[
String
,
Number
],
id
:
[
String
,
Number
],
...
...
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