forked from TencentBlueKing/blueking-apigateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 1.14 在线调试开发 (TencentBlueKing#67)
* feat: 1.14 开发 * feat: 1.14 开发 * feat: 1.14 开发 * feat: 1.14 开发 * feat: 1.14 在线调试开发
- Loading branch information
1 parent
55ae1a8
commit 313fb63
Showing
10 changed files
with
2,293 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<template> | ||
<div class="resource-top-bar" :style="stage.getNotUpdatedStages?.length ? 'top: 42px' : 'top: -1px'"> | ||
<div class="top-title-wrapper"> | ||
<div class="title">{{ t('在线调试') }}</div> | ||
<div class="history"> | ||
<i class="apigateway-icon icon-ag-cc-history history-icon"></i> | ||
<span>请求记录</span> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import { ref, reactive, computed } from 'vue'; | ||
import { useRoute } from 'vue-router'; | ||
import { useI18n } from 'vue-i18n'; | ||
import { Message } from 'bkui-vue'; | ||
import { getResourceVersionsList } from '@/http'; | ||
import { useStage } from '@/store'; | ||
const { t } = useI18n(); | ||
const stage = useStage(); | ||
const route = useRoute(); | ||
const apigwId = computed(() => +route.params.id); | ||
// const props = defineProps({ | ||
// }); | ||
</script> | ||
<style lang="scss" scoped> | ||
.resource-top-bar { | ||
position: absolute; | ||
width: 100%; | ||
height: 52px; | ||
box-sizing: border-box; | ||
padding: 0 24px; | ||
background: #FFFFFF; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
min-width: 1280px; | ||
.top-title-wrapper { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
.title { | ||
font-size: 16px; | ||
color: #313238; | ||
margin-right: 8px; | ||
} | ||
.history { | ||
color: #3A84FF; | ||
cursor: pointer; | ||
.history-icon { | ||
font-size: 16px; | ||
} | ||
span { | ||
font-size: 12px; | ||
} | ||
} | ||
} | ||
} | ||
</style> |
Oops, something went wrong.