123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <view class="page">
- <view class="g-page-goldenegg">
- <image src="../../img/goldeneggbg.jpg" class="g-page-goldenegg-bg"></image>
- <image src="../../img/goldeneggheader.png" mode="widthFix" class="g-page-goldenegg-header"></image>
- <van-notice-bar background="#8C1920" radius="40rpx" width="500rpx" height="48rpx" color="#ffffff" left-icon="volume-o" text="{{textContent}}" />
- <view class="g-page-goldenegg-box">
- <view wx:for="{{egg_status_log}}" wx:for-index="idx" wx:for-item="item" class="goldenegg-box-item" wx:key="idx" data-status="{{item.status}}" data-index="{{idx}}" data-id="{{item.id}}" bindtap="handleClick">
- <image hidden="{{item.id != active}}" animation="{{animation}}" src="../../../img/chuizi.png" mode="widthFix" class="{{item.id == active ? 'chuizi action': 'chuizi'}}"></image>
- <image wx:if="{{item.status}}" src="../../../img/caidai.png" mode="widthFix" class="caidai"></image>
- <image wx:if="{{item.status}}" src="../../img/zakai.png" mode="widthFix" class="zakaijindan"></image>
- <image wx:else="" src="../../img/jindan.png" mode="widthFix" class="jindan"></image>
- <image src="../../img/dizuo.png" mode="widthFix" class="dipan"></image>
- <view wx:if="{{item.good_name||item.status}}" class="goldenegg-box-prizes">{{item.good_name||'空空如也'}}</view>
- </view>
- </view>
- <view class="remainingCount">剩余机会:{{lottery}}次</view>
- <view class="flex justify-center">
- <view class="myWinningBtn" bindtap="myWinning">我的中奖</view>
- </view>
- <view class="flex-column companyMsg">
- <view class="flex-sub flex align-center">
- <image src="../../../img/mobile12.png" class="imgSize" mode="widthFix"></image>
- <text>联系方式:{{companyobj.tel}}</text>
- </view>
- <view class="flex-sub flex align-center mt10">
- <image src="../../../img/address12.png" class="imgSize" mode="widthFix"></image>
- <view class="flex-sub flex align-center">
- <text>公司地址:</text>
- <text class="flex-sub">{{companyobj.company_address}}</text>
- </view>
- </view>
- <view class="flex-sub flex align-center mt10">
- <image src="../../../img/prizeContent.png" class="imgSize" mode="widthFix"></image>
- <view class="flex-sub flex align-center">
- <text>奖品内容:</text>
- <text class="flex-sub">{{prizesContent}}</text>
- </view>
- </view>
- <view class="flex-sub flex align-center mt10">
- <image src="../../../img/duihuan.png" class="imgSize" mode="widthFix"></image>
- <text>兑奖方式:核销码到店核销领取奖品</text>
- </view>
- </view>
- </view>
- <!-- 中奖 -->
- <view hidden="{{showWinning}}" class="mask" bindtap="closeMask">
- <view class="dialog" catchtap="preventHandle">
- <view class="dialogHeader">
- <image src="../../img/dialogTop.png" mode="widthFix"></image>
- <text class="dialogHeader-tips">恭喜您中奖</text>
- </view>
- <image src="../../../img/caidai.png" class="dialog-caidai" mode="widthFix"></image>
- <view wx:if="{{prizesObject.good_img}}" class="dialog-prizes-img">
- <image src="{{prizesObject.good_img}}" mode="widthFix"></image>
- <text class="dialog-text">恭喜您抽中{{prizesObject.good_name}}</text>
- </view>
- <view wx:else="" class="dialog-box">
- <image src="../../img/zakai.png" mode="widthFix" class="dialog-kaijindan"></image>
- <image src="../../img/dizuo.png" mode="widthFix" class="dialog-dizuo"></image>
- <view class="prizes-btn">{{prizesObject.good_name}}</view>
- <text class="dialog-text">恭喜您抽中{{prizesObject.good_name}}</text>
- </view>
- <view class="dialog-btn" bindtap="closeMask">再抽一次</view>
- </view>
- </view>
- <!-- 抽奖次数为0 -->
- <view hidden="{{showNoCount}}" class="mask" bindtap="closeMask">
- <view class="dialog" catchtap="preventHandle">
- <view class="dialogHeader">
- <image src="../../img/dialogTop.png" mode="widthFix"></image>
- <text class="dialogHeader-tips">抽奖次数为0</text>
- </view>
- <view class="dialog-tips">
- 您的抽奖次数为0,朋友圈转发下面内容并截图上传可获得1次抽奖机会
- </view>
- <view class="dialog-content-box">
- <view class="dialog-content">
- {{activityDetail.share_count}}
- </view>
- <view class="dialog-content-btn">
- <view class="dialog-copy flex justify-center align-center" data-text="{{activityDetail.share_count}}" bindtap="copyTextContent">复制内容</view>
- <view class="dialog-cut flex justify-center align-center" bindtap="cutUpload">{{uploadText}}</view>
- </view>
- </view>
- <view class="dialog-text">此条朋友圈在未兑奖前请不要删除,可作为兑奖凭证</view>
- <view class="dialog-btn" bindtap="closeMask">确定</view>
- </view>
- </view>
- <!-- 未中奖 -->
- <view hidden="{{showNoWinning}}" class="mask" bindtap="closeMask">
- <view class="dialog" catchtap="preventHandle">
- <view class="dialogHeader">
- <image src="../../img/dialogTop.png" mode="widthFix"></image>
- <text class="dialogHeader-tips">抱歉本次未中奖</text>
- </view>
- <image src="../../../img/caidai.png" class="dialog-caidai" mode="widthFix"></image>
- <view class="dialog-box">
- <image src="../../img/zakai.png" mode="widthFix" class="dialog-kaijindan"></image>
- <image src="../../img/dizuo.png" mode="widthFix" class="dialog-dizuo"></image>
- <view class="prizes-btn">空空如也</view>
- <text class="dialog-text">继续努力,相信下一个就是你</text>
- </view>
- <view class="dialog-btn" bindtap="closeMask">再抽一次</view>
- </view>
- </view>
- <mustlogin loginFlag="{{loginFlag}}" mobileflag="{{phoneFlag}}" orgname="{{companyobj.company_name}}" logo="{{companyobj.logo}}" id="loginbox" bind:run="unreadMsg"></mustlogin>
- </view>
|