zpj 2 anni fa
parent
commit
554c3eb515
1 ha cambiato i file con 18 aggiunte e 1 eliminazioni
  1. 18 1
      pages/index/index.vue

+ 18 - 1
pages/index/index.vue

@@ -12,7 +12,7 @@
 		<view class="swiper">
 			<!-- 邀请函 -->
 			<view>
-				<view class="swiper-item index-1">
+				<view class="f-wh swiper-item index-1">
 					<image class="img-text wow animate__animated animate__bounceInUp" src="@/static/img/yqh-text-1.png"
 						mode="scaleToFill"></image>
 
@@ -273,6 +273,14 @@
 							<input class="wow animate__animated animate__bounceInRight" v-model="fromData.corporate"
 								type="text" placeholder="请输入您的公司名称">
 						</view>
+						
+						<view class="mb-32">
+							<view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">您的代理品牌<span
+									class="fc-ED301D fs-32">*</span></view>
+							<input class="wow animate__animated animate__bounceInRight" v-model="fromData.brand"
+								type="text" placeholder="请输入您的代理品牌">
+						</view>
+						
 						<view class="mb-32">
 							<view class="fc-CFB591 fs-32 mb-16 wow animate__animated animate__bounceInLeft">邀请人<span
 									class="fc-ED301D fs-32">*</span></view>
@@ -323,6 +331,7 @@
 					corporate: '',
 					inviter: '', //邀请人
 					inviter_phone: '',
+					brand:'',
 				},
 				isAJAX: false,
 				index: 0,
@@ -509,6 +518,7 @@
 							phone: '',
 							corporate: '',
 							inviter: '', //邀请人
+							brand:'',
 							inviter_phone: '',
 						}
 					} else {
@@ -521,6 +531,10 @@
 	}
 </script>
 <style lang="scss" scoped>
+	.f-wh{
+		height: calc(100vh - 168rpx) !important;
+	}
+	
 	.scroll-view-box{
 		background: rgba(5, 19, 103, 1);
 		width: 100%;
@@ -574,6 +588,9 @@
 	.index-box {
 		background-image: url('@/static/img/c-bg.png');
 		background-size: 100% 100%;
+		
+		padding-bottom: constant(safe-area-inset-bottom);
+		padding-bottom: env(safe-area-inset-bottom);
 	}
 
 	.up-icon {