Bladeren bron

1. 2.1.5版本 ,版本号:21012701。
2. 调整了登录页面ipad ui部分适配,由于发布时候已经选择了ipad发布,只能做部分ipad ui 适配

apple 5 jaren geleden
bovenliggende
commit
db61c85bb1
4 gewijzigde bestanden met toevoegingen van 12 en 5 verwijderingen
  1. 1 0
      App.vue
  2. 2 2
      manifest.json
  3. 7 2
      pages/login-page/login/login.vue
  4. 2 1
      util/util-js/store.js

+ 1 - 0
App.vue

@@ -15,6 +15,7 @@
 			uni.getSystemInfo({
 				success: (res) => {
 					console.log("系统信息:", res);
+					this.$store.state.clientName = res.model
 					this.$store.state.system = res.system
 					this.$store.state.platform = res.platform
 

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "哔蹦",
     "appid" : "__UNI__2635DF5",
     "description" : "",
-    "versionName" : "2.1.4",
-    "versionCode" : 21012601,
+    "versionName" : "2.1.5",
+    "versionCode" : 21012701,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 7 - 2
pages/login-page/login/login.vue

@@ -178,7 +178,7 @@
 			}
 		},
 		computed: mapState(['bNewUser', 'forcedLogin', 'phoneNumber', 'bCodeDisabled', 'count', 'bInstallWechat',
-			'bHideWeixin'
+			'bHideWeixin','clientName'
 		]),
 		methods: {
 			...mapMutations(['login', 'addUserAvatarAndLogin', 'appleUserInfoLogin', 'accountLogin', 'countDown',
@@ -216,7 +216,11 @@
 				}, data => {
 					// console.log("得到节点信息1" + JSON.stringify(data));
 					let headHeight = data.height;
-					_self.positionTop = headHeight + 280;
+					if(_self.clientName.indexOf('iPad')>-1){
+						_self.positionTop = headHeight + 390;
+					}else{
+						_self.positionTop = headHeight + 280;
+					}
 					// let midView = uni.createSelectorQuery().in(this).select('#MidArea');
 					// midView.fields({
 					// 	size: true,
@@ -787,6 +791,7 @@
 		left: 0;
 		width: 100%;
 		right: 0;
+		z-index: -1;
 		/* border: 1rpx solid #000000; */
 	}
 

+ 2 - 1
util/util-js/store.js

@@ -196,7 +196,8 @@ const store = new Vuex.Store({
 		//是否安装了微信
 		bInstallWechat: false,
 		bHideWeixin: false,
-
+        
+		clientName:'',//但是客户端名字
 		system: '', // 系统版本
 		platform: '', // 平台
 		appName: '',