twt 8 月之前
父节点
当前提交
cc3a5562fb
共有 5 个文件被更改,包括 39 次插入19 次删除
  1. 7 7
      manifest.json
  2. 7 6
      pages/index/engineOil.vue
  3. 3 3
      pages/index/gearboxOil.vue
  4. 21 2
      pages/index/goodsDetail.vue
  5. 1 1
      utils/request.js

+ 7 - 7
manifest.json

@@ -50,17 +50,17 @@
     "quickapp" : {},
     /* 小程序特有相关 */
     "mp-weixin" : {
-        "appid" : "wx7b55d68810dd6f1f",
+        "appid" : "wx033a08b80883af02",
         "setting" : {
             "urlCheck" : false
         },
         "usingComponents" : true,
-		"plugins":{
-		"player": {
-			"version": "2.1.15",
-			"provider": "wxa75efa648b60994b"
-		}
-		}
+        "plugins" : {
+            "player" : {
+                "version" : "2.1.15",
+                "provider" : "wxa75efa648b60994b"
+            }
+        }
     },
     "mp-alipay" : {
         "usingComponents" : true

+ 7 - 6
pages/index/engineOil.vue

@@ -45,7 +45,7 @@
 						<view class="jyName">
 							<!-- <span class="best">最佳</span> -->
 							<span class="jyNametxt">{{item.name}}  </span>
-							<!--| {{item.specificationModel}} | {{item.partsCode}}  -->
+							| {{item.specificationModel}}
 						</view>
 						<view class="ruleList">
 							<view class="ruleListSpan">{{item.modelRemark}}</view>
@@ -197,7 +197,7 @@
 <style scoped>
 .salesLine{
 	display: flex;
-	font-size: 24rpx;
+	font-size: 26rpx;
 	line-height: 30rpx;
 	padding: 20rpx 0;
 }
@@ -291,7 +291,7 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
 		width: 302rpx;padding-top: 30rpx;
 	}
 	.jyName{
-		font-weight: 400;font-size: 22rpx;
+		font-weight: 400;font-size: 26rpx;
 		color: #1A1A1A;
 		line-height:36rpx ;
 		overflow: hidden; 
@@ -332,10 +332,11 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
 	}
 	.ruleListSpan{
 		font-weight: 400;
-		font-size: 22rpx;
+		font-size: 24rpx;
 		color: #999999;
-		    line-height: 36rpx;
-			padding-right: 6rpx;
+		line-height: 36rpx;
+		padding-right: 6rpx;
+		padding-top: 4rpx;
 	}
 	.modelRemarkBox{
 		display: flex;padding-bottom: 20rpx;

+ 3 - 3
pages/index/gearboxOil.vue

@@ -29,7 +29,7 @@
 						</view>
 						<view class="jyName">
 							<!-- <span class="best">最佳</span> -->
-							<span class="jyNametxt">{{item.name}} | {{item.specificationModel}} | {{item.partsCode}} </span>
+							<span class="jyNametxt">{{item.name}} | {{item.specificationModel}}  </span>
 						</view>
 						<view class="ruleList">
 							<view class="ruleListSpan" v-for="(v,i) in item.ruleList"><span style="">{{v.version}}:</span>{{v.versionvalue}} ; </view>
@@ -278,7 +278,7 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
 		width: 302rpx;padding-top: 30rpx;
 	}
 	.jyName{
-		font-weight: 400;font-size: 22rpx;
+		font-weight: 400;font-size: 26rpx;
 		color: #1A1A1A;
 		line-height:36rpx ;
 		overflow: hidden; 
@@ -373,7 +373,7 @@ line-height: 34rpx;padding-top: 16rpx;
 	}
 	.ruleListSpan{
 		font-weight: 400;
-		font-size: 22rpx;
+		font-size: 24rpx;
 		color: #999999;
 		line-height: 36rpx;
 		padding-right: 6rpx;

+ 21 - 2
pages/index/goodsDetail.vue

@@ -12,7 +12,7 @@
 				
 			</swiper>
 	  	</view>
-		<view class="name" v-if="loading">{{info.name}} | {{info.specificationModel}} | {{info.partsCode}}</view>
+		<view class="name" v-if="loading">{{info.name}} | {{info.specificationModel}} </view>
 		<view style="height: 30rpx;background: #F4F5F7;"></view>
 		<view class="detail">
 			<view class="datailTitle">商品详情</view>
@@ -20,8 +20,22 @@
 		   <!-- <video style="width:750rpx;" class="edui-faked-video twtcs" src="https://66km.oss-cn-beijing.aliyuncs.com/yanghuziliao/shachepan/%E6%AC%A7%E6%B4%B2%E7%BB%B4%E4%BF%AE%E5%88%B9%E8%BD%A6%E7%9B%98%E7%89%87%E6%A0%87%E5%87%86%E6%9B%B4%E6%8D%A2SOP%E6%B5%81%E7%A8%8B.mp4" width="420" height="280" enable-danmu danmu-btn controls></video> -->
 			<!-- <player-component vid="f3310d4pktb"></player-component> -->
 			<!-- <rich-text :nodes="html"></rich-text> -->
-		    <u-parse :content="html"  ></u-parse> 
+	
 			<!-- <view v-html="html"></view> -->
+			<view class="contLine">
+				出厂编码: {{ info.factoryNumber }}
+			</view>
+			<view class="contLine">
+				包装规格: {{ info.packagingSpecification }}
+			</view>
+			
+			<view class="contLine">
+				单位: {{ info.measurementUnit }}
+			</view>
+			<view class="contLine">
+				车型备注: {{ info.modelRemark }}
+			</view>
+			 <u-parse :content="html"  ></u-parse> 
 		</view>
 	  
 	</view>
@@ -123,4 +137,9 @@
 /deep/ video{
 	 width: 750rpx;
 }
+.contLine{
+	font-size: 26rpx;
+	color: #666;
+	padding: 10rpx 24rpx;
+}
 </style>

+ 1 - 1
utils/request.js

@@ -1,7 +1,7 @@
  //测试地址
  //const baseURL = 'http://192.168.0.122:8002/' 
  //正式
-const baseURL='https://oil.66km.com.cn/' 
+const baseURL='https://wx-oil.tjcgrhy.cn/' 
 //66正式
 /* const baseURL = 'https://apidms.66km.com/' 
  const burl2='https://apidms.66km.com/' */