<template>
	<view class="publish">
		<statusBar :item="navBarData"></statusBar>
		
		<view class="" style="background-color: #ffffff;">
		<input class="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>

			<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>
		</view>
			<view class="publish_now">
				<button class="btn">立即发布</button>
			</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				navBarData:{
					title:'发布', //导航栏标题
					btn:1        //是否显示返回按钮 0不显示  1 显示
				},
			};
		}
	}
</script>

<style lang="scss" scoped>
	.publish{
		// background-color: #fff;
		height: 100vh;
		.title{
			font-size: 18px;
			padding: 16px;
			color: #d9d9d933
		}
		
		.text{
			font-size: 14px;
			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;
			// background-color: #d9d9d933;
			.btn{
				width: 420rpx;
				height: 70rpx;
				background-color: #8BBEFF;
				color: #fff;
				margin-top: 20px;
				margin-bottom: 100rpx;
				line-height: 70rpx;
			}
		}
		
	}
</style>
