<template>
	<view class="page">
		<view class="add-list">
			<view class="list">
				<view class="title">
					<text>申请投放广告位</text>
				</view>
				<view class="content">
					A小程序首页顶部banner
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>所属移动端</text>
				</view>
				<view class="content">
					A小程序
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>申请人姓名</text>
					<text class="star">*</text>
				</view>
				<view class="content">
					<input type="text" placeholder="请输入">
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>活动内容</text>
					<text class="star">*</text>
				</view>
				<view class="content">
					<input type="text" placeholder="请输入">
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>联系方式</text>
					<text class="star">*</text>
				</view>
				<view class="content">
					<input type="text" placeholder="请输入">
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>投放时间</text>
					<text class="star">*</text>
				</view>
				<view class="content">
					<input type="text" placeholder="请选择">
					<image :src="$imgUrl('/right2.png')"></image>
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>广告标题</text>
					<text class="star">*</text>
				</view>
				<view class="content">
					<input type="text" placeholder="请输入">
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>跳转链接</text>
					<text class="star">*</text>
				</view>
				<view class="content">
					<input type="text" placeholder="请输入">
				</view>
			</view>
			<view class="list">
				<view class="title">
					<text>投放内容</text>
					<text class="star">*</text>
				</view>
				<view class="content">
					<input type="text" placeholder="请输入">
				</view>
			</view>
			<view class="feedback-data">
				<view>
					<view class="title">
						<text>图片</text>
						<text class="star">*</text>
					</view>
				</view>
				<view class="voucher-img">
					<view class="voucher-list">
						<image :src="$imgUrl('/voucher_bg.png')" ></image>
					</view>
				</view>
			</view>
		</view>
		<!-- 保存按钮 -->
		<view class="page-footera">
		  <view class="footer-buya">
		    <view class="cart-adda">
		      <text>合计</text>
		    </view>
			<view class="cart-addb">
			  <text>1896.00元/4天</text>
			</view>
		  </view>
		</view>
		<view class="page-footer" @click="shenq">
		  <view class="footer-buy">
		    <view class="cart-add">
		      <text>立即申请</text>
		    </view>
		  </view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onShow() {
		  
		
		},
		methods:{
			shenq(){
				  const isLogin = uni.getStorageSync('token') || false;
				  if (!isLogin) {
				    // 如果未登录，跳转到登录页面
				  		 uni.navigateTo({
				  		  url: '/pages/login/login',
				  		  })
				  }else{
				  		uni.navigateTo({
				  		 url: '/pages/servicerecords/servicerecords',
				  		 })
				  }

			}
			
		}
	}
</script>

<style scoped lang="scss">
	@import 'advertisementAdd.scss';
</style>
