order-margin.vue
854 Bytes
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
<template>
<div>
<div class="tip">需支付保证金:<span class="red">{{data.earnestMoneyStr || '¥0'}}</span><i class="iconfont iconquestion icon-class"
@click="onClick"></i></div>
<div class="tip2">所有商品必须为国内现货,且承诺36小时内发货,交易成功后将自动退还保证金</div>
</div>
</template>
<script>
export default {
name: 'OrderFee',
props: {
data: {
type: Object,
default() {
return {};
}
}
},
methods: {
onClick() {
}
}
};
</script>
<style lang="scss" scoped>
.tip {
font-size: 28px;
color: black;
margin-bottom: 10px;
}
.red {
color: #d0021b;
}
.tip2 {
font-size: 24px;
color: #999;
}
.icon-class {
color: #d8d8d8;
font-size: 26px;
margin-left: 20px;
}
</style>