<template>
  <view>
    <view class="top">
      <up-navbar
        bg-color="transparent"
        title="分销中心"
        @leftClick="back"
        :fixed="false"
      ></up-navbar>
      <image class="top_bg" src="/distribution/static/top_bg.png"></image>
      <view class="top_content"></view>
    </view>
  </view>
</template>

<script setup>
function back() {
  uni.navigateBack({
    delta: 1,
  });
}
</script>

<style scoped lang="scss">
.top{
    position: relative;
    .top_content{
        position: absolute;
        left: 28rpx;
        right: 28rpx;
        bottom: 0;
        padding: 32rpx 28rpx;
    }
}
.top_bg {
  width: 100%;
  height: 530rpx;
}
</style>