Skip to content

Commit

Permalink
完成tabbar
Browse files Browse the repository at this point in the history
  • Loading branch information
gaojianghua committed Nov 1, 2023
1 parent 0dd34d4 commit 04cf80d
Show file tree
Hide file tree
Showing 26 changed files with 334 additions and 2,110 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
node_modules/
.node_modules/
.eslintcache
unpackage/
unpackage/dist/build/
unpackage/dist/dev/

Expand Down
1 change: 0 additions & 1 deletion App.uvue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
</script>

<style>
@import "./common/uni.css";
@import "./common/main.css";
@import "./common/common.css";
</style>
43 changes: 3 additions & 40 deletions common/common.css
Original file line number Diff line number Diff line change
@@ -1,37 +1,17 @@
/* 设置全局样式 */
/* (1) 页面高度100%,默认字体28upx,默认行高1.8,背景颜色 */
page {
height: 100%;
font-size: 28rpx;
line-height: 1.8;
background: #FFFFFF;
}

body {
padding: 0;
margin: 0;
}

.page {
height: 100%;
background: #f5f5f5;
}

/* (2) 图片默认100%宽度 */
image {
width: 100%;
height: 100%;
background-color: #f5f5f5;
}

/* 主色调 */
/* 主背景颜色(橙色)*/
.main-bg-color {
background: #fb7299;
background-color: #fb7299;
}

/* 主点击背景颜色(淡橙色)*/
.main-bg-color-active:active {
background: rgba(247, 106, 133, 0.65);
background-color: rgba(247, 106, 133, 0.65);
}

/* 主字体颜色(橙色)*/
Expand All @@ -43,20 +23,3 @@ image {
.main-border-color {
border-color: #fb7290;
}

/* 主题卡片 */
.main-cell {
width: 100%;
height: 100%;
backdrop-filter: saturate(150%) contrast(70%) blur(1px);
-webkit-backdrop-filter: saturate(150%) contrast(70%) blur(1px);
background-color: rgba(255, 255, 255, .5);
box-shadow: 0 5rpx 5rpx rgba(100, 100, 100, 0.5);
background-size: 100% 100%;
}

/* 自定义 */
view,
text {
box-sizing: border-box !important;
}
45 changes: 0 additions & 45 deletions common/icon.css

This file was deleted.

Loading

0 comments on commit 04cf80d

Please sign in to comment.