Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
e43eb651
Commit
e43eb651
authored
Jun 10, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 消费详情
parent
2f5ae5cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
11 deletions
+28
-11
table.wxss
src/component/table/table.wxss
+12
-4
consumptionDetails.js
src/pages/consumptionDetails/consumptionDetails.js
+1
-1
consumptionDetails.wxml
src/pages/consumptionDetails/consumptionDetails.wxml
+5
-1
consumptionDetails.wxss
src/pages/consumptionDetails/consumptionDetails.wxss
+10
-5
No files found.
src/component/table/table.wxss
View file @
e43eb651
...
@@ -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:
6
0rpx;
height:
7
0rpx;
vertical-align: middle;
vertical-align: middle;
line-height:
6
0rpx;
line-height:
7
0rpx;
}
}
.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
src/pages/consumptionDetails/consumptionDetails.js
View file @
e43eb651
...
@@ -37,7 +37,7 @@ wxService.page({
...
@@ -37,7 +37,7 @@ wxService.page({
if
(
orderNo
){
if
(
orderNo
){
this
.
initOrderDetail
(
orderNo
)
this
.
initOrderDetail
(
orderNo
)
}
}
// this.initOrderDetail('
3011906042208341618929
6')
// this.initOrderDetail('
7111011002595952019061016025
6')
},
},
initOrderDetail
(
orderNo
){
initOrderDetail
(
orderNo
){
...
...
src/pages/consumptionDetails/consumptionDetails.wxml
View file @
e43eb651
<!--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">
...
...
src/pages/consumptionDetails/consumptionDetails.wxss
View file @
e43eb651
...
@@ -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: 5
0rpx
;
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment