feat: add frpc
This commit is contained in:
@@ -120,14 +120,14 @@ onUnmounted(() => {
|
||||
<div class="animate-spin rounded-full h-8 w-8 border-4 border-gray-200 border-t-blue-600"></div>
|
||||
</div>
|
||||
|
||||
<div v-if="article && !article.purchased"
|
||||
<div v-if="article && !article.bought"
|
||||
class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-4">
|
||||
<div class="flex items-center justify-between max-w-md mx-auto">
|
||||
<div class="text-red-600 font-bold text-xl">
|
||||
¥{{ article.price }}
|
||||
<div class="text-orange-600 font-bold text-xl">
|
||||
¥{{ (article.price / 100).toFixed(2) }}
|
||||
</div>
|
||||
<button @click="handleBuy" :disabled="buying"
|
||||
class="bg-blue-600 text-white px-8 py-3 rounded-full hover:bg-blue-700 active:bg-blue-800 transition-colors disabled:opacity-50">
|
||||
class="bg-orange-600 text-white px-8 py-3 rounded-full hover:bg-orange-500 active:bg-orange-600 transition-colors disabled:opacity-50">
|
||||
<span v-if="buying">处理中...</span>
|
||||
<span v-else>立即购买</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user