Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
王士厅
2024-10-12 15:09:46 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
b4bcc4e6ecc23bbbaa7cfc723a7a5bc35705aa02
b4bcc4e6
2 parents
ff89759a
0abfcee7
Merge branch 'main' of
http://192.168.1.42/developOne/harmonyPool
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
13 deletions
sight_harmony/commons/wdKit/build-profile.json5
sight_harmony/features/wdComponent/src/main/ets/components/DynamicDetailComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/FeedBackActivity.ets
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/appointment/AppointmentListUI.ets
sight_harmony/products/phone/src/main/ets/pages/view/BottomNavigationComponent.ets
sight_harmony/commons/wdKit/build-profile.json5
View file @
b4bcc4e
...
...
@@ -13,7 +13,7 @@
"arkOptions"
:
{
"obfuscation"
:
{
"ruleOptions"
:
{
"enable"
:
tru
e
,
"enable"
:
fals
e
,
"files"
:
[
"./obfuscation-rules.txt"
]
...
...
sight_harmony/features/wdComponent/src/main/ets/components/DynamicDetailComponent.ets
View file @
b4bcc4e
...
...
@@ -129,7 +129,11 @@ export struct DynamicDetailComponent {
})
}
aboutToDisappear() {
if (this.lastTimeoutId) {
clearTimeout(this.lastTimeoutId)
}
this.viewBlogInsightIntentShare()
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/FeedBackActivity.ets
View file @
b4bcc4e
...
...
@@ -75,6 +75,7 @@ export struct FeedBackActivity {
Stack({ alignContent: Alignment.Bottom }) {
Scroll(this.scroller) {
Column() {
Column() {
Text($r('app.string.feedback_opinion_type'))
.fontColor($r('app.color.color_222222'))
.fontSize($r('app.float.font_size_14_5'))
...
...
@@ -87,12 +88,11 @@ export struct FeedBackActivity {
.margin({ top: $r('app.float.vp_12') })
.backgroundColor($r('app.color.color_EDEDED'))
GridRow({
columns:
3,
columns:
3,
}) {
ForEach(this.feedbackTypeBeans, (feedbackTypeBean: FeedbackTypeBean, index: number) => {
GridCol({
}) {
Row(){
GridCol({}) {
Row() {
Image(feedbackTypeBean.isSelect ? $r('app.media.checkbox_true') : $r('app.media.checkbox_false'))
.width(17)
.height(17)
...
...
@@ -103,31 +103,37 @@ export struct FeedBackActivity {
}
.width($r('app.float.margin_115'))
.height($r('app.float.vp_22'))
.margin({bottom:$r('app.float.margin_16')
})
.margin({ bottom: $r('app.float.margin_16')
})
.backgroundColor($r('app.color.color_fff'))
.onClick(() => {
let temp = {} as FeedbackTypeBean
temp.id = feedbackTypeBean.id
temp.classifyName = feedbackTypeBean.classifyName
if(feedbackTypeBean.isSelect)
{
if (feedbackTypeBean.isSelect)
{
temp.isSelect = false
}else
{
} else
{
temp.isSelect = true
}
this.feedbackTypeBeans[index] = temp
this.canSubmit = this.checkSubmit()
TrackingButton.click('submit_feedback',TrackConstants.PageName.FeedbackPage,TrackConstants.PageName.FeedbackPage,{
'feedback_type':feedbackTypeBean.id+''
TrackingButton.click('submit_feedback', TrackConstants.PageName.FeedbackPage,
TrackConstants.PageName.FeedbackPage, {
'feedback_type': feedbackTypeBean.id + ''
})
})
}
})
}
.width('90%')
.margin({top:$r('app.float.vp_16')})
.margin({ top: $r('app.float.vp_16') })
}
.padding({left: 6, right: 6})
Blank()
.height($r('app.float.margin_5'))
.backgroundColor($r('app.color.color_F5F5F5'))
Column() {
Text($r('app.string.feedback_opinion_tv'))
.fontColor($r('app.color.color_222222'))
.fontSize($r('app.float.font_size_14_5'))
...
...
@@ -290,6 +296,8 @@ export struct FeedBackActivity {
.margin({top: $r('app.float.margin_16')})
Blank().layoutWeight(1)
}
.padding({left: 6, right: 6})
}
}
.width(CommonConstants.FULL_WIDTH)
.height(CommonConstants.FULL_HEIGHT)
...
...
@@ -313,6 +321,7 @@ export struct FeedBackActivity {
})
.margin({ bottom: 64+64+15 })
}
.padding({left: 6, right: 6})
}
}
.backgroundColor($r('app.color.color_fff'))
...
...
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
View file @
b4bcc4e
...
...
@@ -558,6 +558,9 @@ export struct ImageAndTextPageComponent {
}
aboutToDisappear() {
if (this.lastTimeoutId) {
clearTimeout(this.lastTimeoutId)
}
//意图上报
this.viewBlogInsightIntentShare()
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/mine/appointment/AppointmentListUI.ets
View file @
b4bcc4e
...
...
@@ -140,7 +140,7 @@ export struct AppointmentListUI {
.cachedCount(4)
.scrollBar(BarState.Off)
.edgeEffect(EdgeEffect.None)
.margin({ top: 4, left: 1
2, right: 12
})
.margin({ top: 4, left: 1
6, right: 16
})
.layoutWeight(1)
}
...
...
sight_harmony/products/phone/src/main/ets/pages/view/BottomNavigationComponent.ets
View file @
b4bcc4e
...
...
@@ -269,7 +269,6 @@ export struct BottomNavigationComponent {
// 底导切换函数
async onBottomNavigationIndexChange(navItem: BottomNavDTO, index: number) {
// Logger.info(TAG, `onBottomNavigationIndexChange to Index:${index},this.currentNavIndex: ${this.currentNavIndex}`);
if (navItem.name === '我的') {
this.barBackgroundColor = Color.White
...
...
@@ -306,10 +305,12 @@ export struct BottomNavigationComponent {
}
}
if (index >= 0 && index != this.currentNavIndex) {
this.onBottomNavigationIndexChange(this.bottomNavList[index], index)
// 切底导
this.currentNavIndex = index
}
setTimeout(() => {
// 底导切换后,触发顶导切换
this.assignChannel = new AssignChannelParam()
...
...
Please
register
or
login
to post a comment