<template>
  <view class="Mall4j page-delivery-certificate">
    <view class="address-box item">
      <view class="name">
        <text class="self-icon">
          自提
        </text>自提点名称
      </view>
      <view class="a-item">
        <view class="label">
          地址：
        </view>
        <view class="text">
          广东省广州市番禺区小谷围街道滋味中西美食
        </view>
      </view>
      <view class="a-item">
        <view class="label">
          时间：
        </view>
        <view class="text">
          07月10日 18:00-19:00
        </view>
      </view>
    </view>
    <view class="code-det item">
      <view class="bar-code">
        <image src="/static/img/bar-code.jpg" />
      </view>
      <view class="code-number">
        提货码：890509970112
      </view>
      <view class="code">
        <image src="/static/img/code.png" />
      </view>
    </view>
    <view class="btn-box">
      <view
        class="btn"
        @tap="onBackOrderDetail"
      >
        返回订单详情
      </view>
    </view>
  </view>
</template>

<script setup>

// 返回详情
const onBackOrderDetail = () => {
  uni.navigateTo({
    url: '/package-user/pages/order-detail/order-detail'
  })
}

</script>

<style lang="scss"  scoped>
@use './delivery-certificate.scss';
</style>
