소스 검색

[订单列表][修改]:[将门店列表封装成组件]

tags/河北版C.8.2.0^2
meo 5 년 전
부모
커밋
74b00dcbae
3개의 변경된 파일10개의 추가작업 그리고 27개의 파일을 삭제
  1. +2
    -1
      pages/order/detail/index.json
  2. +2
    -12
      pages/order/detail/index.wxml
  3. +6
    -14
      pages/order/detail/index.wxss

+ 2
- 1
pages/order/detail/index.json 파일 보기

@@ -1,5 +1,6 @@
{
"usingComponents": {
"navbar": "../../../components/navbar/navbar"
"navbar": "../../../components/navbar/navbar",
"store": "../../../components/store/index"
}
}

+ 2
- 12
pages/order/detail/index.wxml 파일 보기

@@ -74,18 +74,8 @@
</view>
</view>
</view>
<view class='classifShop'>
<view class="clearfix" bindtap='showDoorList'>
<text>适用门店</text>
</view>
<view wx:if="{{order.merchantVoList.length>=1}}" wx:for="{{order.merchantVoList}}" wx:key="{{index}}">
<view class='merchantVoList'>
<image bindtap='gotoDetail' data-id='{{item.id}}' class='merchantImgUrl' src='{{item.merchantImgUrl}}' mode='widthFix'></image>
<view bindtap='gotoDetail' data-id='{{item.id}}' class='merchantName'>{{item.merchantName}} {{item.buildingName}}{{item.floorName}}</view>
<image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantlinkphone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix"></image>
</view>
</view>
</view>
<!-- 适用门店 -->
<store merchantVoList="{{order.merchantVoList}}"></store>
<!-- 待付款 显示立即购买的按钮 -->
<view wx:if="{{(order.orderStatus==0&&order.salePrice!=0)||(order.orderStatus==7&&order.salePrice!=0)}}" class="buy-view app-border-top">
<button bindtap='orderFunc' hover-class='active' data-couponChannelId="{{order.id}}" disabled='{{showButton}}' class='buy'>立即支付</button>


+ 6
- 14
pages/order/detail/index.wxss 파일 보기

@@ -165,7 +165,7 @@ page {
width: 100%;
margin-top: 20rpx;
}
/*
.classifShop{
background: #FFFFFF;
width: 100%;
@@ -185,7 +185,7 @@ page {
.classifShop >view:nth-child(1){
height: 88rpx!important;
line-height:94rpx;
}
} */

.classif > view:nth-child(2),.classif > view:nth-child(3){
position: relative;
@@ -196,9 +196,6 @@ page {
padding-left: 5%;
padding-right: 5%;
/* border-bottom: 1rpx solid #eee; */
}
.bianhao{
}
.classif > view text:nth-child(2) {
font-size: 28rpx;
@@ -213,10 +210,6 @@ page {
.classif > view:nth-child(1) {
display: block;
}
.classif > view:nth-child(3) view text:nth-child(2) {
/* padding-left: 15rpx; */
}

.classif > view:nth-child(6) text:nth-child(2) {
color: #666;
}
@@ -486,10 +479,9 @@ radio {
width: 100%;
height: 140rpx;
}
/*
.merchantVoList {
width: 100%;
/* position: relative; */
}

.merchantVoList .tel {
@@ -498,7 +490,7 @@ radio {
float: right;
z-index: 10;
margin-top: 30rpx;
}
} */

.btns {
background: #00c0ff;
@@ -510,13 +502,13 @@ radio {
line-height: 94rpx;
border-radius: 61rpx;
}
.merchantImgUrl{
/* .merchantImgUrl{
width: 90rpx;
float: left;
border-radius: 10rpx;
z-index: 10;
margin: 0 auto;
}
} */
.support-tansfer{
width: 690rpx;
border-radius: 50rpx;


불러오는 중...
취소
저장