zhengyiming
昨天 49bec39b6bfefc5692418c24e59cf76ad0885850
apps/housekeepingMiniApp/src/subpackages/sercice/addStandardOrder/InnerPage.vue
@@ -121,9 +121,9 @@
      @selected="selected"
      exist-address-title="选择地址"
    >
      <template #bottom>
      <template #bottom v-if="!infiniteLoadingProps?.flattenListData?.length">
        <div class="select-address-bottom">
          <nut-button type="primary" @click="goSelectAddress">新增地址</nut-button>
          <nut-button type="primary" @click="goAddAddress">新增地址</nut-button>
        </div>
      </template>
    </nut-address>
@@ -247,6 +247,12 @@
  form.selectAddressVisible = true;
}
function goAddAddress() {
  Taro.navigateTo({
    url: `${RouterPath.editAddress}`,
  });
}
const selected = (prevExistAdd, nowExistAdd, arr) => {
  form.addressId = nowExistAdd.id;
};
@@ -356,5 +362,11 @@
      }
    }
  }
  .select-address-bottom {
    display: flex;
    justify-content: center;
    padding: 40px 0;
  }
}
</style>