修复tab显示一个bug
This commit is contained in:
parent
eb2a54580f
commit
ac5dc6d5d4
|
@ -10,7 +10,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-top: 0.01rem solid #E6E6E6;
|
border-top: 0.01rem solid #E6E6E6;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 9999;
|
z-index: 999;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const tabComponent = {
|
const tabComponent = {
|
||||||
template: `
|
template: `
|
||||||
<ul class="tabList"
|
<ul class="tabList"
|
||||||
v-if="tabData.iswitch==='1'&&list.length>1"
|
v-if="tabData.iswitch==='1'&&list.length<1"
|
||||||
:style="{background:(tabData.background?'url('+tabData.background+')':'#fff'),backgroundSize:'100% 100%'}"
|
:style="{background:(tabData.background?'url('+tabData.background+')':'#fff'),backgroundSize:'100% 100%'}"
|
||||||
>
|
>
|
||||||
<template v-for="item in list">
|
<template v-for="item in list">
|
||||||
|
|
Loading…
Reference in New Issue