Skip to content

Commit c701859

Browse files
author
funanamy
committed
fix index-list title-fixed bug
1 parent 8814d02 commit c701859

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

example/pages/index-list.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<cube-page type="index-list"
33
title="IndexList">
44
<div slot="content">
5-
<div class="split"></div>
65
<div class="view-wrapper">
76
<div class="index-list-wrapper">
87
<cube-index-list :data="cityData" :title="title" @select="selectItem" @title-click="clickTitle"></cube-index-list>
@@ -39,14 +38,6 @@
3938
</script>
4039

4140
<style lang="stylus" rel="stylesheet/stylus">
42-
.split
43-
position: relative
44-
z-index: 10
45-
width: 100%
46-
height: 10px
47-
margin-top: -10px
48-
background: #efeff4
49-
5041
.view-wrapper
5142
position: fixed
5243
top: 54px

src/components/index-list/index-list.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@
243243
.cube-index-list-item_active
244244
background: $index-list-item-active-bgc
245245
.cube-index-list-fixed
246+
z-index: 1
246247
position: absolute
247248
top: 0
248249
left: 0

0 commit comments

Comments
 (0)