Commit 11f263bb by 胡悦

提交

1 parent fbc88f8e
......@@ -5,23 +5,10 @@
<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">
<view v-for="item in list" :key="item.name" class="item" :class="item.class" :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" />
......@@ -37,83 +24,92 @@ 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;'
style: 'width: 284rpx;height: 498rpx;float: left;',
class: 'm-r-b'
},
{
name: "悬挂系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-2.webp",
style: 'width: 582rpx;height: 330rpx;float: left;'
style: 'width: 582rpx;height: 330rpx;float: left;',
class: 'm-r-b'
},
{
name: "制动系统",
detailUrl: "https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-3.webp",
style: 'width: 288rpx;height: 330rpx;float: left;'
style: 'width: 288rpx;height: 330rpx;float: left;',
class: 'm-r-b'
},
{
name: "灯光照明系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-4.webp",
style: 'width: 584rpx;height: 330rpx;float: left;'
style: 'width: 584rpx;height: 330rpx;float: left;',
class: 'm-b'
},
{
name: "转向系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-9.webp",
style: 'width: 284rpx;height: 242rpx; float: right;'
style: 'width: 284rpx;height: 242rpx; float: right;'
},
{
name: "传动系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-8.webp",
style: 'width: 284rpx;height: 242rpx;float: right;'
style: 'width: 284rpx;height: 242rpx;float: right;',
class: 'm-r-b'
},
{
name: "电气系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-7.webp",
style: 'width: 584rpx;height: 498rpx;float: right;'
style: 'width: 584rpx;height: 498rpx;float: right;',
class: 'm-r-b'
},
{
name: "空调系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-6.webp",
style: 'width: 286rpx;height: 498rpx;float: right;'
style: 'width: 286rpx;height: 498rpx;float: right;',
class: 'm-r-b'
},
{
name: "安全气囊系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-5.webp",
style: 'width: 284rpx;height: 330rpx;float: right;'
style: 'width: 284rpx;height: 330rpx;float: right;',
class: 'm-r-b'
},
{
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;'
style: 'width: 584rpx;height: 240rpx;position: absolute;top:604rpx;right:0;',
class: ''
},
{
name: "增程器",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-11.webp",
style: 'width: 586rpx;height: 332rpx;float: left;'
style: 'width: 586rpx;height: 332rpx;float: left;',
class: 'm-r'
},
{
name: "舒适系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-12.webp",
style: 'width: 284rpx;height: 332rpx;float: left;'
style: 'width: 284rpx;height: 332rpx;float: left;',
class: 'm-r'
},
{
name: "ABS防抱死制动系统",
detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-13.webp",
style: 'width: 582rpx;height: 332rpx;float: left;'
style: 'width: 582rpx;height: 332rpx;float: left;',
class: 'm-r'
},
{
name: "娱乐系统",
......@@ -171,23 +167,21 @@ export default {
// display: flex;
// flex-direction: row;
// flex-wrap: wrap;
// column-count: 4;
// column-gap: 16rpx;
// column-count: auto;
column-gap: 16rpx;
&::after{
content: "";
display: block;
clear: both;
}
flex: 1;
// width: 1786rpx;
.item {
// float: left;
margin: 6rpx;
position: relative;
}
.item-image {
width: 100%;
}
.item-text {
position: absolute;
left: 24rpx;
......@@ -205,7 +199,15 @@ export default {
}
}
}
}
.m-r-b {
margin-right: 16rpx;
margin-bottom: 16rpx;
}
.m-b {
margin-bottom: 16rpx;
}
.m-r {
margin-right: 16rpx;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!