oak 5 bulan lalu
induk
melakukan
347aa37925
1 mengubah file dengan 55 tambahan dan 59 penghapusan
  1. 55 59
      js/lists.js

+ 55 - 59
js/lists.js

@@ -343,58 +343,58 @@ function push_GA_style_select(key) {
   let eventLabel = '';
 
   switch (key) {
-    case 'nordic':
+    case '北歐風':
       eventLabel = 'Scandi_style';
       break;
-    case 'modern':
+    case '現代風':
       eventLabel = 'Modern_style';
       break;
-    case 'industry':
+    case '工業風':
       eventLabel = 'Industrial_style';
       break;
-    case 'american':
+    case '美式風':
       eventLabel = 'American_style';
       break;
-    case 'leisure':
+    case '休閒多元':
       eventLabel = 'Leisure_style';
       break;
-    case 'vanguard':
+    case '前衛風':
       eventLabel = 'Avant_garde_style';
       break;
-    case 'rustuc':
+    case '鄉村風':
       eventLabel = 'Rustic_style';
       break;
-    case 'mashup':
+    case '混搭風':
       eventLabel = 'Eclectic_style';
       break;
-    case 'neoclassic':
+    case '新古典':
       eventLabel = 'Neoclassic_style';
       break;
-    case 'luxurious':
+    case '奢華風':
       eventLabel = 'Luxurious_style';
       break;
-    case 'classical':
+    case '古典風':
       eventLabel = 'Classical_style';
       break;
-    case 'exotic':
+    case '異國風':
       eventLabel = 'Exotic_style';
       break;
-    case 'zen':
+    case '日式蟬風':
       eventLabel = 'Zen_style';
       break;
-    case 'oriental':
+    case '東方風':
       eventLabel = 'Oriental_style';
       break;
-    case 'muju':
+    case '無印風':
       eventLabel = 'Muju_style';
       break;
-    case 'minimalism':
+    case '簡約風':
       eventLabel = 'Minimalism_style';
       break;
-    case 'jpstyle':
+    case '日式風':
       eventLabel = 'JP_style';
       break;
-    case 'entrylux':
+    case '輕奢風':
       eventLabel = 'Affordable_Luxury_style';
       break;
     default:
@@ -411,44 +411,40 @@ function push_GA_dtype_select(key) {
   console.log('push_GA_dtype_select', key);
   let eventLabel = '';
 
-  switch (key) {
-    case 'small':
+ switch (key) {
+    case '小坪數':
       eventLabel = 'small';
       break;
-    case 'standard':
+    case '標準格局':
       eventLabel = 'standard';
       break;
-    case 'big':
+    case '大坪數':
       eventLabel = 'big';
       break;
-    case 'villa':
+    case '別墅':
       eventLabel = 'villa';
       break;
-    case 'raisehigh':
+    case '挑高樓層':
       eventLabel = 'raisehigh';
       break;
-    case 'middle':
+    case '樓中樓':
       eventLabel = 'duplex_house';
       break;
-    case 'sample':
+    case '實品/樣品屋':
       eventLabel = 'sample';
       break;
-    case 'workspace':
-      eventLabel = 'commercial';
-      break;
-    case 'commercial':
+    case '工作空間':
+    case '商業空間':
+    case '公共空間':
       eventLabel = 'commercial';
       break;
-    case 'homestay':
+    case '民宿旅館':
       eventLabel = 'B&B';
       break;
-    case 'dining':
+    case '餐飲空間':
       eventLabel = 'dining';
       break;
-    case 'public':
-      eventLabel = 'commercial';
-      break;
-    case 'renovation':
+    case '老屋翻新':
       eventLabel = 'renovation_condition';
       break;
     default:
@@ -465,71 +461,71 @@ function push_GA_city_select(key) {
   console.log('push_GA_city_select', key);
   let eventLabel = '';
 
-  switch (key) {
-    case '100':
+ switch (key) {
+    case '台北市':
       eventLabel = 'Taipei';
       break;
-    case '101':
+    case '新北市':
       eventLabel = 'New Taipei';
       break;
-    case '102':
+    case '基隆市':
       eventLabel = 'Keelung';
       break;
-    case '103':
+    case '桃園市':
       eventLabel = 'Taoyuan';
       break;
-    case '104':
+    case '新竹縣':
       eventLabel = 'Hsinchu';
       break;
-    case '105':
+    case '新竹市':
       eventLabel = 'Hsinchu';
       break;
-    case '106':
+    case '苗栗縣':
       eventLabel = 'Miaoli';
       break;
-    case '107':
+    case '台中市':
       eventLabel = 'Taichung';
       break;
-    case '108':
+    case '南投縣':
       eventLabel = 'Nantou';
       break;
-    case '109':
+    case '彰化縣':
       eventLabel = 'Changhua';
       break;
-    case '110':
+    case '雲林縣':
       eventLabel = 'Yunlin';
       break;
-    case '111':
+    case '嘉義縣':
       eventLabel = 'Chiayi';
       break;
-    case '112':
+    case '嘉義市':
       eventLabel = 'Chiayi';
       break;
-    case '113':
+    case '台南市':
       eventLabel = 'Tainan';
       break;
-    case '114':
+    case '高雄市':
       eventLabel = 'Kaohsiung';
       break;
-    case '115':
+    case '屏東縣':
       eventLabel = 'Pingtung';
       break;
-    case '116':
+    case '宜蘭縣':
       eventLabel = 'Yilan';
       break;
-    case '117':
+    case '花蓮縣':
       eventLabel = 'Hualien';
       break;
-    case '118':
+    case '台東縣':
       eventLabel = 'Taitung';
       break;
-    case '119':
+    case '澎湖縣':
       eventLabel = 'Penghu';
       break;
-    case '120':
+    case '金門縣':
       eventLabel = 'Kinmen';
       break;
-    case '121':
+    case '連江縣':
       eventLabel = 'Lienchiang';
       break;
     default: