<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/4ebbbcdd49f7ee5add822d22e4071b1c.png')"
      mode="aspectFill"
    ></image>
    <image
      style="
        width: 561rpx;
        position: absolute;
        z-index: 2;
        bottom: 463rpx;
        left: 97rpx;
      "
      :src="showImg('/uploads/20250802/74e49ad04e83921783fcc2072677da88.png')"
      mode="widthFix"
    ></image>
    <image
      @click="toBuy"
      style="
        position: absolute;
        bottom: 217rpx;
        width: 456rpx;
        left: 146rpx;
        z-index: 9;
      "
      :src="showImg('/uploads/20250802/bc5905a9ddebeb3833429c95b9b0d967.png')"
      mode="widthFix"
    ></image>
  </view>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    toBuy() {
      uni.navigateTo({
        url: "./secBuy?type=3",
      });
    },
    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>
