大屏样式优化

This commit is contained in:
bb_pan 2025-03-13 10:51:32 +08:00
parent 8dc9b52752
commit ac889372c1
8 changed files with 23 additions and 8 deletions

4
env/.env.dev vendored
View File

@ -10,8 +10,8 @@ VITE_API_URL = '/proxyApi'
# VITE_proxyTarget = 'http://192.168.0.234:28080' # 马帅 # VITE_proxyTarget = 'http://192.168.0.234:28080' # 马帅
# VITE_proxyTarget = 'http://192.168.2.122:28080' # 梁超 # VITE_proxyTarget = 'http://192.168.2.122:28080' # 梁超
# VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试÷服务 # VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试÷服务
# VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务 VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务
VITE_proxyTarget = 'http://192.168.0.96:28080' # 马帅 # VITE_proxyTarget = 'http://192.168.0.96:28080' # 马帅
# VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型) # VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型)
# VITE_proxyTarget = 'http://10.40.92.16:9502' # 牛 (个人中心 基础信息企业申请认证) # VITE_proxyTarget = 'http://10.40.92.16:9502' # 牛 (个人中心 基础信息企业申请认证)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -19,12 +19,12 @@ const props = defineProps({
height: 36px; height: 36px;
padding-left: 30px; padding-left: 30px;
line-height: 20px; line-height: 20px;
color: #fff; color: #ccc;
/* background: linear-gradient(to right, #086c94, #0e557f, #06112c); */ /* background: linear-gradient(to right, #086c94, #0e557f, #06112c); */
background: url('@/assets/img/screen/title_bg.png') no-repeat; background: url('@/assets/img/screen/title_bg.png') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
letter-spacing: 4px; letter-spacing: 4px;
font-size: 18px; font-size: 16px;
} }
</style> </style>

View File

@ -1,7 +1,10 @@
<template> <template>
<div class="container"> <div class="container">
<div class="item"> <div class="item">
<h2>装备上架</h2> <!-- <h2>装备上架</h2> -->
<div class="item-title">
<img src="@/assets/img/screen/装备上架.png" alt="">
</div>
<div class="item-info"> <div class="item-info">
<div class="info-box info-box_1" style="transform: translateY(-30px)"> <div class="info-box info-box_1" style="transform: translateY(-30px)">
<div class="yyyy">入驻装备数</div> <div class="yyyy">入驻装备数</div>
@ -46,7 +49,10 @@
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<h2>装备租赁</h2> <!-- <h2>装备租赁</h2> -->
<div class="item-title">
<img src="@/assets/img/screen/装备租赁.png" alt="">
</div>
<div class="item-info"> <div class="item-info">
<div class="info-box info-box_2" style="transform: translateY(-30px)"> <div class="info-box info-box_2" style="transform: translateY(-30px)">
<div> <div>
@ -89,7 +95,10 @@
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<h2>装备需求</h2> <!-- <h2>装备需求</h2> -->
<div class="item-title">
<img src="@/assets/img/screen/装备需求.png" alt="">
</div>
<div class="item-info"> <div class="item-info">
<div class="info-box info-box_3" style="transform: translateY(-30px)"> <div class="info-box info-box_3" style="transform: translateY(-30px)">
<div> <div>
@ -184,6 +193,12 @@ onMounted(() => {
height: 30%; height: 30%;
background: url('@/assets/img/screen/center1_1.png') no-repeat; background: url('@/assets/img/screen/center1_1.png') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.item-title {
display: flex;
align-items: center;
justify-content: center;
}
.item-info { .item-info {
display: flex; display: flex;
align-items: center; align-items: center;
@ -201,7 +216,7 @@ onMounted(() => {
h2 { h2 {
color: #42bbfc; color: #42bbfc;
// font-style: italic; // font-style: italic;
font-size: 28px; font-size: 31px;
// font-weight: bold; // font-weight: bold;
letter-spacing: 6px; letter-spacing: 6px;
text-align: center; text-align: center;