Bläddra i källkod

[门店][修改]:[门店页面的修改]

tags/C.7.1.0
meo 6 år sedan
förälder
incheckning
8526acb8be
5 ändrade filer med 43 tillägg och 47 borttagningar
  1. +2
    -2
      pages/index/searchbar/index.js
  2. +2
    -2
      pages/index/searchbar/index.json
  3. +2
    -2
      pages/index/searchbar/index.wxml
  4. +36
    -40
      pages/index/searchbar/index.wxss
  5. +1
    -1
      utils/imgurl.js

+ 2
- 2
pages/index/searchbar/index.js Visa fil

@@ -80,12 +80,12 @@ Page({
if(businessId == 0){ if(businessId == 0){
data = { data = {
pageNum: page, pageNum: page,
pageSize: 15
pageSize: 8
} }
}else{ }else{
data = { data = {
pageNum: page, pageNum: page,
pageSize: 15,
pageSize: 8,
businessId: businessId businessId: businessId
} }
} }


+ 2
- 2
pages/index/searchbar/index.json Visa fil

@@ -1,5 +1,5 @@
{ {
"navigationBarTitleText": "门店", "navigationBarTitleText": "门店",
"navigationBarBackgroundColor": "#b2743d",
"navigationBarTextStyle": "white"
"navigationBarBackgroundColor": "#F4F5F9",
"navigationBarTextStyle": "black"
} }

+ 2
- 2
pages/index/searchbar/index.wxml Visa fil

@@ -19,11 +19,11 @@
<view class='posi' wx:if="{{merchantVoList.length>0}}"> <view class='posi' wx:if="{{merchantVoList.length>0}}">
<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>
<view style=' margin-left: 24rpx;margin-top: 24rpx;'>
<image src='{{item.merchantImgUrl}}'></image> <image src='{{item.merchantImgUrl}}'></image>
</view> </view>
<view> <view>
<text>{{item.merchantName}}</text>
<text class='merchantName'>{{item.merchantName}}</text>
<view class='shopVo'> <view class='shopVo'>
<view class='shopVoList' wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="itemName"> <view class='shopVoList' wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="itemName">
<text>{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text><text class='douhao' wx:if="{{item.shopVoList.length>1}}">,</text> <text>{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text><text class='douhao' wx:if="{{item.shopVoList.length>1}}">,</text>


+ 36
- 40
pages/index/searchbar/index.wxss Visa fil

@@ -2,45 +2,45 @@
width: 100%; width: 100%;
} }
.scrollY { .scrollY {
width: 138rpx;
width: 134rpx;
position: fixed; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
border-right: 2rpx solid #b2743d;
}
.left {
border-top: 1rpx solid #b2743d;
border-right: 1rpx solid #b2743d;
} }
.text-style { .text-style {
position: relative;
width: 139rpx; width: 139rpx;
height: 120rpx;
line-height: 140rpx;
height: 96rpx;
line-height: 96rpx;
text-align: center; text-align: center;
font-size: 34rpx; font-size: 34rpx;
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
} }
.text-style text{
font-size: 26rpx;
}
.active1 { .active1 {
color: #b2743d;
font-size: 30rpx!important;
} }
.active { .active {
display: block;
width: 50rpx;
height: 6rpx;
background: #b2743d;
position: relative;
left: 43rpx;
bottom: 30rpx;
position: absolute;
left: 20rpx;
bottom: 0rpx;
top:0;
margin: auto;

width:12rpx;
height:24rpx;
background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
border-radius:7rpx;
} }


.posi { .posi {
position: relative; position: relative;
width: 610rpx;
width: 616rpx;
float: right; float: right;
} }


@@ -63,11 +63,12 @@


.posi_logo { .posi_logo {
position: relative; position: relative;
width: 90%;
padding: 20rpx 0;
background: #fff;
padding-left:5%;
padding-right:5%;
width:576rpx!important;
height:176rpx;
background:rgba(255,255,255,1);
box-shadow:0px 4rpx 8rpx 0px rgba(0,0,0,0.04);
border-radius:16rpx;
margin: 20rpx;
overflow: hidden; overflow: hidden;
} }
.tel { .tel {
@@ -93,23 +94,18 @@
} }


.merchants view:nth-child(1) { .merchants view:nth-child(1) {
/* width: 100rpx; */
/* height: 100rpx; */
border-radius: 16rpx; border-radius: 16rpx;
} }


.merchants view:nth-child(1) image { .merchants view:nth-child(1) image {
display: block; display: block;
width: 100rpx;
height: 100rpx;
width: 120rpx;
height: 120rpx;
border-radius: 16rpx; border-radius: 16rpx;
border: 1px solid #e5e5e5;
border: 1rpx solid #e5e5e5;
} }


.merchants view:nth-child(2) { .merchants view:nth-child(2) {
/* display: flex;
flex-direction: column;
flex: 8; */
padding-left: 30rpx; padding-left: 30rpx;
} }
.shopVo{ .shopVo{
@@ -119,12 +115,9 @@
.merchants view:nth-child(2) text:nth-child(1) { .merchants view:nth-child(2) text:nth-child(1) {
display: block; display: block;
overflow: hidden; overflow: hidden;
font-size: 32rpx;
color: #333;
letter-spacing: 0;
height: 40rpx;
margin-top: 10rpx;
line-height: 40rpx;
font-size:32rpx;
color:rgba(60,60,60,1);
line-height:44rpx;
} }


.merchants view:nth-child(2) text:nth-child(2) { .merchants view:nth-child(2) text:nth-child(2) {
@@ -135,7 +128,9 @@
line-height: 56rpx; line-height: 56rpx;
overflow: hidden; overflow: hidden;
} }

.merchantName{
margin-top:44rpx;
}
page { page {
padding: 0 0 30rpx; padding: 0 0 30rpx;
} }
@@ -362,6 +357,7 @@ page {
} }
.all{ .all{
padding-bottom: 80rpx; padding-bottom: 80rpx;
background: #F4F5F9;
} }
.shopVoList{ .shopVoList{
display: flex!important; display: flex!important;


+ 1
- 1
utils/imgurl.js Visa fil

@@ -305,7 +305,7 @@ module.exports = {
'name': '' 'name': ''
}, },
'teljpg': { 'teljpg': {
'url': baseUrl + 'tel.jpg',
'url': baseUrl + 'tel1.jpg',
'name': '' 'name': ''
}, },
'telpng': { 'telpng': {


Laddar…
Avbryt
Spara