admin_index.vue 1.4 KB
<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>