main
liudan 1 year ago
parent cd00561c83
commit 7a577c869b
  1. 4
      manifest.json
  2. 5
      pages/detail/detail.vue
  3. 2
      pages/my/editInfo.vue
  4. 3
      pages/my/my.vue

@ -2,8 +2,8 @@
"name" : "留学万象",
"appid" : "__UNI__CF90E01",
"description" : "",
"versionName" : "8.0.0",
"versionCode" : 800,
"versionName" : "9.0.0",
"versionCode" : 900,
"transformPx" : false,
/* 5+App */
"app-plus" : {

@ -196,7 +196,8 @@
return;
}
let routes = this.$mp.page.route
let routes = this.$mp.page.route;
console.log(routes)
let that = this;
// ifdef APP
uni.share({
@ -205,7 +206,7 @@
scene:'WXSceneSession',//provider weixin WXSceneSessionWXSceneTimelineWXSceneFavorite
title:this.titleInfo.title,//
summary:this.titleInfo.title,//
href:`http://lxwx.h5.njrenzhou.cn/#/${routes}?id=${this.titleInfo.wx_category_id}`,//type 0
href:`http://lxwx.h5.njrenzhou.cn/#/${routes}?id=${this.titleInfo.wx_category_id}&menu_id=${this.menu_id}&logo=${this.logo}`,//type 0
imageUrl:`http://lxwx.njrenzhou.cn${this.titleInfo.listimage}`,//type 025
success(res) {
//

@ -22,7 +22,7 @@
头像修改
</view>
<view class="touxiang">
<u-avatar :src="userInfo.avatar" @c></u-avatar>
<u-avatar :src="userInfo.avatar"></u-avatar>
<u-icon
name="arrow-right"
size="20"

@ -132,7 +132,8 @@
this.source = uni.getStorageSync('source')
console.log(this.source,"ooo")
let info = JSON.parse(JSON.stringify(uni.getStorageSync('userInfo')))
if(info.avatar){
console.log(info,"mmm")
if(info&&info.avatar){
if(info.avatar.indexOf("http") == -1 && info.avatar.indexOf("uploads/") == 0){
info.avatar = this.baseUrl + info.avatar
}

Loading…
Cancel
Save