shangfutong-ui/jeepay-ui-uapp-agent/static/css/global.scss

655 lines
12 KiB
SCSS

$jee-border-color: #e5e5e5; /* 列表边框颜色 */
$primary-color: #7737fe;
// 公共按钮
.jeepay-button {
width: 690rpx;
height: 120rpx;
border-radius: 20rpx;
background: #3981ff;
display: flex;
justify-content: center;
align-items: center;
font-weight: 500;
font-size: 33rpx;
color: #fff;
}
// 固定下方的按钮
.operation-button {
position: fixed;
bottom: 0;
width: 100%;
margin-bottom: 70rpx;
z-index: 20;
.jeepay-button {
z-index: 20;
width: 650rpx;
height: 110rpx;
}
}
// 列表页尾部的提示文字
.list-tip-text {
margin: 31rpx 54rpx;
color: #ccc;
text-align: center;
}
// 设置模块列表
.jeepay-list {
width: 100%;
border-top: 1rpx solid #ebebed;
.jeepay-item-input {
width: 100%;
}
.jeepay-item {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
height: 110rpx;
background: #fff;
padding: 0 30rpx 0 50rpx;
.border {
position: absolute;
right: 0;
bottom: 0;
width: 700rpx;
height: 1rpx;
background: #f0f1f7;
}
.left-item {
text {
font-size: 28rpx;
font-weight: 500;
}
}
.right-item {
.right-item-image {
display: flex;
justify-content: center;
align-items: center;
width: 40rpx;
height: 40rpx;
}
image {
width: 100%;
height: 100%;
}
}
}
.separate {
width: 100%;
height: 20rpx;
background: #f5f6fc;
}
}
/* 用户协议政策 */
.agreement-policy-box {
display: flex;
justify-content: space-between;
height: 50rpx;
margin: 0 auto;
position: fixed;
bottom: 20rpx;
left: 75rpx;
.select-img {
width: 50rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.agreement-policy-text {
display: flex;
align-items: center;
text {
color: #666f80;
font-size: 25rpx;
}
.service-agreement,
.privacy-policy {
color: #3981ff;
}
}
}
/* 登录注册按钮 */
.login-box {
display: flex;
justify-content: center;
align-items: center;
width: 600rpx;
height: 100rpx;
border-radius: 10rpx;
border: 3rpx solid #3981ff;
color: #3981ff;
font-size: 30rpx;
margin: 0 auto;
margin-bottom: 30rpx;
}
/* 登录注册填写表单完成时按钮样式 */
.completed {
background: #3981ff;
color: #fff;
}
.register-box {
display: flex;
justify-content: center;
align-items: center;
text {
font-size: 25rpx;
color: #666f80;
}
.go-register {
color: #3981ff;
}
}
/* 登录注册输入框 */
.input-box {
width: 100%;
.input {
margin-bottom: 50rpx;
}
.input:last-child {
margin-bottom: 0;
}
.verification-code-input {
display: flex;
justify-content: space-between;
.send-message {
width: 250rpx !important;
height: 80rpx;
border: 2rpx solid #dfe1e6;
border-radius: 10rpx;
display: flex;
justify-content: center;
align-items: center;
margin: 18rpx 0 90rpx 30rpx;
text {
color: #bfbfbf;
font-size: 25rpx;
}
}
.fillIn {
border: 2rpx solid #3981ff;
text {
color: #3981ff;
}
}
}
}
/* 登录注册顶部样式 */
.content {
overflow: hidden;
image {
width: 100%;
height: 100%;
}
.login-background-box {
width: 100%;
height: 300rpx;
}
.content-main {
padding: 0 75rpx;
}
}
/* 我的账号设置 */
.config {
width: 100%;
margin-top: 20rpx;
background-color: #ffffff;
.config-item {
box-sizing: border-box;
margin-left: 50rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 50rpx;
border-bottom: 2rpx solid #e8e8e8;
.title {
padding: 35rpx 0 35rpx 0;
font-weight: 500;
font-size: 28rpx;
text-align: left;
color: #000;
}
}
.config-item:last-child {
border: none;
}
}
// 右下角的加号
.add-apply {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
right: 30rpx;
bottom: 110rpx;
width: 90rpx;
height: 90rpx;
border-radius: 10rpx;
background: #3981ff;
image {
width: 40rpx;
height: 40rpx;
}
}
/* uni-switch-input 切换按钮 */
uni-switch .uni-switch-input {
height: 17px;
width: 32px;
}
uni-switch .uni-switch-input:after,
uni-switch .uni-switch-input:before {
height: 15px;
width: 30px;
}
uni-switch .uni-switch-input:after {
width: 15px;
}
uni-switch .uni-switch-input.uni-switch-input-checked:after {
transform: translateX(15px);
}
/* #ifdef MP-WEIXIN */
switch {
transform: scale(0.6) !important;
}
/* #endif */
// 列表页整体的颜色
.page {
min-height: 100vh;
height: auto;
background-color: #f2f2f2;
}
.jee-list {
position: relative;
// &::after,
// &::before {
// position: absolute;
// z-index: 3;
// right: 0;
// bottom: 0;
// left: 0;
// width: 100%;
// height: 1px;
// content: '';
// transform: scaleY(0.5);
// background-color: $jee-border-color;
// }
// &::before {
// top: 0;
// }
.jee-list-item {
padding: 35rpx 30rpx;
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: space-between;
position: relative;
&::after {
position: absolute;
z-index: 3;
right: 0;
bottom: 0;
left: 35rpx;
width: calc(100% - 35rpx);
height: 1px;
content: '';
transform: scaleY(0.5);
background-color: $jee-border-color;
}
}
}
// 设备管理公共样式
.device-content {
padding: 0 50rpx;
image {
display: block;
}
.head {
width: 650rpx;
box-sizing: border-box;
margin: 20rpx 0;
border-radius: 20rpx;
overflow: hidden;
.head-image {
display: flex;
flex-direction: column;
align-items: center;
height: 450rpx;
background: #fff;
image {
display: block;
width: 350rpx;
height: 350rpx;
margin: 20rpx 0;
}
text {
display: block;
font-weight: 500;
font-size: 20rpx;
color: #a3a3a5;
margin-bottom: 20rpx;
}
}
.head-operation {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 110rpx;
background: rgba(255, 255, 255, 0.5);
image {
width: 26rpx;
height: 26rpx;
margin-right: 10rpx;
}
text {
font-weight: 500;
font-size: 27rpx;
color: rgba(0, 0, 0, 0.7);
}
}
}
.center,
.footer .item {
display: flex;
justify-content: space-between;
box-sizing: border-box;
width: 100%;
border-radius: 20rpx;
background: #fff;
padding: 35rpx 30rpx;
.left {
text {
font-weight: 500;
font-size: 27rpx;
color: #a3a3a5;
}
}
.right {
display: flex;
align-items: center;
text {
font-size: 27rpx;
}
input {
width: 100%;
font-size: 27rpx;
text-align: right;
}
image {
width: 40rpx;
height: 40rpx;
}
}
}
.footer {
border-radius: 20rpx;
margin: 20rpx 0 200rpx 0;
overflow: hidden;
.item {
position: relative;
border-radius: 0;
.right {
display: flex;
justify-content: center;
align-items: center;
switch {
margin-left: 20rpx;
}
}
.split {
position: absolute;
right: 0;
bottom: 0;
width: 620rpx;
height: 2rpx;
background: #f0f4f7;
}
}
}
.operation-button {
width: 650rpx;
margin-top: 200rpx;
display: flex;
justify-content: space-between;
.jeepay-button-cancel,
.jeepay-button-save {
width: 305rpx;
height: 110rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20rpx;
text {
font-weight: 500;
font-size: 30rpx;
}
}
.jeepay-button-cancel {
background: #dce2e8;
text {
color: #262e4d;
}
}
.jeepay-button-save {
background: #3981ff;
text {
color: #fff;
}
}
}
}
// 设备管理列表公共样式
.device-main {
background-color: #f5f7fa;
height: 100%;
.common-add {
width: 90rpx;
height: 90rpx;
border-radius: 10rpx;
background-color: #3981ff;
box-sizing: border-box;
position: fixed;
bottom: 200rpx;
right: 30rpx;
padding: 25rpx;
image {
width: 40rpx;
height: 40rpx;
}
}
.split {
background-color: #f5f7fa;
width: 100%;
height: 1rpx;
}
.list-area {
width: 100%;
margin: 0 auto;
padding-top: 2rpx;
box-sizing: border-box;
border-top: 1px solid #ededed;
.list-item {
height: 140rpx;
width: 100%;
background-color: #ffffff;
border-bottom: 1px solid #ededed;
display: flex;
justify-content: space-between;
align-items: center;
overflow: hidden;
box-sizing: border-box;
padding: 0 0 0 30rpx;
.item-content {
width: 65%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
.img {
height: 72rpx;
width: 69rpx;
image {
height: 72rpx;
width: 100%;
}
}
.text {
height: 115%;
width: 80%;
display: flex;
flex-direction: column;
justify-content: space-between;
// background-color: #0041c4;
.title {
// height: 50%;
padding-bottom: 5rpx;
font-weight: bold;
font-size: 27rpx;
color: #000;
}
.content {
height: 40%;
font-weight: 500;
font-size: 22rpx;
letter-spacing: 0.05em;
color: #8d95a6;
display: flex;
}
}
}
.item-op {
width: 10%;
display: flex;
justify-content: space-between;
align-items: center;
margin-left: 100rpx;
image {
height: 100%;
width: 100%;
}
}
}
image {
margin-right: 30rpx;
}
// #ifdef MP
.text {
// background-color: #3981ff;
width: 200rpx;
}
//#endif
.switch {
margin-left: 40rpx;
}
}
.popview {
box-sizing: border-box;
width: 630rpx;
height: 412rpx;
border-radius: 20rpx;
background: #fff;
padding: 50rpx 50rpx 30rpx 50rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
position: absolute;
top: -500rpx;
left: -310rpx;
.title {
font-weight: bold;
font-size: 33rpx;
color: #000;
}
.content {
height: 30%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.op {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
button {
width: 45%;
height: 110rpx;
display: flex;
align-items: center;
justify-content: center;
}
}
}
.list-null {
height: 100rpx;
width: 180rpx;
margin: 0 auto;
margin-top: 150rpx;
display: flex;
flex-direction: column;
align-items: center;
font-weight: 500;
font-size: 23rpx;
color: #9ea5b3;
.null-img {
height: 80rpx;
width: 124rpx;
image {
height: 100%;
width: 100%;
}
}
}
}
// 进件保存二维码
.down-img {
display: flex;
flex-direction: column;
align-items: center;
image {
width: 300rpx;
height: 300rpx;
}
.down {
line-height: 90rpx;
text-align: center;
margin: 20rpx auto;
width: 90%;
height: 90rpx;
border-radius: 10rpx;
background: #0041c4;
border: 3rpx solid #0041c4;
color: #fff;
}
}
.uni-radio-input {
width: 14px !important;
height: 14px !important;
}
// 覆盖单选按钮样式
.checklist-group {
justify-content: flex-end;
.uni-label-pointer {
margin-right: 15px !important;
}
}