_order-detail.scss
2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.order-detail-page {
background: #f0f0f0;
.block {
position: relative;
background: #fff;
padding: 20rem / $pxConvertRem 30rem / $pxConvertRem;
.iconfont {
position: absolute;
left: 30rem / $pxConvertRem;
top: 50%;
font-size: 40rem / $pxConvertRem;
margin-top: -30rem / $pxConvertRem;
}
}
.sub {
position: relative;
.iconfont {
left: 0;
}
}
.logistics {
display: block;
.icon-right {
right: 25rem / $pxConvertRem;
left: auto;
color: #b0b0b0;
}
.sub-content {
border-top: 1px solid #e0e0e0;
margin-top: 20rem / $pxConvertRem;
padding-top: 20rem / $pxConvertRem;
}
}
.owner-info {
border-bottom: 1px solid #e0e0e0;
line-height: 1.5;
}
.beside-icon {
margin-left: 60rem / $pxConvertRem;
}
.name-phone {
font-size: 30rem / $pxConvertRem;
span {
float: right;
}
}
.address {
font-size: 24rem / $pxConvertRem;
margin-top: 10rem / $pxConvertRem;
}
.order-status {
margin: 20rem / $pxConvertRem 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
padding-right: 0;
}
.sub-content span {
display: block;
color: #b0b0b0;
font-size: 24rem / $pxConvertRem;
}
.sub-content .sub-title {
display: block;
color: #000;
font-size: 26rem / $pxConvertRem;
}
.goods {
padding: 0;
margin-top: 20rem / $pxConvertRem;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.cost {
margin-bottom: 100rem / $pxConvertRem; /*排除被固定底部遮挡的影响*/
li {
font-size: 28rem / $pxConvertRem;
span {
float: right;
}
&:last-child span {
color: #f00;
}
}
}
.opt {
position: fixed;
bottom: 0;
left: 0;
right: 0;
text-align: right;
border-top: 1px solid #e0e0e0;
}
.btn {
display: inline-block;
box-sizing: border-box;
width: 140rem / $pxConvertRem;
height: 60rem / $pxConvertRem;
line-height: 60rem / $pxConvertRem;
@include border-radius(5px);
font-size: 26rem / $pxConvertRem;
text-align: center;
border: 1px solid #000;
}
}