优化匹配页面,新增好友优惠展示逻辑,支持通过推荐码获取折扣。调整价格计算方式,确保用户在购买时能看到实际优惠。更新页面样式以提升用户体验,并修复部分逻辑问题。

This commit is contained in:
乘风
2026-02-12 17:34:50 +08:00
parent 543a465682
commit a71e14d2e6
6 changed files with 113 additions and 42 deletions

View File

@@ -45,7 +45,7 @@ Page({
if (isLoggedIn && userInfo) {
// 从本地存储或用户信息中获取绑定数据
const phoneNumber = wx.getStorageSync('user_phone') || userInfo.phone || ''
const wechatId = wx.getStorageSync('user_wechat') || userInfo.wechat || ''
const wechatId = wx.getStorageSync('user_wechat') || userInfo.wechatId || userInfo.wechat || ''
const alipayAccount = wx.getStorageSync('user_alipay') || userInfo.alipay || ''
const address = wx.getStorageSync('user_address') || userInfo.address || ''
// 默认开启自动提现