进销存:

1.diy装修渲染布局
sws-2024-09-09
master
sws 2024-09-09 14:59:10 +08:00
parent 709e8aa1c6
commit dc91746f84
2 changed files with 19 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template>
<view>
<view class="ht flex-col">
<componentDiyHeader></componentDiyHeader>
<view v-if="value.diy_data.length > 0">
<view class="flex-1" v-if="value.diy_data.length > 0">
<view v-for="(item, index) in value.diy_data" :key="index">
<componentDiySearch></componentDiySearch>
<componentDiyAuxiliaryLine v-if="item.key == 'row-line'" :value="item.com_data"></componentDiyAuxiliaryLine>

View File

@ -1,5 +1,21 @@
<template>
<view> 这是底部导航 </view>
<view class="footer-nav flex-row jc-c align-c" :class="showFooter ? 'br-2 br-primary' : ''" @click="footer_nav_event">
<view class="footer-nav-content flex-row jc-c align-c w" :style="style_container">
<ul class="flex-row jc-sa align-c w">
<li v-for="(item, index) in nav_content" :key="index" class="flex-1 flex-col jc-c align-c gap-5" @mouseenter="is_hover = index" @mouseleave="is_hover = 0">
<view v-if="nav_style !== 2" class="img re">
<view class="img-item abs radius-xs animate-linear w" :class="is_hover != index ? 'active' : ''">
<image-empty v-model="item.img[0]" error-img-style="width:1.5rem;height:1.5rem;"></image-empty>
</view>
<view class="img-item abs radius-xs animate-linear w" :class="is_hover == index ? 'active' : ''">
<image-empty v-model="item.img_checked[0]" error-img-style="width:1.5rem;height:1.5rem;"></image-empty>
</view>
</view>
<span v-if="nav_style !== 1" class="animate-linear size-12 re z-i" :style="is_hover == index ? text_color_checked : default_text_color">{{ item.name }}</span>
</li>
</ul>
</view>
</view>
</template>
<script>