Explorar o código

文物详情增加”级别“假数据并调整顺序

任一存 %!s(int64=3) %!d(string=hai) anos
pai
achega
ba54e5e7ae
Modificáronse 1 ficheiros con 8 adicións e 4 borrados
  1. 8 4
      src/components/RelicDetail.vue

+ 8 - 4
src/components/RelicDetail.vue

@@ -134,15 +134,19 @@ export default {
         value: this.$route.query.sort,
       },
       {
-        key: '质地',
-        value: this.$route.query.grain,
-      },
-      {
         key: '尺寸',
         value: [this.$route.query.long, this.$route.query.width, this.$route.query.tall].filter((item) => {
           return !!item
         }).join('*') + 'cm',
       },
+      {
+        key: '质地',
+        value: this.$route.query.grain,
+      },
+      {
+        key: '级别',
+        value: '一级',
+      }
     ]
   }
 }