diff --git a/src/assets/css/jyh.scss b/src/assets/css/jyh.scss index 28fa572..29a4f8d 100644 --- a/src/assets/css/jyh.scss +++ b/src/assets/css/jyh.scss @@ -62,6 +62,12 @@ } } +.jyh-table-2 { + .devui-table__tbody tr { + border-bottom: 1px solid #e5e7eb; + } +} + .jyh-tabs { .devui-tabs__nav { border-bottom: 0; @@ -100,6 +106,12 @@ } } +.jyh-tabs-2 { + .devui-tab__content { + padding: 0; + } +} + .jyh-checkbox-group { div { margin-top: 0; @@ -145,3 +157,78 @@ .jyh-select-multiple { } + +.split { + display: inline-block; + margin: 0 12px; + width: 1px; + height: 100%; + background-color: #3c3f41; +} + +.fr { + flex: 1; + text-align: right; +} + +.width-70 { + display: inline-block; + width: 90px; +} + +.width-90 { + display: inline-block; + width: 90px; +} +.width-110 { + display: inline-block; + width: 110px; +}.width-140 { + display: inline-block; + width: 140px; +}.width-160 { + display: inline-block; + width: 160px; +} + +.jyh-card { + padding: 16px 20px; + .card-title { + color: #252B3A; + font-family: HarmonyOS Sans SC; + font-weight: bold; + font-size: 14px; + line-height: 22px; + letter-spacing: 0px; + text-align: left; + margin-bottom: 16px; + } + + .card-key { + color: #595959; + font-family: HarmonyOS Sans SC; + font-weight: regular; + font-size: 14px; + line-height: 22px; + letter-spacing: 0px; + text-align: left; + } + .card-val { + color: #191919; + font-family: HarmonyOS Sans; + font-weight: regular; + font-size: 14px; + line-height: 22px; + letter-spacing: 0px; + text-align: left; + } + .card-url { + color: #5E7CE0; + font-family: HarmonyOS Sans; + font-weight: regular; + font-size: 14px; + line-height: 22px; + letter-spacing: 0px; + text-align: left; + } +} diff --git a/src/assets/imgs/jyh/工程首字母图标.png b/src/assets/imgs/jyh/工程首字母图标.png new file mode 100644 index 0000000..1841c88 Binary files /dev/null and b/src/assets/imgs/jyh/工程首字母图标.png differ diff --git a/src/router/config/home.ts b/src/router/config/home.ts index acfeda3..c200127 100644 --- a/src/router/config/home.ts +++ b/src/router/config/home.ts @@ -41,7 +41,7 @@ export default [ } }, { - path: 'search', + path: 'repoList', name: 'Search', component: () => import('@/views/Jyh/Search/index.vue'), meta: { @@ -53,6 +53,19 @@ export default [ asideMenu: 'drawer' // 左侧菜单抽屉模式 } }, + { + path: 'repoDetail/basicInfo/:versionId', + name: 'VersionDetail', + component: () => import('@/views/Jyh/Version/Detail/index.vue'), + meta: { + title: '软件版本详情', + reportTitle: '软件版本详情页', + className: 'w-full min-w-full', + hiddenFooter: true, + hasMobile: true, + asideMenu: 'drawer' // 左侧菜单抽屉模式 + } + }, { path: 'explore', name: 'explore', diff --git a/src/views/Jyh/Version/Detail/VersionInfo.vue b/src/views/Jyh/Version/Detail/VersionInfo.vue new file mode 100644 index 0000000..5eb7719 --- /dev/null +++ b/src/views/Jyh/Version/Detail/VersionInfo.vue @@ -0,0 +1,175 @@ + + + + + diff --git a/src/views/Jyh/Version/Detail/index.vue b/src/views/Jyh/Version/Detail/index.vue new file mode 100644 index 0000000..5ae3fae --- /dev/null +++ b/src/views/Jyh/Version/Detail/index.vue @@ -0,0 +1,274 @@ + + + + +