Просмотр исходного кода

[门店列表][修改]:[修改门店列表的搜索]

tags/C.10.02
meo 5 лет назад
Родитель
Сommit
3519bbe66b
3 измененных файлов: 18 добавлений и 7 удалений
  1. +0
    -4
      config/config.js
  2. +3
    -3
      index/searchbar.wxml
  3. +15
    -0
      index/searchbar.wxss

+ 0
- 4
config/config.js Просмотреть файл

@@ -276,10 +276,6 @@ var config = {
* 专题详情
*/
topicFindById:"/topic/findById",
/**
* 积分兑换
*/
addIntegral: "/credit/add",
/**
* 积分券详情
*/


+ 3
- 3
index/searchbar.wxml Просмотреть файл

@@ -1,10 +1,10 @@
<navbar text="门店"></navbar>
<!-- 左侧滚动栏 -->
<view style="position:fixed;top:{{navigationBarHeight*2}}rpx;left:30rpx;" bindtap="goSearchBar"></view>
<view style="margin-top:300rpx;">
<view class="search" style="position:fixed;top:{{navigationBarHeight}}px;" bindtap="goSearchBar">搜索门店</view>
<view style="margin-top:330rpx;">
<view class='under_line'></view>
<view style='float: left' class='left'>
<scroll-view scroll-y scroll-with-animation scroll-left="{{scrollLength}}" class='scrollY' style='height: {{windowHeight}}px;top:200rpx;'>
<scroll-view scroll-y scroll-with-animation scroll-left="{{scrollLength}}" class='scrollY' style='height: {{windowHeight}}px;top:{{navigationBarHeight+39}}px;'>
<view class='all clear'>
<block wx:for="{{lists}}" wx:key="{{index}}">
<view bindtap='jumpIndex' data-menuindex='{{item.id}}'>


+ 15
- 0
index/searchbar.wxss Просмотреть файл

@@ -1,3 +1,18 @@
.search{
z-index:5000;
left:0;
right: 0;
margin: auto;
width: 700rpx;
height: 68rpx;
line-height: 68rpx;
border:1px solid #ccc;
background: #fff;
border-radius:10rpx;
text-align: center;
color: #999;
font-size:30rpx;
}
.under_line{
width: 100%;
}


Загрузка…
Отмена
Сохранить