新增营销系统、分销系统、会员功能、门店、提现功能

This commit is contained in:
Shaw
2024-02-08 21:01:37 +08:00
parent 68b3f2dcc3
commit 17c043348a
1398 changed files with 81279 additions and 56269 deletions

View File

@ -9,6 +9,7 @@
import { toRefs } from "vue";
import { receiveACoupon } from "@/api/coupon";
import { useRouter } from "@/hooks/useRouter";
const emit = defineEmits(['receiveCoupon'])
const {push} = useRouter()
const props = defineProps({
@ -32,11 +33,13 @@ const {
const getCoupon = async () => {
await receiveACoupon(coupons.value.id)
emit('receiveCoupon')
uni.showToast({
title: "领取成功",
icon: "none",
duration: 2000
});
}
const goToProduct = (coupons) => {
@ -120,9 +123,6 @@ const goToProduct = (coupons) => {
padding: 14rpx 22rpx;
background: #ee6d46;
color: #fff;
}
.get-coupon {
}
.disable{
background: #666666;