244 lines
6.2 KiB
Plaintext
244 lines
6.2 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.address-container {
|
||
height: calc(100vh - 88rpx);
|
||
background: #fff;
|
||
overflow: hidden;
|
||
}
|
||
.address-container .item-lable-1 {
|
||
background: #fdf3da;
|
||
color: #de8a48;
|
||
}
|
||
.address-container .item-lable-2 {
|
||
background: #e5eefb;
|
||
color: #4687e4;
|
||
}
|
||
.address-container .item-lable-3 {
|
||
background: #eff9e7;
|
||
color: #6eb768;
|
||
}
|
||
.address-container .hander .uni-navbar__header {
|
||
align-items: center;
|
||
padding: 10rpx 20rpx !important;
|
||
}
|
||
.address-container .hander .left-block {
|
||
display: flex;
|
||
align-items: center;
|
||
line-height: 60rpx;
|
||
}
|
||
.address-container .hander .city-block {
|
||
white-space: nowrap;
|
||
/* 确保文本在一行内显示 */
|
||
overflow: hidden;
|
||
/* 隐藏超出容器的文本 */
|
||
text-overflow: ellipsis;
|
||
/* 使用省略符号表示文本超出 */
|
||
max-width: 140rpx;
|
||
padding-right: 4rpx;
|
||
}
|
||
.address-container .hander .icon-dingwei {
|
||
font-size: 40rpx;
|
||
}
|
||
.address-container .hander .icon-right {
|
||
font-size: 24rpx;
|
||
}
|
||
.address-container .address-block {
|
||
margin: 20rpx 0;
|
||
padding: 20rpx 32rpx;
|
||
border-top: 2rpx solid #f0f0f0;
|
||
border-bottom: 2rpx solid #f0f0f0;
|
||
}
|
||
.address-container .address-block .address-box {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
.address-container .address-block .address-box .address-left-block {
|
||
font-size: 32rpx;
|
||
white-space: nowrap;
|
||
/* 确保文本在一行内显示 */
|
||
overflow: hidden;
|
||
/* 隐藏超出容器的文本 */
|
||
text-overflow: ellipsis;
|
||
/* 使用省略符号表示文本超出 */
|
||
max-width: 520rpx;
|
||
}
|
||
.address-container .address-block .address-box .address-right-block {
|
||
display: flex;
|
||
align-items: center;
|
||
color: #de8a48;
|
||
}
|
||
.address-container .list-block {
|
||
padding: 0 32rpx;
|
||
border-bottom: 2rpx solid #f8f8f8;
|
||
}
|
||
.address-container .list-block .list-title-block {
|
||
position: -webkit-sticky;
|
||
position: sticky;
|
||
top: 0;
|
||
padding: 12rpx 0;
|
||
background: #fff;
|
||
}
|
||
.address-container .list-block .list-title-block .title-block {
|
||
font-size: 28rpx;
|
||
padding-left: 6rpx;
|
||
}
|
||
.address-container .list-block .list-item {
|
||
margin: 0 32rpx;
|
||
padding: 20rpx 0;
|
||
border-bottom: 2rpx solid #f0f0f0;
|
||
}
|
||
.address-container .list-block .list-item .item-lable {
|
||
display: inline-block;
|
||
margin-right: 9px;
|
||
padding: 0px 8px;
|
||
width: 32px;
|
||
border-radius: 4px;
|
||
text-align: center;
|
||
font-weight: 700;
|
||
}
|
||
.address-container .list-block .list-item .item-address {
|
||
margin-right: 8rpx;
|
||
font-weight: 700;
|
||
font-size: 30rpx;
|
||
}
|
||
.address-container .list-block .list-item .item-detailed-address {
|
||
font-weight: 700;
|
||
font-size: 30rpx;
|
||
}
|
||
.address-container .list-block .list-item .item-role-info {
|
||
color: #848484;
|
||
font-size: 24rpx;
|
||
}
|
||
.address-container .list-block .list-item .item-role-info .item-name {
|
||
padding-right: 20rpx;
|
||
}
|
||
.address-container .list-block .list-item .item-role-info .item-mobile {
|
||
margin-left: 40rpx;
|
||
}
|
||
.address-container .list-block .tips {
|
||
display: flex;
|
||
align-items: center;
|
||
margin: 20rpx 32rpx;
|
||
font-size: 24rpx;
|
||
}
|
||
.address-container .icon-zengjiatianjiajiahao {
|
||
font-size: 40rpx;
|
||
color: #3579ff;
|
||
margin-right: 12rpx;
|
||
}
|
||
.address-container .search-address-list {
|
||
margin: 40rpx;
|
||
}
|
||
.address-container .search-address-list .search-address-item {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 20rpx 0;
|
||
border-bottom: 2rpx solid #f0f0f0;
|
||
}
|
||
.address-container .search-address-list .search-address-item .search-address-item-left {
|
||
width: 80%;
|
||
}
|
||
.address-container .search-address-list .search-address-item .search-address-item-right {
|
||
color: #d7d7d7;
|
||
width: 20%;
|
||
text-align: right;
|
||
}
|
||
.address-container .search-address-list .search-address-item rich-text {
|
||
max-height: 27px;
|
||
overflow: hidden;
|
||
word-break: break-all;
|
||
/* break-all(允许在单词内换行。) */
|
||
text-overflow: ellipsis;
|
||
/* 超出部分省略号 */
|
||
display: -webkit-box;
|
||
/** 对象作为伸缩盒子模型显示 **/
|
||
-webkit-box-orient: vertical;
|
||
/** 设置或检索伸缩盒对象的子元素的排列方式 **/
|
||
-webkit-line-clamp: 2;
|
||
/** 显示的行数 **/
|
||
}
|
||
.address-container .search-address-list .search-address-item .item-left-address {
|
||
font-size: 24rpx;
|
||
color: #848484;
|
||
white-space: nowrap;
|
||
/* 确保文本在一行内显示 */
|
||
overflow: hidden;
|
||
/* 隐藏超出容器的文本 */
|
||
text-overflow: ellipsis;
|
||
/* 使用省略符号表示文本超出 */
|
||
max-width: 90%;
|
||
}
|
||
.address-container .input-view {
|
||
width: 92%;
|
||
display: flex;
|
||
background-color: #f5f5f5;
|
||
height: 60rpx;
|
||
border-radius: 30rpx;
|
||
padding: 0 4%;
|
||
flex-wrap: nowrap;
|
||
margin: 10rpx 0;
|
||
line-height: 60rpx;
|
||
margin-left: 10rpx;
|
||
color: #b9b9b9;
|
||
}
|
||
.address-container .input-view .uni-icon {
|
||
line-height: 60rpx !important;
|
||
font-size: 24rpx;
|
||
}
|
||
.address-container .input-view .uni-icons {
|
||
font-size: 32rpx !important;
|
||
}
|
||
.address-container .input-view .input {
|
||
height: 60rpx;
|
||
line-height: 60rpx;
|
||
width: 94%;
|
||
padding: 0 2%;
|
||
font-size: 24rpx;
|
||
}
|
||
.address-container .uni-swiper-list {
|
||
height: calc(100vh - 98px);
|
||
}
|
||
.address-container .u-btn-default {
|
||
position: fixed;
|
||
left: 0;
|
||
bottom: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 100%;
|
||
background: #fff;
|
||
color: #000;
|
||
z-index: 1;
|
||
margin: 0;
|
||
height: 120rpx;
|
||
line-height: 120rpx;
|
||
bottom: constant(safe-area-inset-bottom);
|
||
}
|
||
|