浏览代码

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

tags/C.10.02
meo 5 年前
父节点
当前提交
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", topicFindById:"/topic/findById",
/**
* 积分兑换
*/
addIntegral: "/credit/add",
/** /**
* 积分券详情 * 积分券详情
*/ */


+ 3
- 3
index/searchbar.wxml 查看文件

@@ -1,10 +1,10 @@
<navbar text="门店"></navbar> <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 class='under_line'></view>
<view style='float: left' class='left'> <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'> <view class='all clear'>
<block wx:for="{{lists}}" wx:key="{{index}}"> <block wx:for="{{lists}}" wx:key="{{index}}">
<view bindtap='jumpIndex' data-menuindex='{{item.id}}'> <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{ .under_line{
width: 100%; width: 100%;
} }


正在加载...
取消
保存