Commit 283b4331 authored by chenkai@duiba.com.cn's avatar chenkai@duiba.com.cn

生育补贴、鹤礼2.0、月月礼样式调整

parent 9efae7be
...@@ -46,4 +46,7 @@ export const fetchMemberInfo = () => api.get('/c/user/memberInfo'); ...@@ -46,4 +46,7 @@ export const fetchMemberInfo = () => api.get('/c/user/memberInfo');
*/ */
export const updateBabyInfo = (data) => api.post('/c/user/saveBaby', data); export const updateBabyInfo = (data) => api.post('/c/user/saveBaby', data);
export const fetchUserJSON = () => api.get('/c/front/content',{type:'my'}); export const fetchUserJSON = () => api.get('/c/front/content',{type:'my'});
\ No newline at end of file
/** 查询用户是否参与生育补贴和鹤礼2.0*/
export const checkParticipation = (data) => api.get('/c/fertility/index', data);
\ No newline at end of file
...@@ -2976,35 +2976,35 @@ ...@@ -2976,35 +2976,35 @@
background: linear-gradient(135deg, #503404, #6a4505); background: linear-gradient(135deg, #503404, #6a4505);
color: #fff; color: #fff;
box-shadow: 0 2rpx 8rpx rgba(80, 52, 4, 0.3); box-shadow: 0 2rpx 8rpx rgba(80, 52, 4, 0.3);
opacity: 0.7; // opacity: 0.7;
} }
&.buy-btn-purchased-platinum { &.buy-btn-purchased-platinum {
background: linear-gradient(135deg, #284a6c, #3a5e80); background: linear-gradient(135deg, #284a6c, #3a5e80);
color: #fff; color: #fff;
box-shadow: 0 2rpx 8rpx rgba(40, 74, 108, 0.3); box-shadow: 0 2rpx 8rpx rgba(40, 74, 108, 0.3);
opacity: 0.7; // opacity: 0.7;
} }
&.buy-btn-purchased-diamond { &.buy-btn-purchased-diamond {
background: linear-gradient(135deg, #503404, #6a4505); background: linear-gradient(135deg, #503404, #6a4505);
color: #fff; color: #fff;
box-shadow: 0 2rpx 8rpx rgba(80, 52, 4, 0.3); box-shadow: 0 2rpx 8rpx rgba(80, 52, 4, 0.3);
opacity: 0.7; // opacity: 0.7;
} }
&.buy-btn-purchased-starlight { &.buy-btn-purchased-starlight {
background: linear-gradient(135deg, #503404, #6a4505); background: linear-gradient(135deg, #503404, #6a4505);
color: #fff; color: #fff;
box-shadow: 0 2rpx 8rpx rgba(80, 52, 4, 0.3); box-shadow: 0 2rpx 8rpx rgba(80, 52, 4, 0.3);
opacity: 0.7; // opacity: 0.7;
} }
&.buy-btn-purchased-starshine { &.buy-btn-purchased-starshine {
background: linear-gradient(135deg, #f7d1a0, #f9dca8); background: linear-gradient(135deg, #f7d1a0, #f9dca8);
color: #000; color: #000;
box-shadow: 0 2rpx 8rpx rgba(247, 209, 160, 0.3); box-shadow: 0 2rpx 8rpx rgba(247, 209, 160, 0.3);
opacity: 0.7; // opacity: 0.7;
} }
&.buy-btn-locked-gold { &.buy-btn-locked-gold {
......
This diff is collapsed.
This diff is collapsed.
...@@ -234,6 +234,24 @@ ...@@ -234,6 +234,24 @@
}], }],
"tool": [ "tool": [
[{ [{
"link": {
"extra": {},
"type": 3,
"url": "https://momuat.feihe.com/activity-platform/marketingActivity?source=xmhmini"
},
"title": "生育补贴",
"desc": "生育补贴",
"bgUrl": "my/icon_sybt_lab.png"
}, {
"link": {
"extra": {},
"type": 3,
"url": "https://momuat.feihe.com/activity-platform/craneGiftActivity?source=xmhmini"
},
"title": "鹤礼爱心",
"desc": "鹤礼爱心",
"bgUrl": "my/icon_hlax_lab.png"
}, {
"link": { "link": {
"extra": {}, "extra": {},
"type": 1, "type": 1,
...@@ -323,12 +341,6 @@ ...@@ -323,12 +341,6 @@
], ],
"specialAttentionOptions": ["过敏", "长肉", "肠道", "消化", "脑发育"], "specialAttentionOptions": ["过敏", "长肉", "肠道", "消化", "脑发育"],
"activeInfo": [{ "activeInfo": [{
"img": "https://course.feihe.com/momclub-picture/my/20250915002.png",
"extra": {},
"type": 1,
"title": "915专题活动",
"url": "/activity0915/act0915/act0915"
}, {
"img": "https://course.feihe.com/momclub-picture/my/activeImg0911_1.png", "img": "https://course.feihe.com/momclub-picture/my/activeImg0911_1.png",
"extra": { "extra": {
"envVersion": "release", "envVersion": "release",
......
...@@ -203,6 +203,13 @@ ...@@ -203,6 +203,13 @@
{ {
"navigationBarTitleText" : "" "navigationBarTitleText" : ""
} }
},
{
"path" : "pages/heliaixinTools/heliaixinTools",
"style" :
{
"navigationBarTitleText" : "鹤礼爱心"
}
} }
], ],
"subPackages": [ "subPackages": [
......
<template>
<view class="hlaxPage">
<view class="hlax_bg"></view>
<image class="hlax_bg" :src="$baseUrl + 'heliaixinTool/hlax_bg.png'" mode="aspectFill" />
<image class="hlax_btn" :src="$baseUrl + 'heliaixinTool/btn_go_see.png'" v-if="toolCfg.link?.go_see"
@click="onTips" />
</view>
</template>
<script setup>
import {
ref,
onMounted,
getCurrentInstance,
computed
} from "vue";
import {
usePageCfgStore
} from "@/stores/pageCfg";
const {
proxy
} = getCurrentInstance();
const $baseUrl = proxy.$baseUrl;
const pageCfgStore = usePageCfgStore();
const toolCfg = computed(() =>
pageCfgStore?.toolList.find((item) => item.title == "鹤礼爱心") || {}
);
onMounted(() => {})
//点击去查看按钮提示
const onTips = () => {
console.log("toolCfg:::", toolCfg);
uni.showToast({
title: '可去' + toolCfg.value?.link?.channelName + '渠道查看',
icon: "none"
})
}
</script>
<style lang="less" scoped>
.hlax_bg {
position: absolute;
width: 750rpx;
height: 1624rpx;
top: 0rpx;
left: 0rpx;
}
.hlax_btn {
position: absolute;
width: 465rpx;
height: 120rpx;
top: 1454rpx;
left: 143rpx;
}
</style>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -282,13 +282,6 @@ const handleToolClick = async (item) => { ...@@ -282,13 +282,6 @@ const handleToolClick = async (item) => {
// } // }
} }
}; };
//跳转到ai取名页面
// const toAiNaming = () => {
// jump({
// type: JumpType.INNER,
// url: "/pages/naming/naming",
// })
// };
// 编辑个人资料 // 编辑个人资料
const handleEditProfile = (e) => { const handleEditProfile = (e) => {
......
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