Commit d4e933ff by 陈桂东

数据同步

parents 1064f049 5970ea7a
{
"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",
},
],
}
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
......@@ -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({
......
......@@ -5,8 +5,7 @@ import { UniListItem, sysInitList, sysExtraInitList } from '@ohos/system/src/mai
@Entry
@Component
export struct Setting {
build() {
Column() {
Flex({ direction: FlexDirection.Column }) {
......
......@@ -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"
]
}
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论