修复切换系统地址

This commit is contained in:
Tao-826 2025-07-17 17:48:40 +08:00
parent c60264c616
commit 233058a7b7
2 changed files with 2 additions and 169 deletions

View File

@ -6,7 +6,7 @@ VITE_API_URL_SYS='http://localhost:19901'
# 健康辅助监测服务API # 健康辅助监测服务API
VITE_API_URL_JKFZJC='http://localhost:19903' VITE_API_URL_JKFZJC='http://localhost:19903'
# 整个系统入口首页 # 整个系统入口首页
VITE_HOME_URL='http://localhost:8000' VITE_HOME_URL='http://localhost:3000'
# 授权服务地址 # 授权服务地址
VITE_AUTH_URL='' VITE_AUTH_URL=''
# 授权ID # 授权ID

View File

@ -1,181 +1,14 @@
<style lang="scss" scoped> <style lang="scss" scoped>
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 30px white inset !important;
-webkit-text-fill-color: #000 !important;
transition: background-color 5000s ease-in-out 0s !important;
}
.card_title {
font-weight: 500;
font-size: 16px;
color: rgba(0, 0, 0, 0.88);
}
.card_header_count {
margin: 5px;
padding: 5px 6px;
background: rgba(0, 0, 0, 0.04);
border-radius: 6px;
font-weight: 600;
font-size: 12px;
color: rgba(0, 0, 0, 0.88);
}
.todos_card {
.card_content {
padding: 0 10px;
height: 65vh;
width: 100%;
overflow-y: auto;
.card_content_item {
margin-bottom: 10px;
padding: 10px;
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.15);
display: flex;
justify-content: space-between;
align-items: center;
.card_content_item_left {
.card_content_item_left_top {
display: flex;
.title {
font-weight: 600;
font-size: 14px;
color: rgba(0, 10, 26, 0.89);
}
.text {
padding-left: 10px;
font-weight: 400;
font-size: 14px;
color: rgba(0, 0, 0, 0.65);
}
}
.card_content_item_left_bottom {
margin-top: 10px;
font-weight: 400;
font-size: 12px;
color: rgba(0, 0, 0, 0.45);
}
}
}
}
}
.notice_card {
.card_content {
padding: 0 10px;
height: 65vh;
width: 100%;
overflow-y: auto;
.card_content_item {
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
.card_content_item_left {
display: flex;
align-items: flex-start;
.card_content_item_tag {
width: 40px;
margin-right: 10px;
padding: 2px 8px;
background: #f5f5f5;
font-weight: 400;
font-size: 12px;
color: #000000;
border-radius: 4px;
}
.card_content_item_text {
width: 280px;
display: inline-block;
font-weight: 400;
font-size: 14px;
color: #000;
}
}
.card_content_item_right {
width: 90px;
font-weight: 400;
font-size: 14px;
color: #141414;
}
}
}
}
</style> </style>
<template> <template>
<div class="overall-container"> <div class="overall-container">
<!-- <el-row :gutter="20">
<el-col :span="16">
<el-card class="todos_card" :style="{ height: cardHeight }">
<template #header>
<div class="card-header">
<span class="card_title">代办事项</span>
<span class="card_header_count">{{ toDos.length }}</span>
</div>
</template>
<div class="card_content">
<div class="card_content_item" v-for="(item, index) in toDos" :key="index">
<div class="card_content_item_left">
<div class="card_content_item_left_top">
<div class="title">{{ item.title }}</div>
<div class="text">{{ item.text }}</div>
</div>
<div class="card_content_item_left_bottom">{{ item.date }}</div>
</div>
<div class="card_content_item_right">
<el-button type="primary" plain>去处理</el-button>
</div>
</div>
</div>
</el-card>
</el-col>
<el-col :span="8">
<el-card class="notice_card" :style="{ height: cardHeight }">
<template #header>
<div class="card-header">
<span class="card_title">通知</span>
</div>
</template>
<div class="card_content">
<div class="card_content_item" v-for="(item, index) in notice" :key="index">
<div class="card_content_item_left">
<span class="card_content_item_tag">{{ item.tag }}</span>
<span class="card_content_item_text">{{ item.text }}</span>
</div>
<div class="card_content_item_right">{{ item.date }}</div>
</div>
</div>
</el-card>
</el-col>
</el-row> -->
</div> </div>
</template> </template>
<script setup> <script setup>
// import { ref } from 'vue'
// const cardHeight = ref('75vh')
// const toDos = ref([])
// const notice = ref([
// {
// tag: '',
// text: '0.1',
// date: '2025-05-20',
// },
// ])
</script> </script>