feat 合同中心
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { computed, onBeforeUnmount, ref, watch } from 'vue'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { ElMessage, ElButton } from 'element-plus'
|
||||
import { useFinanceStore } from '@/stores/modules/finance'
|
||||
import type { PayMethod } from '@/types/business/finance'
|
||||
import { createMerchantOrderNo, PAY_METHODS } from '@/utils/payMeta'
|
||||
@@ -172,13 +172,13 @@ onBeforeUnmount(() => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button
|
||||
<el-button
|
||||
class="checkout__cta"
|
||||
:disabled="!canPay"
|
||||
@click="onConfirm"
|
||||
>
|
||||
{{ submitting ? '处理中…' : '确认支付' }}
|
||||
</button>
|
||||
</el-button>
|
||||
|
||||
<p class="checkout__summary-tip">
|
||||
支付完成后订单状态将自动更新
|
||||
@@ -191,9 +191,9 @@ onBeforeUnmount(() => {
|
||||
<p class="checkout__empty-text">
|
||||
未找到待支付账单,请返回账单明细重新选择
|
||||
</p>
|
||||
<button class="checkout__empty-btn" @click="goBack">
|
||||
<el-button class="checkout__empty-btn" @click="goBack">
|
||||
返回账单明细
|
||||
</button>
|
||||
</el-button>
|
||||
</section>
|
||||
|
||||
<WechatQrDialog
|
||||
@@ -283,6 +283,8 @@ onBeforeUnmount(() => {
|
||||
&__cta {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
border: none;
|
||||
padding: 0;
|
||||
border-radius: @radius-round;
|
||||
background: @checkout-cta;
|
||||
color: @white;
|
||||
@@ -329,6 +331,12 @@ onBeforeUnmount(() => {
|
||||
font-size: @font-size-base;
|
||||
}
|
||||
|
||||
:deep(.checkout__empty-btn.el-button) {
|
||||
border: 1px solid @checkout-cta;
|
||||
background: @checkout-card;
|
||||
color: @checkout-cta;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
&__layout {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
|
||||
Reference in New Issue
Block a user