修改其他界面的container_的添加问题
authorCaisking <Casiking@zhihuishixun.com>
Mon, 16 Jun 2025 07:43:20 +0000 (15:43 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Mon, 16 Jun 2025 07:43:20 +0000 (15:43 +0800)
code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardView.cpp
code/sdk/application/wearable/fd230app/nativeui/applist/src/ApplistModel.cpp
code/sdk/application/wearable/fd230app/nativeui/bloodoxygen/src/BloodDetectionView.cpp
code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckAbnormalView.cpp
code/sdk/application/wearable/fd230app/nativeui/heart_blood/CheckInvalidView.cpp
code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartChartView.cpp
code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartDetectionView.cpp
code/sdk/application/wearable/fd230app/nativeui/heartrate/src/HeartResultView.cpp

index 69feca9..7b8c420 100644 (file)
@@ -38,7 +38,6 @@ namespace OHOS
         SetUpListView();
         SetUpToast();
 
-        SetContainerView(container_);
         RootView::GetInstance()->SetOnKeyActListener(presenter_);
     }
 
index b4ba8f0..5724fde 100644 (file)
@@ -62,7 +62,7 @@ namespace OHOS
         {VIEW_BLOOD_RESULT, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血氧", STR_BLOOD_OXYGEN, nullptr},
 #if defined(BOARD_W9) || defined(BOARD_N9)
         /*W9与N9的Slice写宏里面*/
-        {VIEW_BLOOD_PRESSURE_CALIBRATION, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血压", STR_BLOOD_OXYGEN, nullptr},
+        // {VIEW_BLOOD_PRESSURE_CALIBRATION, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血压", STR_BLOOD_OXYGEN, nullptr},
         {VIEW_BLOOD_PRESSURE_CHECK, PNG_APPLIST_SPO2_IMAGE_BIG, PNG_APPLIST_SPO2_IMAGE, PNG_APPLIST_DEFAULT_IMG, "血压", STR_BLOOD_OXYGEN, nullptr},
 #endif
         {VIEW_SLEEP, PNG_APPLIST_SLEEP_IMAGE_BIG, PNG_APPLIST_SLEEP_IMAGE, PNG_APPLIST_DEFAULT_IMG, "睡眠", STR_SLEEP, nullptr},
index 14c55ac..21d2810 100644 (file)
@@ -159,7 +159,6 @@ namespace OHOS
             WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BloodDetectionView::InitBloodView fail");
         }
 
-        SetContainerView(container_);
 
         container_->SetDraggable(true);
         container_->SetTouchable(true);
index 355804b..5378555 100644 (file)
@@ -171,7 +171,6 @@ namespace OHOS
             ui_api_vibrate_once_func();
         }
         
-        SetContainerView(container_);
 
         container_->SetDraggable(true);
         container_->SetTouchable(true);
index 8058099..66bf70e 100644 (file)
@@ -222,7 +222,6 @@ namespace OHOS
             ui_api_vibrate_once_func();
         }
 
-        SetContainerView(container_);
 
         container_->SetDraggable(true);
         container_->SetTouchable(true);
index f7d8f43..2ae9f5d 100644 (file)
@@ -632,7 +632,6 @@ void HeartChartView::OnStart() {
   SetDataTopAndBottom();
   HeartbeatImageAnimatorStart();
 
-  SetContainerView(container_);
   container_->SetDraggable(true);
   container_->SetTouchable(true);
   container_->SetOnDragListener(presenter_);
index 0e262c9..325ad40 100644 (file)
@@ -141,7 +141,6 @@ namespace OHOS
             WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "HeartDetectionView::InitHeartView fail");
         }
 
-        SetContainerView(container_);
 
         container_->SetDraggable(true);
         container_->SetTouchable(true);
index e49bc79..687cd75 100644 (file)
@@ -197,8 +197,6 @@ namespace OHOS
             WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "HeartResultView::InitHeartView fail");
         }
 
-        SetContainerView(container_);
-
         container_->SetDraggable(true);
         container_->SetTouchable(true);
         container_->SetOnDragListener(presenter_);