|
@@ -6,9 +6,10 @@
|
|
|
v-model="queryWord"
|
|
|
:show-action="isGobleSearch"
|
|
|
@focus="isGobleSearch=true"
|
|
|
+ @blur="isGobleSearch=false"
|
|
|
@custom="searchPart"
|
|
|
@search="searchPart"
|
|
|
- @clear="searchPart"
|
|
|
+ @clear="clearSearch"
|
|
|
:action-style="{'color': '#fff', 'font-size': '24upx', 'background-color': '#57a3f3', 'border-radius': '6upx', 'padding': '12upx 0'}">
|
|
|
</u-search>
|
|
|
<view class="p-title">
|
|
@@ -29,6 +30,7 @@
|
|
|
</view>
|
|
|
<view class="pinfo">
|
|
|
<view class="pname">
|
|
|
+ <text class="pno">A10</text>
|
|
|
箭牌机油滤清器10款进口大众途锐 5.0L V10 TDI
|
|
|
</view>
|
|
|
<view class="ptxt flex align_center justify_between">
|
|
@@ -84,11 +86,11 @@
|
|
|
this.queryWord = ''
|
|
|
this.pageNo = 1
|
|
|
this.partList = []
|
|
|
+ this.getpartList()
|
|
|
},
|
|
|
// 搜索配件
|
|
|
searchPart(){
|
|
|
if(this.queryWord != ''){
|
|
|
- this.clearSearch()
|
|
|
this.getpartList()
|
|
|
}
|
|
|
},
|
|
@@ -209,7 +211,7 @@
|
|
|
.pno{
|
|
|
background-color: rgba(3, 54, 146, 0.15);
|
|
|
border-radius: 50rpx;
|
|
|
- padding: 0 20rpx;
|
|
|
+ padding: 2rpx 20rpx;
|
|
|
color: #033692;
|
|
|
font-size: 24rpx;
|
|
|
margin-right: 10rpx;
|
|
@@ -225,10 +227,8 @@
|
|
|
}
|
|
|
.ptools{
|
|
|
margin-top: 20rpx;
|
|
|
- .pcurnums{
|
|
|
- > text{
|
|
|
- margin-right: 20rpx;
|
|
|
- }
|
|
|
+ .print{
|
|
|
+ padding: 0 10rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|