feat: h5 style

This commit is contained in:
Alisa | Side.one 2023-06-02 13:45:09 +08:00
parent 5c1e308634
commit e66ebe4a2e

View File

@ -342,12 +342,15 @@ const tipMsg = computed(() => {
<div class="h-100"> <div class="h-100">
<CommissionRate :commission="v.commission"></CommissionRate> <CommissionRate :commission="v.commission"></CommissionRate>
</div> </div>
<div class="h-100 bg-base-100 rounded shadow relative"> <div class="h-100 bg-base-100 rounded shadow relative overflow-auto">
<div class="text-lg font-semibold text-main px-4 pt-4"> <div class="text-lg font-semibold text-main px-4 pt-4">
Commissions & Rewards Commissions & Rewards
</div> </div>
<div class="px-4 mt-1"> <div
<div class="overflow-auto" style="max-height: 280px"> class="px-4 mt-1 flex flex-col justify-between pb-4"
style="height: calc(100% - 50px)"
>
<div class="overflow-auto flex-1">
<div class="text-sm mb-2">Commissions</div> <div class="text-sm mb-2">Commissions</div>
<div <div
v-for="(i, k) in commission" v-for="(i, k) in commission"
@ -368,7 +371,7 @@ const tipMsg = computed(() => {
{{ format.formatToken2(i) }} {{ format.formatToken2(i) }}
</div> </div>
</div> </div>
<div class="absolute bottom-6 left-0 right-0 px-4"> <div class="">
<label <label
for="withdraw_commission" for="withdraw_commission"
class="btn btn-primary w-full" class="btn btn-primary w-full"
@ -382,7 +385,7 @@ const tipMsg = computed(() => {
</div> </div>
</div> </div>
</div> </div>
<div class="h-100 bg-base-100 rounded shadow"> <div class="h-100 bg-base-100 rounded shadow overflow-x-auto">
<div class="px-4 pt-4 mb-2 text-main font-lg font-semibold"> <div class="px-4 pt-4 mb-2 text-main font-lg font-semibold">
Addresses Addresses
</div> </div>