个股中心
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
<navBar leftText="板块异动明细" :hideNavBg="true"></navBar>
|
||||
<image class="topBg absolute" src="/static/image/index/conceptTopBg.png" mode="widthFix"></image>
|
||||
|
||||
<view class="stockDetailsC fixed" style="background-color: white; border-radius: 10rpx; overflow: hidden; margin: 25rpx;" :style="'top:'+contentTop+'px;'">
|
||||
<view class="stockDetailsC fixed" style="background-color: white; border-radius: 10rpx; overflow: hidden;" :style="'top:'+contentTop+'px;'">
|
||||
|
||||
<view style="height: 86rpx;">
|
||||
<scroll-view scroll-x style="white-space: nowrap; height: 100%;">
|
||||
<scroll-view scroll-x style="white-space: nowrap; height: 100%; padding: 0 20rpx; box-sizing: border-box;" scroll-with-animation :scroll-into-view="'tab-' + activeIndex">
|
||||
<view style="display: flex; align-items: center; height: 100%; font-weight: 500;">
|
||||
<view @click="activeIndex = index" v-for="(item,index) in bkList" :key="index" style="display: flex; align-items: center; justify-content: center; line-height: 85rpx; margin: 0 20rpx;" :style="{color: (activeIndex == index ? '#2B2B2B' : '#999999'), 'border-bottom': (activeIndex == index ? '1rpx solid #F2C369' : 'none'), 'font-size' : (activeIndex == index ? '28rpx' : '26rpx')}">
|
||||
<view :id="'tab-' + index" @click="activeIndex = index" v-for="(item,index) in bkList" :key="index" style="display: flex; align-items: center; justify-content: center; line-height: 85rpx; margin: 0 20rpx;" :style="{color: (activeIndex == index ? '#2B2B2B' : '#999999'), 'border-bottom': (activeIndex == index ? '1rpx solid #F2C369' : 'none'), 'font-size' : (activeIndex == index ? '28rpx' : '26rpx')}">
|
||||
{{item.title}}
|
||||
</view>
|
||||
</view>
|
||||
@@ -171,8 +171,9 @@
|
||||
}
|
||||
|
||||
.stockDetailsC {
|
||||
left: 0;
|
||||
right: 0;
|
||||
left: 25rpx;
|
||||
right: 25rpx;
|
||||
width: calc(100vw - 50rpx);
|
||||
bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user