This commit is contained in:
zhangmanman
2021-09-30 12:23:55 +08:00
47 changed files with 2360 additions and 1250 deletions

View File

@@ -39,7 +39,7 @@
</view>
<view class="signBtn">
<block v-if="sign.signCan">
<view class="signBtn-go" @tap="signClick" style="cursor:pointer" >
<view class="signBtn-go" @click="signClick" style="cursor:pointer" >
签到领取能量碎片
</view>
</block>
@@ -139,21 +139,17 @@
// 签到
signClick() {
uni.vibrateShort({
success: () => {
operateSign().then(res => {
this.sign.signSuccess = res.task_crystals
// 获取水晶签到信息
this.sign.signShow = true
this.signInfo();
}).catch(err => {
uni.showToast({
icon: 'none',
title: err
})
})
}
})
operateSign().then(res => {
this.sign.signSuccess = res.task_crystals
// 获取水晶签到信息
this.sign.signShow = true
this.signInfo();
}).catch(err => {
uni.showToast({
icon: 'none',
title: err
})
})
},
// 能量跳转
@@ -323,9 +319,7 @@
box-sizing: border-box;
width: 100%;
text-align: center;
margin-top: -50rpx;
position: relative;
z-index: 2;
margin-top: -50rpx;
.signBtn-go {
width: 100%;
height: 100rpx;