任务修改,会员权益修改

This commit is contained in:
GaoHao
2024-12-25 17:10:05 +08:00
parent 3960ff7586
commit 28bab311d3
12 changed files with 255 additions and 69 deletions

View File

@@ -2,9 +2,9 @@
<template>
<view class="container">
<u-navbar :background="background" :is-back="true" :title="title" :border-bottom="false"></u-navbar>
<view class="task_bg u-relative"></view>
<view style="width: 100%;position: absolute;">
<image class="task_bg" src="../../static/images/task/prize_bg.png" mode="widthFix"></image>
</view>
<view class="content u-relative" v-if="list.length">
<view class="cell flex justify-between" v-for="(item,index) in list" :key="index" >
@@ -24,7 +24,7 @@
return {
title: '',
background: {
backgroundImage: 'transparent'
backgroundImage: 'linear-gradient(to right, #F0987B 0%, #F0987B 49%, #F0987B 100%)'
},
list: [],
source: null
@@ -55,23 +55,26 @@
</script>
<style lang="scss">
page{
background-color: #FAF8F3;
}
.container{
width: 100%;
height: 100vh;
min-height: 100vh;
// display: flex;
// flex-direction: column;
.task_bg{
width: 100%;
height: 100%;
position: absolute;
top: 0;
background: url('../../static/images/task/prize_bg.png') no-repeat top center / cover;
// height: 100%;
// position: absolute;
// top: 88rpx;
// background: url('../../static/images/task/prize_bg.png') no-repeat top center / cover;
}
.content{
z-index: 9;
padding: 370rpx 28rpx 0 28rpx;
padding: 282rpx 28rpx 0 28rpx;
display: flex;
flex-direction: row;
flex-wrap: wrap;