wupengfei
8 小时以前 d7116672ea36e413309f4cd0e85eaa5fff5d5b8b
apps/housekeepingMiniApp/src/subpackages/sercice/addStandardOrder/InnerPage.vue
@@ -90,9 +90,9 @@
        </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"
@@ -273,12 +273,12 @@
    };
    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,
@@ -316,17 +316,19 @@
    }
  }
  .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>