diff --git a/components/call-log/header/header.vue b/components/call-log/header/header.vue
index 29e49ae..f830997 100644
--- a/components/call-log/header/header.vue
+++ b/components/call-log/header/header.vue
@@ -1,15 +1,31 @@
+
+
+
+
+
+
+
+ 姓名
+
+
+
+ 电话
+
+
+
+ 备注
+
+
+
+
+
+
\ No newline at end of file
+
+ .modal-mask {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: rgba(0, 0, 0, 0.5);
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ z-index: 999;
+ }
+
+ .modal-content {
+ width: 600rpx;
+ background-color: #fff;
+ border-radius: 16rpx;
+ overflow: hidden;
+ }
+
+ .modal-header {
+ padding: 40rpx;
+ text-align: center;
+ border-bottom: 1rpx solid #f0f0f0;
+ }
+
+ .modal-title {
+ font-size: 36rpx;
+ font-weight: bold;
+ color: #333;
+ }
+
+ .modal-body {
+ padding: 40rpx;
+ }
+
+ .form-item {
+ margin-bottom: 30rpx;
+ }
+
+ .form-label {
+ display: block;
+ font-size: 28rpx;
+ color: #666;
+ margin-bottom: 16rpx;
+ }
+
+ .form-input {
+ width: 100%;
+ height: 80rpx;
+ border: 1rpx solid #ddd;
+ border-radius: 8rpx;
+ padding: 0 20rpx;
+ font-size: 28rpx;
+ box-sizing: border-box;
+ }
+
+ .modal-footer {
+ display: flex;
+ border-top: 1rpx solid #f0f0f0;
+ }
+
+ .btn {
+ flex: 1;
+ height: 100rpx;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ font-size: 32rpx;
+ }
+
+ .btn-cancel {
+ border-right: 1rpx solid #f0f0f0;
+ color: #666;
+ }
+
+ .btn-confirm {
+ color: #007AFF;
+ }
+
diff --git a/components/call-log/nav-bar/nav-bar.vue b/components/call-log/nav-bar/nav-bar.vue
index d691904..bf09972 100644
--- a/components/call-log/nav-bar/nav-bar.vue
+++ b/components/call-log/nav-bar/nav-bar.vue
@@ -1,19 +1,11 @@
-
+
-
- 编辑
-
-
- 拨号
-
-
- 通话
-
-
- 电话
+
+ {{LeftTitle}}
+
@@ -26,6 +18,14 @@
未接来电
+
+
+ 全部
+
+
+ 未接
+
+
通话
@@ -33,7 +33,12 @@
-
+
+
+
+
+
@@ -68,7 +73,7 @@
type: String,
default: 'ios'
},
- scrollTop:{
+ scrollTop: {
type: Number,
default: 0
}
@@ -76,12 +81,14 @@
const data = reactive({
statusBarHeight: 0,
+ LeftTitle:'',
showTipLayer: true,
navOpacity: 0, // 导航栏透明度
navBgColor: props.bgColor // 导航栏背景色
})
let {
+ LeftTitle,
showTipLayer,
navOpacity,
navBgColor
@@ -104,15 +111,68 @@
});
onMounted(() => {
+ if(props.type=='ios'){
+ LeftTitle.value='编辑'
+ }else if(props.type=='vivo'){
+ LeftTitle.value='拨号'
+ }else if(props.type=='oppo'){
+ LeftTitle.value='通话'
+ }else if(props.type=='huawei'){
+ LeftTitle.value='电话'
+ }else {
+ LeftTitle.value=''
+ }
})
\ No newline at end of file
diff --git a/components/call-log/tabbar/tabbar.vue b/components/call-log/tabbar/tabbar.vue
index e13cb9f..f6b4474 100644
--- a/components/call-log/tabbar/tabbar.vue
+++ b/components/call-log/tabbar/tabbar.vue
@@ -71,6 +71,16 @@
"联系人",
"营业厅"
]
+ }else if (props.type == 'huawei') {
+ list.value = ["电话",
+ "联系人",
+ "收藏"
+ ]
+ }else if (props.type == 'vivo') {
+ list.value = ["拨号",
+ "联系人",
+ "收藏"
+ ]
}
})
@@ -117,7 +127,37 @@
}
}
}
-
+ .footer_huawei {
+ background: #FAFAFA !important;
+ padding-top: 3px;
+ .item {
+ image {
+ width: 24px;
+ height: 24px;
+ }
+ }
+ .item:nth-child(1) {
+ text {
+ color: #0060EA;
+ }
+ }
+ }
+ .footer_vivo {
+ background: #FAFAFA !important;
+ padding-top: 13px;
+ padding-bottom: 13px;
+ .item {
+ image {
+ width: 24px;
+ height: 24px;
+ }
+ }
+ .item:nth-child(1) {
+ text {
+ color: #1BA552;
+ }
+ }
+ }
.footer_xiaomi ,.footer_oppo{
padding-top: 7px;
diff --git a/pages/call-log/call.vue b/pages/call-log/call.vue
index 6ed3766..c712a46 100644
--- a/pages/call-log/call.vue
+++ b/pages/call-log/call.vue
@@ -19,7 +19,7 @@
import { onLoad, onShow, onReady, onPageScroll, onReachBottom } from "@dcloudio/uni-app";
const { appContext, proxy } = getCurrentInstance();
const data = reactive({
- type: 'ios',
+ type: 'vivo',
scrollTop:0
})
diff --git a/static/image/call/huaweiNavRightImg.png b/static/image/call/huaweiNavRightImg.png
new file mode 100644
index 0000000..816d9e8
Binary files /dev/null and b/static/image/call/huaweiNavRightImg.png differ
diff --git a/static/image/call/huaweiTabbarImg1.png b/static/image/call/huaweiTabbarImg1.png
new file mode 100644
index 0000000..c349633
Binary files /dev/null and b/static/image/call/huaweiTabbarImg1.png differ
diff --git a/static/image/call/huaweiTabbarImg2.png b/static/image/call/huaweiTabbarImg2.png
new file mode 100644
index 0000000..7d78ca4
Binary files /dev/null and b/static/image/call/huaweiTabbarImg2.png differ
diff --git a/static/image/call/huaweiTabbarImg3.png b/static/image/call/huaweiTabbarImg3.png
new file mode 100644
index 0000000..7bfd67b
Binary files /dev/null and b/static/image/call/huaweiTabbarImg3.png differ
diff --git a/static/image/call/vivoNavRightImg.png b/static/image/call/vivoNavRightImg.png
new file mode 100644
index 0000000..02df854
Binary files /dev/null and b/static/image/call/vivoNavRightImg.png differ
diff --git a/static/image/call/vivoNavRightImg2.png b/static/image/call/vivoNavRightImg2.png
new file mode 100644
index 0000000..db56b51
Binary files /dev/null and b/static/image/call/vivoNavRightImg2.png differ
diff --git a/static/image/call/vivoTabbarImg1.png b/static/image/call/vivoTabbarImg1.png
new file mode 100644
index 0000000..17e403b
Binary files /dev/null and b/static/image/call/vivoTabbarImg1.png differ
diff --git a/static/image/call/vivoTabbarImg2.png b/static/image/call/vivoTabbarImg2.png
new file mode 100644
index 0000000..3dc035c
Binary files /dev/null and b/static/image/call/vivoTabbarImg2.png differ
diff --git a/static/image/call/vivoTabbarImg3.png b/static/image/call/vivoTabbarImg3.png
new file mode 100644
index 0000000..f8d7f60
Binary files /dev/null and b/static/image/call/vivoTabbarImg3.png differ