修改logo优化任务跳转

This commit is contained in:
duan 2025-02-27 11:16:56 +08:00
parent 792a70b7ed
commit 94599e7227
3 changed files with 110 additions and 108 deletions

View File

@ -1,6 +1,6 @@
//打包时修改env的值即可
const env='production' //test , production,local
const env='test' //test , production,local
export const encryptKey='1234567890123456' // http数据加解密的key

View File

@ -295,23 +295,24 @@
// 退
}
}
async function goNav(item, url) {
console.log(item, url, '调试111')
async function goNav(item) {
console.log(item, '请求参数')
// jumpType (integer, optional): 1 2 ,
// type (integer, optional): 1 2 9 ,
if (url) {
let urls = ''
if (url == '/pages/task/prizeList') {
urls = url + '?source=2'
}
if (url == '/pages/task/receiveMember') {
urls = url + `?standard=${item.discNumber == null ? true : false}&taskId=${item.id}`
}
uni.navigateTo({
url: urls
})
} else {
console.log(item, '林区')
// if (url) {
// let urls = ''
// if (url == '/pages/task/prizeList') {
// urls = url + '?source=2'
// }
// if (url == '/pages/task/receiveMember') {
// urls = url + `?standard=${item.discNumber == null ? true : false}&taskId=${item.id}`
// }
// uni.navigateTo({
// url: urls
// })
// } else {
// }
if (item.jumpType == 0) {
if (item.buttonTitle.indexOf("领取") != -1) {
let res = await taskReceive({
@ -412,8 +413,6 @@
}
}
}
//
async function getsignIn() {
let res = await getUserSignData()
@ -444,10 +443,11 @@
</script>
<style scoped lang="scss">
page{
page {
// min-height: 100vh;
}
.container{
.container {
/* #ifdef H5 */
min-height: calc(100vh - 96rpx);
/* #endif */
@ -457,6 +457,7 @@
background-color: #F3F4F8;
padding-top: 2rpx;
}
.u-absolute {
position: absolute;
}
@ -569,6 +570,7 @@
border-radius: 16rpx;
padding: 28rpx;
margin-bottom: 32rpx;
.cell {
padding: 32rpx 0;
border-bottom: 2rpx solid #EBEBEB;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB