<template>
	<view class="page">
		<u-navbar  title="活动详情" :border-bottom="false" back-icon-color="#3D3D3D" :background="bgc" title-color='#3D3D3D' title-size='36'
			height='40'	id="navbar">
		</u-navbar>
		<view class="" style="color: #000;padding: 20rpx;overflow: scroll;height: 100vh;" v-html="obj.content">
			
		</view>
		<!-- 轮播图 -->
       <!-- <view class="wrap">
            <u-swiper :height="462" bg-color="#fff"  :list="list"></u-swiper>
        </view> -->
		<!-- <view class="box"> -->
			
			<!-- <view class="title">
				{{obj.title}}
			</view>
			<view class="time">
				时间：{{obj.createTime}}
			</view>
			<view class="dizhi">
				位于福建省宁德市福鼎市嵛山镇（霞浦东南海域）
			</view>
			<view class="daohang">
				<image src="https://api.ccttiot.com/smartmeter/img/static/uHNUg0mRYhhPnXgNsuo9" mode=""></image> 去这里
			</view>
			<view class="jieshao">
				<view class="wz">
					<view class="ltwz">
						详细介绍
					</view>
					<view class="rtwz">
						更多介绍 <image src="https://api.ccttiot.com/smartmeter/img/static/uMzQVs7QzF6E41aIjgP4" mode=""></image>
					</view>
				</view>
				<view class="contwz">
					希望通过活动的举办，进一步提升白茶品牌影 响力，推动宁德白茶、福鼎白茶产业实现高质量发 展；通过平台的搭建，促进各地茶人、各方茶商交 流“茶经”、合作茶事、传承茶文化，讲出更多...
				</view>
			</view>
			<view class="tuijian">
				<view class="title">
					周边推荐
				</view>
				<view class="tuijianlist">
					<view class="hezi" v-for="(item,index) in 3" :key="index">
						<image src="https://api.ccttiot.com/smartmeter/img/static/uS5rHkx79FV8pyJ4ntKM" mode=""></image>
						<view class="tit">
							嵛山岛
						</view>
						<view class="jl">
							距活动地址8.3km
						</view>
					</view>
				</view>
			</view> -->
		<!-- </view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bgc: {
					backgroundColor: "#fff",
				},
                list: [
                 {
                   image: "https://api.ccttiot.com/smartmeter/img/static/uPsqImwis8ekj6SHq6Nf",
                   title: "昨夜星辰昨夜风，画楼西畔桂堂东",
                 },
                 {
                   image: "https://api.ccttiot.com/smartmeter/img/static/u2VM89hLd4JttnWrIlpA",
                   title: "身无彩凤双飞翼，心有灵犀一点通",
                 },
                 {
                   image: "https://api.ccttiot.com/smartmeter/img/static/usVnHNXCvDngJFtFyvJd",
                   title: "谁念西风独自凉，萧萧黄叶闭疏窗，沉思往事立残阳",
                 },],
				id:'',
                obj:{}
			}
		},
		onLoad(option) {
			this.id = option.id
			this.getxq()
		},
		methods: {
          // 请求活动详情
          getxq(){
          	this.$u.get(`/app/article/detail/${this.id}?type=1`).then((res) => {
          		if(res.code == 200){
          			this.obj = res.data
          		}
          	})
          },
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #fff;
	}
    ::v-deep .u-swiper-image{
		width: 750rpx !important;
		height: 462rpx !important;
	}
	::v-deep .u-list-image-wrap{
		border-radius: 0 !important;
	}
	::v-deep .u-swiper-wrap{
		border-radius: 0 !important;
	}
	::v-deep .u-swiper-indicator{
		bottom: 70rpx !important;
	}
	::v-deep .u-indicator-item-round{
		width: 6rpx !important;
		height: 6rpx !important;
		background: #606060;
		border-radius: 50%;
		opacity: 0.5;
	}
	::v-deep .u-indicator-item-round-active{
		width: 52rpx !important;
		height: 10rpx;
		background: #fff !important;
		border-radius: 9rpx 9rpx 9rpx 9rpx;
	}
	.box{
		width: 750rpx;
		background: #FFFFFF;
		border-radius: 50rpx 50rpx 0 0;
		position: relative;
		top: -50rpx;
		padding: 44rpx 48rpx;
		.tuijian{
			margin-top: 34rpx;
			.title{
				font-weight: 600;
				font-size: 36rpx;
				color: #3D3D3D;
			}
			.tuijianlist{
				margin-top: 30rpx;
				display: flex;
				align-items: center;
				gap: 20rpx;
				.hezi{
					position: relative;
					width: 204rpx;
					height: 204rpx;
					border-radius: 12rpx 12rpx 12rpx 12rpx;
					image{
						position: absolute;
						top: 0;
						left: 0;
						width: 204rpx;
						height: 204rpx;
						border-radius: 12rpx 12rpx 12rpx 12rpx;
					}
					.tit{
						font-weight: 600;
						font-size: 22rpx;
						color: #FFFFFF;
						position: absolute;
						left: 16rpx;
						top: 136rpx;
						z-index: 1;
					}
					.jl{
						font-size: 18rpx;
						color: #FFFFFF;
						position: absolute;
						left: 16rpx;
						top: 170rpx;
						z-index: 1;
					}
				}
			}
		}
		.jieshao{
			margin-top: 62rpx;
			.contwz{
				margin-top: 26rpx;
				font-size: 30rpx;
				color: #3D3D3D;
				text-indent: 2em;
			}
			.wz{
				width: 100%;
				display: flex;
				justify-content: space-between;
				.ltwz{
					font-weight: 600;
					font-size: 36rpx;
					color: #3D3D3D;
				}
				.rtwz{
					font-size: 24rpx;
					color: #3D3D3D;
					display: flex;
					align-items: center;
					image{
						width: 32rpx;
						height: 32rpx;
					}
				}
			}
		}
		.title{
			font-weight: 600;
			font-size: 48rpx;
			color: #3D3D3D;
		}
		.dizhi,
		.time{
			font-size: 28rpx;
			color: #3D3D3D;
			margin-top: 18rpx;
		}
		.daohang{
			width: 650rpx;
			height: 86rpx;
			background: #1EC28B;
			border-radius: 12rpx 12rpx 12rpx 12rpx;
			text-align: center;
			line-height: 86rpx;
			margin-top: 34rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			image{
				width: 40rpx;
				height: 40rpx;
				margin-right: 4rpx;
			}
			font-weight: 600;
			font-size: 36rpx;
			color: #FFFFFF;
		}
	}
</style>