You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

258 lines
5.8 KiB
Plaintext

/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.list {
position: absolute;
width: 100%;
height: 100%;
background-color: #ededed;
overflow: hidden;
}
.list .tops {
width: 100%;
height: 11%;
position: relative;
}
.list .headers {
width: 100%;
height: 90rpx;
position: relative;
}
.list .headers .list-header {
width: 90%;
height: 70rpx;
border: 1rpx solid #ffffff;
background-color: #ffffff;
margin-top: 20rpx;
position: relative;
margin-left: 50%;
transform: translateX(-50%);
border-radius: 50rpx 50rpx 50rpx 50rpx;
display: flex;
}
.list .headers .list-header .list-header-i {
width: 50rpx;
height: 50rpx;
margin-top: 10rpx;
margin-left: 20rpx;
}
.list .headers .list-header .list-header-input {
width: 80%;
height: 70rpx;
line-height: 70rpx;
margin-left: 30rpx;
font-size: 28rpx;
}
.list .list-body {
width: 100%;
height: 90%;
}
.list .list-body .datas {
position: relative;
width: 94%;
margin-left: 50%;
transform: translateX(-50%);
background-color: #ffffff;
margin-top: 25rpx;
display: flex;
border-radius: 20rpx 20rpx 20rpx 20rpx;
}
.list .list-body .datas .datas-img {
width: 176rpx;
height: 176rpx;
margin-left: 25rpx;
margin-top: 40rpx;
border-radius: 15rpx 15rpx 15rpx 15rpx;
}
.list .list-body .datas .datas-r {
width: 70%;
margin-top: 20rpx;
}
.list .list-body .datas .datas-r .datas-title {
width: 100%;
height: 44rpx;
line-height: 44rpx;
box-sizing: border-box;
padding-left: 28rpx;
font-size: 32rpx;
font-weight: 600;
margin-top: 15rpx;
display: flex;
justify-content: space-between;
}
.list .list-body .datas .datas-r .datas-title .i {
width: 50rpx;
height: 50rpx;
margin-top: -20rpx;
}
.list .list-body .datas .datas-r .datas-address {
width: 100%;
height: 38rpx;
display: flex;
align-items: center;
margin-left: 20rpx;
margin-top: 10rpx;
color: #999;
}
.list .list-body .datas .datas-r .datas-address .t {
width: 90%;
height: 38rpx;
line-height: 38rpx;
font-size: 24rpx;
margin-left: 10rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.list .list-body .datas .datas-r .datas-navigation {
width: 100%;
height: 70rpx;
display: flex;
align-items: center;
}
.list .list-body .datas .datas-r .datas-navigation .left-d {
height: 38rpx;
display: flex;
align-items: center;
margin-left: 28rpx;
}
.list .list-body .datas .datas-r .datas-navigation .left-d .i {
width: 24rpx;
height: 24rpx;
}
.list .list-body .datas .datas-r .datas-navigation .left-d .colors {
font-size: 24rpx;
}
.list .list-body .datas .datas-r .datas-navigation .left-x {
height: 38rpx;
display: flex;
align-items: center;
margin-left: 5rpx;
}
.list .list-body .datas .datas-r .datas-navigation .left-x .i {
width: 24rpx;
height: 24rpx;
}
.list .list-body .datas .datas-r .datas-navigation .left-x .colors {
font-size: 24rpx;
}
.list .list-body .datas .datas-r .datas-state {
width: 100%;
margin-top: 10rpx;
display: flex;
align-items: center;
color: white;
}
.list .list-body .datas .datas-r .datas-state .sum {
width: 138rpx;
height: 36rpx;
background: #4993FF;
font-size: 22rpx;
border: 1rpx solid #4993FF;
text-align: center;
line-height: 36rpx;
margin-left: 28rpx;
border-radius: 7rpx 7rpx 7rpx 7rpx;
}
.list .list-body .datas .datas-r .datas-state .surplus {
width: 138rpx;
height: 36rpx;
background: #42BE45;
border: 1rpx solid #42BE45;
font-size: 22rpx;
text-align: center;
line-height: 36rpx;
margin-left: 20rpx;
border-radius: 7rpx 7rpx 7rpx 7rpx;
}
.list .list-body .ding {
width: 100%;
height: 200rpx;
}
.promptbgk {
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
}
.promptbgk .prompt {
position: absolute;
width: 515rpx;
background-color: #ffffff;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
/* 默认为 column但这里明确指定 */
align-items: center;
/* 水平居中 */
justify-content: space-around;
}
.promptbgk .prompt .prompt-title {
width: 100%;
text-align: center;
font-size: 30rpx;
height: 120rpx;
line-height: 120rpx;
box-sizing: border-box;
padding-top: 10rpx;
}
.promptbgk .prompt .prompt-body {
width: 100%;
text-align: center;
font-size: 26rpx;
height: 60rpx;
line-height: 60rpx;
}
.promptbgk .prompt .prompt-bottom {
position: relative;
width: 100%;
height: 160rpx;
display: flex;
justify-content: center;
align-items: center;
}
.promptbgk .prompt .prompt-bottom .left-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
text-align: center;
line-height: 75rpx;
margin-right: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
}
.promptbgk .prompt .prompt-bottom .right-btn {
width: 180rpx;
height: 75rpx;
background-color: #f2f2f2;
font-size: 28rpx;
color: #57aff7;
text-align: center;
line-height: 75rpx;
margin-left: 20rpx;
border-radius: 10rpx 10rpx 10rpx 10rpx;
}