From 7a228d5837e006af03e76db757e0f559e131f4b4 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期五, 23 五月 2025 13:37:17 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/dnc/base/TerminalIndex.vue | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 109 insertions(+), 0 deletions(-) diff --git a/src/views/dnc/base/TerminalIndex.vue b/src/views/dnc/base/TerminalIndex.vue new file mode 100644 index 0000000..0289c4e --- /dev/null +++ b/src/views/dnc/base/TerminalIndex.vue @@ -0,0 +1,109 @@ +<template> + <div class="page-view-container"> + <slot name="function"/> + <div class="header-container">鐜板満鎯呭喌涓婃姤骞冲彴</div> + <div class="content-container"> + <a-row> + <a-col :span="8"> + <div class="button" @click="navigateTo('work','涓婄彮')">涓婄彮</div> + </a-col> + <a-col :span="8"> + <div class="button">涓嬬彮</div> + </a-col> + <a-col :span="8"> + <div class="button" @click="navigateTo('fault','璁惧鏁呴殰')">璁惧鏁呴殰</div> + </a-col> + </a-row> + <a-row> + <a-col :span="8"> + <div class="button" @click="navigateTo('close','鍋滄満涓婃姤')">鍋滄満涓婃姤</div> + </a-col> + <a-col :span="8"> + <div class="button" @click="navigateTo('spotCheck','鐐规')">鐐规</div> + </a-col> + <a-col :span="8"> + <div class="button">鍚堟牸鐜�</div> + </a-col> + </a-row> + <a-row> + <a-col :span="8"> + <div class="button">绋嬪簭鍛煎彨</div> + </a-col> + <a-col :span="8"> + <div class="button">寮�宸ュ畬宸�</div> + </a-col> + <a-col :span="8"> + <div class="button">绋嬪簭鍥炰紶</div> + </a-col> + </a-row> + </div> + </div> +</template> + +<script> + export default { + name: 'TerminalIndex', + methods: { + navigateTo(url, projectTitle) { + this.$router.push('/terminal/' + url) + document.title = 'MDC鏅烘収杞﹂棿-' + projectTitle + } + } + } +</script> + +<style scoped lang="less"> + .page-view-container { + background: linear-gradient(to bottom, #fff -15%, #000 55%,); + + .header-container { + font-size: 50px; + color: #eee; + text-align: center; + height: 15%; + display: flex; + justify-content: center; + align-items: flex-end; + -webkit-align-items: flex-end; + } + + .content-container { + flex: 1; + display: flex; + flex-direction: column; + padding: 3% 10%; + + .ant-row { + flex: 1; + + .ant-col { + height: 100%; + display: flex; + justify-content: center; + align-items: center; + + .button { + width: 250px; + height: 125px; + display: flex; + justify-content: center; + align-items: center; + background-color: #E3F2D9; + font-size: 45px; + border: 2px solid #33579D; + box-shadow: inset -5px 5px 12px rgba(0, 0, 0, 0.6); + cursor: pointer; + transition: all .1s ease-in-out; + + &:hover { + transform: scale(1.05); + } + } + } + /*display: flex;*/ + /*flex-direction: column;*/ + } + } + } + +</style> \ No newline at end of file -- Gitblit v1.9.3