diff --git a/src/assets/icon/conda.svg b/src/assets/icon/conda.svg new file mode 100644 index 0000000000000000000000000000000000000000..9111c0dddf63929e24a157779fc333884dd39123 --- /dev/null +++ b/src/assets/icon/conda.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/style/global.scss b/src/assets/style/global.scss index a30bb9d5431bf5aa51f7a9fa20cfb7e3f58aa2c8..152589ebf66a00b76c5317a942665dfcdd6e4036 100644 --- a/src/assets/style/global.scss +++ b/src/assets/style/global.scss @@ -20,7 +20,7 @@ html { height: 16px; } > a + a { - margin-left: 8px; + margin-left: 6px; } .o-tag { cursor: pointer; @@ -35,6 +35,12 @@ html { &.rpm-icon .o-icon { color: #00a7b3; } + &.oepkg-icon .o-icon { + color: #4260c2; + } + &.conda-icon .o-icon { + color: #b1d42a; + } &:hover { --tag-bg-color: var(--o-color-control2-light); } diff --git a/src/components/OTableItemNew.vue b/src/components/OTableItemNew.vue index 6626d1f7a30c4930df90eab9a30646509ca4b941..2432b030300cac8d5170fa01c9a76a9534329aff 100644 --- a/src/components/OTableItemNew.vue +++ b/src/components/OTableItemNew.vue @@ -333,7 +333,6 @@ const onClickLink = (row: any) => { } :deep(.o-table) { - --table-cell-height: 62px; .label { display: flex; align-items: center; @@ -377,8 +376,10 @@ const onClickLink = (row: any) => { display: flex; align-items: center; } + &.rpmpkg { + --table-cell-height: 62px; + } &.oepkg { - --table-cell-height: auto; thead { .name { width: 200px; @@ -391,8 +392,19 @@ const onClickLink = (row: any) => { } } } + &.condapkg { + thead { + .name, + .version, + .os { + width: 160px; + } + .arch { + width: 120px; + } + } + } &.apppkg { - --table-cell-height: auto; thead { .os { width: 180px; @@ -403,9 +415,6 @@ const onClickLink = (row: any) => { } } } - &.appversion { - --table-cell-height: auto; - } thead { .order { height: 12px; diff --git a/src/components/detail/DetailAside.vue b/src/components/detail/DetailAside.vue index 45c6bdac3aa67e684b4eeb9ae44bc4528452d2ee..e24923a9b2344a68adf49a9a0b84f55d95534190 100644 --- a/src/components/detail/DetailAside.vue +++ b/src/components/detail/DetailAside.vue @@ -255,8 +255,8 @@ const isSecurityIconShow = (v: string) => {

{{ data.license }}

- - + +