Commit c698422a authored by zhengke's avatar zhengke

no message

parent 1ad9b80d
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
</view> </view>
<view v-if="(loaded || list.itemIndex < 15) && list.items && list.items.length > 0" class="uni-indexed-list__list"> <view v-if="(loaded || list.itemIndex < 15) && list.items && list.items.length > 0" class="uni-indexed-list__list">
<view v-if="list.key=='*'" class="imgList"> <view v-if="list.key=='*'" class="imgList">
<view v-for="item in 9"> <view v-for="(item,index) in list.items" :key="index" @click="onClick(idx, index)">
55 {{ item.name }}
<!-- <image src="" /> --> <!-- <image src="" /> -->
</view> </view>
</view> </view>
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
} }
.uni-indexed-list__item-container { .uni-indexed-list__item-container {
padding-left: 15px; /* padding-left: 15px; */
flex: 1; flex: 1;
position: relative; position: relative;
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
padding: 6px 12px; padding: 6px 12px;
line-height: 24px; line-height: 24px;
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 700;
font-family: -webkit-pictograph; font-family: -webkit-pictograph;
} }
.imgList{ .imgList{
...@@ -156,6 +156,7 @@ ...@@ -156,6 +156,7 @@
flex-wrap: wrap; flex-wrap: wrap;
} }
.imgList view{ .imgList view{
flex-shrink: 0;
width: 33.33%; width: 33.33%;
text-align: center; text-align: center;
height: 60rpx; height: 60rpx;
......
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
<view v-for="(list, key) in lists" :key="key" class="uni-indexed-list__menu-item" <view v-for="(list, key) in lists" :key="key" class="uni-indexed-list__menu-item"
:class="touchmoveIndex == key ? 'uni-indexed-list__menu--active' : ''"> :class="touchmoveIndex == key ? 'uni-indexed-list__menu--active' : ''">
<text class="uni-indexed-list__menu-text" <text class="uni-indexed-list__menu-text"
:class="touchmoveIndex == key ? 'uni-indexed-list__menu-text--active' : ''">{{ list.key }}</text> :class="touchmoveIndex == key ? 'uni-indexed-list__menu-text--active' : ''"
:style="{'font-size':list.key=='*'?'45rpx':''}">{{ list.key }}</text>
</view> </view>
</view> </view>
<view v-if="touchmove" class="uni-indexed-list__alert-wrapper"> <view v-if="touchmove" class="uni-indexed-list__alert-wrapper">
...@@ -322,6 +323,7 @@ ...@@ -322,6 +323,7 @@
/* #ifdef H5 */ /* #ifdef H5 */
cursor: pointer; cursor: pointer;
/* #endif */ /* #endif */
font-family: -webkit-pictograph;
} }
.uni-indexed-list__menu-text { .uni-indexed-list__menu-text {
...@@ -345,7 +347,7 @@ ...@@ -345,7 +347,7 @@
color: #fff; */ color: #fff; */
color: black; color: black;
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 28rpx;
} }
.uni-indexed-list__alert-wrapper { .uni-indexed-list__alert-wrapper {
......
...@@ -63,7 +63,14 @@ ...@@ -63,7 +63,14 @@
letter: '*', letter: '*',
data: [ data: [
'阿克苏机场', '阿克苏机场',
'阿拉山口机场' '阿克苏机场',
'阿克苏机场',
'阿克苏机场',
'阿克苏机场',
'阿克苏机场',
'阿克苏机场',
'阿克苏机场',
'阿克苏机场',
] ]
},{ },{
letter: 'A', letter: 'A',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment