<script setup></script>

<template>
  <view class="share-box">
    <nav-bar title="拼单" targetColor="transparent"></nav-bar>
    <view class="code-box">
      <view class="code-content">
        <view class="code">二维码</view>
        <view class="btn-box">
          <text>分享二维码</text>
          <text>保存到本地</text>
        </view>
      </view>
    </view>
  </view>
</template>

<style lang="scss" scoped>
  .share-box {
    height: 100vh;
    width: 100vw;
    // 导入背景图
    background: url('/static/images/discover/share-bg.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;

    .code-box {
      padding-top: 20vh;
      display: flex;
      justify-content: center;

      .code-content {
        width: 560rpx;
        height: 618rpx;
        background: linear-gradient(0deg, #00d993 0%, #00d9c5 100%);
        border-radius: 32rpx;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .code {
          width: 332rpx;
          height: 332rpx;
          background: rgb(202, 118, 118);
        }
        .btn-box {
          margin-top: 60rpx;
          width: 332rpx;
          display: flex;
          justify-content: space-between;
          font-weight: bold;
          font-size: 28rpx;
          color: #ffffff;
        }
      }
    }
  }
</style>
