Skip to content

Commit

Permalink
fix: CodeCC release1.5 前端体验问题 TencentBlueKing#4690
Browse files Browse the repository at this point in the history
  • Loading branch information
brookylin committed Jul 15, 2021
1 parent dcac3e6 commit bb9f2e3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
5 changes: 0 additions & 5 deletions src/frontend/devops-codecc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
var DEVOPS_SITE_URL = 'http://__DEVOPS_GATEWAY_HOST__:__DEVOPS_GATEWAY_PORT__'
var DEVOPS_API_URL = 'http://__DEVOPS_GATEWAY_HOST__:__DEVOPS_GATEWAY_PORT__/ms'
var JUMP_SITE_URL = window.self === window.top ? CODECC_SITE_URL : DEVOPS_SITE_URL + '/console'

// 链接
var IWIKI_CODECC_HOME = 'https://__IWIKI_CODECC_HOME__'
var IWIKI_CODECC_TOOL = 'https://__IWIKI_CODECC_TOOL__'
var ROBOT_DESC = 'http://__ROBOT_DESC__'
</script>
<script>
(function(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<div class="app-logo">
<img @click="$router.push({ name: 'task-list' })" :src="logo" :alt="this.$t('代码检查中心')">
<div class="breadcrumb">{{$t('代码检查中心')}}
<a class="sub-header-link" target="_blank"
<!-- <a class="sub-header-link" target="_blank"
:href="iwikiCodeccHome">
<span class="bk-icon icon-question-circle"></span>
</a>
</a> -->
</div>
</div>
<bk-tab ext-cls="cc-panels" :active.sync="currentNavTab" type="unborder-card" @tab-change="changeTab">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
width: 100%;
text-align: center;
.card-num {
font-size: 32px;
font-size: 24px;
padding: 24px 0 4px 0;
a {
color: #313238;
Expand Down
3 changes: 2 additions & 1 deletion src/frontend/devops-codecc/src/views/checker/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
</bk-table-column>
<bk-table-column label="工具" prop="toolName" sortable="custom">
<template slot-scope="props">
<a class="cc-link table-tool" :href="iwikiCodeccTool" target="_blank">{{formatTool(props.row.toolName)}}</a>
<!-- <a class="cc-link table-tool" :href="iwikiCodeccTool" target="_blank">{{formatTool(props.row.toolName)}}</a> -->
{{formatTool(props.row.toolName)}}
</template>
</bk-table-column>
<bk-table-column label="标签" prop="checkerTag" sortable="custom" width="170">
Expand Down
10 changes: 5 additions & 5 deletions src/frontend/devops-codecc/src/views/task/detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
display: block;
overflow-x: hidden;
.main-left {
width: calc(100% - 400px);
width: calc(100% - 350px);
padding-right: 10px;
/* .tool-cards {
padding: 10px 8px 5px 8px;
Expand Down Expand Up @@ -485,7 +485,7 @@
margin-left: -9px;
}
.main-right {
width: 400px;
width: 350px;
}
}
Expand Down Expand Up @@ -518,11 +518,11 @@
padding-right: 20px;
text-align: right;
&.time {
width: 200px;
width: 230px;
}
}
dd {
width: 240px;
width: 210px;
color: #313238;
overflow: hidden;
text-overflow:ellipsis;
Expand All @@ -542,7 +542,7 @@
}
.checkerset {
display: inline-block;
max-width: 240px;
max-width: 210px;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
return week
},
robotDesc () {
return `到企业微信群添加群机器人,复制Webhook地址到这里。更多详细说明<a target='_blank' href='${window.ROBOT_DESC}'>请点击&gt;&gt;</a>`
return `到企业微信群添加群机器人,复制Webhook地址到这里。`
}
},
watch: {
Expand Down

0 comments on commit bb9f2e3

Please sign in to comment.