文件结构、命名优化;

IFLOW描述文件更新;
This commit is contained in:
yuantao
2025-09-28 16:34:48 +08:00
parent 2a4232b695
commit 931fa1afd3
6 changed files with 158 additions and 577 deletions

View File

@@ -1,85 +1,3 @@
view,
text {
color: #333;
font-size: 24rpx;
box-sizing: border-box;
}
/* 2. 主背景色 */
.main-bg-color {
background-color: #fff;
}
/* 3. 主文字色 */
.main-color {
color: #005097;
}
.main-border-color {
border-color: #646464;
}
.w100 {
width: 100%;
}
.h100 {
height: 100vw;
}
button {
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: transparent;
}
button::after {
border: none;
}
.flex-sp {
display: flex;
align-items: center;
justify-content: space-between;
}
.tag {
padding: 6rpx 20rpx;
font-feature-settings: 'liga' off, 'clig' off;
font-family: 'Source Han Sans CN';
font-size: 26rpx;
}
.tag1 {
background: #d9ebff;
color: #005097;
}
.tag2 {
background: #ffefd9;
color: #972300;
}
.tag3 {
background: #ffe4d9;
color: #970000;
}
.tag4 {
background: #d9ffea;
color: #00972d;
}
/************************************************************
** 请将全局样式拷贝到项目的全局 CSS 文件或者当前页面的顶部 **
** 否则页面将无法正常显示 **
************************************************************/
html {
font-size: 16px;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
@@ -92,6 +10,7 @@ image,
text {
box-sizing: border-box;
flex-shrink: 0;
color: #333;
}
#app {
@@ -600,18 +519,3 @@ text {
.code-fun-mt-100 {
margin-top: 200rpx;
}
.head {
width: 750rpx;
height: 372rpx;
flex-shrink: 0;
position: absolute;
top: 0;
left: 0;
background: linear-gradient(180deg, #d4eaff 0%, #fff 65.32%);
}
.container {
width: 100vw;
height: 100vh;
background-image: linear-gradient(to bottom, #dff0ff 8%, white 15%);
overflow: hidden;
}