From d9a89d83c2048a964f16ca179feb2b7f21b9d33a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 16:28:47 +0800
Subject: [PATCH] 提交
---
wechat_jiaxuan/pages/calculator/index.wxss | 55 ++++++++++++++++++++++---------------------------------
1 files changed, 22 insertions(+), 33 deletions(-)
diff --git a/wechat_jiaxuan/pages/calculator/index.wxss b/wechat_jiaxuan/pages/calculator/index.wxss
index 85e9ded..5033298 100644
--- a/wechat_jiaxuan/pages/calculator/index.wxss
+++ b/wechat_jiaxuan/pages/calculator/index.wxss
@@ -1,40 +1,23 @@
/* pages/calculator/index.wxss */
.container {
- color: #fff;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- position: relative;
- overflow: hidden;
+ overflow: auto;
+ padding-bottom: 100rpx;
}
-
-.container::before {
- content: '';
- display: block;
- width: 100%;
- height: 100%;
+.main_bg{
+ position: fixed;
top: 0;
left: 0;
- background-color: rgba(255,255,255,0.5);
- position: absolute;
-}
-
-.container-content {
- background-color: rgba(0,0,0,0.75);
- position: absolute;
- height: 100%;
width: 100%;
- left: 0;
- right: 0;
+ z-index: -1;
}
-
.top-head-transparent {
background-color: transparent!important;
+ color: #222222 !important;
}
.top-head-transparent .van-icon.van-icon-arrow-left {
font-size: 40rpx!important;
- color: #fff!important;
+ color: #222222 !important;
}
.calculator {
@@ -49,7 +32,8 @@
.calculator .tips {
font-size: 28rpx;
margin-bottom: 70rpx;
- opacity: 0.8;
+ font-weight: 300;
+ color: #333333;
}
.calculator .form-item {
@@ -57,13 +41,13 @@
height: 88rpx;
line-height: 88rpx;
margin-bottom: 40rpx;
+ color: #222222;
}
.calculator .input-box {
display: flex;
flex: 1;
- border: 1px solid #fff;
- background-color: rgba(0,0,0,0.1);
+ border: 1px solid #B08771;
padding: 0 40rpx;
border-radius: 8rpx;
}
@@ -76,16 +60,15 @@
}
.calculator .input-box .placeholder {
- color: rgba(255,255,255,0.6);
+ color: #999999;
}
.calculator .submit-btn {
text-align: center;
line-height: 100rpx;
height: 100rpx;
- background: linear-gradient(180deg, #E0B49C 0%, #B68B74 100%);
-box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.3000), inset 0rpx 2rpx 2rpx 0rpx rgba(255,255,255,0.3300);
-border-radius: 8rpx;
+ background: #B08771;
+ border-radius: 8rpx;
width: 100%;
font-size: 32rpx;
color: #fff;
@@ -109,10 +92,14 @@
}
.results {
- background-color: #f7f7f7;
+ position: absolute;
+ width: 670rpx;
+ top: calc( 100vh - 250rpx );
+ z-index: 1;
+ background: #FFFFFF;
color: #222;
text-align: center;
- margin: 0 30rpx 60rpx;
+ margin: 0 40rpx 60rpx;
border-radius: 8rpx;
padding: 30rpx;
}
@@ -144,6 +131,8 @@
.results .item .td {
line-height: 74rpx;
height: 74rpx;
+ font-weight: 400;
+ font-size: 24rpx;
}
.results .item .th {
--
Gitblit v1.9.3