/** index.wxss **/ @import "../../../config/styles/_base.less"; @import "../../../config/styles/_mixins.less"; page { height: 100%; background-color: @bg-color-fade; } .container { height: 100%; display: flex; flex: 1; flex-direction: column; box-sizing: border-box; align-items: stretch; padding: 0; .safe-area-inset-bottom(); } .search-bar { background-color: #fff; padding: 10rpx; z-index: 1; } .description { display: flex; flex-direction: column; } .col { display: flex; flex: 1; flex-direction: column; } .name { font-size: @font-size-base; color: @text-level-2-color; } .mobile { font-size: @font-size-base; color: @text-level-2-color; } .avatar { height: 160rpx; width: 160rpx; } .relation { display: flex; flex-wrap: wrap; } .relation-content { display: flex; flex: 1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; .relation-item { display: flex; padding: 10rpx; flex-direction: row; font-size: 28rpx; color: @text-level-3-color; } } .btn-container { position: fixed; bottom: constant(safe-area-inset-bottom) !important; /* 兼容 iOS < 11.2 */ bottom: env(safe-area-inset-bottom) !important; display: flex; flex-direction: row; width: 100%; } .btn-search { display: flex; align-items: center; justify-content: center; flex: auto; }