收口彩票弹窗悬停样式
This commit is contained in:
@@ -27,6 +27,23 @@
|
|||||||
.lottery-clear-selection:hover {
|
.lottery-clear-selection:hover {
|
||||||
background: #f3f4f6 !important;
|
background: #f3f4f6 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 彩票弹窗通用操作按钮 hover 态,减少模板内联事件。 */
|
||||||
|
.lottery-panel-close:hover {
|
||||||
|
opacity: 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lottery-submit-cart:hover {
|
||||||
|
opacity: .88 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lottery-panel-refresh:hover {
|
||||||
|
background: #dbeafe !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lottery-panel-bottom-close:hover {
|
||||||
|
background: #f3f4f6 !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{{-- ─── 彩票面板遮罩 ─── --}}
|
{{-- ─── 彩票面板遮罩 ─── --}}
|
||||||
@@ -67,9 +84,8 @@
|
|||||||
x-text="'距开奖 ' + countdownText">
|
x-text="'距开奖 ' + countdownText">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span data-lottery-panel-close
|
<span data-lottery-panel-close class="lottery-panel-close"
|
||||||
style="cursor:pointer; font-size:20px; color:#fff; opacity:.8; line-height:1; margin-left:12px;"
|
style="cursor:pointer; font-size:20px; color:#fff; opacity:.8; line-height:1; margin-left:12px;">×</span>
|
||||||
onmouseover="this.style.opacity=1" onmouseout="this.style.opacity=.8">×</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{-- ─── 内容区(可滚动)─── --}}
|
{{-- ─── 内容区(可滚动)─── --}}
|
||||||
@@ -275,13 +291,11 @@
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
{{-- 确认购买 --}}
|
{{-- 确认购买 --}}
|
||||||
<button @click="submitCart()"
|
<button @click="submitCart()" class="lottery-submit-cart"
|
||||||
:disabled="buying"
|
:disabled="buying"
|
||||||
style="margin-top:8px; width:100%; padding:10px 0; border-radius:10px; font-size:13px;
|
style="margin-top:8px; width:100%; padding:10px 0; border-radius:10px; font-size:13px;
|
||||||
font-weight:bold; background:linear-gradient(135deg,#dc2626,#b91c1c);
|
font-weight:bold; background:linear-gradient(135deg,#dc2626,#b91c1c);
|
||||||
color:#fff; border:none; cursor:pointer; transition:all .15s; font-family:inherit;"
|
color:#fff; border:none; cursor:pointer; transition:all .15s; font-family:inherit;">
|
||||||
onmouseover="this.style.opacity='0.88'"
|
|
||||||
onmouseout="this.style.opacity='1'">
|
|
||||||
<span x-text="buying ? '⏳ 购买中…' : '✅ 确认购买(' + cart.length + ' 注)'"></span>
|
<span x-text="buying ? '⏳ 购买中…' : '✅ 确认购买(' + cart.length + ' 注)'"></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -374,18 +388,16 @@
|
|||||||
<div
|
<div
|
||||||
style="padding:10px 14px; background:#fff; border-top:1px solid #fee2e2;
|
style="padding:10px 14px; background:#fff; border-top:1px solid #fee2e2;
|
||||||
display:flex; justify-content:space-between; align-items:center; flex-shrink:0;">
|
display:flex; justify-content:space-between; align-items:center; flex-shrink:0;">
|
||||||
<button @click="loadData()"
|
<button @click="loadData()" class="lottery-panel-refresh"
|
||||||
style="padding:9px 18px; border-radius:20px; font-size:12px; font-weight:bold;
|
style="padding:9px 18px; border-radius:20px; font-size:12px; font-weight:bold;
|
||||||
background:#f0f6ff; color:#336699; border:1.5px solid #c0d8ef;
|
background:#f0f6ff; color:#336699; border:1.5px solid #c0d8ef;
|
||||||
cursor:pointer; transition:all .15s; font-family:inherit;"
|
cursor:pointer; transition:all .15s; font-family:inherit;">
|
||||||
onmouseover="this.style.background='#dbeafe'" onmouseout="this.style.background='#f0f6ff'">
|
|
||||||
🔄 刷新
|
🔄 刷新
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-lottery-panel-close
|
<button type="button" data-lottery-panel-close class="lottery-panel-bottom-close"
|
||||||
style="padding:9px 18px; border-radius:20px; font-size:12px; font-weight:bold;
|
style="padding:9px 18px; border-radius:20px; font-size:12px; font-weight:bold;
|
||||||
background:#f9fafb; color:#6b7280; border:1.5px solid #e5e7eb;
|
background:#f9fafb; color:#6b7280; border:1.5px solid #e5e7eb;
|
||||||
cursor:pointer; transition:all .15s; font-family:inherit;"
|
cursor:pointer; transition:all .15s; font-family:inherit;">
|
||||||
onmouseover="this.style.background='#f3f4f6'" onmouseout="this.style.background='#f9fafb'">
|
|
||||||
关闭
|
关闭
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user