1.修改抽奖活动页面

yj-dev
杨杰 3 years ago
parent b1210d7b96
commit 2da167844e
  1. 4
      pages.json
  2. 41
      subPages/lottery/lottery.vue
  3. BIN
      subPages/static/head.jpg

@ -473,8 +473,8 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarTitleText": "抽奖活动", "navigationBarTitleText": "抽奖活动",
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#FF893F", "navigationBarBackgroundColor": "#e62601",
"backgroundColorTop": "#FF893F", "backgroundColorTop": "#e62601",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }

@ -1,10 +1,10 @@
<template> <template>
<view class="almost-lottery"> <view class="almost-lottery">
<!-- head --> <!-- head -->
<image src="../static/lottery/top-bg@3x.jpg" mode="widthFix" class="width100"></image> <image src="../static/head.jpg" mode="widthFix" class="width100"></image>
<view class="almost-lottery__wheel"> <view class="almost-lottery__wheel">
<almost-lottery :lottery-size="lotteryConfig.lotterySize" :action-size="lotteryConfig.actionSize" <almost-lottery :lottery-size="lotteryConfig.lotterySize" :action-size="lotteryConfig.actionSize"
:ring-count="2" :duration="1" :prize-list="prizeList" :prize-index="prizeIndex" :ring-count="2" :duration="3" :prize-list="prizeList" :prize-index="prizeIndex"
@reset-index="prizeIndex = -1" @draw-start="handleDrawStart" @draw-end="handleDrawEnd" @reset-index="prizeIndex = -1" @draw-start="handleDrawStart" @draw-end="handleDrawEnd"
@finish="handleDrawFinish" v-if="prizeList.length" /> @finish="handleDrawFinish" v-if="prizeList.length" />
</view> </view>
@ -14,8 +14,8 @@
<text class="title">中奖名单</text> <text class="title">中奖名单</text>
<view class="line"></view> <view class="line"></view>
</view> </view>
<!--
<view style="height: 40px;"> <!-- <view style="height: 40px;">
<view class="page-section swiper"> <view class="page-section swiper">
<view class="page-section-spacing"> <view class="page-section-spacing">
<swiper class="swiper" vertical="true" :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration"> <swiper class="swiper" vertical="true" :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration">
@ -40,14 +40,28 @@
</view> </view>
<view class="rule-body"> <view class="rule-body">
<view class="item"> <view class="item">
<view class="number">1</view> <view class="number">1.</view>
<view class="text">
<text>活动时间</text>
<text>10.1-10.31</text>
</view>
</view>
<view class="item">
<view class="number">2.</view>
<view class="text"> <view class="text">
<text>抽奖细则</text> <text>参与对象</text>
<text>每人每天拥有{{ freeNumDay }}次抽奖机会每次消耗{{ goldNum }}金币</text> <text>重庆地区使用中石化码商加油的客户</text>
</view>
</view>
<view class="item">
<view class="number">3.</view>
<view class="text">
<text>参与规则</text>
<text>使用码商加油券的用户活动期间内每使用一次就可以获得一次抽奖机会</text>
</view> </view>
</view> </view>
<view class="item item-rule"> <view class="item item-rule">
<view class="number">2</view> <view class="number">4.</view>
<view class="text"> <view class="text">
<text>奖励说明</text> <text>奖励说明</text>
<text style="margin-top: 1px;">1.一等奖1000元加油券(4)</text> <text style="margin-top: 1px;">1.一等奖1000元加油券(4)</text>
@ -56,7 +70,14 @@
<text style="margin-top: 1px;">4.参与奖20元(200-20)抵扣券(2000)</text> <text style="margin-top: 1px;">4.参与奖20元(200-20)抵扣券(2000)</text>
</view> </view>
</view> </view>
<template> <view class="item">
<view class="number">5.</view>
<view class="text">
<text>奖品兑换</text>
<text>中奖产品自动放入系统卡包在我的-我的优惠券中查看90天内有效</text>
</view>
</view>
<!-- <template>
<view class="item"> <view class="item">
<view class="number">3</view> <view class="number">3</view>
<view class="text">本次活动由XXXXXXX发起与Apple.Inc无关</view> <view class="text">本次活动由XXXXXXX发起与Apple.Inc无关</view>
@ -73,7 +94,7 @@
<view class="number">6</view> <view class="number">6</view>
<view class="text">本活动最终解释权归XXXXXXX所有</view> <view class="text">本活动最终解释权归XXXXXXX所有</view>
</view> </view>
</template> </template> -->
</view> </view>
</view> </view>

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Loading…
Cancel
Save