瀏覽代碼

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

tags/C.7.1.0
meo 6 年之前
父節點
當前提交
8526acb8be
共有 5 個檔案被更改,包括 43 行新增47 行删除
  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 查看文件

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


+ 2
- 2
pages/index/searchbar/index.json 查看文件

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

+ 2
- 2
pages/index/searchbar/index.wxml 查看文件

@@ -19,11 +19,11 @@
<view class='posi' wx:if="{{merchantVoList.length>0}}">
<view class='posi_logo' wx:for="{{merchantVoList}}" wx:key="index">
<view class='merchants' bindtap='gotoDetail' data-id='{{item.id}}'>
<view>
<view style=' margin-left: 24rpx;margin-top: 24rpx;'>
<image src='{{item.merchantImgUrl}}'></image>
</view>
<view>
<text>{{item.merchantName}}</text>
<text class='merchantName'>{{item.merchantName}}</text>
<view class='shopVo'>
<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>


+ 36
- 40
pages/index/searchbar/index.wxss 查看文件

@@ -2,45 +2,45 @@
width: 100%;
}
.scrollY {
width: 138rpx;
width: 134rpx;
position: fixed;
left: 0;
top: 0;
border-right: 2rpx solid #b2743d;
}
.left {
border-top: 1rpx solid #b2743d;
border-right: 1rpx solid #b2743d;
}
.text-style {
position: relative;
width: 139rpx;
height: 120rpx;
line-height: 140rpx;
height: 96rpx;
line-height: 96rpx;
text-align: center;
font-size: 34rpx;
font-family: PingFangSC-Semibold;
color: rgba(51, 51, 51, 1);
}
.text-style text{
font-size: 26rpx;
}
.active1 {
color: #b2743d;
font-size: 30rpx!important;
}
.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 {
position: relative;
width: 610rpx;
width: 616rpx;
float: right;
}

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

.posi_logo {
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;
}
.tel {
@@ -93,23 +94,18 @@
}

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

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

.merchants view:nth-child(2) {
/* display: flex;
flex-direction: column;
flex: 8; */
padding-left: 30rpx;
}
.shopVo{
@@ -119,12 +115,9 @@
.merchants view:nth-child(2) text:nth-child(1) {
display: block;
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) {
@@ -135,7 +128,9 @@
line-height: 56rpx;
overflow: hidden;
}

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


+ 1
- 1
utils/imgurl.js 查看文件

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


Loading…
取消
儲存