Commit c6f4fcce authored by 王炽's avatar 王炽

6666

parent b89c4ee5
...@@ -18,7 +18,7 @@ const { ...@@ -18,7 +18,7 @@ const {
// const baseUrl = "http://172.16.230.108:7777/pmall"; // const baseUrl = "http://172.16.230.108:7777/pmall";
// const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境 // const baseUrl = "https://momclub-uat.feihe.com/pmall";//测试环境
// const baseUrl = "https://momclub-test.feihe.com/pmall"; // const baseUrl = "https://momclub-test.feihe.com/pmall";
let baseUrl = "https://momclub.feihe.com/pmall";//生产环境 let baseUrl = "https://momclub.feihe.com/pmall";//生产环境
// const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock // const baseUrl = "https://docs.dui88.com/mock/1956/api";//mock
// const baseUrl = "https://feihe.m.duibatest.com.cn/pmall" // const baseUrl = "https://feihe.m.duibatest.com.cn/pmall"
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
<!-- 卡片内容区域 --> <!-- 卡片内容区域 -->
<view class="card_content"> <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' : ''"> <button class="invite_button" :class="`item-${itemIndex}`" @tap="handleInviteClick" :open-type="islogin ? 'share' : ''">
...@@ -56,6 +56,14 @@ const props = defineProps({ ...@@ -56,6 +56,14 @@ const props = defineProps({
islogin: { islogin: {
type: Boolean, type: Boolean,
default: false default: false
},
title: {
type: String,
default: ''
},
subTitle: {
type: String,
default: ''
} }
}); });
......
...@@ -274,7 +274,11 @@ ...@@ -274,7 +274,11 @@
<!-- 积分限时购 --> <!-- 积分限时购 -->
<SeckillSection :isdebug="isdebug" :itemIndex="itemIndex" @credits-sale-click="handleCreditsSaleClick" /> <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" /> @record="handleRecordClick" />
<!-- 会员活动 --> <!-- 会员活动 -->
<view class="vip-active-area" v-if="vipActive?.length > 0"> <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