Commit 5345d7da authored by liziwl's avatar liziwl
Browse files

fix name

parent 20ba7321
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
@@ -76,8 +76,9 @@
                     Let's use a combination.
                     Let's use a combination.
                -->
                -->
                <div class="route-title-main">
                <div class="route-title-main">
                  <span v-if="rIndex === 0 && group.routes.length > 1" class="group-title-text">{{ group.title.split('\n')[0] }}</span>
                  <span v-if="rIndex === 0 && group.routes.length > 1" class="group-title-text">{{ route.name || group.title.split('\n')[0] }}</span>
                  <span v-else class="route-name-text">{{ route.name || group.title }}</span>
                  <span v-else-if="rIndex === 0" class="route-name-text">{{ route.name || group.title }}</span>
                  <span v-else class="route-name-text">{{ route.name }}</span>
                </div>
                </div>
                <div class="route-desc" v-if="route.description">
                <div class="route-desc" v-if="route.description">
                   {{ route.description.split('\n')[0] }}
                   {{ route.description.split('\n')[0] }}
+5 −5
Original line number Original line Diff line number Diff line
@@ -49,7 +49,7 @@
            "title": "区间快速 下行\nShort-turn Rapid Service Downhill",
            "title": "区间快速 下行\nShort-turn Rapid Service Downhill",
            "routes": [
            "routes": [
                {
                {
                    "name": "A",
                    "name": "区间快速下行 A",
                    "description": "荔园西 → 科研楼\nLychee Hills W → Research Bldgs.",
                    "description": "荔园西 → 科研楼\nLychee Hills W → Research Bldgs.",
                    "type": "point-to-point",
                    "type": "point-to-point",
                    "color": "#444",
                    "color": "#444",
@@ -219,8 +219,8 @@
            "title": "集悦城线\nSoFunLand Line",
            "title": "集悦城线\nSoFunLand Line",
            "routes": [
            "routes": [
                {
                {
                    "name": "集悦城 - 六号门\nSoFunLand - Gate 6",
                    "name": "集悦城进校线",
                    "description": "",
                    "description": "集悦城 → 六号门\nSoFunLand → Gate 6",
                    "type": "point-to-point",
                    "type": "point-to-point",
                    "color": "#444",
                    "color": "#444",
                    "sources": [
                    "sources": [
@@ -231,8 +231,8 @@
                    ]
                    ]
                },
                },
                {
                {
                    "name": "六号门 - 集悦城\nGate 6 - SoFunLand",
                    "name": "集悦城离校线",
                    "description": "",
                    "description": "六号门 → 集悦城\nGate 6 → SoFunLand",
                    "type": "point-to-point",
                    "type": "point-to-point",
                    "color": "#444",
                    "color": "#444",
                    "sources": [
                    "sources": [