From 096c08977d2596d023e362ce2c3ff3ac054ea4ad Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Thu, 14 May 2026 17:51:17 +0800
Subject: [PATCH] UI:购有趣 我的、商品详情、首页样式调整及隐藏详情积分
---
pages/my/my.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 4cfe9f4..6ebf89e 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -7,7 +7,8 @@
<view class="myContent">
<view class="myHeader">
<!-- <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image> -->
- <image :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" ></image>
+ <image v-if="userInfo == null" :src="userInfo != null ? $baseUrl+userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="$util.goPages('/pages/login/login')"></image>
+ <image v-else :src="userInfo != null ? $baseUrl+userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode=""></image>
<view class="myNick">
<template>
<view v-if="userInfo == null" @tap="$util.goPages('/pages/login/login')">未登录</view>
--
Gitblit v1.9.3