Riprov2主题美化:右侧悬浮条美化成彩色右侧悬浮条仿凡科版

riprov2自带的悬浮条没有二维码弹出功能,我们在网上找了一款彩色悬浮条,仿凡客版,换上瞬间逼格满满。

效果如下:

Riprov2主题美化:右侧悬浮条美化成彩色右侧悬浮条仿凡科版-1

代码修改:

找到:你的域名/wp-content/themes/ripro-v2/template-parts/global/footer-rollbar.php

全部替换为如下代码:

<div class="wapnone fk_service">
	<ul>
		<li>
			<div class="fk_service_consult_cont1" style="display: none;"> <span class="fk_service_triangle"></span> 在线咨询 </div>
		</li>
		<li class="fk_service_box fk_service_consult">
			<div class="fk_service_consult_cont"> <span class="fk_service_triangle"></span>
				<div class="fk_service_consult_cont_top"> <span class="fk_service_hint"> <span class="fk_service_icon"></span>
						<span> 如遇问题,请微信联系客服 </span> </span> <span class="fk_service_button" onclick="window.open('https://wpa.qq.com/msgrd?v=3&uin=493192436&site=qq&menu=yes')"><i class="fa fa-weixin mr-1"></i>请微信联系</span>
					<span class="fk_service_button" onclick="window.open('https://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=493192436@qq.com')"><i class="fa fa-envelope mr-1"></i>发送邮件反馈</span>
				</div> <span class="fk_service_phone"> 微信ID:xhhj1001 </span> <span class="fk_service_check_site"> <span class="fk_service_icon"></span>
					<span onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">开通VIP享特权</span> </span>
			</div>
		</li>
			
		<li class="fk_service_box fk_service_qr">
			<div class="fk_service_qr_cont"> <span class="fk_service_triangle"></span>
				<div class="fk_service_qrimg"> <span class="fk_service_qrimg_site"></span> 客服微信 </div>
				<div class="fk_service_qrtext"><span>精品资源 · 永久更新</span></div>
			</div>
		</li>
		
<!-- 不需要图标的注释或删除即可 -->
		<li class="fk_service_box fk_service_ax" onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">
			<div class="fk_service_ax_cont"> <span class="fk_service_triangle"></span>最新优惠</div>
		</li>
		
		<li class="fk_service_box fk_service_dh" onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">
			<div class="fk_service_dh_cont"> <span class="fk_service_triangle"></span> 签到得金币 </div>
		</li>
		
		<li class="fk_service_box fk_service_jk" onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">
			<div class="fk_service_jk_cont"> <span class="fk_service_triangle"></span> 文章专题</div>
		</li>
		
		<li class="fk_service_box fk_service_ws" onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">
			<div class="fk_service_ws_cont"> <span class="fk_service_triangle"></span> 标签云 </div>
		</li>

		<li class="fk_service_box fk_service_dz" onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">
			<div class="fk_service_dz_cont"> <span class="fk_service_triangle"></span> VIP套餐 </div>
		</li>
		
		<li class="fk_service_box fk_service_sd" onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">
			<div class="fk_service_sd_cont"> <span class="fk_service_triangle"></span> 用户中心 </div>
		</li>
		

<!--购买须知不要
		<li class="fk_service_box fk_service_feedback" onclick="window.open('https://www.xhhjm.com/websitego/htmlcssjs')">
			<div class="fk_service_feedback_cont"> <span class="fk_service_triangle"></span> 购买须知 </div>
		</li>
-->			
<!--返回顶部不要	
		<li class="fk_service_box fk_service_upward" onclick="FkService.fk_upWard();" style="display: block;">
			<div class="fk_service_upward_cont"> <span class="fk_service_triangle"></span> <span>返回顶部</span> </div>
		</li>
-->		
	</ul>
</div>

后台选择外观-自定义-额外css,添加如下代码

#wpon_svip_gif {
        display: none;
        width: 200px;
        height: 61px;
        border-radius: 0 0 13px 13px;
        z-index: 1002;
        left: 30px;
        bottom: 240px;
        position: fixed;
    }
	.fk_service {
		max-height: 232px;
		position: fixed;
		right: 10px;
		top: 40%;
		
/* 垂直位置 */
		font-family: "微软雅黑";
		font-size: 14px;
		color: #243558;
		z-index: 10000
	}
	.fk_service ul {
		margin: 0;
		padding: 0;
		position: absolute;
		right: 0
	}
	.fk_service li {
		list-style-type: none
	}
	.fk_service li>div {
		box-sizing: border-box;
		box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.1)
	}
	.fk_service_box {
		width: 40px;
		height: 40px;
		background: #fff;
		margin-bottom: 10px;
		border-radius: 4px;
		box-sizing: border-box;
		box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.1)
	}
	.fk_service_triangle {
		top: 12px;
		right: -11px;
		position: absolute;
		border-top: 7px solid transparent;
		border-bottom: 7px solid transparent;
		border-left: 11px solid #e1e6ec;
		z-index: 1010
	}
	.fk_service_triangle:after {
		content: "\20";
		top: -6px;
		right: 1px;
		position: absolute;
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
		border-left: 10px solid #fff;
		z-index: 1000
	}
	.fk_service_triangle:before {
		content: "\20";
		width: 80px;
		height: 45px;
		top: -20px;
		right: -52px;
		position: absolute;
		background: rgba(0, 0, 0, 0)
	}
	@keyframes fade-in {
		0% {
			opacity: .4;
			right: 82px
		}
		100% {
			opacity: 1;
			right: 62px
		}
	}
	.fk_service_consult {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -366px -16px #fff
	}
	.fk_service_consult:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -410px -16px #4f7cfc
	}
	.fk_service_consult:hover .fk_service_consult_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	.fk_service_consult_cont {
		width: 200px;
		min-height: 210px;
		max-height: 268px;
		border-radius: 3px;
		background: #fff;
		right: 62px;
		position: absolute;
		text-align: center;
		border: 1px solid #e1e6ec;
		display: none;
		opacity: 0
	}
	.fk_service_consult_cont1 {
		width: 70px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	.fk_service_consult_cont1 .fk_service_triangle:before {
		width: 0 !important
	}
	.fk_service_consult_cont>.fk_service_triangle:after {
		border-left: 10px solid #f6f8fb !important
	}
	.fk_service_consult_cont span {
		float: left
	}
	.fk_service_consult_cont_top {
		width: 100%;
		height: 157px;
		background: #f6f8fb;
		border-radius: 3px;
		border-bottom: 1px solid #eef2f8
	}
	.fk_service_hint {
		width: 100%;
		height: 40px;
		line-height: 40px;
		font-size: 12px;
		color: #9aa8c2;
		text-align: center
	}
	.fk_service_hint>.fk_service_icon {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -460px -25px;
		width: 15px;
		height: 15px;
		margin: 13px 2px 0 18px
	}
	.fk_service_button {
		width: 160px;
		height: 38px;
		line-height: 38px;
		background: #4f7cfc;
		border-radius: 18px;
		text-align: center;
		color: #fff;
		margin: 5px 0 10px 20px;
		cursor: pointer
	}
	.fk_service_button:hover {
		background: #618aff
	}
	.fk_service_phone {
		width: 100%;
		height: 53px;
		line-height: 53px;
		font-size: 14px;
		text-align: center
	}
	.fk_service_check_site {
		width: 100%;
		height: 48px;
		line-height: 48px;
		color: #3b6bf4;
		border-top: 1px solid #eaeef5;
		cursor: pointer
	}
	.fk_service_check_site>.fk_service_icon {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -461px -75px;
		width: 20px;
		height: 20px;
		margin: 15px 2px 0 45px
	}
	.fk_service_feedback {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -363px -64px #fff
	}
	.fk_service_feedback:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -407px -64px #4f7cfc;
		cursor: pointer
	}
	.fk_service_feedback:hover .fk_service_feedback_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	.fk_service_feedback_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	.fk_service_qr {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -365px -113px #fff
	}
	.fk_service_qr:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -409px -113px #4f7cfc
	}
	.fk_service_qr:hover .fk_service_qr_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	.fk_service_qr_cont {
		width: 143px;
		height: 202px;
		border-radius: 3px;
		background: #fff;
		right: 62px;
		position: absolute;
		text-align: center;
		border: 1px solid #e1e6ec;
		background-color: #f6f8fb;
		display: none;
		opacity: 0
	}
	.fk_service_qr_cont>.fk_service_triangle:after {
		border-left: 10px solid #f6f8fb !important
	}
	.fk_service_qr_cont>.fk_service_qrimg {
		width: 100%;
		height: 164px;
		float: left
	}
	.fk_service_qrimg_site {
		width: 119px;
		height: 119px;
		float: left;
		margin: 12px 12px 5px 12px;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -41px -26px
	}
	.fk_service_qrimg_hd {
		width: 119px;
		height: 119px;
		float: left;
		margin: 12px 12px 5px 12px;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -198px -26px
	}
	.fk_service_qrimg_wxast {
		width: 119px;
		height: 119px;
		float: left;
		margin: 12px 12px 5px 12px;
		background: url(../image/fk_service.png?v=201905151200) no-repeat -198px -328px
	}
	.fk_service_qrimg_flyer {
		width: 119px;
		height: 119px;
		float: left;
		margin: 12px 12px 5px 12px;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -41px -177px
	}
	.fk_service_qrimg_wxapp {
		width: 119px;
		height: 119px;
		float: left;
		margin: 12px 12px 5px 12px;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -198px -177px
	}
	.fk_service_qrimg_fkmall {
		width: 119px;
		height: 119px;
		float: left;
		margin: 12px 12px 5px 12px;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -41px -326px
	}
	.fk_service_qr_cont>.fk_service_qrtext {
		width: 100%;
		height: 35px;
		font-size: 12px;
		color: #7b89a6;
		background-color: #fff;
		float: left;
		bottom: 0;
		display: table
	}
	.fk_service_qr_cont>.fk_service_qrtext>span {
		display: table-cell;
		vertical-align: middle
	}
	.fk_service_upward {
		display: none;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -363px -159px #fff
	}
	.fk_service_upward:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/wechatb309.png) no-repeat -407px -159px #4f7cfc;
		cursor: pointer
	}
	.fk_service_upward:hover .fk_service_upward_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	.fk_service_upward_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		border-radius: 3px;
		background: #fff;
		right: 62px;
		position: absolute;
		text-align: center;
		border: 1px solid #e1e6ec;
		display: none;
		opacity: 0
	}
	.fk_service_upward_cont span {
		font-size: 14px
	}
	
/* ----------------------------------------------------------------------- */
	
/* 新增图标->zmki 开始*/
	.fk_service_jk {
		
/* 专题前景图标 */
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/zhuanti1.png) no-repeat center center #fff;
		background-size: 60%60%;
	}
	
	.fk_service_jk:hover {
		border: 0;
		
/* 鼠标悬浮图标 */
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/zhaunti1hover.png) no-repeat center center #4f7cfc;
		background-size: 60%60%;
		cursor: pointer
	}
	
	.fk_service_jk:hover .fk_service_jk_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	
	.fk_service_jk_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	
	
/* 新增图标->zmki 结束*/
	
	
/* 新增握手换图标->zmki 开始*/
	.fk_service_ws {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/tags.png) no-repeat center center #fff;
		background-size: 50%50%;
	}
	
	.fk_service_ws:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/tagshover.png) no-repeat center center #4f7cfc;
		background-size: 50%50%;
		cursor: pointer
	}
	
	.fk_service_ws:hover .fk_service_ws_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	
	.fk_service_ws_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	
	
/* 新增图标->zmki 结束*/
	
	
	
/* 闪电换用户 新增图标->zmki 开始*/
	.fk_service_sd {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/user.png) no-repeat center center #fff;
		background-size: 50%50%;
	}
	
	.fk_service_sd:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/userhover.png) no-repeat center center #4f7cfc;
		background-size: 50%50%;
		cursor: pointer
	}
	
	.fk_service_sd:hover .fk_service_sd_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	
	.fk_service_sd_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	
	
/*闪电 新增图标->zmki 结束*/
	
	
/* 导航 换签到新增图标->zmki 开始*/
	.fk_service_dh {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/qiandao3.png) no-repeat center center #fff;
		background-size: 60%60%;
	}
	
	.fk_service_dh:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/qiandao3hover.png) no-repeat center center #4f7cfc;
		background-size: 60%60%;
		cursor: pointer
	}
	
	.fk_service_dh:hover .fk_service_dh_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	
	.fk_service_dh_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	
	
/*导航 新增图标->zmki 结束*/
	
	
/* 爱心 换皇冠新增图标->zmki 开始*/
	.fk_service_ax {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/huangguan1.png) no-repeat center center #fff;
		background-size: 50%50%;
	}
	
	.fk_service_ax:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/huangguan1hover.png) no-repeat center center #4f7cfc;
		background-size: 50%50%;
		cursor: pointer
	}
	
	.fk_service_ax:hover .fk_service_ax_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	
	.fk_service_ax_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	
	
/*爱心 新增图标->zmki 结束*/
	
	
/* 点赞换VIP 新增图标->zmki 开始*/
	.fk_service_dz {
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/vipdiamond-f-f.png) no-repeat center center #fff;
		background-size: 50%50%;
	}
	
	.fk_service_dz:hover {
		border: 0;
		background: url(https://mmsto.com/winmac/wp-content/uploads/2022/01/vipdiamondhover.png) no-repeat center center #4f7cfc;
		background-size: 50%50%;
		cursor: pointer
	}
	
	.fk_service_dz:hover .fk_service_dz_cont {
		display: block;
		opacity: 1;
		transition: linear .2s;
		animation-name: fade-in;
		animation-duration: .3s;
		animation-iteration-count: 1;
		animation-delay: 0s
	}
	
	.fk_service_dz_cont {
		width: 100px;
		height: 40px;
		line-height: 40px;
		background: #fff;
		border-radius: 5px;
		right: 62px;
		text-align: center;
		position: absolute;
		display: none;
		border: 1px solid #e1e6ec
	}
	
	
/*点赞 新增图标->zmki 结束*/
        
/* 手机端自动隐藏 开始 */
	@media screen and (max-width: 1221px) { .wapnone{display:none; }
	}
	
/* 手机端自动隐藏 结束 */

 

这些信息可能会帮到你: 下载帮助 | 免责声明

如果您喜欢本站, 点击这儿 捐赠本站

本站部分软件/文章为网友投稿,版权归原作者。如有侵权,请联系删除。

发表评论

后才能评论