mirror of
https://gitee.com/openharmony/applications_mms
synced 2024-11-27 01:40:24 +00:00
del unusing code
Signed-off-by: liyufan <liyufan5@huawei.com>
This commit is contained in:
parent
00e0949746
commit
512f7e60d5
@ -131,7 +131,6 @@ struct Index {
|
||||
}
|
||||
}
|
||||
.height('100%')
|
||||
// .margin({ left: this.gridMargin, right: this.gridMargin })
|
||||
}
|
||||
.padding({ left: this.gridMargin, right: this.gridMargin })
|
||||
.width("100%")
|
||||
|
@ -225,8 +225,6 @@ export default {
|
||||
let dayOfSms = sms.getDate();
|
||||
let weekOfSms = sms.getDay();
|
||||
date = $r("app.string.yearMonthDayDate", yearOfSms, monthOfSms, dayOfSms, '');
|
||||
// let time = this.convertTimeStampTime(timeStampFromDb, false);
|
||||
// return date + " " + time;
|
||||
return date;
|
||||
},
|
||||
|
||||
|
@ -163,8 +163,6 @@ export struct MmsListItem {
|
||||
.height("20vp")
|
||||
.selectedColor($r("sys.color.ohos_id_color_activated"))
|
||||
.hitTestBehavior(HitTestMode.None)
|
||||
// .enabled(false)
|
||||
// .margin({ right: -14 })
|
||||
}
|
||||
}
|
||||
.alignItems(VerticalAlign.Center)
|
||||
|
@ -154,13 +154,6 @@ export struct Receive {
|
||||
Column() {
|
||||
// Indicates whether to display the recent contact list.
|
||||
if (this.mReceiveController.isShowSearch && this.mReceiveController.contacts.length > 0) {
|
||||
// Flex({ alignItems: ItemAlign.Center, justifyContent: FlexAlign.Start }) {
|
||||
// Text("最近联系人")
|
||||
// .fontSize(16)
|
||||
// .fontColor($r("sys.color.ohos_id_color_text_tertiary"))
|
||||
// .fontWeight(FontWeight.Regular)
|
||||
// }
|
||||
// .height(48)
|
||||
// List area
|
||||
List({ space: 0, initialIndex: 0 }) {
|
||||
ForEach(this.mReceiveController.contacts, (item, index) => {
|
||||
|
@ -57,7 +57,6 @@ export default class ReceiveController {
|
||||
|
||||
onInit(call) {
|
||||
HiLog.i(TAG, "onInit()")
|
||||
// this.$watch("paramContact", "onPropertyChange");
|
||||
this.selectContacts = this.commonCtrl.paramContact.transmitContacts;
|
||||
if (this.selectContacts.length > 0) {
|
||||
let that = this;
|
||||
@ -244,9 +243,6 @@ export default class ReceiveController {
|
||||
dealSearchData() {
|
||||
if (this.myText.trim() == "") {
|
||||
this.contacts = this.contactsTemp.slice(0);
|
||||
// this.$element("receiveTxt").focus({
|
||||
// focus: true
|
||||
// });
|
||||
} else {
|
||||
let textValue = this.myText.trim().toLowerCase();
|
||||
// Filtering logic
|
||||
|
Loading…
Reference in New Issue
Block a user