|
@@ -40,10 +40,15 @@
|
|
|
<image v-if="item.imgs.split(',')[0]" :src="item.imgs.split(',')[0]" mode="aspectFit" class="jyimg"></image>
|
|
|
<image v-else src="../../static/img/noimg.png" mode="aspectFit" class="jyimg"></image>
|
|
|
</view>
|
|
|
- <view class="jyName">
|
|
|
- <!-- <span class="best">最佳</span> -->
|
|
|
- <span class="jyNametxt">{{item.name}} | {{item.specificationModel}} | {{item.partsCode}} </span>
|
|
|
+ <view class="jylineRight">
|
|
|
+ <view class="jyName">
|
|
|
+ <span class="jyNametxt">{{item.name}} | {{item.specificationModel}} | {{item.partsCode}} </span>
|
|
|
+ </view>
|
|
|
+ <view v-for="(exObj,exindex) in item.ExtendDatas" class="exspanBox">
|
|
|
+ <span class="exspan1" v-for="ex in Object.keys(exObj)" v-if="ex!='partsId'&&exObj[ex]">{{ex}}: <span class="exspan2">{{exObj[ex]}}</span></span>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
<nodata v-if="MaintainPartList.length==0"></nodata>
|
|
@@ -62,13 +67,38 @@
|
|
|
<!-- <span class="best">最佳</span> -->
|
|
|
<span class="jyNametxt">{{item.name}} | {{item.specificationModel}} | {{item.partsCode}} </span>
|
|
|
</view>
|
|
|
+ <view v-for="(exObj,exindex) in item.ExtendDatas" class="exspanBox">
|
|
|
+ <span class="exspan1" v-for="ex in Object.keys(exObj)" v-if="ex!='partsId'&&exObj[ex]">{{ex}}: <span class="exspan2">{{exObj[ex]}}</span></span>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<nodata v-if="afterList.length==0"></nodata>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ <view v-if="disclaimerShow" class="tiTk">
|
|
|
+ <view class="disclaimerShowBOx">
|
|
|
+ <view class="disclaimerTitle">免责声明</view>
|
|
|
+ <view class="disclaimerTxt">
|
|
|
+ <view class="disclaimerTxtLIne">1、本系统只作为查询辅助工具,在使用中如有对数据与实车配件产品不匹配疑问时,请务必核实实车配件产品及原车维修保养手册所推荐产品标准</view>
|
|
|
+ <view class="disclaimerTxtLIne">2、如有系统匹配疑问,无法辅助销售,欢迎进入反馈通道及时反馈</view>
|
|
|
+ <view class="disclaimerTxtLIne">3、对于使用系统中出现的个别型号不匹配的情况一切解释权归本公司所有</view>
|
|
|
+ <view class="disclaimerTxtLIne">我司将会不断完善升级系统,力求为客户提供最准确,最完善的配件数据查询服务。</view>
|
|
|
+ </view>
|
|
|
+ <view class="disclaimerXc">
|
|
|
+ <checkbox-group @change="disclaimerChange">
|
|
|
+ <checkbox style="transform:scale(0.7)" value="1" :checked="disclaimerchecked" />下次不再提醒
|
|
|
+ </checkbox-group>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
|
|
|
+ <view class="disclaimerBtnBox" @click="disclaimerBtn">
|
|
|
+ 我知道了
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
|
|
|
|
|
|
|
|
@@ -94,9 +124,15 @@
|
|
|
loading:false,
|
|
|
MaintainPartList:[],
|
|
|
afterList:[],
|
|
|
+ disclaimerShow:false,
|
|
|
+ disclaimerchecked:false,
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
|
+ var disclaimercheckedck=uni.getStorageSync('disclaimerchecked');
|
|
|
+ if(disclaimercheckedck!=1){
|
|
|
+ this.disclaimerShow=true;
|
|
|
+ }
|
|
|
console.log(opt);
|
|
|
this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
|
|
|
this.optdata=opt;
|
|
@@ -116,6 +152,17 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ disclaimerChange(e){
|
|
|
+ console.log(e)
|
|
|
+ this.disclaimerchecked=e.detail.value[0]
|
|
|
+ },
|
|
|
+ disclaimerBtn(){
|
|
|
+ console.log(this.disclaimerchecked)
|
|
|
+ this.disclaimerShow=false;
|
|
|
+ if(this.disclaimerchecked){
|
|
|
+ uni.setStorageSync('disclaimerchecked', 1);
|
|
|
+ }
|
|
|
+ },
|
|
|
queryCarModelGroupInfo(){
|
|
|
uni.showLoading({ title: '加载中'});
|
|
|
this.$http('matchingByOpen/queryCarModelGroupInfo', {
|
|
@@ -188,6 +235,54 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+.disclaimerShowBOx{
|
|
|
+ width: 600rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ padding-top: 24rpx;
|
|
|
+
|
|
|
+}
|
|
|
+.jylineRight{
|
|
|
+ width: 450rpx;padding-left: 16rpx;
|
|
|
+}
|
|
|
+.disclaimerXc{
|
|
|
+ padding-left: 24rpx;
|
|
|
+}
|
|
|
+.disclaimerTitle{
|
|
|
+ text-align: center;font-size: 30rpx;color: #333333;
|
|
|
+}
|
|
|
+.disclaimerTxt{
|
|
|
+color: #333333;font-size: 28rpx;
|
|
|
+padding: 30rpx;line-height: 40rpx;
|
|
|
+}
|
|
|
+.disclaimerBtnBox{
|
|
|
+ display: flex;justify-content: center;color: #3F90F7;
|
|
|
+ border-top: 1px solid #EEEEEE;line-height: 90rpx;margin-top: 24rpx;
|
|
|
+}
|
|
|
+.tiTk{
|
|
|
+ position: fixed;
|
|
|
+ left: 0;top: 0;
|
|
|
+ background: rgba(0, 0, 0, 0.4);
|
|
|
+ width: 100vw;height: 100vh;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+ .exspan1{
|
|
|
+ margin-top: 5rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ display: block;
|
|
|
+
|
|
|
+ }
|
|
|
+ .exspan2{
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
+ color:#3C3C3C;
|
|
|
+ font-style: normal;
|
|
|
+ }
|
|
|
.content{
|
|
|
min-height: 100vh;
|
|
|
background: #F4F5F7;
|
|
@@ -215,8 +310,9 @@
|
|
|
}
|
|
|
.title{
|
|
|
font-weight: 500;font-size: 28rpx;
|
|
|
- color: #1A1A1A;
|
|
|
- line-height: 40rpx;
|
|
|
+ color: #1A1A1A;border-top-right-radius: 16rpx;
|
|
|
+ line-height: 40rpx;border-top-left-radius: 16rpx;
|
|
|
+ padding: 30rpx;background:#FF4F00;color: #ffffff;
|
|
|
}
|
|
|
.lineBox{
|
|
|
padding: 0 24rpx;
|
|
@@ -296,7 +392,7 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
|
}
|
|
|
.jiyouBox{
|
|
|
border-radius: 16rpx;
|
|
|
- background: #ffffff;padding: 30rpx;
|
|
|
+ background: #ffffff;
|
|
|
}
|
|
|
.jiyoutopTitle{
|
|
|
font-weight: 500;font-size: 28rpx;
|
|
@@ -308,15 +404,15 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
|
color: #666666;font-size: 24rpx;
|
|
|
}
|
|
|
.jyimg{
|
|
|
- width: 302rpx;
|
|
|
- height: 302rpx;
|
|
|
+ width: 200rpx;
|
|
|
+ height: 200rpx;
|
|
|
border-radius: 10rpx;
|
|
|
}
|
|
|
.jyline{
|
|
|
width: 302rpx;padding-top: 30rpx;
|
|
|
}
|
|
|
.jyName{
|
|
|
- font-weight: 400;font-size: 22rpx;
|
|
|
+ font-weight: 400;font-size: 28rpx;
|
|
|
color: #1A1A1A;
|
|
|
line-height:36rpx ;
|
|
|
overflow: hidden;
|
|
@@ -325,13 +421,18 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
|
-webkit-box-orient: vertical;
|
|
|
-webkit-line-clamp: 2;
|
|
|
padding-top: 10rpx;
|
|
|
+ width: 450rpx;
|
|
|
}
|
|
|
.best{
|
|
|
color: #FF4F00;border-radius: 6rpx;
|
|
|
padding: 0 8rpx;border: 1px solid #FF4F00;
|
|
|
}
|
|
|
.jylineBox{
|
|
|
- display: flex;justify-content: space-between;flex-wrap: wrap;
|
|
|
+ /* display: flex;justify-content: space-between;flex-wrap: wrap; */
|
|
|
+ padding: 0 30rpx 30rpx 30rpx;
|
|
|
+ }
|
|
|
+ .jyline{
|
|
|
+ display: flex;
|
|
|
}
|
|
|
.historyLineVin{
|
|
|
display: flex;background: #ffffff;
|