|
@@ -3,13 +3,6 @@
|
|
|
@lang('gift::app.admin.title')
|
|
@lang('gift::app.admin.title')
|
|
|
</x-slot>
|
|
</x-slot>
|
|
|
|
|
|
|
|
- {{-- 礼品卡列表列宽:第 6 个轨道是「用户邮箱」,给它更宽的空间(改这里的 300px 即可调整宽度) --}}
|
|
|
|
|
- <style>
|
|
|
|
|
- .gift-datagrid .row {
|
|
|
|
|
- grid-template-columns: 50px 70px 110px 110px 130px minmax(300px, 1fr) 160px 100px 140px 170px 80px !important;
|
|
|
|
|
- }
|
|
|
|
|
- </style>
|
|
|
|
|
-
|
|
|
|
|
<v-gift-cards>
|
|
<v-gift-cards>
|
|
|
<!-- DataGrid Shimmer -->
|
|
<!-- DataGrid Shimmer -->
|
|
|
<x-admin::shimmer.datagrid />
|
|
<x-admin::shimmer.datagrid />
|
|
@@ -42,7 +35,6 @@
|
|
|
<x-admin::datagrid
|
|
<x-admin::datagrid
|
|
|
:src="route('admin.gift.index')"
|
|
:src="route('admin.gift.index')"
|
|
|
ref="datagrid"
|
|
ref="datagrid"
|
|
|
- class="gift-datagrid"
|
|
|
|
|
>
|
|
>
|
|
|
<template #body="{
|
|
<template #body="{
|
|
|
isLoading,
|
|
isLoading,
|
|
@@ -90,11 +82,7 @@
|
|
|
<p>@{{ record.remaining_giftcard_amount }}</p>
|
|
<p>@{{ record.remaining_giftcard_amount }}</p>
|
|
|
|
|
|
|
|
<!-- Customer Email -->
|
|
<!-- Customer Email -->
|
|
|
- <p
|
|
|
|
|
- v-html="record.customer_email"
|
|
|
|
|
- :title="record.customer_email ? record.customer_email.replace(/<[^>]*>/g, '') : ''"
|
|
|
|
|
- style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"
|
|
|
|
|
- ></p>
|
|
|
|
|
|
|
+ <p v-html="record.customer_email"></p>
|
|
|
|
|
|
|
|
<!-- Expiration Date -->
|
|
<!-- Expiration Date -->
|
|
|
<p>@{{ record.expirationdate }}</p>
|
|
<p>@{{ record.expirationdate }}</p>
|