@@ -0,0 +1,21 @@ | |||||
@font-face {font-family: "iconfont"; | |||||
src: url('iconfont.eot?t=1568701793152'); /* IE9 */ | |||||
src: url('iconfont.eot?t=1568701793152#iefix') format('embedded-opentype'), /* IE6-IE8 */ | |||||
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAL4AAsAAAAABrwAAAKqAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCCcAqBSIFaATYCJAMICwYABCAFhG0HMBsABsgekkQC4ByegcrDAoAQCLRWZuAQ1ROBA7RA4BAKaNmybtVXtY7IAcnq3VqzIggboUqyiugVQ3aPc4szdQ+sCRogwMz8/1xO764CCmR+oFzmmnTUCzDeGuBe2CYrkAC8ZXjVpa2DPg8B2ImSQTRM1jYTBTQwTQBiyuVniULOi0bLCSsCc81ajbhIFqs8lC+BC+H3xR/ysoLEpICSto0vE703YYraMK4c+gi8+cyAvAkUkAE0iK7aaIs0QiYr7NEMcdhXoYDvTYbh6xF7/fMQZiDfCUAE5d4Tz+Xfao0EQHPv/VVgcNQDwORyOm3e9deXcM/79Y3jUPfb1cDbt9vv3u28ebP1+vUxF29G7Kzn7dvDo1b3tY2rXSInFmNx8vuXPoyor9T//xe4DlwNf38Nrm8r19Ln5+lryPJZnvWqepGyWMnrz758+lTuI4uyvZB88lTtMxaLVtXnD9y0otW6mLp5Uy7mMy1i+PFhWCaT6UkAxjd1S8X82t+wmf+so7de8d/q0AB8uP/fH04wvmlUDGC9AZuAH8nrWactAeikNni1SUkV0w2K7RgAA3D6fR2rDN11UmAldO92C5EpKKwkoJqUASYcFIAZK9VgJ13zZgcBC9IIbQPS7BIQeD0AiZvnoPB6hWrSFzAR9g/MeFNgp6fAng6SGi/VSzzTeAnnK3AvKGLcoEtR4TpyE5zJrCCkbKNUbgDaWTnFxBQjlHMsUJZ3tGbAJIUwIZdhEBDEkjy80A1H67jbzB6pe1PjgsJEiXoSOqOhS2DAChh3gUSY31wrlT6/DnFG4IxswTWZtyFJcQcHubLk9ECn0qgX7l6uWWRxHUs0BoyQSAg0ETMKMErAXP0oD7qgNYyNCMe6slmjkb7Sxvry8Ou2AHZAJQUOU5gXyShDiQQAAA==') format('woff2'), | |||||
url('iconfont.woff?t=1568701793152') format('woff'), | |||||
url('iconfont.ttf?t=1568701793152') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ | |||||
url('iconfont.svg?t=1568701793152#iconfont') format('svg'); /* iOS 4.1- */ | |||||
} | |||||
.iconfont { | |||||
font-family: "iconfont" !important; | |||||
font-size: 16px; | |||||
font-style: normal; | |||||
-webkit-font-smoothing: antialiased; | |||||
-moz-osx-font-smoothing: grayscale; | |||||
} | |||||
.icon-sousuo:before { | |||||
content: "\e646"; | |||||
} | |||||
@@ -68,7 +68,7 @@ Page({ | |||||
wx.getSystemInfo({ | wx.getSystemInfo({ | ||||
success: function (res) { | success: function (res) { | ||||
that.setData({ | that.setData({ | ||||
windowHeight: res.windowHeight + parseInt(navigationBarHeight) | |||||
windowHeight: res.windowHeight + navigationBarHeight | |||||
}) | }) | ||||
}, | }, | ||||
}) | }) | ||||
@@ -1,10 +1,10 @@ | |||||
<navbar text="门店"></navbar> | <navbar text="门店"></navbar> | ||||
<!-- 左侧滚动栏 --> | <!-- 左侧滚动栏 --> | ||||
<view class="search" style="position:fixed;top:{{navigationBarHeight}}px;" bindtap="goSearchBar">搜索门店</view> | |||||
<view style="margin-top:330rpx;"> | |||||
<view class="search" style="position:fixed;top:{{navigationBarHeight+5}}px;" bindtap="goSearchBar"><span class="iconfont icon-sousuo searchicon"></span>搜索门店</view> | |||||
<view style="margin-top:{{navigationBarHeight+42}}px;"> | |||||
<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:{{navigationBarHeight+39}}px;'> | |||||
<scroll-view scroll-y scroll-with-animation scroll-left="{{scrollLength}}" class='scrollY' style='height: {{windowHeight-navigationBarHeight-160}}px;top:{{navigationBarHeight+46}}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}}'> | ||||
@@ -19,7 +19,7 @@ | |||||
</view> | </view> | ||||
<view class='lists'> | <view class='lists'> | ||||
<view class='posi' wx:if="{{merchantVoList.length>0}}"> | |||||
<view class='posi' wx:if="{{merchantVoList.length>0}}" style="padding-bottom:100rpx;"> | |||||
<view class='posi_logo' wx:for="{{merchantVoList}}" wx:key="index"> | <view class='posi_logo' wx:for="{{merchantVoList}}" wx:key="index"> | ||||
<view class='merchants' bindtap='gotoDetail' data-id='{{item.id}}'> | <view class='merchants' bindtap='gotoDetail' data-id='{{item.id}}'> | ||||
<view style=' margin-left: 24rpx;margin-top: 24rpx;'> | <view style=' margin-left: 24rpx;margin-top: 24rpx;'> | ||||
@@ -1,3 +1,7 @@ | |||||
@import "../iconfont.wxss"; | |||||
.searchicon{ | |||||
margin-right: 5rpx; | |||||
} | |||||
.search{ | .search{ | ||||
z-index:5000; | z-index:5000; | ||||
left:0; | left:0; | ||||
@@ -7,7 +11,7 @@ | |||||
height: 68rpx; | height: 68rpx; | ||||
line-height: 68rpx; | line-height: 68rpx; | ||||
border:1px solid #ccc; | border:1px solid #ccc; | ||||
background: #fff; | |||||
background: #F4F5F9; | |||||
border-radius:10rpx; | border-radius:10rpx; | ||||
text-align: center; | text-align: center; | ||||
color: #999; | color: #999; | ||||
@@ -1,4 +1,4 @@ | |||||
<navbar text="门店搜素"></navbar> | |||||
<navbar home back text="门店搜素"></navbar> | |||||
<view class="weui-search-bar {{extClass}}" style="margin-top:{{navigationBarHeight}}rpx"> | <view class="weui-search-bar {{extClass}}" style="margin-top:{{navigationBarHeight}}rpx"> | ||||
<view class="weui-search-bar__form"> | <view class="weui-search-bar__form"> | ||||
<view class="weui-search-bar__box"> | <view class="weui-search-bar__box"> | ||||