chore: remove wechat remnants
This commit is contained in:
@@ -146,27 +146,8 @@ const login = async () => {
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<div class="mt-8">
|
||||
<div class="relative">
|
||||
<div class="absolute inset-0 flex items-center">
|
||||
<div class="w-full border-t border-slate-200"></div>
|
||||
</div>
|
||||
<div class="relative flex justify-center text-sm">
|
||||
<span class="px-2 bg-white text-slate-500">其他方式登录</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-6 flex justify-center gap-6">
|
||||
<button
|
||||
class="w-10 h-10 rounded-full bg-slate-50 border border-slate-200 flex items-center justify-center hover:bg-slate-100 text-green-600"
|
||||
>
|
||||
<i class="pi pi-wechat text-xl"></i>
|
||||
</button>
|
||||
<button
|
||||
class="w-10 h-10 rounded-full bg-slate-50 border border-slate-200 flex items-center justify-center hover:bg-slate-100 text-slate-800"
|
||||
>
|
||||
<i class="pi pi-github text-xl"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="mt-8 text-center text-xs text-slate-400">
|
||||
当前仅支持手机验证码登录
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -382,7 +382,7 @@ const likeComment = async (comment) => {
|
||||
>
|
||||
<i class="pi pi-lock"></i> 购买解锁全文 ¥ {{ content.price }}
|
||||
</button>
|
||||
<p class="text-xs text-slate-400 mt-3">支持微信 / 支付宝</p>
|
||||
<p class="text-xs text-slate-400 mt-3">支持支付宝</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -276,7 +276,7 @@ const confirmRefund = async () => {
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<span class="text-slate-500">支付方式</span>
|
||||
<span>微信支付</span>
|
||||
<span>支付宝</span>
|
||||
</div>
|
||||
<div class="flex justify-between pt-2 border-t border-slate-200">
|
||||
<span class="font-bold text-slate-900">实付</span>
|
||||
|
||||
@@ -12,7 +12,7 @@ const orderId = route.params.id || "82934712";
|
||||
const amount = "9.90"; // Should fetch order details first
|
||||
const productName = "《霸王别姬》全本实录珍藏版";
|
||||
|
||||
const paymentMethod = ref("wechat");
|
||||
const paymentMethod = ref("alipay");
|
||||
const timeLeft = ref(900); // 15 minutes
|
||||
const isScanning = ref(false);
|
||||
const isSuccess = ref(false);
|
||||
@@ -20,7 +20,7 @@ let timer = null;
|
||||
let pollTimer = null;
|
||||
|
||||
const paymentMethodName = computed(() => {
|
||||
return paymentMethod.value === "wechat" ? "微信" : "支付宝";
|
||||
return paymentMethod.value === "alipay" ? "支付宝" : "余额";
|
||||
});
|
||||
|
||||
const formatTime = (seconds) => {
|
||||
@@ -114,31 +114,6 @@ onUnmounted(() => {
|
||||
<div class="space-y-4">
|
||||
<h3 class="font-bold text-slate-900 mb-4">选择支付方式</h3>
|
||||
|
||||
<label
|
||||
class="flex items-center gap-4 p-4 border rounded-xl cursor-pointer transition-all relative overflow-hidden"
|
||||
:class="
|
||||
paymentMethod === 'wechat'
|
||||
? 'border-green-500 bg-green-50/30 ring-1 ring-green-500'
|
||||
: 'border-slate-200 hover:border-slate-300'
|
||||
"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
v-model="paymentMethod"
|
||||
value="wechat"
|
||||
class="hidden"
|
||||
/>
|
||||
<i class="pi pi-wechat text-3xl text-green-600"></i>
|
||||
<div class="flex-1">
|
||||
<div class="font-bold text-slate-900">微信支付</div>
|
||||
<div class="text-xs text-slate-500">推荐使用</div>
|
||||
</div>
|
||||
<i
|
||||
v-if="paymentMethod === 'wechat'"
|
||||
class="pi pi-check-circle text-green-600 text-xl"
|
||||
></i>
|
||||
</label>
|
||||
|
||||
<label
|
||||
class="flex items-center gap-4 p-4 border rounded-xl cursor-pointer transition-all"
|
||||
:class="
|
||||
|
||||
@@ -12,7 +12,7 @@ const customAmount = ref("");
|
||||
const balance = ref(0);
|
||||
const transactions = ref([]);
|
||||
const loading = ref(false);
|
||||
const paymentMethod = ref("wechat");
|
||||
const paymentMethod = ref("alipay");
|
||||
|
||||
const displayAmount = computed(() => {
|
||||
return customAmount.value
|
||||
@@ -152,17 +152,6 @@ onMounted(() => {
|
||||
|
||||
<h3 class="font-bold text-slate-900 mb-4">支付方式</h3>
|
||||
<div class="flex gap-4 mb-8">
|
||||
<button
|
||||
@click="paymentMethod = 'wechat'"
|
||||
class="flex items-center gap-2 px-6 py-3 border-2 rounded-lg font-medium cursor-pointer active:scale-95 transition-transform"
|
||||
:class="
|
||||
paymentMethod === 'wechat'
|
||||
? 'border-blue-600 bg-blue-50 text-blue-700'
|
||||
: 'border-slate-200 text-slate-600 hover:bg-white hover:border-slate-300'
|
||||
"
|
||||
>
|
||||
<i class="pi pi-wechat text-xl text-green-600"></i> 微信支付
|
||||
</button>
|
||||
<button
|
||||
@click="paymentMethod = 'alipay'"
|
||||
class="flex items-center gap-2 px-6 py-3 border-2 rounded-lg font-medium cursor-pointer active:scale-95 transition-transform"
|
||||
|
||||
Reference in New Issue
Block a user