From f0e8ab500a93c4ab7223b8eebd1650c143a8f667 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Mon, 25 May 2026 11:07:26 +0800
Subject: [PATCH] feat:星享购 会员权益

---
 pages/my/my.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/pages/my/my.vue b/pages/my/my.vue
index 5dd3e69..a0e794d 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -6,7 +6,8 @@
 		<view class="startBar"></view>
 		<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 :src="userInfo != null ? userInfo.avatar : '/static/imgs/headimg.png'" class="avatar" mode="" @tap="setImg"></image> -->
 				<view class="myNick">
 					<template>
 						<view v-if="userInfo == null" @tap="$util.goPages('/pages/login/login')">未登录</view>
@@ -69,15 +70,15 @@
 							<image src="/static/imgs/right.png" mode=""></image>
 						</view>
 					</template>
-					<!-- <view class="mySerCon-v" @tap="toHuishou" >
+					<view class="mySerCon-v" @tap="toHuishou"  v-if="isShop">
 						<view class="mySerCon-l">
-						  <template v-if="isShop">
+						  <template>
 							<image src="/static/imgs/quanshou.png" mode="widthFix"></image>
 							<text>会员权收</text>
 						  </template>
 						</view>
 						<image src="/static/imgs/right.png" mode=""></image>
-					</view> -->
+					</view>
 				</view>
 			</view>
 			
@@ -148,7 +149,7 @@
 			  const _this = this;
 			  if(_this.$util.getUserInfo()?.phone){
 				uni.request({
-				  url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
+				  url: _this.$webHost+'/api/v2/auth/iosShopUnionLogin?phone='+_this.$util.getUserInfo().phone + '&configureToDomain=11',
 				  data:{
 					customerId: uni.getStorageSync('ygxLogin').customerId,
 					appId: uni.getStorageSync('ygxLogin').appId
@@ -160,6 +161,8 @@
 					console.log('res',res)
 				  }
 				})
+			  } else {
+				  _this.isShop = false
 			  }
 		},
 		methods: {
@@ -220,7 +223,7 @@
 					sizeType: ['original', 'compressed'],
 					success: (chooseImageRes) => {
 						let tempFilePaths = chooseImageRes.tempFilePaths
-						let token = uni.getStorageSync('lzsc-token')
+						let token = uni.getStorageSync('pig-token')
 						let header = {
 							'Accept': 'application/json',
 							'authorization': token,

--
Gitblit v1.9.3