1.diy---header
parent
7ffa9778fa
commit
6b5a3d94cc
|
|
@ -7,10 +7,10 @@
|
|||
<view v-for="(item, index) in nav_content" :key="index" class="flex-1 flex-col jc-c align-c gap-5" :data-index="index" :data-value="item.link.page" @tap="url_event">
|
||||
<view v-if="nav_style !== 2" class="img pr">
|
||||
<view class="img-item pa border-radius-xs animate-linear" :class="is_active != index ? 'active' : ''">
|
||||
<img :src="item.img[0].url" class="wh-auto ht-auto" />
|
||||
<image :src="item.img[0].url" class="wh-auto ht-auto dis-block"></image>
|
||||
</view>
|
||||
<view class="img-item pa border-radius-xs animate-linear" :class="is_active == index ? 'active' : ''">
|
||||
<img :src="item.img_checked[0].url" class="wh-auto ht-auto" />
|
||||
<image :src="item.img_checked[0].url" class="wh-auto ht-auto dis-block"></image>
|
||||
</view>
|
||||
</view>
|
||||
<text v-if="nav_style !== 1" class="animate-linear size-12 pr z-i" :style="is_active == index ? text_color_checked : default_text_color">{{ item.name }}</text>
|
||||
|
|
|
|||
Loading…
Reference in New Issue