diff --git a/components/call-log/header/header.vue b/components/call-log/header/header.vue index f830997..1ef080d 100644 --- a/components/call-log/header/header.vue +++ b/components/call-log/header/header.vue @@ -11,18 +11,18 @@ - + 全部来电 - + 未接来电 - + 全部 - + 未接 @@ -53,6 +53,7 @@ }) const data = reactive({ + active:true, statusBarHeight: 0, showTipLayer: true, title:'最近通话', @@ -67,6 +68,7 @@ }) let { + active, searchTitle, title, list, @@ -77,7 +79,7 @@ if(props.type=='xiaomi'){ searchTitle.value="搜索联系人" title.value="通话" - console.log('aaaaaaaaaaa') + // console.log('aaaaaaaaaaa') }else if(props.type=='oppo'){ title.value="通话" }else if(props.type=='huawei'){ @@ -85,6 +87,11 @@ } }) + + function setActive(status){ + active.value=status + uni.$emit('setActive',status) + } + + .timeBox { + background-color: #fff; + + .titleBox { + padding: 10px; + display: flex; + justify-content: flex-end; + + .btns { + font-size: 12px; + color: #007AFF; + } + } + } + \ No newline at end of file diff --git a/components/call-log/nav-bar/nav-bar.vue b/components/call-log/nav-bar/nav-bar.vue index bf09972..345d2a9 100644 --- a/components/call-log/nav-bar/nav-bar.vue +++ b/components/call-log/nav-bar/nav-bar.vue @@ -1,5 +1,5 @@