فهرست منبع

修复未登录微信头像显示问题

zhangdan 4 سال پیش
والد
کامیت
a2feb0e3d7
1فایلهای تغییر یافته به همراه15 افزوده شده و 2 حذف شده
  1. 15 2
      pages/userCenter/index.vue

+ 15 - 2
pages/userCenter/index.vue

@@ -4,7 +4,7 @@
 		<view class="user-head" >
 			<view>
 				<open-data type="userAvatarUrl" class="user-photo"></open-data>
-				<u-image v-show="!hasLogin" src="/static/logo.png" width="100" height="100"></u-image>
+				<!-- <u-image v-show="!hasLogin" src="/static/logo.png" width="100" height="100"></u-image> -->
 			</view>
 			<view class="user-info">
 				<view v-if="hasLogin" class="user-info-item">{{userData.stationName || ''}}</view>
@@ -59,7 +59,20 @@
 			uni.showShareMenu({
 				withShareTicket: true,
 				menus: ['shareAppMessage', 'shareTimeline']
-			})
+			}),
+			// uni.getSystemInfo({
+			//   success: function(res) {
+			//     console.log(res.model,'1')
+			//     console.log(res.pixelRatio,'2')
+			//     console.log(res.windowWidth,'3')
+			//     console.log(res.windowHeight,'4')
+			//     console.log(res.language,'5')
+			//     console.log(res.version,'6')
+			//     console.log(res.SDKVersion,'7','---当前使用小程序版本号')
+			// 	console.log(res.swanNativeVersion,'7','宿主平台版本号')
+			//   }
+			
+			// })
 		},
 		methods:{
 			// 获取用户信息