Browse Source

fix 訂單內容頁copy function

Dev^2
Janie 2 years ago
parent
commit
6cf78e7e46
  1. 4
      FrontEnd/components/booking/BookingInfo.vue

4
FrontEnd/components/booking/BookingInfo.vue

@ -15,12 +15,12 @@
}}</span> }}</span>
</div> </div>
<div class="tw-flex tw-items-center tw-mb-[11px] md:tw-mb-[18px]"> <div class="tw-flex tw-items-center tw-mb-[11px] md:tw-mb-[18px]">
<div id="copyText" class="tw-body-4 tw-text-neutrals-800 tw-mr-[11px] md:tw-body-3">
<div class="tw-body-4 tw-text-neutrals-800 tw-mr-[11px] md:tw-body-3">
{{ BookingOrder.BookingNo }} {{ BookingOrder.BookingNo }}
</div> </div>
<button <button
class="tw-body-5 tw-py-[4px] tw-px-[10px] tw-rounded-[12px] tw-bg-complementary-3 tw-text-complementary-1 md:tw-body-4 hover:tw-text-[#A0B5FF] no-print" class="tw-body-5 tw-py-[4px] tw-px-[10px] tw-rounded-[12px] tw-bg-complementary-3 tw-text-complementary-1 md:tw-body-4 hover:tw-text-[#A0B5FF] no-print"
@click="copyEvent('copyText')"
@click="copy(BookingOrder.BookingNo)"
> >
{{ $t("Copy") }} {{ $t("Copy") }}
</button> </button>

Loading…
Cancel
Save