/* components/path-view/path-view.wxss */ .path { display: flex; padding: 0 0 0 10px; } .path { min-height: 30px; flex-wrap: wrap; } .path .btn { margin-right: 20px; margin-bottom: 10px; padding: 0 5px; height: 20px; border-radius: 2px; background: #4b0; color: #fff; font-size: 10px; line-height: 20px; } .list-view { width: 100%; } .list-view-item { position: relative; display: flex; flex-direction: row; box-sizing: border-box; margin-top: -1px; width: 100%; height: 40px; border: 1px solid #e5e5e5; border-radius: 3px; } .list-view-item .title { padding-left: 20rpx; font-size: 14px; line-height: 40px; } .list-view-item .tip { font-size: 10px; line-height: 40px; } .list-view-item .btn { position: absolute; top: 7px; right: 20rpx; padding: 0 5px; height: 25px; border-radius: 3px; background: #4b0; color: #fff; font-size: 14px; line-height: 25px; }