|
@@ -46,7 +46,8 @@
|
|
|
class="flex-align-center fs-30 mr-60"
|
|
class="flex-align-center fs-30 mr-60"
|
|
|
:style="{
|
|
:style="{
|
|
|
color:
|
|
color:
|
|
|
- tab === item.value ? 'rgba(0, 0, 0, 1);' : 'rgba(0, 0, 0, 0.6);',
|
|
|
|
|
|
|
+ tab === item.value ? '#1c2b29;' : '#5c6b69;',
|
|
|
|
|
+ fontWeight: tab === item.value ? '600' : '400',
|
|
|
}"
|
|
}"
|
|
|
@click="changeTab(index)"
|
|
@click="changeTab(index)"
|
|
|
>{{
|
|
>{{
|
|
@@ -61,7 +62,9 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="list pl-30 pr-30">
|
|
<view class="list pl-30 pr-30">
|
|
|
<view
|
|
<view
|
|
|
- class="item flex-align-center"
|
|
|
|
|
|
|
+ class="item flex-align-center pressable"
|
|
|
|
|
+ hover-class="pressed"
|
|
|
|
|
+ hover-stay-time="80"
|
|
|
v-for="(item, index) in dataList"
|
|
v-for="(item, index) in dataList"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
@click="detail(index)"
|
|
@click="detail(index)"
|
|
@@ -336,6 +339,7 @@ const detail = (index: number) => {
|
|
|
& > view {
|
|
& > view {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
height: 72rpx;
|
|
height: 72rpx;
|
|
|
|
|
+ transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
|
|
|
|
|
.active {
|
|
.active {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -343,9 +347,10 @@ const detail = (index: number) => {
|
|
|
bottom: 0px;
|
|
bottom: 0px;
|
|
|
transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
|
width: 40rpx;
|
|
width: 40rpx;
|
|
|
- height: 4rpx;
|
|
|
|
|
- border-radius: 4rpx;
|
|
|
|
|
|
|
+ height: 6rpx;
|
|
|
|
|
+ border-radius: 6rpx;
|
|
|
background-color: var(--color-primary);
|
|
background-color: var(--color-primary);
|
|
|
|
|
+ transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -353,7 +358,7 @@ const detail = (index: number) => {
|
|
|
.list {
|
|
.list {
|
|
|
.item {
|
|
.item {
|
|
|
height: 130rpx;
|
|
height: 130rpx;
|
|
|
- border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
+ border-bottom: 1rpx solid var(--divider);
|
|
|
|
|
|
|
|
&:last-child {
|
|
&:last-child {
|
|
|
border-bottom: none;
|
|
border-bottom: none;
|