list.wxss 2.08 KB
@import "./template/editor/editor.wxss";

page {
    display: block;
    min-height: 100%;
    background-color: #f0f0f0;
}

.container {
    color: #444;
    font-size: 28rpx;
    padding-bottom: 100rpx;
}

.empty-address {
    text-align: center;
    padding-top: 240rpx;
}

.empty-address .empty-img {
    width: 150rpx;
    height: 150rpx;
    display: block;
    margin: 20rpx auto;
}

.addr-item {
    background-color: #fff;
    margin-bottom: 20rpx;
    position: relative;
}

.addr-item .selected {
    width:0;
    height:0;
    border-width: 34rpx;
    border-style:solid;
    border-color:red red transparent transparent;
    position: absolute;
    top: 0;
    right: 0;
}

.addr-item .selected .iconfont {
    color: #fff;
    position: absolute;
    top: -24rpx;
    right: -30rpx;
    z-index: 10;
    font-weight: bold;
}

.addr-item .info {
    padding: 30rpx;
}

.addr-item .name,
.addr-item .phone {
    display: inline-block;
    max-width: 40%;
    overflow: hidden;
    margin-right: 30rpx;
}

.addr-item .direction {
    display: block;
    color: #888;
    margin-top: 10rpx;
    word-break:break-all;
}

.addr-item .options {
    font-size: 24rpx;
    line-height: 70rpx;
    padding: 0 30rpx;
    border-top: 1px solid #e0e0e0;
}

.addr-item .options .iconfont {
    font-size: 24rpx;
}

.addr-item .options .iconfont:before {
    font-size: 28rpx;
    vertical-align: middle;
    position: relative;
    top: 1rpx;
}

.addr-item .options .left-icon {
    color: #555;
}

.addr-item .options .right-icon {
    float: right;
    color: #000;
    margin-left: 50rpx;
}

.option-wrap {
    width: 100%;
    padding: 18rpx 30rpx;
    background: #fff;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
}

.option-wrap button {
    width: 47%;
    height: 60rpx;
    line-height: 58rpx;
    font-size: 28rpx;
    color: #444;
    border: 1rpx solid #444;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
}

.option-wrap button:after {
    border: 0;
}

.option-wrap .wechat-address-btn {
    float: right;
    color: #34c538;
    border-color: #34c538;
}