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/profile/profile.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/pages/profile/profile.vue b/pages/profile/profile.vue
index c2f61bd..fc7e8a0 100644
--- a/pages/profile/profile.vue
+++ b/pages/profile/profile.vue
@@ -3,12 +3,12 @@
 		<yk-authpup ref="authpup" type="top" @changeAuth="changeAuth" noticeTitle="便于您使用该功能上传您的照片用于核实身份场景中读取相册内容" permissionID="WRITE_EXTERNAL_STORAGE"></yk-authpup>
 		<yk-authpup ref="camears" type="top" @changeAuth="changeAuth2" noticeTitle="便于您使用该功能便于您拍摄上传用于核实身份场景" permissionID="CAMERA"></yk-authpup>
 		<view class="profile">
-			<view class="profile-item">
+			<!-- <view class="profile-item">
 				<text class="label">头像(点击更换)</text>
 				<view class="" @tap="setImg">
 					<image :src="$baseUrl + userInfo.avatar" mode=""></image>
 				</view>
-			</view>
+			</view> -->
 			<view class="profile-item">
 				<text class="label">姓名</text>
 				<view class="">
@@ -27,7 +27,7 @@
 					<input type="text" disabled v-model="userInfo.idcard" placeholder="请输入身份证" />
 				</view>
 			</view>
-			<view class="profile-item">
+			<!-- <view class="profile-item">
 				<text class="label">总余额</text>
 				<view class="">
 					<input type="text" disabled v-model="userInfo.edu" placeholder="请输入可用额度" />
@@ -38,7 +38,7 @@
 				<view class="">
 					<input type="text" disabled v-model="userInfo.const" placeholder="请输入已用额度" />
 				</view>
-			</view>
+			</view> -->
 			<view class="profile-item" v-if="Config.put_open == 2">
 				<text class="label">支付权益</text>
 				<view class="">
@@ -56,7 +56,7 @@
 				<text @tap="agreeDialog2">《隐私政策》</text>
 			</view>
 			<view class="" @tap="goWebUrl('http://beian.miit.gov.cn')">APP备案号:{{Config.icp}}</view>
-			<view class="" @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © {{Config.url}} All Rights Reserved.</view>
+			<view class="" @tap="goWebUrl('http://beian.miit.gov.cn')">Copyright © 乐陵力宇科技 All Rights Reserved.</view>
 		</view>
 		<agreePup ref="agreePup1" :gp="1" title="注册协议"></agreePup>
 		<agreePup ref="agreePup2" :gp="2" title="隐私政策"></agreePup>
@@ -110,10 +110,11 @@
 				})
 			},
 			logOut () {
-				uni.setStorageSync('lzsc-token', null)
+				uni.setStorageSync('pig-token', null)
 				uni.setStorageSync('user-info', null)
 				uni.setStorageSync('choose-address',null)
 				uni.setStorageSync('choose-bank',null)
+				uni.setStorageSync('ygxLogin',null)
 				uni.showToast({
 					title: '退出成功',
 					icon: 'success'
@@ -137,7 +138,7 @@
 										title: res.msg || ''
 									})
 									setTimeout(() => {
-										uni.setStorageSync('lzsc-token', null)
+										uni.setStorageSync('pig-token', null)
 										uni.setStorageSync('user-info', null)
 										uni.navigateTo({
 											url: '/pages/login/login'
@@ -190,7 +191,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