1.解决多个接口报错,出现多个提示的问题

v1.0.0
sws 2024-09-04 17:21:59 +08:00
parent 715c3992ec
commit efdd3d421c
2 changed files with 10 additions and 19 deletions

View File

@ -1,7 +1,5 @@
import defaultCommon from './index';
import { online_url } from '@/utils';
import { onActivated } from 'vue';
const new_url = await online_url('/static/app/tabbar/').then((res) => res);
interface DefaultFooterNav {
content: {

View File

@ -1,13 +1,6 @@
import defaultCommon from './index';
import { online_url } from '@/utils';
import { onMounted } from 'vue';
const new_url = ref('');
onMounted(() => {
online_url('/static/app/tabbar/').then((res) => {
new_url.value = res;
});
});
const new_url = await online_url('/static/app/tabbar/').then((res) => res);
interface DefaultSeckill {
content: {
head_state: string;
@ -19,7 +12,7 @@ interface DefaultSeckill {
button_text: string;
shop_style_type: string;
carousel_col: number;
shop_number: number,
shop_number: number;
is_show: string[];
shop_type: string;
shop_button_text: string;
@ -53,10 +46,10 @@ interface DefaultSeckill {
shop_price_typeface: string;
shop_price_size: number;
shop_price_color: string;
shop_button_typeface:string;
shop_button_typeface: string;
shop_button_size: number;
shop_button_color: color_list[];
shop_button_text_color: string,
shop_button_text_color: string;
shop_icon_size: number;
shop_icon_color: string;
original_price_color: string;
@ -137,22 +130,22 @@ const defaultSeckill: DefaultSeckill = {
shop_title_color: '#333333',
shop_price_typeface: '500',
shop_price_size: 18,
shop_price_color: "#EA3323;",
shop_button_typeface:'400',
shop_price_color: '#EA3323;',
shop_button_typeface: '400',
shop_button_size: 12,
shop_button_color: [
{
color: '#FF3D53',
color_percentage: undefined
color_percentage: undefined,
},
{
color: '#D73A3A',
color_percentage: undefined
}
color_percentage: undefined,
},
],
shop_button_text_color: '#fff',
shop_icon_size: 10,
shop_icon_color: "#fff",
shop_icon_color: '#fff',
original_price_color: '#999',
seckill_subscript_location: 'top-left',
seckill_subscript_text_color: '#fff',