myOrder.vue
5.7 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<template>
<view class="page">
<view class="navbox">
<view class="navItem navactive">
全部订单
</view>
<view class="navItem">
待付款
</view>
<view class="navItem">
待发货
</view>
<view class="navItem">
待收货
</view>
<view class="navItem">
待评价
</view>
</view>
<view class="list">
<view class="item">
<view class="titlebox">
<view class="leftT">
<image src="../../static/shop_o.png" mode="widthFix" class="icon"></image>红大地面品厂
</view>
<view class="rightT">待付款</view>
</view>
<view class="infobox">
<image src="../../static/cai.png" mode="widthFix" class="shop"></image>
<view class="info">
<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
<view class="price">¥288</view>
</view>
</view>
<view class="btnbox">
<view class="btn" style="margin-right: 16rpx;">取消订单</view>
<view class="btn bactive">立即支付</view>
</view>
</view>
<view class="item">
<view class="titlebox">
<view class="leftT">
<image src="../../static/shop_o.png" mode="widthFix" class="icon"></image>红大地面品厂
</view>
<view class="rightT">待发货</view>
</view>
<view class="infobox">
<image src="../../static/cai.png" mode="widthFix" class="shop"></image>
<view class="info">
<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
<view class="price">¥288</view>
</view>
</view>
</view>
<view class="item">
<view class="titlebox">
<view class="leftT">
<image src="../../static/shop_o.png" mode="widthFix" class="icon"></image>红大地面品厂
</view>
<view class="rightT">待收货</view>
</view>
<view class="infobox">
<image src="../../static/cai.png" mode="widthFix" class="shop"></image>
<view class="info">
<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
<view class="price">¥288</view>
</view>
</view>
<view class="btnbox">
<view class="btn bactive">确认收货</view>
</view>
</view>
<view class="item">
<view class="titlebox">
<view class="leftT">
<image src="../../static/shop_o.png" mode="widthFix" class="icon"></image>红大地面品厂
</view>
<view class="rightT">待评价</view>
</view>
<view class="infobox">
<image src="../../static/cai.png" mode="widthFix" class="shop"></image>
<view class="info">
<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
<view class="price">¥288</view>
</view>
</view>
<view class="btnbox" @click="comment">
<view class="btn bactive">立即评论</view>
</view>
</view>
<view class="item">
<view class="titlebox">
<view class="leftT">
<image src="../../static/shop_o.png" mode="widthFix" class="icon"></image>红大地面品厂
</view>
<view class="rightT">已完成</view>
</view>
<view class="infobox">
<image src="../../static/cai.png" mode="widthFix" class="shop"></image>
<view class="info">
<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
<view class="price">¥288</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
comment(){
uni.navigateTo({
url:'/pages/usercenter/shopEvaluate'
})
}
}
}
</script>
<style>
page{
background: #F7F7F7;
}
.navbox{
height: 88rpx;
background: #fff;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32rpx;
box-sizing: border-box;
}
.navItem{
font-size:32rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(35,35,35,1);
padding: 20rpx 0;
border-bottom: 1px solid transparent;
}
.navactive{
color: #FF9417;
border-color: #FF9417;
}
.item{
width: 100%;
background: #fff;
padding: 0 32rpx;
box-sizing: border-box;
margin-top: 16rpx;
overflow: hidden;
}
.titlebox{
height: 84rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #EEEEEE;
}
.leftT{
display: flex;
align-items: center;
font-size:28rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(61,68,76,1);
}
.icon{
width: 32rpx;
margin-right: 12rpx;
}
.rightT{
font-size:28rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(189,196,206,1);
}
.infobox{
height: 204rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.shop{
width: 140rpx;
}
.info{
width: 530rpx;
padding: 32rpx 0;
border-bottom: 1px solid #EEEEEE;
box-sizing: border-box;
}
.word{
font-size:30rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(61,69,76,1);
margin-top: 8px;
}
.price{
font-size:32rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(255,91,78,1);
margin-top: 20rpx;
}
.btnbox{
height: 100rpx;
box-sizing: border-box;
display: flex;
justify-content: flex-end;
align-items: center;
}
.btn{
width:160rpx;
height:64rpx;
border-radius:8px;
border:1px solid rgba(189,196,206,1);
font-size:24rpx;
font-family:PingFangSC-Regular,PingFang SC;
font-weight:400;
color:rgba(91,94,100,1);
display: flex;
align-items: center;
justify-content: center;
margin-top: 10rpx;
}
.bactive{
color: #FF9417;
border-color: #FF9417;
}
</style>