效果图
![图片[1]-子比侧边栏悬浮按钮客服签到会员开通抽奖推广返佣美化-派克资源](https://www.pknn.net/wp-content/uploads/2024/08/image-3.png)
子比侧边栏:悬浮按钮的魔力与多功能模块的精美融合
在子比主题的侧边栏设计中,悬浮按钮以其独特的交互方式成为用户的贴心助手,而客服、签到、会员开通、抽奖、推广返佣等功能模块的融入,更是为整个侧边栏增添了丰富的功能性与视觉美感。以下是对这些元素的润色描述:
悬浮按钮:一触即达的便捷体验
子比侧边栏的悬浮按钮,如同一位时刻待命的精灵,轻轻一点,即可开启一段便捷之旅。它优雅地悬浮在侧边栏的显眼位置,不占用过多空间,却能在关键时刻迅速响应你的需求。无论是快速访问常用功能,还是一键触发隐藏菜单,悬浮按钮都以其高效的交互方式,为用户带来前所未有的便捷体验。
客服支持:贴心服务,随时在线
侧边栏内嵌的客服模块,是用户解决问题的快速通道。无论是咨询产品信息、寻求技术支持,还是反馈使用意见,专业的客服团队都将第一时间为你提供贴心服务。通过直观的聊天界面和实时通讯功能,用户可以轻松获得解答,享受无忧的在线体验。
签到机制:每日一签,积少成多
签到功能鼓励用户每日回访,通过简单的点击动作,即可累积积分、提升等级或解锁特权。这不仅增强了用户的粘性,还激发了他们的参与热情。精美的签到界面和丰富的奖励机制,让用户在享受乐趣的同时,也能感受到成长的喜悦。
会员开通:尊享特权,升级体验
会员开通模块为子比主题的用户提供了更高层次的体验升级。成为会员后,用户将享受专属折扣、优先服务、专属内容等一系列特权。精美的会员展示页面和详细的权益说明,让用户对会员价值一目了然,激发他们开通会员的冲动。
抽奖活动:惊喜连连,好运不断
抽奖功能为子比主题增添了趣味性和互动性。用户通过参与抽奖活动,有机会赢取精美礼品、优惠券、积分等丰厚奖品。定期的抽奖活动和精心设计的抽奖界面,让用户在享受购物乐趣的同时,也能感受到意外的惊喜和好运。
推广返佣:分享价值,共赢未来
推广返佣模块鼓励用户成为品牌的传播者。通过分享产品链接、邀请好友注册等方式,用户可以获得相应的佣金或奖励。这不仅为用户提供了额外的收入来源,还促进了品牌的口碑传播和市场份额的扩大。精美的推广界面和透明的返佣政策,让用户对推广价值充满信心,积极投身于品牌的推广事业中。
美化设计:细节之处见真章
在以上功能模块的融入过程中,子比主题始终注重美化设计。从色彩搭配到图标选择,从字体风格到布局排版,每一个细节都经过精心雕琢和优化。这使得整个侧边栏不仅功能丰富、操作便捷,还兼具美观性和艺术性,为用户带来愉悦的浏览体验。
首先先隐藏自带的悬浮侧边栏
css代码插入zibll/zib2.css中
/*悬浮按钮美化开始*/.gotop {position: fixed;bottom: 10%;right: 1%;z-index: 999;}.gotop-box{box-shadow: 0 4px 23px rgba(0, 0, 0, 0.08);border-radius: 8px;background: #fff;}.gotop .gotop-item{color: rgba(23,23,24,0.8);text-align: center;cursor: pointer;width: 54px;padding-bottom: 10px;box-sizing: initial;align-items: center;display: block;}.gotop .gotop-item i{font-size: 22px!important;z-index: 2;position: relative;color: #171718;}.gotop .gotop-item a{color: rgba(23,23,24,0.8);font-size: 12px;text-decoration: none;}.gotop .gotop-item img{width: 24px;}.gotop .gotop-item p.text{font-size: 12px;margin-top: 5px;}.gotop .gotop-item:hover p.text{color: var(--primary-color)!important;}.gotop .gotop-item.gotops{display: flex;flex-direction: column;justify-content: center;align-items: center;position: relative;}.ceo-pt-wx{width: 300px;}.ceo-pt-wx img{height: 200px;}.gotop .activity{background: transparent;position: relative;height: 128px;padding-bottom: 0;}.gotop .activity a{display: block;}.gotop .activity .a1{width: 100%;height: 100%;border-radius: 7px 7px 0px 0px;}.gotop .activity .a2{position: absolute;bottom: 10px;left: 10px;width: 33px;height: 43px;animation: red-envelope-shake 0.8s linear infinite;transition: all .3s;}@keyframes red-envelope-shake {0% { transform: rotate(-7deg) }50% { transform: rotate(7deg) }100% {transform: rotate(-7deg) }}@keyframes turnX{0%{transform:rotateX(0deg);}100%{transform:rotateX(360deg);}}.gotop .activity .popover {position: absolute;width: 251px;height: 128px;right: 0;left: -196px;bottom: 0;display: none;}.gotop .activity:hover .popover {display: block;}.gotop-box .gotop-vip{background: linear-gradient(10deg,#fedd92,#fef6e1);color: #803300;padding-top: 10px;margin-bottom: 10px;}.gotop-box .gotop-vip a{color: #803300!important;}.gotop-box .gotop-vip:hover p.text{color: #803300!important;font-weight: 600;}.gotop-service{position: relative;}.gotop-service:hover .gotop-service-box {display: block;transition: all .3s;}.gotop-service-box {display: none;position: absolute;z-index: 999;right: 55px;bottom: 0px;width: 150px;padding: 20px;text-align: center;border-radius: 4px;-webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.05);box-shadow: 0 0 3px 1px rgba(0,0,0,.05);transition: all .3s;background: #fff;}.gotop-service-box .tops{text-align: center;}.gotop-service-box .tops img{}.gotop-service-box .tops a{display: block;height: 26px;line-height: 26px;font-size: 14px;border-radius: 4px;}.gotop-service-box .tops p{font-size: 13px;}.gotop-service-box .btms{text-align: center;}.gotop-service-box .btms em{font-size: 14px;color: #5f6575;font-weight: 500;margin-bottom: 10px;height: 20px;line-height: 20px;display: block;}.gotop-service-box .btms p{height: 25px;font-weight: 500;line-height: 25px;font-size: 18px;color: #4775FF;margin-bottom: 10px;display: inline-block;}.gotop-service-box .btms span{height: 25px;line-height: 25px;overflow: hidden;font-size: 12px;color: #FF5151;margin-bottom: 10px;}.gotop-wx-box {margin-bottom: 15px;}.gotop-wx-box .boxs p{font-size: 14px;color: #5f6575;font-weight: 500;margin-bottom: 10px;height: 20px;line-height: 20px;}.gotop-wx-box .boxs img {width: 100%;height: 100%;display: block;margin-top: 10px;padding: 5px;border: 1px solid var(--border-color);margin: 10px auto 0px auto;}.gotop-ma{position: relative;}.gotop-ma:hover .gotop-ma-box {display: block;transition: all .3s;}.gotop-ma-box {display: none;position: absolute;z-index: 999;right: 54px;bottom: 0px;width: 170px;padding: 10px;text-align: center;border-radius: 4px;-webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.05);box-shadow: 0 0 3px 1px rgba(0,0,0,.05);transition: all .3s;background: var(--primary-color);}.gotop-ma-box i{display: block;width: 31px;height: 5px;margin: 0 auto 10px;border-radius: 2px;background: #6f96ff;}.gotop-ma-box em{display: block;margin: 10px auto 0;width: 20px;height: 20px;border-radius: 100%;background: #6f96ff;}.gotop-ma-box .tops{padding: 10px;background: #fff;border-radius: 4px;text-align: center;}.gotop-ma-box .tops p{font-size: 12px;color: #5f6575;overflow: hidden;height: 23px;line-height: 23px;}.gotop-ma-box .tops img {width: 100%;height: 100%;display: block;margin-top: 10px;margin: 10px auto 0px auto;}@media screen and (max-width: 767px) {.gotop {display: none !important;}}/*悬浮按钮美化结束*//*悬浮按钮美化开始*/ .gotop { position: fixed; bottom: 10%; right: 1%; z-index: 999; } .gotop-box{ box-shadow: 0 4px 23px rgba(0, 0, 0, 0.08); border-radius: 8px; background: #fff; } .gotop .gotop-item{ color: rgba(23,23,24,0.8); text-align: center; cursor: pointer; width: 54px; padding-bottom: 10px; box-sizing: initial; align-items: center; display: block; } .gotop .gotop-item i{ font-size: 22px!important; z-index: 2; position: relative; color: #171718; } .gotop .gotop-item a{ color: rgba(23,23,24,0.8); font-size: 12px; text-decoration: none; } .gotop .gotop-item img{ width: 24px; } .gotop .gotop-item p.text{ font-size: 12px; margin-top: 5px; } .gotop .gotop-item:hover p.text{ color: var(--primary-color)!important; } .gotop .gotop-item.gotops{ display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; } .ceo-pt-wx{ width: 300px; } .ceo-pt-wx img{ height: 200px; } .gotop .activity{ background: transparent; position: relative; height: 128px; padding-bottom: 0; } .gotop .activity a{ display: block; } .gotop .activity .a1{ width: 100%; height: 100%; border-radius: 7px 7px 0px 0px; } .gotop .activity .a2{ position: absolute; bottom: 10px; left: 10px; width: 33px; height: 43px; animation: red-envelope-shake 0.8s linear infinite; transition: all .3s; } @keyframes red-envelope-shake { 0% { transform: rotate(-7deg) } 50% { transform: rotate(7deg) } 100% {transform: rotate(-7deg) } } @keyframes turnX{ 0%{transform:rotateX(0deg);} 100%{transform:rotateX(360deg);} } .gotop .activity .popover { position: absolute; width: 251px; height: 128px; right: 0; left: -196px; bottom: 0; display: none; } .gotop .activity:hover .popover { display: block; } .gotop-box .gotop-vip{ background: linear-gradient(10deg,#fedd92,#fef6e1); color: #803300; padding-top: 10px; margin-bottom: 10px; } .gotop-box .gotop-vip a{ color: #803300!important; } .gotop-box .gotop-vip:hover p.text{ color: #803300!important; font-weight: 600; } .gotop-service{ position: relative; } .gotop-service:hover .gotop-service-box { display: block; transition: all .3s; } .gotop-service-box { display: none; position: absolute; z-index: 999; right: 55px; bottom: 0px; width: 150px; padding: 20px; text-align: center; border-radius: 4px; -webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.05); box-shadow: 0 0 3px 1px rgba(0,0,0,.05); transition: all .3s; background: #fff; } .gotop-service-box .tops{ text-align: center; } .gotop-service-box .tops img{ } .gotop-service-box .tops a{ display: block; height: 26px; line-height: 26px; font-size: 14px; border-radius: 4px; } .gotop-service-box .tops p{ font-size: 13px; } .gotop-service-box .btms{ text-align: center; } .gotop-service-box .btms em{ font-size: 14px; color: #5f6575; font-weight: 500; margin-bottom: 10px; height: 20px; line-height: 20px; display: block; } .gotop-service-box .btms p{ height: 25px; font-weight: 500; line-height: 25px; font-size: 18px; color: #4775FF; margin-bottom: 10px; display: inline-block; } .gotop-service-box .btms span{ height: 25px; line-height: 25px; overflow: hidden; font-size: 12px; color: #FF5151; margin-bottom: 10px; } .gotop-wx-box { margin-bottom: 15px; } .gotop-wx-box .boxs p{ font-size: 14px; color: #5f6575; font-weight: 500; margin-bottom: 10px; height: 20px; line-height: 20px; } .gotop-wx-box .boxs img { width: 100%; height: 100%; display: block; margin-top: 10px; padding: 5px; border: 1px solid var(--border-color); margin: 10px auto 0px auto; } .gotop-ma{ position: relative; } .gotop-ma:hover .gotop-ma-box { display: block; transition: all .3s; } .gotop-ma-box { display: none; position: absolute; z-index: 999; right: 54px; bottom: 0px; width: 170px; padding: 10px; text-align: center; border-radius: 4px; -webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.05); box-shadow: 0 0 3px 1px rgba(0,0,0,.05); transition: all .3s; background: var(--primary-color); } .gotop-ma-box i{ display: block; width: 31px; height: 5px; margin: 0 auto 10px; border-radius: 2px; background: #6f96ff; } .gotop-ma-box em{ display: block; margin: 10px auto 0; width: 20px; height: 20px; border-radius: 100%; background: #6f96ff; } .gotop-ma-box .tops{ padding: 10px; background: #fff; border-radius: 4px; text-align: center; } .gotop-ma-box .tops p{ font-size: 12px; color: #5f6575; overflow: hidden; height: 23px; line-height: 23px; } .gotop-ma-box .tops img { width: 100%; height: 100%; display: block; margin-top: 10px; margin: 10px auto 0px auto; } @media screen and (max-width: 767px) { .gotop { display: none !important; } } /*悬浮按钮美化结束*//*悬浮按钮美化开始*/ .gotop { position: fixed; bottom: 10%; right: 1%; z-index: 999; } .gotop-box{ box-shadow: 0 4px 23px rgba(0, 0, 0, 0.08); border-radius: 8px; background: #fff; } .gotop .gotop-item{ color: rgba(23,23,24,0.8); text-align: center; cursor: pointer; width: 54px; padding-bottom: 10px; box-sizing: initial; align-items: center; display: block; } .gotop .gotop-item i{ font-size: 22px!important; z-index: 2; position: relative; color: #171718; } .gotop .gotop-item a{ color: rgba(23,23,24,0.8); font-size: 12px; text-decoration: none; } .gotop .gotop-item img{ width: 24px; } .gotop .gotop-item p.text{ font-size: 12px; margin-top: 5px; } .gotop .gotop-item:hover p.text{ color: var(--primary-color)!important; } .gotop .gotop-item.gotops{ display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; } .ceo-pt-wx{ width: 300px; } .ceo-pt-wx img{ height: 200px; } .gotop .activity{ background: transparent; position: relative; height: 128px; padding-bottom: 0; } .gotop .activity a{ display: block; } .gotop .activity .a1{ width: 100%; height: 100%; border-radius: 7px 7px 0px 0px; } .gotop .activity .a2{ position: absolute; bottom: 10px; left: 10px; width: 33px; height: 43px; animation: red-envelope-shake 0.8s linear infinite; transition: all .3s; } @keyframes red-envelope-shake { 0% { transform: rotate(-7deg) } 50% { transform: rotate(7deg) } 100% {transform: rotate(-7deg) } } @keyframes turnX{ 0%{transform:rotateX(0deg);} 100%{transform:rotateX(360deg);} } .gotop .activity .popover { position: absolute; width: 251px; height: 128px; right: 0; left: -196px; bottom: 0; display: none; } .gotop .activity:hover .popover { display: block; } .gotop-box .gotop-vip{ background: linear-gradient(10deg,#fedd92,#fef6e1); color: #803300; padding-top: 10px; margin-bottom: 10px; } .gotop-box .gotop-vip a{ color: #803300!important; } .gotop-box .gotop-vip:hover p.text{ color: #803300!important; font-weight: 600; } .gotop-service{ position: relative; } .gotop-service:hover .gotop-service-box { display: block; transition: all .3s; } .gotop-service-box { display: none; position: absolute; z-index: 999; right: 55px; bottom: 0px; width: 150px; padding: 20px; text-align: center; border-radius: 4px; -webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.05); box-shadow: 0 0 3px 1px rgba(0,0,0,.05); transition: all .3s; background: #fff; } .gotop-service-box .tops{ text-align: center; } .gotop-service-box .tops img{ } .gotop-service-box .tops a{ display: block; height: 26px; line-height: 26px; font-size: 14px; border-radius: 4px; } .gotop-service-box .tops p{ font-size: 13px; } .gotop-service-box .btms{ text-align: center; } .gotop-service-box .btms em{ font-size: 14px; color: #5f6575; font-weight: 500; margin-bottom: 10px; height: 20px; line-height: 20px; display: block; } .gotop-service-box .btms p{ height: 25px; font-weight: 500; line-height: 25px; font-size: 18px; color: #4775FF; margin-bottom: 10px; display: inline-block; } .gotop-service-box .btms span{ height: 25px; line-height: 25px; overflow: hidden; font-size: 12px; color: #FF5151; margin-bottom: 10px; } .gotop-wx-box { margin-bottom: 15px; } .gotop-wx-box .boxs p{ font-size: 14px; color: #5f6575; font-weight: 500; margin-bottom: 10px; height: 20px; line-height: 20px; } .gotop-wx-box .boxs img { width: 100%; height: 100%; display: block; margin-top: 10px; padding: 5px; border: 1px solid var(--border-color); margin: 10px auto 0px auto; } .gotop-ma{ position: relative; } .gotop-ma:hover .gotop-ma-box { display: block; transition: all .3s; } .gotop-ma-box { display: none; position: absolute; z-index: 999; right: 54px; bottom: 0px; width: 170px; padding: 10px; text-align: center; border-radius: 4px; -webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.05); box-shadow: 0 0 3px 1px rgba(0,0,0,.05); transition: all .3s; background: var(--primary-color); } .gotop-ma-box i{ display: block; width: 31px; height: 5px; margin: 0 auto 10px; border-radius: 2px; background: #6f96ff; } .gotop-ma-box em{ display: block; margin: 10px auto 0; width: 20px; height: 20px; border-radius: 100%; background: #6f96ff; } .gotop-ma-box .tops{ padding: 10px; background: #fff; border-radius: 4px; text-align: center; } .gotop-ma-box .tops p{ font-size: 12px; color: #5f6575; overflow: hidden; height: 23px; line-height: 23px; } .gotop-ma-box .tops img { width: 100%; height: 100%; display: block; margin-top: 10px; margin: 10px auto 0px auto; } @media screen and (max-width: 767px) { .gotop { display: none !important; } } /*悬浮按钮美化结束*/
把pic文件夹上传至网站根目录下
把zibll目录下的文件上传至zibll下
修改zibll/footer.php插入代码
<?php get_template_part('zib2/xf'); ?><?php get_template_part('zib2/xf'); ?><?php get_template_part('zib2/xf'); ?>
![图片[2]-子比侧边栏悬浮按钮客服签到会员开通抽奖推广返佣美化-派克资源](https://www.pknn.net/wp-content/uploads/2024/08/1722585434-2121.webp)