style: 样式展示问题

This commit is contained in:
2026-06-09 15:20:25 +08:00
parent 5551b08d5a
commit 6dee56e17f
8 changed files with 138 additions and 10 deletions
+1 -1
View File
@@ -483,7 +483,7 @@
position: relative;
display: flex;
justify-content: center;
margin-top: 12rpx;
// margin-top: 12rpx;
}
.tab-item {
+7 -4
View File
@@ -1,7 +1,6 @@
<template>
<view class="pages theme-ai">
<view class="bc">
<!-- <image src="/static/home/bc.png" mode="scaleToFill" /> -->
<view class="bc" :style="bcStyle">
</view>
<view class="con" :style="{ paddingTop: paddingTop + 'px' }">
<view class="con_top flex-center ju-flex-start">
@@ -129,6 +128,10 @@
let paddingTop = ref(20);
paddingTop.value = sysInfo.statusBarHeight + uni.upx2px(88);
const headerBgHeight = computed(() => `${paddingTop.value + uni.upx2px(320)}px`);
const bcStyle = computed(() => ({
height: headerBgHeight.value,
background: 'linear-gradient(135deg, #2c8cfa 0%, #3d5efb 100%)',
}));
let realStatus = ref(0); //是否已经实名认证
let agentLevelObj = {
2: 'home/igency_1.png',
@@ -325,9 +328,9 @@
top: 0;
left: 0;
width: 100%;
height: v-bind('headerBgHeight');
background: url('@/static/index/login_bg.png') no-repeat 100%;
height: auto;
border-radius: 0 0 30rpx 30rpx;
overflow: hidden;
image {
width: 100%;