Commit e43eb651 by 高淑倩

modify: 消费详情

parent 2f5ae5cf
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
border-collapse: collapse; border-collapse: collapse;
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
text-align: center; text-align: left;
vertical-align: middle; vertical-align: middle;
width: 100%; width: 100%;
} }
.table .tr{ .table .tr{
display: table-row; display: table-row;
height: 60rpx; height: 70rpx;
vertical-align: middle; vertical-align: middle;
line-height: 60rpx; line-height: 70rpx;
} }
.table .thead{ .table .thead{
display: table-header-group; display: table-header-group;
...@@ -27,5 +27,12 @@ ...@@ -27,5 +27,12 @@
} }
.table .tr .th,.table .tr .td{ .table .tr .th,.table .tr .td{
display: table-cell; display: table-cell;
/* border: 1px solid #ddd; */
} }
.table .tr .th:first-child {
width: 100rpx;
padding: 0rpx 30rpx 0 0;
}
.table .tr .th:last-child {
padding-left: 10rpx;
box-sizing: border-box;
}
\ No newline at end of file
...@@ -37,7 +37,7 @@ wxService.page({ ...@@ -37,7 +37,7 @@ wxService.page({
if(orderNo){ if(orderNo){
this.initOrderDetail(orderNo) this.initOrderDetail(orderNo)
} }
// this.initOrderDetail('30119060422083416189296') // this.initOrderDetail('71110110025959520190610160256')
}, },
initOrderDetail(orderNo){ initOrderDetail(orderNo){
......
<!--pages/consumptionDetails.wxml--> <!--pages/consumptionDetails.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" /> <wxs src="../../wxs/utils.wxs" module="utils" />
<view class="consumption"> <view wx:if="{{!orderDetail.length}}">
<view class="no-speed">暂无消费</view>
</view>
<view class="consumption" wx:if="{{orderDetail.length}}">
<view class="consumption-top"> <view class="consumption-top">
<view class="top-ract" /> <view class="top-ract" />
<view class="top-order"> <view class="top-order">
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
box-shadow: 0 0 10px #eee; box-shadow: 0 0 10px #eee;
padding:40rpx; padding:40rpx;
position: relative; position: relative;
/* background-color: pink; */
} }
.top-ract { .top-ract {
width: 20rpx; width: 20rpx;
...@@ -13,7 +12,7 @@ ...@@ -13,7 +12,7 @@
background: rgb(5, 195, 90); background: rgb(5, 195, 90);
border-radius:20rpx; border-radius:20rpx;
position: absolute; position: absolute;
top: 5%; top: 50rpx;
left: 0; left: 0;
} }
.consumption-top { .consumption-top {
...@@ -34,7 +33,9 @@ ...@@ -34,7 +33,9 @@
left: 35%; left: 35%;
} }
.consumption-table { .consumption-table {
height: 450rpx; min-height: 450rpx;
padding-bottom: 20rpx;
box-sizing: border-box;
} }
.consumption-img { .consumption-img {
width: 100%; width: 100%;
...@@ -96,6 +97,9 @@ ...@@ -96,6 +97,9 @@
border-bottom: 1px dashed #ccc; border-bottom: 1px dashed #ccc;
margin-bottom:60rpx; margin-bottom:60rpx;
} }
.top-data{ .no-speed {
/* padding-left: 20rpx; */ color: #ccc;
font-size: 28rpx;
text-align: center;
padding-top: 200rpx;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment