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" : "留学万象", "name" : "留学万象",
"appid" : "__UNI__CF90E01", "appid" : "__UNI__CF90E01",
"description" : "", "description" : "",
"versionName" : "8.0.0", "versionName" : "9.0.0",
"versionCode" : 800, "versionCode" : 900,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

@ -196,7 +196,8 @@
return; return;
} }
let routes = this.$mp.page.route let routes = this.$mp.page.route;
console.log(routes)
let that = this; let that = this;
// ifdef APP // ifdef APP
uni.share({ uni.share({
@ -205,7 +206,7 @@
scene:'WXSceneSession',//provider weixin WXSceneSessionWXSceneTimelineWXSceneFavorite scene:'WXSceneSession',//provider weixin WXSceneSessionWXSceneTimelineWXSceneFavorite
title:this.titleInfo.title,// title:this.titleInfo.title,//
summary: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 imageUrl:`http://lxwx.njrenzhou.cn${this.titleInfo.listimage}`,//type 025
success(res) { success(res) {
// //

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

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

Loading…
Cancel
Save