From 2f23322d1450993b6cdd20a71cad1ce5735adda6 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Thu, 07 May 2026 18:05:02 +0800
Subject: [PATCH] feat:澜品优选开启权益权收入口+修复绑卡BUG
---
pages/quanyi/add.vue | 1 +
pages/quanshou/index.vue | 4 ++--
pages/login/login.vue | 16 ++++++++--------
manifest.json | 4 ++--
pages/my/my.vue | 4 ++--
5 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/manifest.json b/manifest.json
index 094f5d4..b3d600b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "澜品优选",
"appid" : "__UNI__27C0349",
"description" : "",
- "versionName" : "1.3.8",
- "versionCode" : 138,
+ "versionName" : "1.3.9",
+ "versionCode" : 139,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 090d1f4..1ea4db6 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -186,14 +186,14 @@
})
})
console.log(ygxRes);
- // if(!ygxRes.data.data.boughtEquity){
- // goUrl = '/pages/quanyi/index'
- // // t.$util.goPages(goUrl)
- // uni.navigateTo({
- // url: '/pages/quanyi/index'
- // })
- // return
- // }
+ if(!ygxRes.data.data.boughtEquity){
+ goUrl = '/pages/quanyi/index'
+ // t.$util.goPages(goUrl)
+ uni.navigateTo({
+ url: '/pages/quanyi/index'
+ })
+ return
+ }
t.ygxLogin = ygxRes.data.data
uni.setStorageSync('ygxLogin', t.ygxLogin)
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 3df6840..ca77d95 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -88,12 +88,12 @@
<view>{{item.text}}</view>
</view>
</template>
- <!-- <view class="mySerCon-v" @tap="toHuishou" >
+ <view class="mySerCon-v" @tap="toHuishou" >
<template v-if="isShop">
<image src="/static/imgs/quanshou.png" mode="widthFix"></image>
<text>会员权收</text></template>
- </view> -->
+ </view>
</view>
</view>
<!-- <view style="text-align: center;font-size: 24rpx;color: #666666;margin: 80rpx 0;">
diff --git a/pages/quanshou/index.vue b/pages/quanshou/index.vue
index 7439e14..b3f2ac9 100644
--- a/pages/quanshou/index.vue
+++ b/pages/quanshou/index.vue
@@ -66,7 +66,7 @@
const _this = this;
this.isAgree = uni.getStorageSync('boughtEquity')
uni.request({
- url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+'47be9559-6b1b-42dd-84ed-25d028065013',
+ url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+uni.getStorageSync('ygxLogin').appId,
success: function (res) {
if(res.data.code==200){
_this.lst = res.data.data;
@@ -210,7 +210,7 @@
<!-- <view style="font-size: 28rpx;font-weight: 400;background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">会员预计最高节省1359.27元</view>-->
<view style="display: flex;margin-top: 30rpx;align-items: self-end;">
<view v-if="lst.length" style="font-size: 24rpx;width: 70%;">
- <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} 99<span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p>
+ <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} <span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p>
<!-- <p style="font-size: 48rpx;color: #253567;font-weight: bold;">¥99.00<span style="font-size: 28rpx;margin-left: 20rpx;">已扣款</span></p>-->
<!-- <p style="background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">{{lst[0].buyDate}}</p>-->
</view>
diff --git a/pages/quanyi/add.vue b/pages/quanyi/add.vue
index 3f28fed..1fac832 100644
--- a/pages/quanyi/add.vue
+++ b/pages/quanyi/add.vue
@@ -387,6 +387,7 @@
title: e.data.data,
icon: 'none'
});
+ return;
}
uni.request({
url:_this.$webHost+`/api/v2/pay/getPayBindCardInfo/${uni.getStorageSync('ygxLogin').customerId}`,
--
Gitblit v1.9.3