| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fb65cf7 commit 426ca12
11 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,60 +15,4 @@ | |||
| 15 | 15 | body { | |
| 16 | 16 | margin: 0px; | |
| 17 | 17 | } | |
| 18 | - .overview-header { | ||
| 19 | - width: 100%; | ||
| 20 | - height: 240px; | ||
| 21 | - background-size: 100% 240px; | ||
| 22 | - | ||
| 23 | - .title { | ||
| 24 | - height: 176px; | ||
| 25 | - font-size: 30px; | ||
| 26 | - font-family: Source Han Sans CN; | ||
| 27 | - font-weight: bold; | ||
| 28 | - font-style: italic; | ||
| 29 | - color: #ffffff; | ||
| 30 | - line-height: 176px; | ||
| 31 | - margin-left: 130px; | ||
| 32 | - | ||
| 33 | - span { | ||
| 34 | - margin-left: 15px; | ||
| 35 | - color: rgba(255, 255, 255, 0.3); | ||
| 36 | - } | ||
| 37 | - } | ||
| 38 | - | ||
| 39 | - .overview-nav { | ||
| 40 | - display: flex; | ||
| 41 | - height: 64px; | ||
| 42 | - padding: 0 122px; | ||
| 43 | - background-color: rgba(255, 255, 255, 0.13); | ||
| 44 | - box-shadow: -1px 4px 8px 0px rgba(0, 0, 0, 0.1); | ||
| 45 | - | ||
| 46 | - a { | ||
| 47 | - flex: 1; | ||
| 48 | - | ||
| 49 | - .item { | ||
| 50 | - font-size: 18px; | ||
| 51 | - font-family: Microsoft YaHei; | ||
| 52 | - font-weight: 400; | ||
| 53 | - color: #ffffff; | ||
| 54 | - line-height: 64px; | ||
| 55 | - text-align: center; | ||
| 56 | - | ||
| 57 | - &.select { | ||
| 58 | - background-color: rgba(255, 255, 255, 0.14); | ||
| 59 | - | ||
| 60 | - .triangle { | ||
| 61 | - width: 0; | ||
| 62 | - height: 0; | ||
| 63 | - margin: -20px auto 0; | ||
| 64 | - border-top: 10px solid transparent; | ||
| 65 | - border-left: 10px solid transparent; | ||
| 66 | - border-right: 10px solid transparent; | ||
| 67 | - border-bottom: 10px solid #ffffff; | ||
| 68 | - } | ||
| 69 | - } | ||
| 70 | - } | ||
| 71 | - } | ||
| 72 | - } | ||
| 73 | - } | ||
| 74 | 18 | </style> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | :data="data" | |
| 4 | 4 | border | |
| 5 | 5 | style="margin-top: 20px" | |
| 6 | - header-cell-style="background-color: #F5F7FA;font-size: 14px;font-family: Microsoft YaHei;font-weight: bold;color: #606266;" | ||
| 6 | + :header-cell-style="headerCellStyle" | ||
| 7 | 7 | > | |
| 8 | 8 | <el-table-column | |
| 9 | 9 | prop="func" | |
@@ -85,6 +85,13 @@ export default { | |||
| 85 | 85 | data () { | |
| 86 | 86 | return { | |
| 87 | 87 | mobile: isMobile(), | |
| 88 | + headerCellStyle: { | ||
| 89 | + backgroundColor: '#F5F7FA', | ||
| 90 | + fontSize: '14px', | ||
| 91 | + fontFamily: 'Microsoft YaHei', | ||
| 92 | + fontWeight: 'bold', | ||
| 93 | + color: '#606266' | ||
| 94 | + } | ||
| 88 | 95 | } | |
| 89 | 96 | }, | |
| 90 | 97 | methods: { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,35 +2,25 @@ | |||
| 2 | 2 | <div class="overview-header"> | |
| 3 | 3 | <div class="title">概述<span>SUMMARY</span></div> | |
| 4 | 4 | <div class="overview-nav"> | |
| 5 | - <router-link to="/total/core"> | ||
| 6 | - <div :class="['item', { select: $route.path === '/total/core' }]"> | ||
| 7 | - 核心服务 | ||
| 8 | - <div class="triangle"></div> | ||
| 9 | - </div> | ||
| 5 | + <router-link to="/total/core" :class="{ select: $route.path === '/total/core' }"> | ||
| 6 | + <div class="item">核心服务</div> | ||
| 7 | + <div class="triangle"></div> | ||
| 10 | 8 | </router-link> | |
| 11 | - <router-link to="/total/detail"> | ||
| 12 | - <div :class="['item', { select: $route.path === '/total/detail' }]"> | ||
| 13 | - 详细服务 | ||
| 14 | - <div class="triangle"></div> | ||
| 15 | - </div> | ||
| 9 | + <router-link to="/total/detail" :class="{ select: $route.path === '/total/detail' }"> | ||
| 10 | + <div class="item">详细服务</div> | ||
| 11 | + <div class="triangle"></div> | ||
| 16 | 12 | </router-link> | |
| 17 | - <router-link to="/total/use"> | ||
| 18 | - <div :class="['item', { select: $route.path === '/total/use' }]"> | ||
| 19 | - 调用方式 | ||
| 20 | - <div class="triangle"></div> | ||
| 21 | - </div> | ||
| 13 | + <router-link to="/total/use" :class="{ select: $route.path === '/total/use' }"> | ||
| 14 | + <div class="item">调用方式</div> | ||
| 15 | + <div class="triangle"></div> | ||
| 22 | 16 | </router-link> | |
| 23 | - <router-link to="/total/select"> | ||
| 24 | - <div :class="['item', { select: $route.path === '/total/select' }]"> | ||
| 25 | - 四大引擎选择 | ||
| 26 | - <div class="triangle"></div> | ||
| 27 | - </div> | ||
| 17 | + <router-link to="/total/select" :class="{ select: $route.path === '/total/select' }"> | ||
| 18 | + <div class="item">四大引擎选择 </div> | ||
| 19 | + <div class="triangle"></div> | ||
| 28 | 20 | </router-link> | |
| 29 | - <router-link to="/total/download"> | ||
| 30 | - <div :class="['item', { select: $route.path === '/total/download' }]"> | ||
| 31 | - 选择下载 | ||
| 32 | - <div class="triangle"></div> | ||
| 33 | - </div> | ||
| 21 | + <router-link to="/total/download" :class="{ select: $route.path === '/total/download' }"> | ||
| 22 | + <div class="item">选择下载</div> | ||
| 23 | + <div class="triangle"></div> | ||
| 34 | 24 | </router-link> | |
| 35 | 25 | </div> | |
| 36 | 26 | </div> | |
@@ -73,29 +63,33 @@ export default { | |||
| 73 | 63 | box-shadow: -1px 4px 8px 0px rgba(0, 0, 0, 0.1); | |
| 74 | 64 | ||
| 75 | 65 | a { | |
| 66 | + position: relative; | ||
| 67 | + display: flex; | ||
| 68 | + align-items: center; | ||
| 69 | + justify-content: center; | ||
| 76 | 70 | flex: 1; | |
| 77 | 71 | ||
| 72 | + &.select { | ||
| 73 | + background-color: rgba(255, 255, 255, 0.14); | ||
| 74 | + | ||
| 75 | + .triangle { | ||
| 76 | + position: absolute; | ||
| 77 | + bottom: 0; | ||
| 78 | + width: 0; | ||
| 79 | + height: 0; | ||
| 80 | + margin: 0 auto; | ||
| 81 | + border-top: 10px solid transparent; | ||
| 82 | + border-left: 10px solid transparent; | ||
| 83 | + border-right: 10px solid transparent; | ||
| 84 | + border-bottom: 10px solid #ffffff; | ||
| 85 | + } | ||
| 86 | + } | ||
| 87 | + | ||
| 78 | 88 | .item { | |
| 79 | 89 | font-size: 18px; | |
| 80 | 90 | font-family: Microsoft YaHei; | |
| 81 | 91 | font-weight: 400; | |
| 82 | 92 | color: #ffffff; | |
| 83 | - line-height: 64px; | ||
| 84 | - text-align: center; | ||
| 85 | - | ||
| 86 | - &.select { | ||
| 87 | - background-color: rgba(255, 255, 255, 0.14); | ||
| 88 | - | ||
| 89 | - .triangle { | ||
| 90 | - width: 0; | ||
| 91 | - height: 0; | ||
| 92 | - margin: -20px auto 0; | ||
| 93 | - border-top: 10px solid transparent; | ||
| 94 | - border-left: 10px solid transparent; | ||
| 95 | - border-right: 10px solid transparent; | ||
| 96 | - border-bottom: 10px solid #ffffff; | ||
| 97 | - } | ||
| 98 | - } | ||
| 99 | 93 | } | |
| 100 | 94 | } | |
| 101 | 95 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | 1 | a { | |
| 2 | 2 | color: #409eff; | |
| 3 | 3 | text-decoration: none; | |
| 4 | + word-wrap: break-word; | ||
| 4 | 5 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ | |||
| 15 | 15 | border | |
| 16 | 16 | stripe | |
| 17 | 17 | style="width: 100%" | |
| 18 | - header-cell-style="background-color: #F5F7FA;font-size: 14px;font-family: Microsoft YaHei;font-weight: bold;color: #606266;" | ||
| 18 | + :header-cell-style="headerCellStyle" | ||
| 19 | 19 | > | |
| 20 | 20 | <el-table-column type="index" label="序号" width="60"> </el-table-column> | |
| 21 | 21 | <el-table-column prop="func" label="功能"> </el-table-column> | |
@@ -29,7 +29,7 @@ | |||
| 29 | 29 | border | |
| 30 | 30 | stripe | |
| 31 | 31 | style="width: 100%" | |
| 32 | - header-cell-style="background-color: #F5F7FA;font-size: 14px;font-family: Microsoft YaHei;font-weight: bold;color: #606266;" | ||
| 32 | + :header-cell-style="headerCellStyle" | ||
| 33 | 33 | > | |
| 34 | 34 | <el-table-column type="index" label="序号" width="60"> </el-table-column> | |
| 35 | 35 | <el-table-column prop="func" label="功能"> </el-table-column> | |
@@ -43,7 +43,7 @@ | |||
| 43 | 43 | border | |
| 44 | 44 | stripe | |
| 45 | 45 | style="width: 100%" | |
| 46 | - header-cell-style="background-color: #F5F7FA;font-size: 14px;font-family: Microsoft YaHei;font-weight: bold;color: #606266;" | ||
| 46 | + :header-cell-style="headerCellStyle" | ||
| 47 | 47 | > | |
| 48 | 48 | <el-table-column type="index" label="序号" width="60"> </el-table-column> | |
| 49 | 49 | <el-table-column prop="func" label="功能"> </el-table-column> | |
@@ -57,7 +57,7 @@ | |||
| 57 | 57 | border | |
| 58 | 58 | stripe | |
| 59 | 59 | style="width: 100%" | |
| 60 | - header-cell-style="background-color: #F5F7FA;font-size: 14px;font-family: Microsoft YaHei;font-weight: bold;color: #606266;" | ||
| 60 | + :header-cell-style="headerCellStyle" | ||
| 61 | 61 | > | |
| 62 | 62 | <el-table-column type="index" label="序号" width="60"> </el-table-column> | |
| 63 | 63 | <el-table-column prop="func" label="功能"> </el-table-column> | |
@@ -284,7 +284,14 @@ export default { | |||
| 284 | 284 | detail: '通过rest服务获取相关数据,绘制客户端专题图', | |
| 285 | 285 | url: '除原始地图引擎脚本外,还需引入igserver.js' | |
| 286 | 286 | } | |
| 287 | - ] | ||
| 287 | + ], | ||
| 288 | + headerCellStyle: { | ||
| 289 | + backgroundColor: '#F5F7FA', | ||
| 290 | + fontSize: '14px', | ||
| 291 | + fontFamily: 'Microsoft YaHei', | ||
| 292 | + fontWeight: 'bold', | ||
| 293 | + color: '#606266' | ||
| 294 | + } | ||
| 288 | 295 | }; | |
| 289 | 296 | } | |
| 290 | 297 | }; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,11 +3,11 @@ | |||
| 3 | 3 | <total-tab /> | |
| 4 | 4 | <div class="content-wrapper"> | |
| 5 | 5 | <div class="title"> | |
| 6 | - <img /> | ||
| 6 | + <img src="../../../public/static/assets/total/retouch.png" /> | ||
| 7 | 7 | <div class="text">SDK下载</div> | |
| 8 | 8 | </div> | |
| 9 | 9 | <div class="warning">在这里,可以下载到所有您需要的中地数码 WebClient 产品:{{ SDK.version }}</div> | |
| 10 | - <div class="download-area"> | ||
| 10 | + <div :class="['download-area', { mobile: mobile }]"> | ||
| 11 | 11 | <div class="complete package"> | |
| 12 | 12 | <span class="name">完整包</span> | |
| 13 | 13 | <div class="text">该包含有webclient四大主脚本以及所需的全部的三方cdn脚本</div> | |
@@ -20,7 +20,7 @@ | |||
| 20 | 20 | </div> | |
| 21 | 21 | </div> | |
| 22 | 22 | <div class="title"> | |
| 23 | - <img /> | ||
| 23 | + <img src="../../../public/static/assets/total/retouch.png" /> | ||
| 24 | 24 | <div class="text">Npm</div> | |
| 25 | 25 | </div> | |
| 26 | 26 | <el-row> | |
@@ -52,11 +52,13 @@ | |||
| 52 | 52 | <script> | |
| 53 | 53 | import { download } from './DownloadConfig'; | |
| 54 | 54 | import TotalTab from '@/components/Tabs/TotalTab'; | |
| 55 | + import { isMobile } from '@/utils/mobile'; | ||
| 55 | 56 | ||
| 56 | 57 | export default { | |
| 57 | 58 | components: { TotalTab }, | |
| 58 | 59 | data() { | |
| 59 | 60 | return { | |
| 61 | + mobile: isMobile(), | ||
| 60 | 62 | version: [ | |
| 61 | 63 | { | |
| 62 | 64 | name: 'Cesium运行时版本', | |
@@ -189,6 +191,18 @@ export default { | |||
| 189 | 191 | .package + .package { | |
| 190 | 192 | margin-left: 40px; | |
| 191 | 193 | } | |
| 194 | + | ||
| 195 | + &.mobile { | ||
| 196 | + flex-wrap: wrap; | ||
| 197 | + | ||
| 198 | + .package { | ||
| 199 | + flex: initial; | ||
| 200 | + width: 100%; | ||
| 201 | + margin-top: 20px; | ||
| 202 | + margin-left: 0; | ||
| 203 | + padding: 0 20px; | ||
| 204 | + } | ||
| 205 | + } | ||
| 192 | 206 | } | |
| 193 | 207 | ||
| 194 | 208 | .warning { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments