main
liudan 1 year ago
parent 6ae244338e
commit 310eaa8617
  1. 2
      pages/detail/detail.vue
  2. 4
      pages/my/my.vue

@ -210,7 +210,7 @@
<style lang="scss" scoped>
.details{
height:calc(100vh);
min-height:calc(100vh);
background-color: #ffffff;
}
.u-nav-slot{

@ -15,7 +15,7 @@
<view class="userInfo">
<view v-if="isLogin">
<view class="userName">
{{source=='phone'?userInfo.nickname:userInfo.nickName}}
{{source=='phone'?userInfo.nickname:userInfo.nickname}}
</view>
<view class="id" v-if="source=='phone'">
ID{{userInfo.user_id}}
@ -124,7 +124,7 @@
},
onShow() {
this.source = uni.getStorageSync('source')
console.log(this.source)
console.log(this.source,"ooo")
let info = JSON.parse(JSON.stringify(uni.getStorageSync('userInfo')))
if(info.avatar){
if(info.avatar.indexOf("http") == -1 && info.avatar.indexOf("uploads/") == 0){

Loading…
Cancel
Save