style: 保洁计划
This commit is contained in:
parent
5b7976dea6
commit
5026c64996
|
@ -25,12 +25,9 @@
|
||||||
|
|
||||||
<view
|
<view
|
||||||
class="selectTab"
|
class="selectTab"
|
||||||
:style="{
|
:class="{
|
||||||
backgroundImage: `url(${
|
'tab-completed': activeTab === 'completed',
|
||||||
activeTab === 'completed'
|
'tab-incomplete': activeTab === 'incomplete',
|
||||||
? '/static/images/plan-tab1.png'
|
|
||||||
: '/static/images/plan-tab2.png'
|
|
||||||
})`,
|
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<view
|
<view
|
||||||
|
@ -112,6 +109,9 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
// background: url("@/static/images/plan-tab2.png") no-repeat 0 0;
|
// background: url("@/static/images/plan-tab2.png") no-repeat 0 0;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 0 0;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
padding: 32rpx 0;
|
padding: 32rpx 0;
|
||||||
margin: 0 32rpx 32rpx;
|
margin: 0 32rpx 32rpx;
|
||||||
|
@ -170,6 +170,15 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tab-completed {
|
||||||
|
background-image: url("/static/images/plan-tab1.png");
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-incomplete {
|
||||||
|
background-image: url("/static/images/plan-tab2.png");
|
||||||
|
}
|
||||||
|
|
||||||
.planList {
|
.planList {
|
||||||
padding: 0 32rpx;
|
padding: 0 32rpx;
|
||||||
.plan-item {
|
.plan-item {
|
||||||
|
|
Loading…
Reference in New Issue