admin_index.vue
1.4 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
<template>
<view class="wrap_box">
<!-- <uParse v-if="datas" :content="datas"></uParse> -->
<topbar bg_color="#2d81ff">
<text style="color: #fff;"></text>
<text style="color: #fff;">首页</text>
<text style="color: #fff;"></text>
</topbar>
<view class="tch_box">
<view class="tel_index_bg"></view>
<view class="admin_main">
<user-info />
<view class="admin_main-menu">
<user-menu></user-menu>
</view>
</view>
</view>
</view>
</template>
<script>
import Vue from 'vue'
import UserInfo from './components/UserInfo/index.vue'
import UserMenu from './components/UserMenu/index.vue'
import {
mapState,
mapMutations
} from 'vuex'
var that
export default {
components: {
UserInfo,
UserMenu
},
data() {
return {
}
},
computed: {
...mapState([]),
},
onLoad(e) {
},
onShow() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.wrap_box{
width: 100%;
// padding: 30rpx;
position: relative;
background: #F8F8F8;
min-height: 100vh;
}
.tel_index_bg{
position: absolute;
top: 0;
z-index: 1;
width: 100%;
min-height: 220rpx;
background: linear-gradient(0deg, #f8f8f8 0%, #ffffff 25%, #5D9DFD 60%, #428EFE 70%, #2D81FF 100%);
}
.tch_box{
width: 100%;
position: relative;
}
.admin_main{
position: relative;
z-index: 1;
padding-top: 46rpx;
padding: 0 25rpx;
.admin_main-menu{
margin-top: 40rpx;
}
}
</style>