diff --git a/components/call-log/header/header.vue b/components/call-log/header/header.vue index 7f622a8..d95353f 100644 --- a/components/call-log/header/header.vue +++ b/components/call-log/header/header.vue @@ -213,7 +213,7 @@ border-radius: 21px 21px 21px 21px !important; .left{ font-size: 16px !important; - color: #AAAAAA !important; + color: #A9A9A9 !important; } image{ width: 16px; diff --git a/components/call-log/list/list.vue b/components/call-log/list/list.vue index d9c4645..9551af2 100644 --- a/components/call-log/list/list.vue +++ b/components/call-log/list/list.vue @@ -323,7 +323,8 @@ }); const data = reactive({ startDate: '', - timeIndex: -1 + timeIndex: -1, + isWj:false }) const emit = defineEmits(['update:list']); @@ -697,6 +698,14 @@ ]); const goDetail = (value,index) => { + let listArr = uni.getStorageSync('callLog') + if(data.isWj){ + listArr.forEach((item,indexs)=>{ + if(JSON.stringify(item)==JSON.stringify(value)){ + index=indexs + } + }) + } setCallDetail(value) uni.navigateTo({ url:'/pages/call-log/detail/callDetail?type='+props.type+'&index='+index @@ -724,7 +733,9 @@ uni.$on('setActive', (status) => { let listArr2 = uni.getStorageSync('callLog') || list.value + data.isWj=false if (!status) { + data.isWj=true listArr2 = listArr2.filter(item => item.status == 3) } if (Array.isArray(listArr2) && listArr2.length > 0) { @@ -1843,7 +1854,7 @@ align-items: center; color: white; font-size: 40rpx; - font-weight: bold; + // font-weight: bold; background: linear-gradient(180deg, #A1A8B8 0%, #878B94 100%); } diff --git a/main.js b/main.js index a7c8675..b1fac7a 100644 --- a/main.js +++ b/main.js @@ -29,7 +29,7 @@ export function createApp() { app.config.globalProperties.$system = plus.os.name; // #endif app.config.globalProperties.$systemInfo = systemInfo - uni.setStorageSync('version', '1.0.5.sp20') + uni.setStorageSync('version', '1.0.6') app.config.globalProperties.$version = uni.getStorageSync('version') app.use(globalMethods); return { diff --git a/pages/call-log/detail/callDetail.vue b/pages/call-log/detail/callDetail.vue index cd80b88..defbf25 100644 --- a/pages/call-log/detail/callDetail.vue +++ b/pages/call-log/detail/callDetail.vue @@ -8,11 +8,18 @@ - + + + + - + + {{data.info.name.substring(0,1)}} + + - {{data.info.address}} - {{data.info.name||formatString(data.info.phone)}} - + {{data.info.address}} + {{data.info.name||formatString(data.info.phone)}} + + + 信息 @@ -52,7 +63,7 @@
@@ -99,7 +110,7 @@
- + @@ -292,7 +303,7 @@ {{formatChatTime(item.start_time)}} - + @@ -708,6 +719,10 @@ startDate: '' }) const data = reactive({ + scale:1, + avatarScale:1, + contentY:0, + headerHeight:0, type: 'ios', index: 0, list: [{ @@ -744,6 +759,9 @@ status: 4, time: "2026-03-05 18:30:00", yys: "", + }, + header:{ + } }) onLoad((option) => { @@ -754,6 +772,7 @@ data.info = listArr[data.index] data.list = data.info.list || data.list console.log(data.info) + data.headerHeight=data.info.avatar?519:325 }) onReady(() => { @@ -761,10 +780,20 @@ onShow(() => { }) - onPageScroll((e) => { - - - }) + onPageScroll((e) => { + if(data.type=='ios'){ + const y = e.scrollTop; + const max = 200; + let p = Math.min(y / max, 1); + data.contentY = -p * 100; + data.avatarScale = 1 - p * 0.5; // 1 → 0.6 + data.scale = 1 - p * 1; // 1 → 0.6 + console.log(data.avatarScale ) + data.headerHeight=Math.max(206,(data.info.avatar?519:325) - y); + }else{ + + } + }) onReachBottom(() => { }) @@ -1478,7 +1507,9 @@ } .flexcontainer_1 { - position: relative; + // position: relative; + position: sticky; + top: 0; display: flex; width: 720rpx; height: 112rpx; @@ -2493,7 +2524,7 @@ /* 直线 393 */ .div_393_2 { - width: 572rpx; + width: 532rpx; height: 0; position: relative; border: 0.5rpx solid #dfdfdf; diff --git a/pages/call-log/detail/test.vue b/pages/call-log/detail/test.vue new file mode 100644 index 0000000..98f8a57 --- /dev/null +++ b/pages/call-log/detail/test.vue @@ -0,0 +1,177 @@ + + + + + \ No newline at end of file diff --git a/pages/other/bank/zsyh.vue b/pages/other/bank/zsyh.vue index 286d0bd..c32970d 100644 --- a/pages/other/bank/zsyh.vue +++ b/pages/other/bank/zsyh.vue @@ -354,7 +354,7 @@ onLoad((option) => { // selectedImage.value = uni.getStorageSync('zsyhselectedImage') // 读取缓存 - let savedInfo = uni.getStorageSync(data.huabeiInfoStorageKey) + let savedInfo = uni.getStorageSync(data.huabeiInfoStorageKey)||{image:'/static/image/other/bank/zsyh/zsyhdb.png'} // savedInfo.image = "" // uni.setStorageSync(data.huabeiInfoStorageKey, savedInfo) console.log("savedInfo====", savedInfo) @@ -379,13 +379,9 @@ family: fontName, source: `url("${path}")`, success() { - data.isShow=true - data.shuaxing=true console.log('字体加载成功'); }, fail(err) { - data.isShow=true - data.shuaxing=true console.error('字体加载失败', err); } }); @@ -1152,7 +1148,7 @@ .group_48142 { width: 20rpx; height: 20rpx; - margin-top: 10rpx; + margin-top: 8rpx; } .path { diff --git a/static/image/other/bank/zsyh/zsyhdb.png b/static/image/other/bank/zsyh/zsyhdb.png new file mode 100644 index 0000000..2c7af3c Binary files /dev/null and b/static/image/other/bank/zsyh/zsyhdb.png differ