From 377722df8f97989ca6c4252f909243c9b8b0d340 Mon Sep 17 00:00:00 2001
From: jt <jt@activesoft.com>
Date: 星期四, 04 八月 2022 10:22:57 +0800
Subject: [PATCH] test

---
 pages/login/index.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/pages/login/index.vue b/pages/login/index.vue
index c09b8e8..dea3ef1 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -146,8 +146,11 @@
 					</label>
 				</checkbox-group>
 			</form>
-				<button id='login' type="default" @tap="logind" class="btn_login">{{login}}</button>
-			</div>
+			<button id='login' type="default" @tap="logind" class="btn_login">{{login}}</button>
+			<p style="float:right; margin: 10px 10px;color:#c8c7cc">
+				<span>鐗堟湰鍙凤細</span>
+				<span>{{version}}</span>
+			</p>
 			<div class="" style="text-align: center;background: white;border-top: 0px solid #C0C0C0;color: #7cd0f8;position: absolute;bottom: 0;width: 100%;height: 24px;padding-top:3px;font-size: 11px;">
 			</div>
 		</div>
@@ -191,6 +194,7 @@
 				userName:account,
 				userPwd:password,
 				ischecked:ischecked,
+				version:"1.0.0",
 			}
 		},
 		// computed: mapState({
@@ -306,7 +310,10 @@
 			}
 		},
 		onLoad() {
-			
+			plus.runtime.getProperty(plus.runtime.appid,(info)=>{
+				// console.log(info);
+				this.$data.version=info.version;
+			});
 		}
 	}
 </script>

--
Gitblit v1.9.1