Unipay-H5/style.css

207 lines
3.4 KiB
CSS
Raw Normal View History

2024-05-29 15:21:31 +08:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2024-05-30 16:51:12 +08:00
#app {
width: 100%;
padding-bottom: 0.2rem;
background-color: #3387c2;
position: relative;
}
.banner {
width: 100%;
height: 3.68rem;
background: url("https://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/department-of-finance/img/banner1.png")
no-repeat;
background-size: 100%;
}
.goods-box {
width: 3.5rem;
height: 4.66rem;
background-color: #c0ddf3;
border-radius: 0.15rem;
margin: -0.08rem auto 0 auto;
display: flex;
justify-content: center;
align-items: center;
}
.goods-list-box-bg {
width: 3.36rem;
height: 4.43rem;
background-color: #fff;
border-radius: 0.14rem;
}
.goods-list-box {
width: 3.36rem;
height: 4.43rem;
background: url("https://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/department-of-finance/img/jb-kuang.png?v=222")
no-repeat;
background-size: 100%;
border-radius: 0.14rem;
padding: 0 0.1rem;
}
.goods-title {
font-size: 0.18rem;
font-weight: bold;
color: #333333;
text-align: center;
padding: 0.17rem 0 0.05rem 0;
}
.goods-info {
width: 1.53rem;
height: 0.96rem;
position: relative;
margin-top: 0.1rem;
}
.goods-info img {
width: 100%;
height: 100%;
position: absolute;
z-index: 0;
}
.goods-info-text {
position: absolute;
z-index: 1;
}
.goods-name {
font-weight: 500;
font-size: 0.14rem;
color: #ffffff;
line-height: 0.16rem;
text-align: left;
font-style: normal;
text-transform: none;
padding: 0.11rem 0 0 0.08rem;
}
.goods-type {
font-size: 0.12rem;
color: #ffffff;
padding: 0.04rem 0 0 0.08rem;
}
.goods-checked {
width: 0.2rem;
height: 0.2rem;
background-color: #fff;
border: 1px solid #4a98fb;
border-radius: 50%;
position: absolute;
top: 0.1rem;
right: 0.1rem;
display: flex;
justify-content: center;
align-items: center;
}
.goods-main {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.goods-btn {
width: 1.37rem;
height: 0.5rem;
background: url("https://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/department-of-finance/img/btn.png")
no-repeat;
background-size: 100%;
margin: 0.2rem auto 0;
font-size: 0.16rem;
color: #ffffff;
text-align: center;
line-height: 0.44rem;
}
.pop {
width: 100%;
min-height: 100%;
background: rgba(0, 0, 0, 0.5);
position: absolute;
top: 0;
left: 0;
z-index: 99;
}
.pop-main {
width: 2.9rem;
height: 3.42rem;
position: relative;
margin: 1.2rem auto 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.pop-main img {
width: 100%;
height: 100%;
position: absolute;
z-index: 1;
top: 0;
left: 0;
}
.pop-info,
.pop-footer {
position: relative;
z-index: 2;
text-align: center;
}
.pop-info {
padding-top: 1.5rem;
}
.pop-info h1 {
font-size: 0.3rem;
color: #111b1f;
}
.pop-info .pop-msg {
font-size: 0.14rem;
color: #00a5eb;
padding-top: 0.17rem;
}
.pop-info .pop-pip {
font-size: 0.1rem;
color: #69d2ff;
padding-top: 0.07rem;
}
.pop-footer {
width: 2.8rem;
height: 0.36rem;
display: flex;
justify-content: space-around;
}
.pop-footer button {
width: 1.18rem;
height: 0.36rem;
font-size: 0.16rem;
color: #ffffff;
border: none;
border-radius: 0.18rem;
}
.close-btn {
background: linear-gradient(180deg, #88def0 0%, #69b5d8 100%);
}
.ok-btn {
background: linear-gradient(180deg, #88def0 0%, #69b5d8 100%);
2024-05-29 15:21:31 +08:00
}