hi hai 4 semanas
pai
achega
d7022835ed

+ 1 - 0
common/store/modules/update.js

@@ -71,6 +71,7 @@ export default {
 			const system_info = uni.getSystemInfoSync();
 			console.log('system=================',system_info)
 			console.log('appVersion================',system_info.appVersion)
+			uni.setStorageSync('appVersion',system_info.appVersion)
 			let params = {
 				os: system_info.platform //本机设备操作系统  (android || ios)
 			};

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "pdaApp",
     "appid" : "__UNI__7E491C0",
     "description" : "pdaApp",
-    "versionName" : "1.0.2",
-    "versionCode" : 102,
+    "versionName" : "1.0.3",
+    "versionCode" : 103,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {

+ 19 - 0
pages/index/components/use-pop.vue

@@ -25,6 +25,18 @@
 						</view>
 					</view>
 				</view>
+			<!--  #ifdef APP-PLUS -->
+				<view class="use-msg-line">
+					<image class="label-icon" src="@/static/image/home/banben-icon.png" mode=""></image>
+					<view class="use-msg-line-cont">
+						<view>版本号</view>
+						<view class="line-value">
+							<view>V{{appVersion}}</view>
+							<!-- <u-icon name="arrow-right" color="#7E838D"></u-icon> -->
+						</view>
+					</view>
+				</view>
+			<!-- #endif -->
 			 </view>
 			 <button class="toLoginBtn" @click="logout">
 			  退出登录
@@ -56,6 +68,13 @@
 				meunShow:false
 			}
 		},
+		computed:{
+			appVersion() {
+				let text = ''
+				text = uni.getStorageSync('appVersion') || '1.0.0'
+				return text
+			}
+		},
 		methods:{
 			closeClick() {
 				this.meunShow = false

BIN=BIN
static/image/home/banben-icon.png