Browse Source

订单详情页面优化完成

master
chenxuhui 7 years ago
parent
commit
f66df838a0
2 changed files with 28 additions and 16 deletions
  1. +24
    -11
      pages/orderList/orderDetail/orderDetail.wxml
  2. +4
    -5
      pages/orderList/orderDetail/orderDetail.wxss

+ 24
- 11
pages/orderList/orderDetail/orderDetail.wxml View File

@ -111,6 +111,7 @@
</view>
</view>
</view>
<view class='detaileListContainer'>
<block wx:for="{{detaileList}}" wx:key="item" wx:for-index="idx">
<template is="detailInfoTemplate" data="{{item}}" data="{{idx}}" />
@ -121,28 +122,40 @@
</swiper>
<template name="detailInfoTemplate">
<view class='listNumberView'>
存货明细:{{idx}}
</view>
<!-- <text class='lightGray'></text> -->
</view>
<view class='listItem'>
<text class='lightGray'>存货名称:</text>{{item.Goods_Name}}单据明细</view>
<view class='baseitem'>
<text class='baseitem_key'>存货名称</text>
<view class='baseitem_value'>
单据明细{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>报价数量:</text>{{item.Number}}
<view class='baseitem'>
<text class='baseitem_key'>报价数量</text>
<view class='baseitem_value'>
单据明细{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>辅数量:</text>{{item.SecondNumber}}
<view class='baseitem'>
<text class='baseitem_key'>辅数量</text>
<view class='baseitem_value'>
单据明细{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>政策单价:</text>{{item.ProduceDate}}
<view class='baseitem'>
<text class='baseitem_key'>政策单价</text>
<view class='baseitem_value'>
单据明细{{customerName}}
</view>
</view>
<view class='horizontallineView'></view>


+ 4
- 5
pages/orderList/orderDetail/orderDetail.wxss View File

@ -135,9 +135,9 @@ page {
.listNumberView {
height: 40rpx;
background-color:#EAF1F8;
line-height: 40rpx;
padding-left:20rpx;
padding: 20rpx 20rpx;
padding-top: 30rpx;
padding-bottom: 10rpx;
font-size: 27rpx;
color: #666;
}
@ -146,24 +146,23 @@ page {
height: 60rpx;
line-height: 60rpx;
padding: 20rpx 20rpx;
/* border-bottom: 0.1px solid #dbdbdb; */
justify-content: space-between;
font-size: 16px;
color: black;
/* text-align: right; */
}
.groupTwo{
display: flex;
flex-direction: row;
justify-content: space-around;
background-color: #fff;
}
.lightGray{
font-size: 30rpx;
color: #666;
}
.imageView {
height: 80px;
width: 100%;


Loading…
Cancel
Save