浏览代码

1。适配安卓样式

306132416@qq.com 5 年之前
父节点
当前提交
d5120e5670
共有 3 个文件被更改,包括 6 次插入5 次删除
  1. 1 1
      pages/index/customPage/index.vue
  2. 1 1
      pages/index/dealerPage/index.vue
  3. 4 3
      pages/index/index.vue

+ 1 - 1
pages/index/customPage/index.vue

@@ -58,7 +58,7 @@
 							</picker> -->
 						</view>
 					<view class="textarea-box">
-					     <textarea  auto-height placeholder="请输入详细地址" v-model="addressDetail" maxlength="26" name="detailAddress" />
+					     <textarea  auto-height  fixed="true" placeholder="请输入详细地址" v-model="addressDetail" maxlength="26" name="detailAddress" />
 					 </view>
 			</view>		
 		</view>

+ 1 - 1
pages/index/dealerPage/index.vue

@@ -74,7 +74,7 @@
 			   				</view>
 			   			</view>
 					<view class="textarea-box">
-					     <textarea  auto-height placeholder="请输入详细地址" v-model="addressDetail"  name="detailAddress" maxlength="26"/>
+					     <textarea  auto-height  fixed="true" placeholder="请输入详细地址" v-model="addressDetail"  name="detailAddress" maxlength="26"/>
 					 </view>
 			</view>		
 		</view>

+ 4 - 3
pages/index/index.vue

@@ -26,7 +26,7 @@
 				isAuthPhone:getApp().globalData.user_phone,
 				productList:[
 				],
-				bottomCss:'25%',
+				bottomCss:'20%',
 				userInfoObj:{},
 			}
 		},
@@ -50,9 +50,9 @@
 			getEquipmentHeight(){
 			    let phoneHeight = uni.getSystemInfoSync().windowHeight;
 				console.log(phoneHeight)
-				this.bottomCss = phoneHeight > 672 ? '35%':'25%';
+				this.bottomCss = phoneHeight > 672 ? '30%':'20%';
 				if(phoneHeight > 820){
-					this.bottomCss = '40%';
+					this.bottomCss = '35%';
 				}
 			},
 			getPhoneNumber(e,type){
@@ -208,6 +208,7 @@
 	.logo {
 		width: 100%;
 		position: relative;
+		margin-top: 75px;
 	}
 	.getPhone-box {
 		width: 100%;