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
d4e933ff
Commit
d4e933ff
authored
Jan 16, 2024
by
陈桂东
Browse files
Options
Browse Files
Download
Plain Diff
数据同步
parents
1064f049
5970ea7a
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
231 行增加
和
39 行删除
+231
-39
build-profile.json5
build-profile.json5
+44
-32
FunctionIntroduction.ets
entry/src/main/ets/pages/sub_systemMaintenance/FunctionIntroduction.ets
+134
-0
Maintenance.ets
entry/src/main/ets/pages/sub_systemMaintenance/Maintenance.ets
+29
-4
Setting.ets
entry/src/main/ets/pages/sub_systemMaintenance/Setting.ets
+1
-2
main_pages.json
entry/src/main/resources/base/profile/main_pages.json
+2
-0
UniInitList.ets
features/SystemMaintenance/src/main/ets/model/UniInitList.ets
+21
-1
没有找到文件。
build-profile.json5
View file @
d4e933ff
{
"app": {
"compileSdkVersion": 9,
"compatibleSdkVersion": 9,
"products": [
app: {
signingConfigs: [
{
"name": "default",
"signingConfig": "default",
}
]
name: "default",
type: "HarmonyOS",
material: {
certpath: "C:\\Users\\Administrator\\.ohos\\config\\auto_debug_StoreManagement_com.junmp.store_management_80086000137761574.cer",
storePassword: "0000001AA1F94F9275E69E7D71EA60FFFDA63D0E446A208F4D7F23681A4628CFA87B62A93422A8EE005F",
keyAlias: "debugKey",
keyPassword: "0000001A3460D9B6DDA73B29063AD7DC6F583D3E33894F3F1EB87E0B2760DFE66191403E13815EFA7BF2",
profile: "C:\\Users\\Administrator\\.ohos\\config\\auto_debug_StoreManagement_com.junmp.store_management_80086000137761574.p7b",
signAlg: "SHA256withECDSA",
storeFile: "C:\\Users\\Administrator\\.ohos\\config\\auto_debug_StoreManagement_com.junmp.store_management_80086000137761574.p12",
},
},
],
compileSdkVersion: 9,
compatibleSdkVersion: 9,
products: [
{
name: "default",
signingConfig: "default",
},
],
},
"modules"
: [
modules
: [
{
"name"
: "entry",
"srcPath"
: "./entry",
"targets"
: [
name
: "entry",
srcPath
: "./entry",
targets
: [
{
"name": "default",
"applyToProducts": [
"default"
]
}
]
name: "default",
applyToProducts: ["default"],
},
],
},
{
"name"
: "common",
"srcPath": "./common"
name
: "common",
srcPath: "./common",
},
{
"name"
: "DirectConnect",
"srcPath": "./features/DirectConnect"
name
: "DirectConnect",
srcPath: "./features/DirectConnect",
},
{
"name"
: "MaterialManagement",
"srcPath": "./features/MaterialManagement"
name
: "MaterialManagement",
srcPath: "./features/MaterialManagement",
},
{
"name"
: "PageManagement",
"srcPath": "./features/PageManagement"
name
: "PageManagement",
srcPath: "./features/PageManagement",
},
{
"name": "SystemMaintenance",
"srcPath": "./features/SystemMaintenance"
}
]
}
\ No newline at end of file
name: "SystemMaintenance",
srcPath: "./features/SystemMaintenance",
},
],
}
entry/src/main/ets/pages/sub_systemMaintenance/FunctionIntroduction.ets
0 → 100644
View file @
d4e933ff
import promptAction from '@ohos.promptAction'
import { documentList, UniListItem } from '@ohos/system/src/main/ets/model/UniInitList'
import router from '@ohos.router'
import { TitleBar } from '../../view/title/TitleBar'
@Entry
@Component
export struct FunctionIntroduction {
@State fontColor: string = '#0FA983'
@State selectedFontColor: string = '#fff'
@State currentIndex: number = 0
private controller: TabsController = new TabsController()
@Builder TabBuilder(index: number, name: string) {
Column() {
Text(name)
.fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor)
.fontSize(20)
.lineHeight(36)
}
.width('100%')
.height(45)
.border({ width: 2, color: 'rgb(15, 169, 131)' })
.borderRadius(3)
.backgroundColor(this.currentIndex === index ? this.fontColor : '#00000000')
}
build() {
Column() {
Flex({ direction: FlexDirection.Column }) {
TitleBar({ title: "功能介绍" })
Tabs({ barPosition: BarPosition.Start, controller: this.controller }) {
TabContent() {
Flex({ direction: FlexDirection.Column, justifyContent: FlexAlign.Start }){
Column() {
Image($rawfile('version/ck.jpg'))
.height(156)
.width('100%')
.borderRadius({ topLeft:6, topRight: 6 })
Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.SpaceBetween }) {
Text('被装仓库作业终端主要更新').fontSize(14)
Text('2023-04-07').fontSize(14)
}
.backgroundColor('#fff')
.margin({ bottom: 8 })
.padding({ top: 8, bottom: 8, left: 6, right: 6 })
.borderRadius({ bottomLeft:6, bottomRight: 6 })
}.onClick(() => {
promptAction.showToast({
message: '请前往被装业务信息系统2.0下载',
duration: 2000,
});
})
Column() {
Image($rawfile('version/gq.jpg'))
.height(156)
.width('100%')
.borderRadius({ topLeft: 6, topRight: 6 })
Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.SpaceBetween }) {
Text('被装仓库作业终端作业刻录机主要更新').fontSize(14)
Text('2023-06-21').fontSize(14)
}
.backgroundColor('#fff')
.margin({ bottom: 8 })
.padding({ top: 8, bottom: 8, left: 6, right: 6 })
.borderRadius({ bottomLeft: 6, bottomRight: 6 })
}.onClick(() => {
promptAction.showToast({
message: '请前往被装业务信息系统2.0下载',
duration: 2000,
});
})
}.width("100%").margin({top:10})
}.tabBar(this.TabBuilder(0, '视频功能介绍'))
TabContent() {
Flex({direction: FlexDirection.Column,justifyContent: FlexAlign.Start}){
List({ space: 2 }) {
ForEach(documentList, (item: UniListItem) => {
ListItem() {
Row() {
Row() {
Text(item?.title).fontSize(14).fontColor('#3b4144')
}
.width('64%')
Blank()
.layoutWeight(1)
Text(item.targetValue)
.fontSize(13)
.flexGrow(1)
.align(Alignment.End)
.margin({ right: 8 })
.fontColor('#999')
Image($r('app.media.right_grey')).width(8).height(16)
}
.width('100%')
.justifyContent(FlexAlign.SpaceBetween)
.padding({ left: 12, right: 18 })
}
.height('7%')
.onClick(() => {
router.pushUrl({
url: item.url
})
})
})
}
.width('100%')
.backgroundColor('#fff')
.divider({ strokeWidth: 1, color: 'rgb(242,242,242)' }) // 每行之间的分界线
}.width("100%")
}.tabBar(this.TabBuilder(1, '文档功能解释'))
}
.margin(15)
.onChange((index: number) => {
this.currentIndex = index
})
}
}.linearGradient({
direction: GradientDirection.RightBottom,
repeating: true,
colors: [['#36a3c0', 0.0], ['#97c6a6', 0.6], ['#c7d799', 2.0]]
})
}
}
\ No newline at end of file
entry/src/main/ets/pages/sub_systemMaintenance/Maintenance.ets
View file @
d4e933ff
...
...
@@ -12,7 +12,31 @@ export struct Maintenance {
Flex({ direction: FlexDirection.Column }) {
TitleBar({ title: "联系" })
Column() {
Column() {
List() {
ListItem() {
Row() {
Divider()
.vertical(true)
.height(14)
.strokeWidth(3)
.color('#19ac88')
.opacity(0.6)
.margin({ left: 8, right: 8 })
Text("运维联系方式")
.fontSize(16)
}
}.height('6%')
}
.backgroundColor('#fff')
.width('100%')
Divider()
.strokeWidth(1)
.color('rgb(242,242,242)')
List({ space: 2 }) {
ForEach(maintenanceList, (item: UniListItem) => {
ListItem() {
...
...
@@ -41,16 +65,17 @@ export struct Maintenance {
.justifyContent(FlexAlign.SpaceBetween)
.padding({ left: 12, right: 18 })
}
.height('
10
%')
.height('
9
%')
})
}
.width('100%')
.backgroundColor('#fff')
.divider({ strokeWidth: 1, color: 'rgb(242,242,242)' }) // 每行之间的分界线
Text('*请您耐心等待,我们非常理解您的心情,我们会尽快为您处理您的问题。')
.fontSize(10)
.margin({ top: 8, bottom: 8 })
}
Text('*请您耐心等待,我们非常理解您的心情,我们会尽快为您处理您的问题。')
.fontSize(10)
.margin({ top: 8, bottom: 8 })
}.padding(10)
}
}.linearGradient({
...
...
entry/src/main/ets/pages/sub_systemMaintenance/Setting.ets
View file @
d4e933ff
...
...
@@ -5,8 +5,7 @@ import { UniListItem, sysInitList, sysExtraInitList } from '@ohos/system/src/mai
@Entry
@Component
export struct Setting {
build() {
Column() {
Flex({ direction: FlexDirection.Column }) {
...
...
entry/src/main/resources/base/profile/main_pages.json
View file @
d4e933ff
...
...
@@ -21,6 +21,8 @@
"pages/sub_systemMaintenance/Setting"
,
"pages/sub_systemMaintenance/General"
,
"pages/sub_systemMaintenance/Maintenance"
,
"pages/sub_systemMaintenance/DataSynchronism"
,
"pages/sub_systemMaintenance/FunctionIntroduction"
"pages/sub_systemMaintenance/DataSynchronism/DataSynchronism"
]
}
features/SystemMaintenance/src/main/ets/model/UniInitList.ets
View file @
d4e933ff
...
...
@@ -95,7 +95,7 @@ export const sysExtraInitList: UniListItem[] = [
showExtraIcon: true,
showArrow: true,
//extraIcon: '',
url: '
/Unit
',
url: '
pages/sub_systemMaintenance/FunctionIntroduction
',
targetValue: ''
},
{
...
...
@@ -179,3 +179,23 @@ export const generalInitList: UniListItem[] = [
description: '模式推送方式'
},
]
export const documentList: UniListItem[] = [
{
title: '被装仓库作业终端主要更新',
showExtraIcon: true,
showArrow: true,
//extraIcon: '',
targetValue: '2023-04-07',
description: ''
},
{
title: '被装仓库作业终端刻录机主要更新',
showExtraIcon: true,
showArrow: true,
//extraIcon: '',
targetValue: '2023-06-21',
description: ''
},
]
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论