<template>
  <view class="page-container">
    <view class="header">
      <view @click="goBack" class="back-btn">
        <image
          class="back-icon"
          src="https://static.ticket.sz-trip.com/epicSoul/taozi/back.png"
          mode="aspectFill"
        ></image>
      </view>
    </view>
    <image
      class="tag-image"
      :src="showImg('/uploads/20250802/7ae3b8496972e4786109ea94c8495458.png')"
      mode="aspectFill"
    ></image>
    <image
      style="
        width: 361rpx;
        position: absolute;
        z-index: 2;
        top: 355rpx;
        left: 190rpx;
      "
      :src="showImg('/uploads/20250802/43e0745f7aa490c80dee88d6394ef35b.png')"
      mode="widthFix"
    ></image>
    <image
      @click="toBuy"
      style="
        position: absolute;
        bottom: 217rpx;
        width: 456rpx;
        left: 146rpx;
        z-index: 9;
      "
      :src="showImg('/uploads/20250802/a0c7c45de62ec0d5bd6163b30932e1e3.png')"
      mode="widthFix"
    ></image>
  </view>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    toBuy() {
      uni.navigateTo({
        url: "./secBuy?type=4",
      });
    },
    goBack() {
      uni.navigateBack();
    },
  },
};
</script>

<style lang="scss" scoped>
.header {
  display: flex;
  align-items: center;
  padding: 50rpx 30rpx 30rpx;
  position: relative;
}

.back-btn {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 80rpx;
  height: 80rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-icon {
  width: 50rpx;
  height: 50rpx;
}

.title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48rpx;
  font-weight: bold;
  color: white;
}

.tag-image {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
}

.description {
  text-align: center;
}

.desc-text {
  font-size: 36rpx;
  color: white;
  line-height: 1.6;
}
</style>
