浏览代码

添加乐器种类

lex-xin 6 年之前
父节点
当前提交
70c0b0360c
共有 2 个文件被更改,包括 104 次插入1 次删除
  1. 101 0
      src/assets/front_instruments_config.js
  2. 3 1
      src/views/Home.vue

+ 101 - 0
src/assets/front_instruments_config.js

@@ -5,7 +5,9 @@
 // 长号 trombone
 // 长号 trombone
 // 圆号 horn
 // 圆号 horn
 // 上低音号 upperBass
 // 上低音号 upperBass
+// 次中音号 tenorHorn
 // 小军鼓 snareDrum
 // 小军鼓 snareDrum
+// 打击乐 idiophonic
 
 
 let instruments = {
 let instruments = {
     flute: {
     flute: {
@@ -479,6 +481,105 @@ let instruments = {
                 referencePrice: 65
                 referencePrice: 65
             }
             }
         ]
         ]
+    },
+    tenorHorn: {
+        name: '次中音号',
+        config: [
+            {
+                default: 1, 
+                name: '标准配置',
+                marketPrice: 5800,
+                referencePrice: 3980,
+                checked: true,
+                texture: '白铜变音管磷铜发音管',
+                index: 12
+            },
+            {
+                default: 0,
+                name: '自备',
+                marketPrice: 0,
+                referencePrice: 0,
+                checked: false,
+                index: 99
+            }
+        ],
+        configuration: '降B调、结构:三立键 喇叭口直径:278mm、内管:13.4mm',
+        auxiliaries: [
+            {
+                index: 1,
+                name: '节拍器',
+                marketPrice: 120,
+                checked: true,
+                referencePrice: 95
+            },
+            {
+                index: 2,
+                name: '谱架',
+                marketPrice: 80,
+                checked: true,
+                referencePrice: 65
+            },
+            {
+                index: 3,
+                name: '活塞油',
+                marketPrice: 30,
+                checked: true,
+                referencePrice: 25
+            },
+            {
+                index: 7,
+                name: '调音管油',
+                marketPrice: 30,
+                checked: true,
+                referencePrice: 25
+            },
+            {
+                index: 8,
+                name: '乐器维护',
+                marketPrice: 480,
+                checked: true,
+                referencePrice: 300
+            }
+        ]
+    },
+    idiophonic: {
+        name: '打击乐',
+        config: [
+            {
+                default: 1, 
+                name: '标准配置',
+                marketPrice: 3700,
+                referencePrice: 3190,
+                checked: true,
+                texture: '',
+                index: 13
+            },
+            {
+                default: 0,
+                name: '自备',
+                marketPrice: 0,
+                referencePrice: 0,
+                checked: false,
+                index: 99
+            }
+        ],
+        configuration: '珍珠镍小军鼓,桦木鼓腔,高碳钢纱带',
+        auxiliaries: [
+            {
+                index: 1,
+                name: '节拍器',
+                marketPrice: 120,
+                checked: true,
+                referencePrice: 95
+            },
+            {
+                index: 2,
+                name: '谱架',
+                marketPrice: 80,
+                checked: true,
+                referencePrice: 65
+            }
+        ]
     }
     }
 }
 }
 
 

+ 3 - 1
src/views/Home.vue

@@ -402,7 +402,9 @@ export default {
                  '长号': 'trombone',
                  '长号': 'trombone',
                  '圆号': 'horn',
                  '圆号': 'horn',
                  '上低音号': 'upperBass',
                  '上低音号': 'upperBass',
-                 '小军鼓': 'snareDrum'
+                 '小军鼓': 'snareDrum',
+                 '次中音号': 'tenorHorn',
+                 '打击乐': 'idiophonic'
             }
             }
             return arr[type]
             return arr[type]
         },
         },