feat: 选品广场结算返回到我的店铺页,粉色卡默认false所有页面统一调整
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<s-pages
|
||||
title="AI店铺"
|
||||
:pink_bg="false"
|
||||
navPreset="blue"
|
||||
tabbar="/pages/index/aiStore"
|
||||
:showLeftButton="false"
|
||||
@@ -166,7 +165,7 @@
|
||||
|
||||
<script setup>
|
||||
import { ref, watch } from 'vue';
|
||||
import { onShow } from '@dcloudio/uni-app';
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
import * as api from '@/sheep/api/ai/index';
|
||||
import card_pages from '@/components/card_pages/card_pages';
|
||||
import card_payment from '@/components/card_payment/card_payment';
|
||||
@@ -217,6 +216,13 @@
|
||||
mesArr.value = res?.code === 0 ? res?.data || [] : [];
|
||||
};
|
||||
|
||||
onLoad((options) => {
|
||||
const tab = Number(options?.tab);
|
||||
if (tab === 1) {
|
||||
navChange(1);
|
||||
}
|
||||
});
|
||||
|
||||
onShow(() => {
|
||||
getSpuTimeList();
|
||||
getCartList();
|
||||
|
||||
Reference in New Issue
Block a user