<template>
	<view class="not-logged">
		<view class="view-contant">
			<image class="view-image" src="../../static/imgs/trade/not-login.png" mode=""></image>
			<view class="text-info">
				登录后可以查看更多，请先登录
			</view>
			<view class="login-btn">
				<button type="primary" class="login-btn-text login-btn" @click="loginClick()">登录</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			loginClick(){
				this.$emit('loginChange')
			}
		}
	}
</script>

<style lang="scss">
.not-logged{
	.text-info{
		font-family: PingFangSC-Regular;
		font-size: 30rpx;
		color: #333333;
		letter-spacing: 0;
		font-weight: 550;
		margin-top: 50rpx;
	}
	.view-contant{
		text-align: center;
		margin-top: 40%;
	}
	.view-image{
		width: 100rpx;
		height: 100rpx;
	}
	.login-btn{
		width: 90%;
		height: 86rpx;
		background: #007AFF;
		border-radius: 425px;
		margin-left: 5%;
		margin-top: 121rpx;
	}
	.login-btn-text{
		font-family: PingFangSC-Regular;
		font-size: 32rpx;
		color: #FFFFFF;
		letter-spacing: 0;
		text-align: center;
		font-weight: 400;
	}
}
</style>
