|
@@ -4,7 +4,7 @@
|
|
<view class="user-head" >
|
|
<view class="user-head" >
|
|
<view>
|
|
<view>
|
|
<open-data type="userAvatarUrl" class="user-photo"></open-data>
|
|
<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>
|
|
<view class="user-info">
|
|
<view class="user-info">
|
|
<view v-if="hasLogin" class="user-info-item">{{userData.stationName || ''}}</view>
|
|
<view v-if="hasLogin" class="user-info-item">{{userData.stationName || ''}}</view>
|
|
@@ -59,7 +59,20 @@
|
|
uni.showShareMenu({
|
|
uni.showShareMenu({
|
|
withShareTicket: true,
|
|
withShareTicket: true,
|
|
menus: ['shareAppMessage', 'shareTimeline']
|
|
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:{
|
|
methods:{
|
|
// 获取用户信息
|
|
// 获取用户信息
|