Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jump_hm_warehouse
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
毛勇泽
jump_hm_warehouse
Commits
30142937
Commit
30142937
authored
Jan 14, 2024
by
huangqy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交下配置
parent
485b1780
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
125 行增加
和
0 行删除
+125
-0
PageConstants.ets
entry/src/main/ets/constants/PageConstants.ets
+92
-0
float.json
entry/src/main/resources/base/element/float.json
+33
-0
没有找到文件。
entry/src/main/ets/constants/PageConstants.ets
0 → 100644
View file @
30142937
/*
* 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
entry/src/main/resources/base/element/float.json
0 → 100644
View file @
30142937
{
"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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论