|
@@ -12,8 +12,16 @@
|
|
|
搜索
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view style="height: 20rpx;background: #F4F5F7;"></view>
|
|
|
<view class="cont">
|
|
|
-
|
|
|
+ <view class="goosLeft">
|
|
|
+ <view class="goodsLefeLine" :class="{glActive:leftIndex==index}"
|
|
|
+ @click="leftFn(index,item)" v-for="(item,index) in leftData">
|
|
|
+ <view class="leftKK" v-if="leftIndex==index"></view>
|
|
|
+ <view v-else class="leftKK2"></view>
|
|
|
+ <view class="glName">{{item.name}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="jiyouBox" v-if="loading">
|
|
|
|
|
|
<view class="jylineBox">
|
|
@@ -59,6 +67,13 @@
|
|
|
spec:'',
|
|
|
modelRemarkNum:1,
|
|
|
oldMaintainPartList:'',
|
|
|
+ componentCode:'',
|
|
|
+ leftData:[
|
|
|
+ {name:'全部',componentCode:''},
|
|
|
+ {name:'点火线圈',componentCode:'003001'},
|
|
|
+ {name:'火花塞',componentCode:'003003'},
|
|
|
+ ],
|
|
|
+ leftIndex:0,
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -213,6 +228,8 @@
|
|
|
|
|
|
.cont {
|
|
|
/* padding: 30rpx 24rpx; */
|
|
|
+ display: flex;
|
|
|
+ /* margin-top: 20rpx; */
|
|
|
}
|
|
|
.toplineImg{
|
|
|
width: 35rpx;
|
|
@@ -382,7 +399,7 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
|
}
|
|
|
.sTopBox{
|
|
|
display: flex;padding: 30rpx 24rpx;
|
|
|
- padding-bottom: 0;
|
|
|
+ padding-bottom: 20rpx;
|
|
|
}
|
|
|
.searchBtn{
|
|
|
font-weight: 400;font-size: 28rpx;padding-left: 24rpx;
|
|
@@ -406,4 +423,42 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
|
.simg{
|
|
|
width: 36rpx;height: 34rpx;margin-top: 23rpx;margin-left:30rpx;
|
|
|
}
|
|
|
+.goosLeft{
|
|
|
+ width: 190rpx;
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #3C3C3C;
|
|
|
+ background: #F6F6F6;
|
|
|
+ }
|
|
|
+ .goodscont{
|
|
|
+ display: flex;margin-top: 20rpx;
|
|
|
+ min-height: calc(100vh - 450rpx);
|
|
|
+ }
|
|
|
+.goodsLefeLine{
|
|
|
+ display: flex;justify-content: center;
|
|
|
+ padding: 22rpx 0;
|
|
|
+}
|
|
|
+.glActive{
|
|
|
+ background: #ffffff;
|
|
|
+}
|
|
|
+.glActive .glName{
|
|
|
+font-weight: 500;
|
|
|
+font-size: 26rpx;
|
|
|
+color: #E60006;
|
|
|
+/* border-left:4rpx solid #E60006; */
|
|
|
+}
|
|
|
+.leftKK{
|
|
|
+ background: #E60006;
|
|
|
+ width: 6rpx ;
|
|
|
+ height: 24rpx;
|
|
|
+ border-radius: 4rpx;
|
|
|
+ margin-top: 6rpx;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+.leftKK2{
|
|
|
+ width: 4rpx ;
|
|
|
+}
|
|
|
+.glName{
|
|
|
+ width: 170rpx;text-align: center;
|
|
|
+ font-size: 26rpx;
|
|
|
+}
|
|
|
</style>
|