按钮在弹窗内与「立即兑换」等宽,加上图标后文字被挤得偏紧。 按需求去掉 ShoppingCart 图标(图标导入仍被页面其他两处使用,保留), 文字由 text-sm font-semibold 调为 text-xs font-medium, 并加 px-2 避免文字贴边,整体更舒展。 npm run build 与 vue-tsc 均通过。
This commit is contained in:
@@ -790,11 +790,10 @@ async function handleRedeemInvite() {
|
||||
<!-- 没有 CDK 时直接去购买:等价于点击外层的「购买 CDK 兑换码」入口 -->
|
||||
<button
|
||||
type="button"
|
||||
class="press cdk-goto-btn flex-1 h-10 rounded-xl text-sm font-semibold flex items-center justify-center gap-1.5"
|
||||
class="press cdk-goto-btn flex-1 h-10 rounded-xl text-xs font-medium flex items-center justify-center px-2"
|
||||
@click="onBuyFromRedeemModal"
|
||||
>
|
||||
<ShoppingCart class="w-4 h-4 flex-shrink-0" />
|
||||
<span>没有 CDK?立即购买</span>
|
||||
没有 CDK?立即购买
|
||||
</button>
|
||||
<Button
|
||||
class="flex-1 h-10 text-sm font-medium"
|
||||
|
||||
Reference in New Issue
Block a user