|
@@ -0,0 +1,274 @@
|
|
|
+<template>
|
|
|
+ <view class="winnerContent">
|
|
|
+ <image class="backImage" :src="imgObj.backImg" mode="scaleToFill" />
|
|
|
+ <view class="content">
|
|
|
+ <view class="floatWindow">
|
|
|
+ <image :src="imgObj.rule" mode="scaleToFill" />
|
|
|
+ <image :src="imgObj.record" mode="scaleToFill" />
|
|
|
+ </view>
|
|
|
+ <view class="recordBox">
|
|
|
+ <view @click="showExample = true">
|
|
|
+ <text>拍照示例</text>
|
|
|
+ <image :src="imgObj.photo" mode="scaleToFill" />
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <text>上传记录</text>
|
|
|
+ <image :src="imgObj.book" mode="scaleToFill" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="uploadBox">
|
|
|
+ <view class="count">您还有0次奖励机会</view>
|
|
|
+ <view @click="showUpload = true" class="btnBox">
|
|
|
+ <image :src="gifObj.pointer" />
|
|
|
+ </view>
|
|
|
+ <view class="tip"
|
|
|
+ >上传有效购物小票,72小时内审核成功后,即可获得奖励</view
|
|
|
+ >
|
|
|
+ </view>
|
|
|
+ <view class="activityTimeBox">
|
|
|
+ <text class="bigTitle">活动时间</text>
|
|
|
+ <view class="timeBox">
|
|
|
+ <text>2025.03.01-2025.03.31 </text>
|
|
|
+ <text>限指定门店、指定商品使用</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="goodsListBox">
|
|
|
+ <!-- <image :src="imgObj.square" class="square" /> -->
|
|
|
+ <view class="square">
|
|
|
+ <text class="bigTitle title">商品列表</text>
|
|
|
+ </view>
|
|
|
+ <view class="goodsList">
|
|
|
+ <view v-for="item in 6" :key="item" class="goodsItem">
|
|
|
+ <text class="money">8元</text>
|
|
|
+ <text class="content">满25返8</text>
|
|
|
+ <text class="name">满返红包</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <wd-gap bg-color="transparent"></wd-gap>
|
|
|
+ <photo-example-popup v-model:show="showExample"></photo-example-popup>
|
|
|
+ <upload-recept-popop v-model:show="showUpload"></upload-recept-popop>
|
|
|
+ <win-record-popup v-model:show="showRecord"></win-record-popup>
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup lang="ts">
|
|
|
+import { ref } from "vue";
|
|
|
+import { imgObj, gifObj } from "./utils/source";
|
|
|
+import PhotoExamplePopup from "./components/photoExamplePopup.vue";
|
|
|
+import UploadReceptPopop from "./components/uploadReceptPopop.vue";
|
|
|
+import WinRecordPopup from "./components/winRecordPopup.vue";
|
|
|
+let showExample = ref<boolean>(false);
|
|
|
+let showUpload = ref<boolean>(false);
|
|
|
+let showRecord = ref<boolean>(false);
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.winnerContent {
|
|
|
+ width: 100%;
|
|
|
+ min-height: 2524rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ box-sizing: border-box;
|
|
|
+ position: relative;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ .content {
|
|
|
+ width: 96%;
|
|
|
+ margin: auto;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ .backImage {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ z-index: -1;
|
|
|
+ }
|
|
|
+ .floatWindow {
|
|
|
+ position: fixed;
|
|
|
+ z-index: 10;
|
|
|
+ right: 0;
|
|
|
+ top: 240rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ image {
|
|
|
+ width: 158rpx;
|
|
|
+ height: 48rpx;
|
|
|
+ margin-bottom: 24rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .recordBox {
|
|
|
+ // width: 100%;
|
|
|
+ height: 192rpx;
|
|
|
+ border-radius: 32rpx;
|
|
|
+ background: linear-gradient(
|
|
|
+ 90deg,
|
|
|
+ #225036 0%,
|
|
|
+ #3b8e5e 45.92%,
|
|
|
+ #3d8f5f 100%
|
|
|
+ );
|
|
|
+ padding: 24rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-top: 974rpx;
|
|
|
+ align-items: center;
|
|
|
+ box-sizing: border-box;
|
|
|
+ > view {
|
|
|
+ width: 306rpx;
|
|
|
+ height: 144rpx;
|
|
|
+ background: linear-gradient(180deg, #e5fff6 0%, #ffffff 100%);
|
|
|
+ border-radius: 24rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ image {
|
|
|
+ width: 92rpx;
|
|
|
+ height: 92rpx;
|
|
|
+ margin-left: 22rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .uploadBox {
|
|
|
+ color: #c0630f;
|
|
|
+ margin-top: 32rpx;
|
|
|
+ .count {
|
|
|
+ width: 50%;
|
|
|
+ color: #c0630f;
|
|
|
+ font-size: 24rpx;
|
|
|
+ background: linear-gradient(
|
|
|
+ 90deg,
|
|
|
+ #ffcd70 0%,
|
|
|
+ #ffe3b6 45.92%,
|
|
|
+ #fcc761 100%
|
|
|
+ );
|
|
|
+
|
|
|
+ border-top-left-radius: 16rpx;
|
|
|
+ border-top-right-radius: 16rpx;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 50rpx;
|
|
|
+ margin: auto;
|
|
|
+ margin-bottom: -2rpx;
|
|
|
+ }
|
|
|
+ .btnBox {
|
|
|
+ width: 100%;
|
|
|
+ height: 178rpx;
|
|
|
+ background: url("https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/uploadBtn.png")
|
|
|
+ no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ object-fit: cover;
|
|
|
+ position: relative;
|
|
|
+ image {
|
|
|
+ width: 150rpx;
|
|
|
+ height: 150rpx;
|
|
|
+ position: absolute;
|
|
|
+ right: -20rpx;
|
|
|
+ bottom: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tip {
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 6rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .bigTitle {
|
|
|
+ font-size: 44rpx;
|
|
|
+ font-weight: 700;
|
|
|
+ letter-spacing: 12rpx;
|
|
|
+ font-family: Alimama ShuHeiTi;
|
|
|
+ color: transparent;
|
|
|
+ background: linear-gradient(0deg, #fff6d8 0%, #ffffff 100%);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ display: inline-block;
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 12rpx;
|
|
|
+ // transform: translateX(-50%);
|
|
|
+ // margin-left: 200rpx;
|
|
|
+ }
|
|
|
+ .activityTimeBox {
|
|
|
+ width: 100%;
|
|
|
+ height: 210rpx;
|
|
|
+ background: url("https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/activeBg.png")
|
|
|
+ no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ margin-top: 32rpx;
|
|
|
+
|
|
|
+ .timeBox {
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #333;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 20rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #333;
|
|
|
+
|
|
|
+ > text {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .goodsListBox {
|
|
|
+ background: url("https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/goodsBg.png")
|
|
|
+ no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ padding: 100rpx 50rpx;
|
|
|
+ height: 764rpx;
|
|
|
+ position: relative;
|
|
|
+ margin-top: 64rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ .square {
|
|
|
+ width: 59%;
|
|
|
+ height: 88rpx;
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ top: -68rpx;
|
|
|
+ margin: auto;
|
|
|
+ z-index: 0;
|
|
|
+ background: url("https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/square.png")
|
|
|
+ no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ margin-top: 32rpx;
|
|
|
+ }
|
|
|
+ .title {
|
|
|
+ position: absolute;
|
|
|
+ z-index: 99;
|
|
|
+ }
|
|
|
+ .goodsList {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
+ .goodsItem {
|
|
|
+ width: 172rpx;
|
|
|
+ height: 204rpx;
|
|
|
+ background: url("https://qiuyu-daodian.oss-cn-beijing.aliyuncs.com/images/redBag.png")
|
|
|
+ no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ position: relative;
|
|
|
+ margin-bottom: 40rpx;
|
|
|
+ > text {
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .money {
|
|
|
+ color: #c0630f;
|
|
|
+ font-size: 48rpx;
|
|
|
+ top: 20rpx;
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ color: #224f36;
|
|
|
+ font-size: 24rpx;
|
|
|
+ top: 88rpx;
|
|
|
+ }
|
|
|
+ .name {
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 28rpx;
|
|
|
+ bottom: 24rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|