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
<template>
<view class="no-order-view" :style="customStyle">
<image class="no-order-image" :src="wudingdanImage"></image>
<text>当前暂无订单</text>
</view>
</template>
<script>
export default {
props: {
customStyle: {
type: String,
default: 'background-color: #FFFFFF'
}
},
computed: {
wudingdanImage() {
return process.uniEnv.qn_base_url + 'wudingdan.png'
}
}
}
</script>
<style lang="scss" scoped>
.no-order-view {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #666666;
font-size: 28rpx;
padding: 30rpx;
border-radius: 12rpx;
min-height: 460rpx;
.no-order-image {
width: 374rpx;
height: 218rpx;
margin-top: 60rpx;
margin-bottom: 20rpx;
}
}
</style>