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();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<s-pages tabbar="/pages/cart/cart" title="购物车" :showLeftButton="false">
|
||||
<s-pages tabbar="/pages/cart/cart" title="购物车" :pink_bg="true" :showLeftButton="false">
|
||||
<s-empty
|
||||
v-if="state.list.length === 0"
|
||||
icon="/static/cart-empty.png"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<s-pages title="分类" :showLeftButton="false" color="#ffffff">
|
||||
<s-pages title="分类" :pink_bg="true" :showLeftButton="false" color="#ffffff">
|
||||
<card_search class="search" style="padding-bottom: 32rpx" @search="search"></card_search>
|
||||
<view class="page_bottom flex-row">
|
||||
<view class="classify shrink">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<s-pages title="列表记录" :pink_bg="false" navPreset="light">
|
||||
<s-pages title="列表记录" navPreset="light">
|
||||
<view class="list-record-page">
|
||||
<view class="share-btn" :style="{ top: shareTop }" @tap="onShare">
|
||||
一键分享
|
||||
|
||||
Reference in New Issue
Block a user