From 8871e7afdd529807d181b679287778c29a02ed0b Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Tue, 12 May 2026 17:11:38 +0800
Subject: [PATCH] feat:购有趣 登录页,首页,我的页面
---
pages/profile/profile.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pages/profile/profile.vue b/pages/profile/profile.vue
index b3b9085..ca30a4c 100644
--- a/pages/profile/profile.vue
+++ b/pages/profile/profile.vue
@@ -42,8 +42,8 @@
<view class="profile-item" v-if="Config.put_open == 2">
<text class="label">支付权益</text>
<view class="">
- <switch @change="equityOpen" v-if="userInfo.equity_open == 1" checked color="#e3b400" style="transform:scale(0.7)"/>
- <switch @change="equityOpen" v-else color="#e3b400" style="transform:scale(0.7)"/>
+ <switch @change="equityOpen" v-if="userInfo.equity_open == 1" checked color="#37AA25" style="transform:scale(0.7)"/>
+ <switch @change="equityOpen" v-else color="#37AA25" style="transform:scale(0.7)"/>
</view>
</view> -->
</view>
@@ -73,7 +73,7 @@
},
data() {
return {
- userInfo: uni.getStorageSync('user-info') ? JSON.parse(uni.getStorageSync('user-info')) : null,
+ userInfo: uni.getStorageSync('user-info') ? JSON.parse(uni.getStorageSync('user-info')) : null,
Config: uni.getStorageSync('Config') ? JSON.parse(uni.getStorageSync('Config')) : null
}
},
@@ -169,7 +169,7 @@
changeAuth () {
//这里是权限通过后执行自己的代码逻辑
if(uni.getSystemInfoSync().platform !='ios'){
- this.$refs['camears'].open()
+ this.$refs['camears'].open()
}
this.chooseImg()
},
@@ -178,7 +178,7 @@
},
setImg(){
if(uni.getSystemInfoSync().platform != 'ios'){
- this.$refs['authpup'].open()
+ this.$refs['authpup'].open()
}else{
this.chooseImg()
}//调起自定义权限目的弹框,具体可看示例里面很详细
--
Gitblit v1.9.3