@@ -35,11 +35,11 @@ Component({ | |||
app.globalData.nowPage = page; | |||
if (page == '1') { | |||
wx.reLaunch({ | |||
url: '../index/index' | |||
url: '/pages/index/index' | |||
}) | |||
} else if (page == '2'){ | |||
wx.reLaunch({ | |||
url: '../star/star' | |||
url: '/pages/star/star' | |||
}) | |||
} else if (page == '3'){ | |||
// wx.showToast({ | |||
@@ -47,11 +47,11 @@ Component({ | |||
// icon:'none' | |||
// }) | |||
wx.reLaunch({ | |||
url: '../luckyStar/luckyStar' | |||
url: '/pages/luckyStar/luckyStar' | |||
}) | |||
} else if (page == '4'){ | |||
wx.reLaunch({ | |||
url: '../myCenter/myCenter' | |||
url: '/pages/myCenter/myCenter' | |||
}) | |||
} | |||
} |
@@ -20,6 +20,7 @@ Page({ | |||
* 生命周期函数--监听页面加载 | |||
*/ | |||
onLoad: function (options) { | |||
app.globalData.nowPage = 2; | |||
if (app.globalData.userMobile) { | |||
this.setData({ | |||
getMobileBtnShow: false, |
@@ -67,7 +67,7 @@ | |||
<view bindtap="selectTask" data-type='1' class="taskText {{taskNow==1?'taskText2':''}}">每日任务</view> | |||
<view bindtap="selectTask" data-type='2' class="taskText {{taskNow==2?'taskText2':''}}">星探任务</view> | |||
</view> | |||
<image class="newImages2-59" wx:if="{{taskNow==1}}" src="{{imgUrl+'/newImages2/59.png?v=001'}}"></image> | |||
<image class="newImages2-59" wx:if="{{taskNow==1}}" src="{{imgUrl+'/newImages2/75.png?v=001'}}"></image> | |||
<view class="taskDetailFrame" wx:if="{{taskNow==1}}"> | |||
<view class="taskDetailGroup" wx:for="{{taskList}}" wx:key="id"> | |||
<view class="taskName">{{item.fullName}}</view> |
@@ -63,7 +63,7 @@ view{ | |||
position: relative; | |||
width:147rpx; | |||
height:147rpx; | |||
border: 1rpx solid #355485; | |||
border: 2rpx solid #355485; | |||
border-radius: 10rpx; | |||
display: flex; | |||
align-items: center; | |||
@@ -191,9 +191,9 @@ view{ | |||
position: absolute; | |||
left: 0; | |||
bottom: 0; | |||
top: 184rpx; | |||
top: 194rpx; | |||
width: 750rpx; | |||
height: 405rpx; | |||
height: 395rpx; | |||
overflow-y: auto; | |||
} | |||
.recordText{ | |||
@@ -885,9 +885,9 @@ view{ | |||
height: 50rpx; | |||
} | |||
.newImages2-59{ | |||
width: 270rpx; | |||
height: 19rpx; | |||
width: 568rpx; | |||
height: 74rpx; | |||
margin: 0 auto; | |||
margin-top: 61rpx; | |||
margin-top: 25rpx; | |||
margin-bottom: 20rpx; | |||
} |
@@ -278,8 +278,8 @@ Page({ | |||
/** | |||
* 生命周期函数--监听页面加载 | |||
*/ | |||
onLoad: function(options) { | |||
onLoad: function (options) { | |||
app.globalData.nowPage = 2; | |||
}, | |||
/** |