wzh 1 год назад
Родитель
Сommit
e1aff072c4
4 измененных файлов с 4118 добавлено и 2 удалено
  1. 8 1
      pages.json
  2. 1 1
      pages/device/detail_6.vue
  3. 4105 0
      pages/device/detail_new_5.vue
  4. 4 0
      pages/device/index.vue

+ 8 - 1
pages.json

@@ -112,6 +112,13 @@
         "navigationStyle": "custom"
       }
     },
+    {
+      "path": "pages/device/detail_new_5",
+      "style": {
+        "navigationBarTitleText": "详情",
+        "navigationStyle": "custom"
+      }
+    },
     {
       "path": "pages/wifi/index",
       "style": {
@@ -169,7 +176,7 @@
 	},
 	{
 		"path" : "pages/reviews/reviews",
-		"style" : 
+		"style" :
 		{
 			"navigationBarTitleText" : "注册审核",
 			"enablePullDownRefresh" : false

+ 1 - 1
pages/device/detail_6.vue

@@ -2905,7 +2905,7 @@ export default {
         heng = true;
       }
       else if(self.deviceType == 19){
-        self.productImage = self.imgUrl+'/product/16.png'
+        self.productImage = self.imgUrl+'/product/YJDX20.png'
       }
 
 

Разница между файлами не показана из-за своего большого размера
+ 4105 - 0
pages/device/detail_new_5.vue


+ 4 - 0
pages/device/index.vue

@@ -86,6 +86,10 @@ export default {
         uni.navigateTo({
           url: '/pages/device/detail_6?id='+item.deviceId
         });
+      }else if(type == 20 || type == 21 || type == 22){
+        uni.navigateTo({
+          url: '/pages/device/detail_new_5?id='+item.deviceId
+        });
       }else{
         uni.navigateTo({
           url: '/pages/device/detail?id='+item.deviceId