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
<!-- 如果有通栏按钮 则: <v-footer :full-btn = "true"></v-footer>-->
<!-- 如果无通栏按钮 则: <v-footer></v-footer> -->
<template>
<div id="mt-footer" :class="{'full-btn':fullBtn}">
<div class="mt-footer-ct">
<slot></slot>
</div>
</div>
</template>
<script>
export default {
props: {
fullBtn: {
type: Boolean,
default: false
}
},
data() {
return {
}
},
watch: {
},
mounted() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.mt-footer-ct {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: #fff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #444;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 14px;
height: 52px;
line-height: 1;
padding: 0 15px;
position: relative;
text-align: center;
white-space: nowrap;
// -moz-box-shadow: 0px -2px 19px #DBDBDB;
// -webkit-box-shadow: 0px -2px 19px #DBDBDB;
// box-shadow: 0px -2px 19px #DBDBDB;
-moz-box-shadow: 0px -3px 5px rgba(0,0,0,0.05);;
-webkit-box-shadow: 0px -3px 5px rgba(0,0,0,0.05);;
box-shadow: 0px -3px 5px rgba(0,0,0,0.05);
bottom: 0;
right: 0;
left: 0;
position: fixed;
z-index: 1;
justify-content: center;
z-index: 2000;
}
.is-ipx{
.mt-footer-ct {
height: 72px;
padding-bottom: 20px;
}
}
.full-btn {
.mt-footer-ct {
padding: 0;
}
}
</style>