2301_76784835 2023-03-19 01:42 采纳率: 33.3%
浏览 112

uniapp 导航栏上部出现阴影 怎么解决

img


以下是代码部分


<template>
    <view>
        <view class="u-row">
            <tab ref="tab" @change="swtichSwiper"></tab>
            <swiper class="scroll-view-height" @change="swipeIndex" :current="current" :duration="300">
                <swiper-item>
                    <scroll-view scroll-y="true" class="scroll-view-height list-content">
                        <view class="list-item" v-for="(item,index) in arr[current].items" :key="'A'+index">
                            <view v-if="item.plan==='3'">
                                <view class="header">
                                    <image class="img" src="../../static/img/recruit.jpg"></image>
                                    
                                </view>
                                <view class="content">
                                    <view class="tag"><view class="tag-name">ソフトハンド蒲田店</view><view>东京都|按摩店</view></view>
                                    <view class="title">蒲田按摩店招聘女按摩师傅,周六日大欢迎哈哈哈哈</view>
                                    <view class="content-item">收入:30万以上</view>
                                    <view class="content-item">车站:东京都/蒲田站</view>
                                </view>
                                <view class="btns"><button class="btn-empty">收藏</button><button class="btn">查看详情</button></view>
                            </view>
                            <view v-else-if="item.plan==='3'">
                                {{item.name}}
                            </view>
                            <view v-else-if="item.plan==='2'">
                                {{item.name}}
                            </view>
                            <view v-else>
                                暂无数据

                            </view>
                        </view>
                    </scroll-view>
                </swiper-item>
                <swiper-item>
                    <scroll-view scroll-y="true" class="scroll-view-height list-content">
                        <view class="list-item" v-for="(item,index) in arr[current].items" :key="'B'+index">
                            {{item.name}} {{index}}
                        </view>
                    </scroll-view>
                </swiper-item>
                <swiper-item>
                    <scroll-view scroll-y="true" class="scroll-view-height list-content">
                        <view class="list-item" v-for="(item,index) in arr[current].items" :key="'C'+index">
                            {{item.name}} {{index}}
                        </view>
                    </scroll-view>
                </swiper-item>
            </swiper>
        </view>
    </view>
</template>

  • 写回答

2条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      问题事件

      • 创建了问题 3月19日

      悬赏问题

      • ¥15 Java集合多对一问题集
      • ¥20 PowerShell如何操作记事本?
      • ¥15 intel网卡固件降级失败
      • ¥20 html使用模型的问题
      • ¥15 这些怎么解题啊来个人
      • ¥15 h5套壳IOS Cordova依赖找不到导致编译失败
      • ¥15 分组密码算法misty1的子密钥生成算法c++实现
      • ¥15 vscode的一些报错,希望可以得到解决
      • ¥15 这代码我服了,我需要一个每隔10秒响一次的软件
      • ¥15 Python的pyspark无法编译通过,如何解决?