xy 2 years ago
parent 674924260a
commit 1e121c2963

@ -174,6 +174,21 @@
height: 100%;
width: 100%;
}
.type-switch {
display: flex;
}
.type-switch .type-switch__item {
position: relative;
}
.type-switch .type-switch__item > input {
opacity: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>
@endpush
@ -250,9 +265,22 @@
<div class="card1">
<div class="card1-title">
<div>营收</div>
<div class="type-switch">
<div class="type-switch__item">
<input type="radio" name="type-switch" value="1">
<div>营收</div>
</div>
<div class="type-switch__item">
<input type="radio" name="type-switch" value="2">
<div>订单量</div>
</div>
</div>
<div>
<span class="card1-title__arrow">更多</span>
<select class="form-control" name="month" onchange="$(this).closest('form').submit()">
@foreach($months as $mm)
<option value="{{$mm}}" @if($mm == $month) {{ "selected" }}@endif>{{$mm}}</option>
@endforeach
</select>
</div>
</div>
<div class="card1-body">

Loading…
Cancel
Save