Commit ba786b2f authored by spc's avatar spc

Merge branch 'dev' of http://gitlab.dui88.com/fh/20250528_FHQ1 into dev

parents 17f26642 7d723bd9
......@@ -8,10 +8,10 @@
<!-- 卡片内容区域 -->
<view class="card_content">
<!-- 卡片标题 -->
<text class="card_title" :class="`item-${itemIndex}`">邀请好友注册得好礼</text>
<text class="card_title" :class="`item-${itemIndex}`">{{ props.title }}</text>
<!-- 描述文字 -->
<text class="card_description" :class="`item-${itemIndex}`">成功邀请一位好友注册即可获得XXX</text>
<text class="card_description" :class="`item-${itemIndex}`">{{ props.subTitle }}</text>
<!-- 去邀请按钮 -->
<button class="invite_button" :class="`item-${itemIndex}`" @tap="handleInviteClick" :open-type="islogin ? 'share' : ''">
......@@ -56,6 +56,14 @@ const props = defineProps({
islogin: {
type: Boolean,
default: false
},
title: {
type: String,
default: ''
},
subTitle: {
type: String,
default: ''
}
});
......
......@@ -274,7 +274,11 @@
<!-- 积分限时购 -->
<SeckillSection :isdebug="isdebug" :itemIndex="itemIndex" @credits-sale-click="handleCreditsSaleClick" />
<!-- 邀请得好礼组件 -->
<InviteGift v-if="integralStore.originInviteHome?.data" class="invite_container" :itemIndex="itemIndex" :islogin="islogin" @invite="handleInviteClick"
<InviteGift v-if="integralStore.originInviteHome?.data"
:title="integralStore.originInviteHome?.data?.title" class="invite_container"
:subTitle="integralStore.originInviteHome?.data?.subTitle"
:itemIndex="itemIndex" :islogin="islogin"
@invite="handleInviteClick"
@record="handleRecordClick" />
<!-- 会员活动 -->
<view class="vip-active-area" v-if="vipActive?.length > 0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment