This commit is contained in:
2025-01-23 14:58:03 +08:00
2 changed files with 23 additions and 11 deletions

View File

@@ -32,7 +32,8 @@
{ {
"path": "pages/task/index", "path": "pages/task/index",
"style": { "style": {
"navigationBarTitleText": "任务大厅" "navigationBarTitleText": "任务大厅",
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/chasingDrama/index", "path": "pages/chasingDrama/index",

View File

@@ -1,6 +1,5 @@
<template> <template>
<view style="background-color: #F3F4F8;"> <view class="container">
<view class="task_bg u-absolute"> <view class="task_bg u-absolute">
<image class="task_bg" src="@/static/task/task_bg.png"></image> <image class="task_bg" src="@/static/task/task_bg.png"></image>
</view> </view>
@@ -444,6 +443,19 @@
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
page{
// min-height: 100vh;
}
.container{
/* #ifdef H5 */
min-height: calc(100vh - 96rpx);
/* #endif */
/* #ifndef H5 */
min-height: 100vh;
/* #endif */
background-color: #F3F4F8;
padding-top: 2rpx;
}
.u-absolute { .u-absolute {
position: absolute; position: absolute;
} }
@@ -454,8 +466,8 @@
} }
.icon { .icon {
position: relative; position: absolute;
padding: 32rpx; padding: 122rpx 32rpx 32rpx 32rpx;
.icon_title { .icon_title {
color: #000000; color: #000000;
@@ -483,13 +495,13 @@
.contentTop { .contentTop {
border-radius: 16rpx; border-radius: 16rpx;
top: -115rpx; // top: -115rpx;
padding: 20rpx; padding: 20rpx;
margin-bottom: 32rpx; margin-bottom: 32rpx;
position: relative; position: relative;
background-color: #ffffff; background-color: #ffffff;
color: #666666; color: #666666;
margin: 32rpx; margin: 282rpx 32rpx 32rpx 32rpx;
>view:first-child { >view:first-child {
>image { >image {
@@ -546,7 +558,7 @@
.content { .content {
border-radius: 16rpx; border-radius: 16rpx;
top: -115rpx; // top: -115rpx;
padding: 28rpx; padding: 28rpx;
background-color: #ffffff; background-color: #ffffff;
color: #666666; color: #666666;
@@ -554,9 +566,8 @@
margin-right: 32rpx; margin-right: 32rpx;
position: relative; position: relative;
border-radius: 16rpx; border-radius: 16rpx;
top: -115rpx;
padding: 28rpx; padding: 28rpx;
margin-bottom: 32rpx;
.cell { .cell {
padding: 32rpx 0; padding: 32rpx 0;
border-bottom: 2rpx solid #EBEBEB; border-bottom: 2rpx solid #EBEBEB;