This commit is contained in:
18631081161 2025-04-12 18:54:29 +08:00
parent 5f44fd68af
commit d97577771a
2 changed files with 19 additions and 6 deletions

View File

@ -109,8 +109,7 @@
</view>
<view class="task-r">
<view v-if="item.is_complete == 0" class="btn act"
@click="$c.to({ type: 3, url: '/pages/shouye/index' })">
<view v-if="item.is_complete == 0" class="btn act" @click="toPage(item.id)">
<text>去完成</text>
</view>
@ -332,7 +331,21 @@
this.tabCur = i
this.getTask()
},
//
toPage(id) {
if (id == 1) {
this.$c.to({
url: '/pages/user/tui-guang'
})
} else {
this.$c.to({
type: 3,
url: '/pages/shouye/index'
})
}
},
}
}
</script>

View File

@ -1201,8 +1201,8 @@
border-radius: 20rpx;
.icon {
width: 40rpx;
height: 37rpx;
width: 50rpx;
height: 45rpx;
}
>input {