Commit 30142937 by huangqy

提交下配置

parent 485b1780
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License,Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export class PageConstants {
/**
* Delay time to router MainPage.
*/
static readonly DELAY_TIME: number = 2000;
/**
* The value of letter space: 16vp.
*/
static readonly LETTER_SPACE: string = '16vp';
/**
* The value of tab bar button space: 6vp.
*/
static readonly BUTTON_SPACE: string = '6vp';
/**
* MainPage url.
*/
static readonly MAIN_PAGE_URL: string = 'pages/MainPage';
/**
* CommodityDetailPage url.
*/
static readonly COMMODITY_DETAIL_PAGE_URL: string = 'pages/CommodityDetailPage';
/**
* Index of home tab.
*/
static readonly HOME_INDEX: number = 0;
/**
* Index of newProduct tab.
*/
static readonly NEW_PRODUCT_INDEX: number = 1;
/**
* Index of shopCart tab.
*/
static readonly SHOP_CART_INDEX: number = 2;
/**
* Index of personal tab.
*/
static readonly PERSONAL_INDEX: number = 3;
/**
* Image aspect ratio value: 1.
*/
static readonly IMAGE_ASPECT_RATIO: number = 1;
/**
* Key of router get params: tabIndex.
*/
static readonly TABLE_INDEX_KEY: string = 'tabIndex';
/**
* Key of router get params: orderList.
*/
static readonly ORDER_LIST_KEY: string = 'orderList';
/**
* Key of router get params: order.
*/
static readonly ORDER_KEY: string = 'order';
/**
* Key of router get params: orderIds.
*/
static readonly ORDER_IDS_KEY: string = 'orderIds';
/**
* Key of router get params: id.
*/
static readonly ID_KEY: string = 'id';
}
\ No newline at end of file
{
"float": [
{
"name": "splash_image_size",
"value": "120vp"
},
{
"name": "splash_image_size_lg",
"value": "160vp"
},
{
"name": "splash_text_margin_bottom",
"value": "136vp"
},
{
"name": "text_image_width",
"value": "114vp"
},
{
"name": "text_image_height",
"value": "27vp"
},
{
"name": "main_image_size",
"value": "24vp"
},
{
"name": "bar_width",
"value": "96vp"
}
]
}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论