twt 1 年之前
父节点
当前提交
29d9bd3e97
共有 3 个文件被更改,包括 21 次插入1 次删除
  1. 1 1
      main.js
  2. 10 0
      pages/index/engineOil.vue
  3. 10 0
      pages/index/gearboxOil.vue

+ 1 - 1
main.js

@@ -5,7 +5,7 @@ import Vue from 'vue'
 import './uni.promisify.adaptor'
 Vue.config.productionTip = false
 App.mpType = 'app'
-//4ebed0e000a00dc4580b2d10861d4781 秘
+//4ebed0e-000a00dc4580b-2d10861-d4781 m
 import request from 'utils/request.js'
 Vue.prototype.$http = request.http
 Vue.prototype.$ajax = request.ajax

+ 10 - 0
pages/index/engineOil.vue

@@ -42,6 +42,9 @@
 							<!-- <span class="best">最佳</span> -->
 							<span class="jyNametxt">{{item.name}} | {{item.specificationModel}} | {{item.partsCode}} </span>
 						</view>
+						<view class="ruleList">
+							<view class="ruleListSpan" v-for="(v,i) in item.ruleList"><span style="">{{v.version}}:</span> {{v.versionvalue}}</view>
+						</view>
 					</view>
 				</view>
 				<nodata v-if="MaintainPartList.length==0"></nodata>
@@ -253,4 +256,11 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
 		font-size: 18rpx;
 		margin-top: 2rpx;
 	}
+	.ruleListSpan{
+		font-weight: 400;
+		font-size: 22rpx;
+		color: #999999;
+		    line-height: 36rpx;
+			padding-right: 6rpx;
+	}
 </style>

+ 10 - 0
pages/index/gearboxOil.vue

@@ -31,6 +31,9 @@
 							<!-- <span class="best">最佳</span> -->
 							<span class="jyNametxt">{{item.name}} | {{item.specificationModel}} | {{item.partsCode}} </span>
 						</view>
+						<view class="ruleList">
+							<view class="ruleListSpan" v-for="(v,i) in item.ruleList"><span style="">{{v.version}}:</span>{{v.versionvalue}} ; </view>
+						</view>
 					</view>
 				</view>
 				<nodata v-if="MaintainPartList.length==0"></nodata>
@@ -368,4 +371,11 @@ line-height: 34rpx;padding-top: 16rpx;
 		font-size: 18rpx;
 		margin-top: 2rpx;
 	}
+	.ruleListSpan{
+		font-weight: 400;
+		font-size: 22rpx;
+		color: #999999;
+		line-height: 36rpx;
+		padding-right: 6rpx;
+	}
 </style>