feat(uniapp): 新增优惠券楼层组件(含未登录跳登录)

This commit is contained in:
pikachu1995@126.com
2026-10-12 10:29:11 +08:00
parent 79433dd766
commit a108bb4d13
4 changed files with 133 additions and 0 deletions

View File

@@ -47,6 +47,7 @@
<lineLayout v-if="item.type == 'line'" :res="item.options" />
<richText v-if="item.type == 'richText'" :res="item.options" />
<integral v-if="item.type == 'integral'" :res="item.options" />
<coupon v-if="item.type == 'coupon'" :res="item.options" />
</view>
<fetchCoupon ref="couponRef" />
</view>
@@ -86,6 +87,7 @@ import blank from '@/pages/tabbar/home/template/tpl_blank.vue'
import lineLayout from '@/pages/tabbar/home/template/tpl_line.vue'
import richText from '@/pages/tabbar/home/template/tpl_rich_text.vue'
import integral from '@/pages/tabbar/home/template/tpl_integral.vue'
import coupon from '@/pages/tabbar/home/template/tpl_coupon.vue'
import { getFloorData } from '@/api/home'
const HOME_LAYOUT_PADDING_RPX = 16