Commit f6646fad authored by 王炽's avatar 王炽

我的页面,增加积分明细

parent aa82a575
......@@ -62,7 +62,7 @@
@add="onAddBaby" />
</view>
<view class="integralContainer">
<view class="integralContainer" @click="handleIntegralClick">
<image
class="integralIcon"
src="https://course.feihe.com/momclub-picture/my/integralBg.png"
......@@ -344,6 +344,22 @@ const initData = async () => {
}
};
const handleIntegralClick = () => {
md.sensorLogTake({
xcxClick: "我的页面-首屏页面点击",
pageName: "我的页面-首屏",
buttonName: "积分明细",
});
const urlStr = 'https://mom.feihe.com/member/mine/newPointDetail?crmId={crmid}&appCode=XMH';
const url = urlStr.replace("{crmid}", userStore.babyInfo?.memberId);
console.log('积分明细链接:==',url)
jump({
type: 3,
url: url
})
}
const getRealtimePhoneNumber = async (e) => {
console.log("获取手机号码", e);
......@@ -646,6 +662,8 @@ defineExpose({});
position: absolute;
top: 0rpx;
right: 0rpx;
width: 226rpx;
height: 166rpx;
.integralIcon {
position: absolute;
width: 226rpx;
......
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