Blame view

pages/advertisementAdd/advertisementAdd.vue 3.24 KB
4dfe89e4   monkeyhouyi   初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
  <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="请选择">
c62ab6f2   杨鑫   1
54
  					<image :src="$imgUrl('/right2.png')"></image>
4dfe89e4   monkeyhouyi   初始化
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
  				</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">
c62ab6f2   杨鑫   1
93
  						<image :src="$imgUrl('/voucher_bg.png')" ></image>
4dfe89e4   monkeyhouyi   初始化
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
  					</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>