Commit 4f91520e authored by zhangjinzhou's avatar zhangjinzhou

Merge branch 'jiaoneiqunuan' of gitlab2.dui88.com:wanghongyuan/new_taobao into jiaoneiqunuan

parents 4ec59866 7be1a217
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
left: 112rpx; left: 112rpx;
top: 315rpx; top: 315rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 50% 50% 0rpx;
} }
.pksuccessmodal .pksuccessbg { .pksuccessmodal .pksuccessbg {
width: 527rpx; width: 527rpx;
......
...@@ -181,9 +181,9 @@ Component({ ...@@ -181,9 +181,9 @@ Component({
}, },
onModalClose() { onModalClose() {
const { const {
onModalClose onClose
} = this.props; } = this.props;
onModalClose && onModalClose(); onClose && onClose();
// console.log('com task onModalClose') // console.log('com task onModalClose')
} }
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
left: 112rpx; left: 112rpx;
top: 350rpx; top: 350rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 50% 50% 0rpx;
} }
.tempitemmodal .tempitembg { .tempitemmodal .tempitembg {
width: 527rpx; width: 527rpx;
......
<view class="tempitemmodal "> <view class="tempitemmodal modal-animate-zoom-in">
<image class="tempitembg " src={{resList['96de1c81-6629-4226-830b-2a64ec3b54b0'].url}} /> <image class="tempitembg " src={{resList['96de1c81-6629-4226-830b-2a64ec3b54b0'].url}} />
<view class="tempitemtext "> <view class="tempitemtext ">
<label class="tempitemtitle ">蕉内旗下热装备 持久保温</label> <label class="tempitemtitle ">蕉内旗下热装备 持久保温</label>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<image class="gamemsharebtn" onTap="shareact" src={{resList['8c1a94d3-8181-41f4-9d47-1eb0c7719f3d'].url}} /> <image class="gamemsharebtn" onTap="shareact" src={{resList['8c1a94d3-8181-41f4-9d47-1eb0c7719f3d'].url}} />
</view> </view>
<view class="gamemtask"> <view class="gamemtask">
<image class="gamemtask1" src={{resList['578cb214-b8d4-4d91-b57a-9477ec61933e'].url}} /> <image class="gamemtask1" onTap="openTask" src={{resList['578cb214-b8d4-4d91-b57a-9477ec61933e'].url}} />
<image class="gamemtask2" src={{resList['d9ce0594-e262-4e9a-adfc-0b5b2a16d9c5'].url}} /> <image class="gamemtask2" src={{resList['d9ce0594-e262-4e9a-adfc-0b5b2a16d9c5'].url}} />
</view> </view>
<scroll-view class="gameinfogro" scroll-y={{true}} scroll-animation-duration={{300}} scroll-with-animation={{true}} scroll-top={{(attionlist.length)*130}} disable-scroll={{false}} > <scroll-view class="gameinfogro" scroll-y={{true}} scroll-animation-duration={{300}} scroll-with-animation={{true}} scroll-top={{(attionlist.length)*130}} disable-scroll={{false}} >
...@@ -91,8 +91,9 @@ ...@@ -91,8 +91,9 @@
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<pkprize-modal a:if="{{pkshow1_v}}" onClose="closetohome" gameOverData="{{pk1data}}"></pkprize-modal> <view class="popcontainer" a:if="{{pkshow1_v}}"><pkprize-modal onClose="closetohome" gameOverData="{{pk1data}}"></pkprize-modal></view>
<pknoprize-modal a:if="{{pkshow2_v}}" onClose="closetohome" gameOverData="{{pk2data}}"></pknoprize-modal> <view class="popcontainer" a:if="{{pkshow2_v}}"><pknoprize-modal onClose="closetohome" gameOverData="{{pk2data}}"></pknoprize-modal></view>
<pkfailnoprize-modal a:if="{{pkshow3_v}}" onClose="closetohome" gameOverData="{{pk3data}}"></pkfailnoprize-modal> <view class="popcontainer" a:if="{{pkshow3_v}}"><pkfailnoprize-modal onClose="closetohome" gameOverData="{{pk3data}}"></pkfailnoprize-modal></view>
<pksuccessnoprize-modal a:if="{{pkshow4_v}}" onClose="closetohome" gameOverData="{{pk4data}}"></pksuccessnoprize-modal> <view class="popcontainer" a:if="{{pkshow4_v}}"><pksuccessnoprize-modal onClose="closetohome" gameOverData="{{pk4data}}"></pksuccessnoprize-modal></view>
<tempitem-modal a:if="{{toolshow_v}}" onClose="usetool1"></tempitem-modal> <view class="popcontainer" a:if="{{toolshow_v}}"><tempitem-modal onClose="usetool1"></tempitem-modal></view>
\ No newline at end of file <view class="popcontainer_down" a:if="{{taskshow_v}}"><task-modal onClose="closeTask"></task-modal></view>
\ No newline at end of file
...@@ -72,6 +72,7 @@ Page({ ...@@ -72,6 +72,7 @@ Page({
pkshow3_v: false, pkshow3_v: false,
pkshow4_v: false, pkshow4_v: false,
toolshow_v: false, toolshow_v: false,
taskshow_v: false,
pk1data: { pk1data: {
warms: 0, warms: 0,
isWin: false, isWin: false,
...@@ -605,4 +606,15 @@ Page({ ...@@ -605,4 +606,15 @@ Page({
pkshow4_v: false pkshow4_v: false
}) })
}, },
openTask(){
this.setData({
taskshow_v:true
})
},
closeTask(){
this.setData({
taskshow_v:false
})
}
}); });
\ No newline at end of file
{
"success": true
}
\ No newline at end of file
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