Commit b52620cf authored by zhangjinzhou's avatar zhangjinzhou

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

# Conflicts:
#	taobao_jn/client/pages/pagegamemain/pagegamemain.js
parents 11968023 a9786f01
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
], ],
"window": { "window": {
"enableSkia": "true", "enableSkia": "true",
"allowsBounceVertical": "NO" "allowsBounceVertical": "NO",
"navigationBarForceEnable": "true"
} }
} }
\ No newline at end of file
...@@ -32,6 +32,7 @@ Component({ ...@@ -32,6 +32,7 @@ Component({
success, success,
data data
} = await API.getInviteList({ } = await API.getInviteList({
page:1,
pageSize: 100 pageSize: 100
}).catch(r => { }).catch(r => {
my.hideLoading(); my.hideLoading();
......
...@@ -46,11 +46,24 @@ ...@@ -46,11 +46,24 @@
color: #000000; color: #000000;
text-align: center; text-align: center;
} }
.pksuccessmodal .pksuccessmodaltext .pksuccesssevenPrize {
width: 527rpx;
height: 24rpx;
opacity: 1;
top: 142rpx;
left: -66rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx;
color: #000000;
text-align: center;
}
.pksuccessmodal .pksuccessmodaltext .pksuccesstemp { .pksuccessmodal .pksuccessmodaltext .pksuccesstemp {
width: 390rpx; width: 390rpx;
height: 24rpx; height: 24rpx;
opacity: 1; opacity: 1;
top: 162rpx; top: 172rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx; font-size: 24rpx;
...@@ -62,7 +75,7 @@ ...@@ -62,7 +75,7 @@
height: 23rpx; height: 23rpx;
opacity: 1; opacity: 1;
left: 0rpx; left: 0rpx;
top: 196rpx; top: 206rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx; font-size: 24rpx;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<view class="pksuccessmodaltext "> <view class="pksuccessmodaltext ">
<label class="pksuccesstitle2 ">游戏已结束</label> <label class="pksuccesstitle2 ">游戏已结束</label>
<label class="pksuccesstitle1 ">{{isWinTitle}}</label> <label class="pksuccesstitle1 ">{{isWinTitle}}</label>
<label class="pksuccesssevenPrize " a:if="{{unLockStep>3}}">恭喜您!7系赛段累计获胜7场,获得70点温暖值</label>
<label class="pksuccesstemp " a:if="{{isWin}}">{{warmText}}</label> <label class="pksuccesstemp " a:if="{{isWin}}">{{warmText}}</label>
<label class="pksuccesslw " a:if="{{isWin}}">蕉内送您一份小礼物</label> <label class="pksuccesslw " a:if="{{isWin}}">蕉内送您一份小礼物</label>
<label class="pksuccessitemname ">{{prizeName}}</label> <label class="pksuccessitemname ">{{prizeName}}</label>
......
...@@ -24,9 +24,10 @@ Component({ ...@@ -24,9 +24,10 @@ Component({
data: { data: {
resList: resList, resList: resList,
isWinTitle:'', isWinTitle:'',
isWin:false, isWin:true,
prizeName:'', prizeName:'',
prizeImg:'', prizeImg:'',
unLockStep:0,
warmText:'' warmText:''
}, },
methods: { methods: {
...@@ -44,7 +45,7 @@ Component({ ...@@ -44,7 +45,7 @@ Component({
}, },
didMount(){ didMount(){
const {warms,isWin,prize} = this.props.gameOverData; const {warms,isWin,prize,unLockStep} = this.props.gameOverData;
let str = ''; let str = '';
let str1 = ''; let str1 = '';
if(isWin){ if(isWin){
...@@ -58,7 +59,8 @@ Component({ ...@@ -58,7 +59,8 @@ Component({
isWin:isWin, isWin:isWin,
prizeName:prize.name, prizeName:prize.name,
prizeImg:prize.image, prizeImg:prize.image,
warmText:str1 warmText:str1,
unLockStep:unLockStep
}) })
} }
......
...@@ -32,3 +32,14 @@ ...@@ -32,3 +32,14 @@
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.pksuccessnoprizemodal .sevenPrize {
width: 527rpx;
height: 40rpx;
opacity: 1;
top: 184rpx;
position: absolute;
font-size: 22rpx;
color: rgba(0, 0, 0, 1);
transform-origin: 0rpx 0rpx 0rpx;
text-align: center;
}
\ No newline at end of file
<view class="pksuccessnoprizemodal modal-animate-zoom-in"> <view class="pksuccessnoprizemodal modal-animate-zoom-in">
<image class="pksuccessnoprizebg " src={{resList['9db83ecb-f8c3-4392-9d92-7c5ce5572b8b'].url}} /> <image class="pksuccessnoprizebg " src={{resList['9db83ecb-f8c3-4392-9d92-7c5ce5572b8b'].url}} />
<label class="sevenPrize " a:if="{{unLockStep>3}}">恭喜您!7系赛段累计获胜7场,获得70点温暖值</label>
<image class="pksuccessnoprizebtn " onTap="redirectToIndex" src={{resList['ede003f5-0f75-4175-8113-d8492f58fbd0'].url}} /> <image class="pksuccessnoprizebtn " onTap="redirectToIndex" src={{resList['ede003f5-0f75-4175-8113-d8492f58fbd0'].url}} />
<image class="pksuccessnoprizeclose " onTap="redirectToIndex" src={{resList['01587dc4-48e2-4a53-ba37-14a5c2026791'].url}} /> <image class="pksuccessnoprizeclose " onTap="redirectToIndex" src={{resList['01587dc4-48e2-4a53-ba37-14a5c2026791'].url}} />
</view> </view>
\ No newline at end of file
...@@ -5,7 +5,10 @@ Component({ ...@@ -5,7 +5,10 @@ Component({
props: { props: {
gameOverData:{} gameOverData:{}
}, },
data: {resList: resList}, data: {
resList: resList,
unLockStep:0
},
methods: { methods: {
redirectToIndex(){ redirectToIndex(){
const {isWin,unLockStep} = this.props.gameOverData; const {isWin,unLockStep} = this.props.gameOverData;
...@@ -21,4 +24,11 @@ Component({ ...@@ -21,4 +24,11 @@ Component({
} }
}, },
didMount(){
const {unLockStep} = this.props.gameOverData;
this.setData({
unLockStep:unLockStep
})
}
}); });
\ No newline at end of file
...@@ -107,7 +107,7 @@ Component({ ...@@ -107,7 +107,7 @@ Component({
commonToast(str || '领取成功'); commonToast(str || '领取成功');
} }
/**领取成功,增加温暖值 */ /**领取成功,增加温暖值 */
my.__updateWarms&&my.__updateWarms(); my.__updateWarms();
await this.getTaskList() await this.getTaskList()
flag = 0; flag = 0;
}, },
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
left: 53rpx; left: 53rpx;
top: 617rpx; top: 617rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 50% 50% 0rpx;
} }
.tempitemmodal .tempitemImg { .tempitemmodal .tempitemImg {
width: 262rpx; width: 262rpx;
...@@ -73,5 +73,5 @@ ...@@ -73,5 +73,5 @@
left: 132rpx; left: 132rpx;
top: 206rpx; top: 206rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 50% 50% 0rpx;
} }
...@@ -6,6 +6,6 @@ ...@@ -6,6 +6,6 @@
<label class="tempitemprize ">双十一惊喜价:¥299</label> <label class="tempitemprize ">双十一惊喜价:¥299</label>
</view> </view>
<image class="tempitemImg " src={{resList['e41300b7-bee4-4224-9f12-7a8513ce8fe9'].url}} onTap="goGoodsDetail" /> <image class="tempitemImg btn" src={{resList['e41300b7-bee4-4224-9f12-7a8513ce8fe9'].url}} onTap="goGoodsDetail" />
<image class="tempitembtn " src={{resList['bb187403-c5fc-4c33-aea1-072bac77f32e'].url}} onTap="onClose" /> <image class="tempitembtn btn" src={{resList['bb187403-c5fc-4c33-aea1-072bac77f32e'].url}} onTap="onClose" />
</view> </view>
\ No newline at end of file
...@@ -70,8 +70,6 @@ ...@@ -70,8 +70,6 @@
.my-prize-page .my-prize-item .my-prize-subtitle { .my-prize-page .my-prize-item .my-prize-subtitle {
display: flex; display: flex;
justify-content: center;
align-items: center;
} }
.my-prize-page .my-prize-item .my-prize-copy { .my-prize-page .my-prize-item .my-prize-copy {
...@@ -102,7 +100,7 @@ ...@@ -102,7 +100,7 @@
.my-prize-page .my-prize-item .my-prize-tip { .my-prize-page .my-prize-item .my-prize-tip {
margin-top: 16rpx; margin-top: 16rpx;
font-size: 20rpx; font-size: 18rpx;
line-height: 0rpx; line-height: 0rpx;
letter-spacing: 0; letter-spacing: 0;
color: #000000; color: #000000;
...@@ -110,7 +108,7 @@ ...@@ -110,7 +108,7 @@
.my-prize-page .my-prize-item .my-prize-code { .my-prize-page .my-prize-item .my-prize-code {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 20rpx; font-size: 18rpx;
color: #222222; color: #222222;
letter-spacing: 0; letter-spacing: 0;
overflow: hidden; overflow: hidden;
......
...@@ -143,7 +143,7 @@ Page({ ...@@ -143,7 +143,7 @@ Page({
const params = { const params = {
activityId, activityId,
area:countyName, area:countyName,
addressdetail:detailInfo, addressDetail:detailInfo,
name, name,
phone: telNumber, phone: telNumber,
detailInfo, detailInfo,
...@@ -154,7 +154,7 @@ Page({ ...@@ -154,7 +154,7 @@ Page({
provinceName, provinceName,
countyName, countyName,
streetName, streetName,
_id: item._id id: item._id
} }
my.confirm({ my.confirm({
......
...@@ -1060,7 +1060,9 @@ Page({ ...@@ -1060,7 +1060,9 @@ Page({
(v) => { (v) => {
var mv = stage.addChild(new FYGE.MovieClip(v)); var mv = stage.addChild(new FYGE.MovieClip(v));
mv.x = 383; mv.x = 383;
mv.y = 390; // mv.y = 390;
mv.y = 465;
// console.log("svgmv", mv)
paples[0] = mv; paples[0] = mv;
mv.gotoAndStop(1); mv.gotoAndStop(1);
mv.addEventListener(FYGE.Event.END_FRAME, () => { mv.addEventListener(FYGE.Event.END_FRAME, () => {
...@@ -1076,7 +1078,9 @@ Page({ ...@@ -1076,7 +1078,9 @@ Page({
(v) => { (v) => {
var mv = stage.addChild(new FYGE.MovieClip(v)); var mv = stage.addChild(new FYGE.MovieClip(v));
mv.x = 83; mv.x = 83;
mv.y = 420; // mv.y = 420;
mv.y = 495;
// console.log("svgmv", mv);
paples[1] = mv; paples[1] = mv;
mv.gotoAndStop(1); mv.gotoAndStop(1);
mv.addEventListener(FYGE.Event.END_FRAME, () => { mv.addEventListener(FYGE.Event.END_FRAME, () => {
...@@ -1094,7 +1098,9 @@ Page({ ...@@ -1094,7 +1098,9 @@ Page({
(v) => { (v) => {
var mv = stage.addChild(new FYGE.MovieClip(v)); var mv = stage.addChild(new FYGE.MovieClip(v));
mv.x = 232; mv.x = 232;
mv.y = 510; // mv.y = 510;
mv.y = 585;
// console.log("svgmv", mv)
paples[2] = mv; paples[2] = mv;
mv.gotoAndStop(1); mv.gotoAndStop(1);
mv.addEventListener(FYGE.Event.END_FRAME, () => { mv.addEventListener(FYGE.Event.END_FRAME, () => {
...@@ -1112,7 +1118,8 @@ Page({ ...@@ -1112,7 +1118,8 @@ Page({
(v) => { (v) => {
var mv = stage.addChild(new FYGE.MovieClip(v)); var mv = stage.addChild(new FYGE.MovieClip(v));
mv.x = 420; mv.x = 420;
mv.y = 560; // mv.y = 560;
mv.y = 635;
paples[3] = mv; paples[3] = mv;
mv.gotoAndStop(1); mv.gotoAndStop(1);
mv.addEventListener(FYGE.Event.END_FRAME, () => { mv.addEventListener(FYGE.Event.END_FRAME, () => {
......
.canvas { .canvas {
width:100%; width:750rpx;
height:100%; height:1200rpx;
z-index: 99; /*z-index: 99;*/
pointer-events: none; pointer-events: none;
} }
.page-game { .page-game {
...@@ -11,11 +11,13 @@ ...@@ -11,11 +11,13 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
min-height: 100vh; */ min-height: 100vh; */
width:100%; width:750rpx;
height:100vh; height:1200rpx;
position: absolute;
top:0rpx;
left:0rpx;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column;
pointer-events: none; pointer-events: none;
} }
...@@ -250,6 +252,7 @@ ...@@ -250,6 +252,7 @@
white-space: nowrap; white-space: nowrap;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
overflow-x: scroll; overflow-x: scroll;
overflow-y: hidden;
} }
.pageindex .indexPrizelist .indexPrizeitem { .pageindex .indexPrizelist .indexPrizeitem {
position: relative; position: relative;
......
<view class="pageindex "> <view class="pageindex ">
<image class="bg " src={{resList['3ee62d6c-3e44-470b-b2a5-fb805ec6a6c3'].url}} /> <image class="bg " src={{resList['3ee62d6c-3e44-470b-b2a5-fb805ec6a6c3'].url}} />
<image class="jbLogo " src={{resList['23b7797e-e924-48b1-8afa-7412722a0bc9'].url}} /> <image class="jbLogo " src={{resList['23b7797e-e924-48b1-8afa-7412722a0bc9'].url}} />
<view disable-scroll="true" class="page-game">
<canvas disable-scroll="true" id="canvas" class="canvas" onReady="canvasOnReady">
</canvas>
</view>
<view class="sai_duan "> <view class="sai_duan ">
<image class="battle7 " a:if="{{curGameStep<3}}" src={{resList['bc577ab5-4214-43b4-93ff-e9e24c9cec62'].url}} /> <image class="battle7 " a:if="{{curGameStep<3}}" src={{resList['bc577ab5-4214-43b4-93ff-e9e24c9cec62'].url}} />
<image class="battle5 " a:if="{{curGameStep<2}}" src={{resList['64d76df1-a48b-4d97-9c94-07164242403f'].url}} /> <image class="battle5 " a:if="{{curGameStep<2}}" src={{resList['64d76df1-a48b-4d97-9c94-07164242403f'].url}} />
...@@ -40,10 +44,7 @@ ...@@ -40,10 +44,7 @@
</view> </view>
</view> </view>
<view disable-scroll="true" class="page-game">
<canvas disable-scroll="true" id="canvas" class="canvas" onReady="canvasOnReady">
</canvas>
</view>
<view class="popcontainer" a:if="{{modalStatus==1}}"> <view class="popcontainer" a:if="{{modalStatus==1}}">
<rule-modal a:if="{{modalStatus==1}}" onCloseModal="closeModal"></rule-modal> <rule-modal a:if="{{modalStatus==1}}" onCloseModal="closeModal"></rule-modal>
......
...@@ -55,21 +55,22 @@ ...@@ -55,21 +55,22 @@
color: #000000; color: #000000;
} }
.pagerank .ranktex .myrank .ranktemp { .pagerank .ranktex .myrank .ranktemp {
width: 13rpx; width: 150rpx;
height: 19rpx; height: 19rpx;
opacity: 0.61960784; opacity: 0.61960784;
left: 426rpx; left: 343rpx;
top: -10rpx; top: -10rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 28rpx; font-size: 28rpx;
color: #000000; color: #000000;
text-align: center;
} }
.pagerank .ranktex .myrank .rank { .pagerank .ranktex .myrank .rank {
width: 38rpx; width: 38rpx;
height: 19rpx; height: 19rpx;
opacity: 0.61960784; opacity: 0.61960784;
left: 5rpx; left: 22rpx;
top: -11rpx; top: -11rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
...@@ -121,7 +122,7 @@ ...@@ -121,7 +122,7 @@
left: 4rpx; left: 4rpx;
top: 268rpx; top: 268rpx;
position: absolute; position: absolute;
transform-origin: 0px 0px 0px; transform-origin: 0rpx 0rpx 0rpx;
overflow: scroll overflow: scroll
} }
.pagerank .ranktex .rankList .rankItem { .pagerank .ranktex .rankList .rankItem {
...@@ -131,7 +132,7 @@ ...@@ -131,7 +132,7 @@
top: 20rpx; top: 20rpx;
margin: 0 auto 24rpx; margin: 0 auto 24rpx;
position: relative; position: relative;
transform-origin: 0px 0px 0px; transform-origin: 0rpx 0rpx 0rpx;
} }
.pagerank .ranktex .rankList .rankItem .itemrank{ .pagerank .ranktex .rankList .rankItem .itemrank{
width: 98rpx; width: 98rpx;
...@@ -143,7 +144,7 @@ ...@@ -143,7 +144,7 @@
position: absolute; position: absolute;
font-size: 26rpx; font-size: 26rpx;
color: rgba(0, 0, 0, 1); color: rgba(0, 0, 0, 1);
transform-origin: 0px 0px 0px; transform-origin: 0rpx 0rpx 0rpx;
text-align: center; text-align: center;
} }
.pagerank .ranktex .rankList .rankItem .itemrankid{ .pagerank .ranktex .rankList .rankItem .itemrankid{
...@@ -156,7 +157,7 @@ ...@@ -156,7 +157,7 @@
position: absolute; position: absolute;
font-size: 26rpx; font-size: 26rpx;
color: rgba(0, 0, 0, 1); color: rgba(0, 0, 0, 1);
transform-origin: 0px 0px 0px; transform-origin: 0rpx 0rpx 0prx;
text-align: left; text-align: left;
} }
.pagerank .ranktex .rankList .rankItem .itemranktemp{ .pagerank .ranktex .rankList .rankItem .itemranktemp{
...@@ -169,7 +170,7 @@ ...@@ -169,7 +170,7 @@
position: absolute; position: absolute;
font-size: 26rpx; font-size: 26rpx;
color: rgba(0, 0, 0, 1); color: rgba(0, 0, 0, 1);
transform-origin: 0px 0px 0px; transform-origin: 0rpx 0rpx 0rpx;
text-align: center; text-align: center;
} }
...@@ -227,6 +228,7 @@ ...@@ -227,6 +228,7 @@
white-space: nowrap; white-space: nowrap;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
overflow-x: scroll; overflow-x: scroll;
overflow-y: hidden;
} }
.pagerank .rankprizelist .rankprizeitem { .pagerank .rankprizelist .rankprizeitem {
position: relative; position: relative;
......
This diff is collapsed.
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