Commit 93615b38 by 胡悦

提交

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