<template>
	<RefreshView ref="mescrollRef" :hasBack="true" text="赞助商详情" :useDownScroll="false" :useUpScroll="false"
		useTitleRightBtn="0">

		<image style="width: 100%;height: 300rpx;" :src="info.logo"
			mode="scaleToFill">
		</image>

		<view style="background-color: #fff;padding-top:10rpx; padding-bottom: 10rpx; padding-left:20rpx ;">
			<text style="font-size: 35rpx;">{{info.name}}</text>
		</view>

		<view style="height: 10rpx;background-color: #eee;margin-top: 10rpx;"></view>

		<view
			style="background-color: #fff;padding-top:10rpx; padding-bottom: 10rpx; padding-left:20rpx ;padding-right: 20rpx;">

			<view style="font-size: 30rpx;padding: 5rpx;color: #666666;">联系方式：{{info.linkerName+"    "+info.linkerPhone}}</view>

			<view style="font-size: 30rpx;padding: 5rpx;color: #666666;">网址：{{info.webUrl}}</view>

			<view style="font-size: 30rpx;padding: 5rpx;color: #666666;">地址：{{info.address}}</view>

		</view>

		<view style="height: 10rpx;background-color: #eee;"></view>

		<view
			style="display: flex;flex-direction: column;    background-color: #fff;padding-top:10rpx; padding-bottom: 10rpx; padding-left:20rpx ;padding-right: 20rpx;">

			<text style="font-size: 30rpx;padding: 5rpx;color: #666666;">单位简介</text>

			<text
				style="font-size: 28rpx;padding: 5rpx;color: #666666;">{{info.introduction}}</text>
		</view>


	</RefreshView>
</template>

<script>
	export default {
		data() {
			return {
				sponsorSid: "",
				info: {
					name: "",
					address: "",
					introduction: "",
					linkerName: "",
					linkerPhone: "",
					logo: "",
					webUrl: "",
					userSid: ""
				}
			}
		},
		onLoad: function(option) {
			this.sponsorSid = option.sponsorSid;
		},
		onShow() {
			let that = this
			this.HTTP({
				url: 'aos/v1/sponsorManagement/getSponsorDetailsBySid/' + that.sponsorSid,
				method: 'GET',
				paramsType: "FORM",
				loading: true
			}).then((res) => {
				that.info = res.data
				console.log('=======', JSON.stringify(that.info))
			});
		},
		methods: {}
	};
</script>

<style lang="scss">

</style>
