<template>
	<view>
		<view @click="goPostAdd" class="add-post">
			<u-icon name="edit-pen" color="#F1992D" size="40"></u-icon>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			goPostAdd() {
				uni.navigateTo({
					url: '/pages/post/add-post'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.add-post {
		position: fixed;
		right: 20rpx;
		bottom: 180rpx;
		width: 100rpx;
		height: 100rpx;
		border-radius: 50%;
		background-color: white;
		box-shadow: 0 0 20rpx #999;
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 999;
	}
</style>
