Jelajahi Sumber

添加设备类型17 18

wzh 1 tahun lalu
induk
melakukan
5085f503f0
3 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 2 2
      pages/device/detail_6.vue
  2. 1 1
      pages/device/index.vue
  3. 1 1
      pages/work/index.vue

+ 2 - 2
pages/device/detail_6.vue

@@ -2786,7 +2786,7 @@ export default {
         if(self.deviceType == 13 || self.deviceType == 14 || self.deviceType == 15){
           self.boardType = 4;
         }
-        if(self.deviceType == 16){
+        if(self.deviceType == 16 || self.deviceType == 17 || self.deviceType == 18){
           self.boardType = 6;
         }
         if(self.deviceType == 14 ){
@@ -2809,7 +2809,7 @@ export default {
         if(self.deviceType == 10){
           self.productImage = self.imgUrl+'/product/YJZ20.png'
         }
-        if(self.deviceType == 16){
+        if(self.deviceType == 16 || self.deviceType == 17 || self.deviceType == 18){
           self.productImage = self.imgUrl+'/product/16.png'
         }
         heng = self.setImage(self.deviceType);

+ 1 - 1
pages/device/index.vue

@@ -82,7 +82,7 @@ export default {
   methods:{
     goDeviceDetail(item){
       let type = item.type;
-      if(type == 16){
+      if(type == 16 || type == 17 || type == 18){
         uni.navigateTo({
           url: '/pages/device/detail_6?id='+item.deviceId
         });

+ 1 - 1
pages/work/index.vue

@@ -235,7 +235,7 @@ export default {
 
               if(device != null){
                 let type =device.type;
-                if(type == 16){
+                if(type == 16 || type == 17 || type == 18){
                   uni.navigateTo({
                     url: '/pages/device/detail_6?id='+device.deviceId
                   });