We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcccaa7 commit 0c2a1eeCopy full SHA for 0c2a1ee
src/components/listContent.vue
@@ -38,6 +38,7 @@
38
<style lang="scss" scoped>
39
.list-content{
40
position: relative;
41
+ padding-top:40px;
42
.list-item{
43
44
font-size:0;
src/components/listHeader.vue
@@ -1,5 +1,5 @@
1
<template>
2
- <div>
+ <div class="fixed">
3
<div class="nav">
4
<ul>
5
<li :class="navSelect=='all'?'active':''" @click="selectTab" data-navSelect='all'>全部</li>
@@ -27,9 +27,16 @@
27
}
28
</script>
29
30
+ .fixed{
31
+ position:fixed;
32
+ width:100%;
33
+ top:0;
34
+ z-index:999;
35
+ }
36
.nav {
37
color: #fff;
background-color: #333;
+ display:block;
ul{
font-size: 0;
li{
0 commit comments