<template>
	<view class="content">
		<image class="infoBack" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2024/02/20/10a4a33eb939fe721f934ec82fabb340.png" mode="widthFix"></image>
		<view class="infoCont">
			<view class="infoWrite">
				<image class="infoCont-mark" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2024/02/20/ca5ec8654ee1f2de5bfc1858a1415aef.png" mode="heightFix"></image>
				<image class="infoCont-hot" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2024/02/20/053632a2a4c63fd50a0f2cde9835a152.png" mode="widthFix"></image>
				<image class="infoCont-seal" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2024/02/20/2df98978be66b60985c88eea95f091e5.png" mode="widthFix"></image>
				<view class="infoCont-title">{{bigFiveInfo.title}}</view>
				<view class="infoCont-text">
					<view class="infoCont-text-star">★</view> 
					<view class="infoCont-text-subtitle">{{bigFiveInfo.subtitle}}</view>
				</view>
				<view class="infoCont-text">
					<!-- <view class="infoCont-text-star">★</view> -->
					<view class="infoCont-text-tips">{{bigFiveInfo.remark}}</view>
				</view>
			</view>
		</view>
		<image class="infoBottom" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2024/02/20/b99c7e15d011e53e8eed7dc16a84d6cf.png" mode="widthFix"></image>
	</view>
</template>


<script>
    import { bigfiveInfo } from '@/apis/interfaces/index.js'
	export default {
		data() {
			return {
				bigFiveInfo: ''
			}
		},
        onShow() {
			this.bigfiveIndex()
		},
        methods: {
        	// 最新五大板块
        	bigfiveIndex(){
        	    bigfiveInfo(this.$Route.query.bigFive).then(res=>{
					this.bigFiveInfo = res
        	    }).catch(err=>{
        	        uni.showToast({
        	            title:err.message,
        	            icon:'none',
        	            mask:true,
        	            duration:2000
        	        })
        	    })
        	},
        }
	}
</script>

<style lang="scss" scoped>
	.content{background: #070b30; overflow-y: scroll;}
	.infoBack {width: 100%;}
	.infoCont {padding: 0 $padding; box-sizing: border-box; margin-top: -100rpx; position: relative; z-index: 99;}
	.infoWrite {background-color: #ffffff; padding: $padding + 10 $padding 90rpx; box-sizing: border-box; position: relative;}
	.infoCont-mark {position: absolute; top: 10%; left: 20%;}
	.infoCont-hot {width: 130rpx;position: absolute; top: 0; right: 0;}
	.infoCont-seal {width: 160rpx;position: absolute; bottom: -80rpx; right: $padding;}
	.infoCont-title {color: #003a95; font-size: $title-size + 12; font-weight: bold; margin-bottom: $margin;}
	.infoCont-text {color: #111111; line-height: 52rpx; font-size: $title-size; display: flex;}
	.infoCont-text-subtitle {font-weight: 600; margin-bottom: 20rpx;}
	.infoCont-text-star {padding-right: 10rpx;}
	.infoBottom {width: 100%; position: relative; bottom: 0; left: 0;}
</style>