diff --git a/src/common/css.css b/src/common/css.css index c419c7a..1ad2719 100644 --- a/src/common/css.css +++ b/src/common/css.css @@ -759,6 +759,13 @@ input,textarea,button{ line-height: 70rpx; } +.blur { + background-color: rgba(255, 255, 255, 0.2); /* 半透明背景 */ + backdrop-filter: blur(10px); /* 背景模糊 */ + -webkit-backdrop-filter: blur(10px); /* 兼容老版本 Safari */ +} + + diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index 96d54b6..1482fce 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -1,340 +1,372 @@ - + \ No newline at end of file + .Unit { + padding: 24rpx; + display: flex; + justify-content: space-between; + align-items: center; + position: relative; + box-shadow: 1px 1px 3px #ccc; + .trapezoidal { + position: absolute; + top: -4px; + right: 0; + color: #ffffff; + font-size: 14px; + font-weight: normal; + z-index: 1; + } + image { + width: 140rpx; + } + .right { + flex: 1; + padding-left: 30rpx; + .title { + font-size: 16px; + } + .type { + font-size: 14px; + color: #666; + font-weight: normal; + text { + margin-right: 20rpx; + } + } + } + } +} + diff --git a/src/pages/investigation/index.vue b/src/pages/investigation/index.vue index 986f634..88d1641 100644 --- a/src/pages/investigation/index.vue +++ b/src/pages/investigation/index.vue @@ -10,15 +10,15 @@ 待办 - 200 + 200 正在办理 - 480 + 480 已完成 - 182 + 182 @@ -220,7 +220,6 @@ display: flex; align-items: center; justify-content: space-around; - font-weight: bold; font-size: 16px; height: 44px; background: #ffffff; @@ -233,25 +232,33 @@ line-height: 41px; padding: 0 30rpx 0 30rpx; border-bottom: 3px solid #fff; + display: flex; + align-items: center; &.active { color: rgb(60, 109, 195); border-color: rgb(60, 109, 195); } + .number { + font-weight: bold; + font-size: 18px; + margin-left: 10rpx; + } } } .Box { .Content { - width: calc(100% - 64rpx); + width: calc(100% - 48rpx); padding-bottom: 100rpx; } .Unit { - padding: 36rpx; + padding: 24rpx; display: flex; justify-content: space-between; align-items: center; position: relative; + box-shadow: 1px 1px 3px #ccc; .trapezoidal { position: absolute; top: -4px; @@ -262,7 +269,7 @@ z-index: 1; } image { - width: 160rpx; + width: 140rpx; } .right { flex: 1; diff --git a/src/static/image/finish.png b/src/static/image/finish.png new file mode 100644 index 0000000..b830788 Binary files /dev/null and b/src/static/image/finish.png differ diff --git a/src/static/image/home_bg.png b/src/static/image/home_bg.png new file mode 100644 index 0000000..c1edad1 Binary files /dev/null and b/src/static/image/home_bg.png differ diff --git a/src/static/image/mouth.png b/src/static/image/mouth.png new file mode 100644 index 0000000..5fe53e2 Binary files /dev/null and b/src/static/image/mouth.png differ diff --git a/src/static/image/need.png b/src/static/image/need.png new file mode 100644 index 0000000..e054b9a Binary files /dev/null and b/src/static/image/need.png differ