| | |
| | | </nut-form-item> |
| | | </nut-form> |
| | | </ContentScrollView> |
| | | <PageFooter> |
| | | <div class="addStandardOrder-price-wrapper"> |
| | | <div class="addStandardOrder-price-text">支付:</div> |
| | | <PageFooter class="order-settle-bar"> |
| | | <div class="order-settle-price-wrapper"> |
| | | <div class="order-settle-price-label">支付:</div> |
| | | <nut-price :price="totlePrice" size="large" /> |
| | | </div> |
| | | <PageFooterBtn type="primary" class="business-card-btn" @click="goConfirm" |
| | |
| | | }; |
| | | let res = await standardOrderServices.addStandardOrder(params); |
| | | if (res) { |
| | | pay(res); |
| | | payStandardOrder(res); |
| | | } |
| | | } catch (error) {} |
| | | } |
| | | |
| | | async function pay(orderId: string) { |
| | | async function payStandardOrder(orderId: string) { |
| | | try { |
| | | let params: API.PayStandardOrderCommand = { |
| | | id: orderId, |
| | |
| | | } |
| | | } |
| | | |
| | | .addStandardOrder-price-wrapper { |
| | | display: flex; |
| | | flex: 2; |
| | | .order-settle-bar { |
| | | .order-settle-price-wrapper { |
| | | height: 100%; |
| | | flex: 1; |
| | | min-width: 0; |
| | | display: flex; |
| | | align-items: center; |
| | | padding-left: 28px; |
| | | margin-left: 28px; |
| | | |
| | | .addStandardOrder-price-text { |
| | | font-size: 32px; |
| | | .order-settle-price-label { |
| | | color: boleGetCssVar('text-color', 'primary'); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |