Commit 11f263bb by 胡悦

提交

1 parent fbc88f8e
...@@ -5,23 +5,10 @@ ...@@ -5,23 +5,10 @@
<view class="title">{{ title }}</view> <view class="title">{{ title }}</view>
<view class="container"> <view class="container">
<view class="container-left"> <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" /> <image :src="item.detailUrl" mode="widthFix" class="item-image" />
<view class="item-text">{{item.name}}</view> <view class="item-text">{{item.name}}</view>
</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>
<view class="container-right"> <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" /> <image src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-15.webp" mode="widthFix" class="serice-image" />
...@@ -37,24 +24,28 @@ const list = [ ...@@ -37,24 +24,28 @@ const list = [
name: "冷却系统", name: "冷却系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-1.webp", "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: "悬挂系统", name: "悬挂系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-2.webp", "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: "制动系统", name: "制动系统",
detailUrl: "https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-3.webp", 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: "灯光照明系统", name: "灯光照明系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-4.webp", "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'
}, },
{ {
...@@ -67,53 +58,58 @@ const list = [ ...@@ -67,53 +58,58 @@ const list = [
name: "传动系统", name: "传动系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-8.webp", "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: "电气系统", name: "电气系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-7.webp", "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: "空调系统", name: "空调系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-6.webp", "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: "安全气囊系统", name: "安全气囊系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-5.webp", "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: "智能辅助系统", name: "智能辅助系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-10.webp", "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: "增程器", name: "增程器",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-11.webp", "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: "舒适系统", name: "舒适系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-12.webp", "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防抱死制动系统", name: "ABS防抱死制动系统",
detailUrl: detailUrl:
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/6-13.webp", "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: "娱乐系统", name: "娱乐系统",
...@@ -171,23 +167,21 @@ export default { ...@@ -171,23 +167,21 @@ export default {
// display: flex; // display: flex;
// flex-direction: row; // flex-direction: row;
// flex-wrap: wrap; // flex-wrap: wrap;
// column-count: 4; // column-count: auto;
// column-gap: 16rpx; column-gap: 16rpx;
&::after{ &::after{
content: ""; content: "";
display: block; display: block;
clear: both; clear: both;
} }
flex: 1; flex: 1;
// width: 1786rpx;
.item { .item {
position: relative;
// float: left;
margin: 6rpx;
} }
.item-image { .item-image {
width: 100%; width: 100%;
} }
.item-text { .item-text {
position: absolute; position: absolute;
left: 24rpx; left: 24rpx;
...@@ -205,7 +199,15 @@ export default { ...@@ -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> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!