You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.2 KiB
61 lines
1.2 KiB
<template>
|
|
<view class="not-logged">
|
|
<view class="view-content">
|
|
<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-content {
|
|
text-align: center;
|
|
margin-top: 40%;
|
|
}
|
|
.view-image {
|
|
width: 750rpx;
|
|
height: 456rpx;
|
|
}
|
|
.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>
|