微信支付:增加 weixin 未绑定的提示引导

This commit is contained in:
YunaiV
2023-12-24 00:03:24 +08:00
parent 3e9dccdf68
commit f90096e20a
5 changed files with 70 additions and 27 deletions
@@ -1,11 +1,10 @@
<!-- 装修用户组件用户资产 -->
<template>
<!-- TODO @惠智造代码合并有问题可以看看 -->
<view class="ss-wallet-menu-wrap ss-flex ss-col-center">
<view class="menu-item ss-flex-1 ss-flex-col ss-row-center ss-col-center"
@tap="sheep.$router.go('/pages/user/wallet/money')">
<view class="value-box ss-flex ss-col-bottom">
<view class="value-text ss-line-1">{{ userInfo.money || '0.00' }}</view>
<view class="value-text ss-line-1">{{ fen2yuan(userInfo.money) || '0.00' }}</view>
<view class="unit-text ss-m-l-6"></view>
</view>
<view class="menu-title ss-m-t-28">账户余额</view>
@@ -47,6 +46,7 @@
ref
} from 'vue';
import sheep from '@/sheep';
import { fen2yuan } from '../../hooks/useGoods';
const userInfo = computed(() => sheep.$store('user').userInfo);
const numData = computed(() => sheep.$store('user').numData);