Commit 9664063d authored by 王炽's avatar 王炽

666666

parent 1862a197
......@@ -775,6 +775,7 @@ onMounted(() => {
onLoad((options) => {
console.log("🚀 ~ options-新增和修改:", options)
// debugger;
pageType.value = options.type || "add";
babyId.value = options.id || "";
if (pageType.value === "edit") {
......
......@@ -289,7 +289,7 @@
>
<image
class="itemBg"
:src="$baseUrl + `integral/${tupianBanben}/${index === selectIdx ? quanyiBgs[itemIndex]['selectImg'] : (index < quanyiBgs[itemIndex].quanyiNum ? quanyiBgs[itemIndex]['unlockImg'] : quanyiBgs[itemIndex]['lockImg'])}`"
:src="$baseUrl + `integral/1023/${index === selectIdx ? quanyiBgs[itemIndex]['selectImg'] : (index < quanyiBgs[itemIndex].quanyiNum ? quanyiBgs[itemIndex]['unlockImg'] : quanyiBgs[itemIndex]['lockImg'])}`"
:style="{ width: item.width, height: item.height }"
mode="aspectFit"
/>
......@@ -1362,7 +1362,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
"低至865积分+¥195",
"低至1000积分+¥228",
"低至715积分+¥125",
"低至560积分+¥102",
"低至3160积分+¥126.4",
"低至323积分+¥37.5",
"低至210积分+¥68",
"低至560积分+¥102",
......@@ -1590,14 +1590,22 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
}else{
if(userStore.babyInfo?.allBabyBaseInfo?.length == 3){
if (userStore.babyInfo?.allBabyBaseInfo?.some(baby => baby.babyStage == 1)) {
const baby = userStore.babyInfo?.allBabyBaseInfo?.find(baby => baby.babyStage == 1);
// const baby = userStore.babyInfo?.allBabyBaseInfo?.find(baby => baby.babyStage == 1);
const baby = userStore.babyInfo?.allBabyBaseInfo.find(
(item) => item.selected
);
// debugger;
if (baby) {
navigateTo(`/pages/person/person?type=edit&id=${baby.id}`);
}
}else{
if(userStore.babyInfo?.allBabyBaseInfo?.some(baby => baby.babyStage == 0)){
//跳转2状态的编辑页
const baby = userStore.babyInfo?.allBabyBaseInfo?.find(baby => baby.babyStage == 0);
// const baby = userStore.babyInfo?.allBabyBaseInfo?.find(baby => baby.babyStage == 0);
const baby = userStore.babyInfo?.allBabyBaseInfo.find(
(item) => item.selected
);
// debugger;
if (baby) {
navigateTo(`/pages/person/person?type=edit&id=${baby.id}`);
}
......
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