shopro-load.vue
732 字节
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
<template>
<view class="cu-load load-modal" v-if="loadModal">
<!-- <view class="cuIcon-emojifill text-orange"></view> -->
<image class="load-img" src="/static/imgs//logo/logo.gif" mode="aspectFit"></image>
<view class="locad-text">加载中...</view>
</view>
</template>
<script>
export default {
components: {},
data() {
return {};
},
props: {
value: {}
},
computed: {
loadModal: {
get() {
return this.value;
},
set(val) {
this.$emit('input', val);
}
}
},
methods: {}
};
</script>
<style lang="scss">
.cu-load.load-modal {
box-shadow: none;
background: none;
&:after {
content: none;
}
.locad-text {
color: #666;
}
.load-img {
width: 80rpx;
height: 80rpx;
}
}
</style>