<template>
	<view class="publish">
		<statusBar :item="navBarData"></statusBar>
		
		<input class="activity_title" placeholder="活动标题" />
		<textarea class="text" placeholder="请输入内容"></textarea>
		
		<template>
			<u-upload>
				<view class="addPhoto">
					<image src="../../static/publish/photo.png" mode="aspectFill"></image>
					<view class="photo">添加图片</view>
					<view class="num">(0/9)</view>
				</view>
			</u-upload>
		</template>

		<template>
			<view class="userOptionsBox">
				<view class="optionsItemBox">
					<view class="optionItem">
						<view class="option_left">
							<text class="option_text">
								招募人数
							</text>
						</view>
						<view class="option_right">
							<image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
						</view>
					</view>
					<view class="optionItem">
						<view class="option_left">
							<text class="option_text">
								活动形式
							</text>
						</view>
						<view class="option_right">
							<image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
						</view>
					</view>
					<view class="optionItem">
						<view class="option_left">
							<text class="option_text">
								活动地址
							</text>
						</view>
						<view class="option_right">
							<image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
						</view>
					</view>
					<view class="optionItem">
						<view class="option_left">
							<text class="option_text">
								活动时间
							</text>
						</view>
						<view class="option_right">
							<image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
						</view>
					</view>
					<view class="optionItem">
						<view class="option_left">
							<text class="option_text">
								活动费用
							</text>
						</view>
						<view class="option_right">
							<image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
						</view>
					</view>
					<view class="optionItem">
						<view class="option_left">
							<text class="option_text">
								报名截止
							</text>
						</view>
						<view class="option_right">
							<image src="../../static/mine/arrow-right.png" mode="aspectFill"></image>
						</view>
					</view>
				</view>
			</view>
		</template>
		<template>
			<view class="publish_now">
				<button class="<strong>btn</strong>">立即发布</button>
			</view>
		</template>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				navBarData:{
					title:'发布', //导航栏标题
					btn:1        //是否显示返回按钮 0不显示  1 显示
				},
				customStyle:{
					width:'300rpx',
					height:'80rpx',
					backgroundColor:'#8BBEFF'
				}
			};
		}
	}
</script>

<style lang="scss" scoped>
	.publish{
		height: 80%;
		background-color: #fff;
		.activity_title{
			padding: 16px;
		}
		.text{
			font-size: 13px;
			padding: 16px;
		}
		.addPhoto{
			image{
				width: 50px;
				height: 50px;
				margin-left: 48px;
			}
			.photo{
				color: #000000A3;
				padding-left: 44px;
				font-size: 14px;
			}
			.num{
				color:  #000000A3;
				padding-left: 56px;
				font-size: 14px;
			}
			
		}
		.userOptionsBox {
			
			width: 100%;
			margin-top: 10px;
		
			.optionsItemBox {
				width: 100%;
				margin-bottom: 10px;
				padding: 5px 23px;
		
				.optionItem {
					display: flex;
					justify-content: space-between;
					align-items: center;
					height: 81rpx;
					font-size: 24rpx;
		
					.option_left {
						display: flex;
						align-items: center;
						height: 40rpx;
					}
		
					.option_right {
						height: 40rpx;
		
						image {
							height: 32rpx;
							width: 32rpx;
						}
					}
				}
			}
		}
		.publish_now{
			display: flex;
			.btn{
				width: 420rpx;
				height: 70rpx;
				background-color: #8BBEFF;
				color: #fff;
				margin-top: 20px;
				margin-bottom: 100rpx;
				line-height: 70rpx;
			}
		}
		
	}
</style>
