Rieko-wang 2 years ago
parent
commit
4c7abc1c3a
  1. 6
      css/style.css
  2. 4
      index.html

6
css/style.css

@ -330,13 +330,15 @@ img {
.billing-list .item { .billing-list .item {
margin-top: -0.3rem; margin-top: -0.3rem;
overflow: hidden;
} }
.billing-list .item .card-l::after { .billing-list .item::after {
content: ""; content: "";
height: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
position: absolute; position: absolute;
left: 1.45rem; left: 1.45rem;
bottom: 0; bottom: 0;
width: calc(100% - 1.45rem);
} }
.card-box { .card-box {
width: 100%; width: 100%;

4
index.html

@ -126,10 +126,10 @@
$("#m1").each(function () { $("#m1").each(function () {
if (this.complete) { if (this.complete) {
console.log('complete', this.height) console.log('complete', this.height)
$('.billing-list').css('paddingTop', this.height + 48) $('.billing-list').css('paddingTop', this.height + 45)
} else { } else {
$($(this)).on('load', function () { $($(this)).on('load', function () {
$('.billing-list').css('paddingTop', this.height + 48) $('.billing-list').css('paddingTop', this.height + 45)
}); });
} }
}); });

Loading…
Cancel
Save