chore: update project files
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="qr-tip">支付前请阅读《XX 付费服务协议》</div>
|
||||
<div class="qr-tip">支付前请阅读《Vionow支付服务条款》</div>
|
||||
</div>
|
||||
|
||||
<!-- 支付提示 -->
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
<!-- 底部链接 -->
|
||||
<div class="footer-link">
|
||||
<a href="#" @click.prevent="showAgreement">《XX 付费服务协议》</a>
|
||||
<a href="#" @click.prevent="showAgreement">《Vionow支付服务条款》</a>
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -84,6 +84,7 @@
|
||||
|
||||
<script setup>
|
||||
import { ref, watch, onUnmounted } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { CreditCard } from '@element-plus/icons-vue'
|
||||
import { createPayment, createAlipayPayment, getPaymentById, testPaymentComplete } from '@/api/payments'
|
||||
@@ -109,6 +110,7 @@ const props = defineProps({
|
||||
|
||||
const emit = defineEmits(['update:modelValue', 'pay-success', 'pay-error'])
|
||||
|
||||
const router = useRouter()
|
||||
const visible = ref(false)
|
||||
const selectedMethod = ref('alipay')
|
||||
const loading = ref(false)
|
||||
@@ -388,7 +390,7 @@ const handleTestPaymentComplete = async () => {
|
||||
|
||||
// 显示协议
|
||||
const showAgreement = () => {
|
||||
ElMessage.info('服务协议页面')
|
||||
router.push('/terms-of-service')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user