| | |
| | | <view class="activity-content"> |
| | | <!-- 活动图标(使用接口返回的 activityCoverUrl) --> |
| | | <view class="activity-icon"> |
| | | <image :src="prizeActivity.activityCoverUrl" mode="widthFix"></image> |
| | | <view class="floating-btn-content"> |
| | | <text class="floating-btn-icon">🎁</text> |
| | | <text class="floating-btn-text">抽奖活动</text> |
| | | </view> |
| | | |
| | | <!-- <image :src="prizeActivity.activityCoverUrl" mode="aspectFit"></image>--> |
| | | </view> |
| | | <!-- 活动信息(名称、描述、倒计时) --> |
| | | <view class="activity-info"> |
| | |
| | | import storage from '@/utils/storage.js' |
| | | import { getSessionId, userAction } from "@/api/userAction.js"; |
| | | import {getONPrizeActivity} from "@/api/prize-activity"; |
| | | import UIcon from "../../subComponents/uview-components/uview-ui/components/u-icon/u-icon.vue"; |
| | | |
| | | export default { |
| | | components: { |
| | | UIcon, |
| | | tool |
| | | }, |
| | | data() { |
| | |
| | | body { |
| | | overflow: auto; |
| | | } |
| | | |
| | | .floating-btn-content { |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: center; |
| | | z-index: 1; |
| | | position: relative; |
| | | } |
| | | .floating-btn-icon { |
| | | font-size: 70rpx; |
| | | color: white; |
| | | filter: drop-shadow(0 2rpx 4rpx rgba(0, 0, 0, 0.2)); |
| | | margin-bottom: 5rpx; |
| | | } |
| | | .floating-btn-text { |
| | | font-size: 20rpx; |
| | | color: white; |
| | | z-index: 1; |
| | | position: relative; |
| | | text-shadow: 0 1rpx 3rpx rgba(0, 0, 0, 0.2); |
| | | white-space: nowrap; |
| | | } |
| | | .member-gradient-bg { |
| | | width: 98%; |
| | | height: 250rpx; |