Commit 93615b38 by 胡悦

提交

1 parent cfdfffaf
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-05-30 14:40:39
* @LastEditors: huyue
* @LastEditTime: 2024-06-04 16:23:51
* @LastEditTime: 2024-06-04 17:02:09
-->
<template>
<view style="position: relative">
......@@ -89,13 +89,9 @@
.receptionSourceDetailInfoList"
:key="ind"
class="tab-item"
:class="[secondIndex == ind ? 'active' : '']"
@click="changeIndex(ind, 'secondIndex')"
>
<view
class="text"
:class="[secondIndex == ind ? 'active' : '']"
>{{ item.tabName }}</view
>
>{{ item.tabName }}
</view>
</view>
<template
......@@ -160,7 +156,7 @@ export default {
type: Array,
default: () => []
},
madiaId: String,
madiaId: Number,
show: Boolean
},
data () {
......@@ -325,23 +321,17 @@ export default {
align-items: center;
margin-left: 64rpx;
margin-bottom: 48rpx;
padding: 4rpx;
box-sizing: border-box;
.tab-item {
height: 100%;
.text {
display: flex;
align-items: center;
margin: 4rpx;
width: auto;
height: 84rpx;
padding: 0 48rpx;
box-sizing: border-box;
&.active {
background-color: #fff;
// margin: 4rpx 0;
border-radius: 16rpx;
// height: calc(100% - 8rpx);
}
}
line-height: 88rpx;
padding: 0 48rpx;
box-sizing: border-box;
}
.active {
background-color: #fff;
border-radius: 16rpx;
}
}
.product-list {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!