Commit 4a0f9db9 authored by 汪欢's avatar 汪欢

1

parent 0112949c
...@@ -5,6 +5,15 @@ ...@@ -5,6 +5,15 @@
position: absolute; position: absolute;
} }
.mask {
position: fixed;
width: 100%;
height: 100%;
z-index: 999;
background-color: #000;
opacity: 0.7;
}
.jie_shu_ye .logo { .jie_shu_ye .logo {
width: 160rpx; width: 160rpx;
height: 58rpx; height: 58rpx;
......
<view class="jie_shu_ye"> <view class="jie_shu_ye">
<view class="{{maskVisible ? 'mask' : ''}}"></view>
<image class="di_kao_bei3" src={{resList['66f2b76f-7265-4cb2-9b4d-7e8207ab1d74'].url}} /> <image class="di_kao_bei3" src={{resList['66f2b76f-7265-4cb2-9b4d-7e8207ab1d74'].url}} />
<image class="logo" src={{resList['dd7d3a3b-6fcb-427d-8353-da169708bbab'].url}} /> <image class="logo" src={{resList['dd7d3a3b-6fcb-427d-8353-da169708bbab'].url}} />
<image onTap="onPrizeBtnClick" class="jiang_pinicon" src={{resList['b7517eae-3bc2-4456-935a-e6e3e1fe995e'].url}} /> <image onTap="onPrizeBtnClick" class="jiang_pinicon" src={{resList['b7517eae-3bc2-4456-935a-e6e3e1fe995e'].url}} />
<image class="gui_zeicon" onTap="showRuleModal" src={{resList['d826a2f1-a3ec-4764-aad2-f6cacc43cfce'].url}} /> <image class="gui_zeicon" onTap="showRuleModal" src={{resList['d826a2f1-a3ec-4764-aad2-f6cacc43cfce'].url}} />
<view class="dao_ji_shi69"> <view class="dao_ji_shi69">
<image class="di74" src={{resList['ad6e754e-6243-4acf-9ffd-9a7aeb3f4971'].url}} /> <image class="di74" src={{resList['ad6e754e-6243-4acf-9ffd-9a7aeb3f4971'].url}} />
<label class="tu_ceng2273">00</label> <label class="tu_ceng2273">00</label>
...@@ -19,39 +19,33 @@ ...@@ -19,39 +19,33 @@
<view class="zhong_jiang_zhuang_tai"> <view class="zhong_jiang_zhuang_tai">
<!-- 已中奖名单列表 --> <!-- 已中奖名单列表 -->
<view class="yi_zhong_jiang"> <view class="yi_zhong_jiang">
<!-- 有中奖用户 --> <!-- 有中奖用户 -->
<view style="position:absolute" a:if="{{prizeMenu != null}}" a:for="{{prizeMenu}}" a:key="idx" a:for-item="prizeItem" > <view style="position:absolute" a:if="{{prizeMenu != null}}" a:for="{{prizeMenu}}" a:key="idx" a:for-item="prizeItem">
<view style="height:40rpx;position:absolute"> <view style="height:40rpx;position:absolute">
<label style="{{prizeItem.prizestyle.prizefloor}}">第{{prizeItem.floor}}层</label> <label style="{{prizeItem.prizestyle.prizefloor}}">第{{prizeItem.floor}}层</label>
<label style="{{prizeItem.prizestyle.prizeuser}}">{{prizeItem.username}}</label> <label style="{{prizeItem.prizestyle.prizeuser}}">{{prizeItem.username}}</label>
<image style="{{prizeItem.prizestyle.prizeimage}}" src={{prizeItem.image}}></image> <image style="{{prizeItem.prizestyle.prizeimage}}" src={{prizeItem.image}}></image>
</view> </view>
</view> </view>
<view class="no_prize" a:if="{{prizeMenu == null}}">总楼层不足,无人中奖</view> <view class="no_prize" a:if="{{prizeMenu == null}}">总楼层不足,无人中奖</view>
</view> </view>
<!-- <view class="wei_zhong_jiang"> <!--<view class="wei_zhong_jiang"><label class="zong_lou_ceng_bu_zu_wu_ren_zhong_jiang">总楼层不足,无人中奖</label></view> -->
<label class="zong_lou_ceng_bu_zu_wu_ren_zhong_jiang">总楼层不足,无人中奖</label>
</view> -->
</view> </view>
</view> </view>
<!-- 购买记录组件 --> <!-- 购买记录组件 -->
<view class="gou_mai_ji_lu46"> <view class="gou_mai_ji_lu46">
<image class="di77" src={{resList['79d3561c-5c4c-47b8-b4f9-51e7f82fcd7c'].url}} /> <image class="di77" src={{resList['79d3561c-5c4c-47b8-b4f9-51e7f82fcd7c'].url}} />
<!-- <image class="jin_du_tiao" src={{resList['40b73efe-19b8-41af-be83-17dc9b933e52'].url}} /> --> <!--<image class="jin_du_tiao" src={{resList['40b73efe-19b8-41af-be83-17dc9b933e52'].url}} /> -->
<view class="zu13447" > <view class="zu13447">
<view class="item" a:for="{{orderList}}" a:key="index" a:for-item="item">
<view class="item" a:for="{{orderList}}" a:key="index" a:for-item="item" >
<label style="{{item.order.orderDay}}">{{item.monthDate}}</label> <label style="{{item.order.orderDay}}">{{item.monthDate}}</label>
<label style="{{item.order.orderFloor}}">{{item.floorRange}}</label> <label style="{{item.order.orderFloor}}">{{item.floorRange}}</label>
<label style="{{item.order.orderCredits}}">{{item.credits}}</label> <label style="{{item.order.orderCredits}}">{{item.credits}}</label>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<prize-modal a:if="{{prizeVisible}}" onPrizeModalClose="onPrizeModalClose" myPrize="{{myPrize}}" ></prize-modal> <prize-modal a:if="{{prizeVisible}}" onPrizeModalClose="onPrizeModalClose" myPrize="{{myPrize}}"></prize-modal>
<noprize-modal a:if="{{noprizeVisible}}" openPrizeStatus="{{openPrizeStatus}}" onHandleNoPrizeClose="onHandleNoPrizeClose" myPrize="{{myPrize}}" ></noprize-modal> <noprize-modal a:if="{{noprizeVisible}}" openPrizeStatus="{{openPrizeStatus}}" onHandleNoPrizeClose="onHandleNoPrizeClose" myPrize="{{myPrize}}"></noprize-modal>
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="ruleModalClose">
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="ruleModalClose"><text>{{ruleData}}</text></rule-modal> <text>{{ruleData}}</text></rule-modal>
\ No newline at end of file \ No newline at end of file
...@@ -18,7 +18,8 @@ Page({ ...@@ -18,7 +18,8 @@ Page({
ruleModalVisible: false, ruleModalVisible: false,
// myPrizeBtnVisible: false, // myPrizeBtnVisible: false,
ruleData:'', ruleData:'',
myPrize:'' myPrize:'',
maskVisible:false
}, },
onLoad(props) { onLoad(props) {
...@@ -72,12 +73,14 @@ Page({ ...@@ -72,12 +73,14 @@ Page({
}, },
showRuleModal() { showRuleModal() {
this.setData({ this.setData({
ruleModalVisible: true ruleModalVisible: true,
maskVisible:true
}) })
}, },
ruleModalClose() { ruleModalClose() {
this.setData({ this.setData({
ruleModalVisible: false ruleModalVisible: false,
maskVisible:false
}) })
}, },
...@@ -219,7 +222,7 @@ Page({ ...@@ -219,7 +222,7 @@ Page({
onPrizeModalClose(){ onPrizeModalClose(){
this.setData({ this.setData({
prizeVisible: true prizeVisible: false
}) })
}, },
onHandleNoPrizeClose(){ onHandleNoPrizeClose(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment