<!DOCTYPE html>
|
<html lang="en">
|
|
<head>
|
<meta charset="UTF-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
<title>在线客服</title>
|
<script src="../js/app.js"></script>
|
<style>
|
/* 以下为pc初始化代码 */
|
|
body {
|
margin: 0;
|
padding: 0;
|
border: 0;
|
outline: 0;
|
font-size: 100%;
|
vertical-align: baseline;
|
background: transparent;
|
}
|
|
h1,
|
h2,
|
h3,
|
h4,
|
h5,
|
h6,
|
em,
|
i {
|
font-weight: 100;
|
font-style: normal;
|
}
|
|
ul,
|
ol,
|
li {
|
list-style-type: none;
|
}
|
|
a {
|
text-decoration: none;
|
outline: 0;
|
}
|
|
a:hover {
|
text-decoration: none;
|
}
|
|
/* 以下为移动端初始化代码 */
|
|
a {
|
-webkit-tap-highlight-color: transparent;
|
}
|
|
input {
|
-webkit-appearance: none;
|
}
|
|
img,
|
a {
|
-webkit-touch-callout: none;
|
}
|
|
/* 以上为初始化代码上 */
|
|
body {
|
background: #B4E4FF;
|
margin: 0px;
|
font-size: 0;
|
}
|
|
.content {
|
position: absolute;
|
top: 50%;
|
left: 50%;
|
transform: translate(-50%, -50%);
|
display: flex;
|
justify-content: center;
|
width: 7.1rem;
|
height: 10.24rem;
|
background-color: #FFFFFF;
|
border-radius: 0.2rem;
|
}
|
|
.tu {
|
height: 3.02rem;
|
width: 2.74rem;
|
margin: 0 auto;
|
margin-top: -1rem;
|
background-image: url(./img/kefu.png);
|
background-size: 100% 100%;
|
}
|
|
h1 {
|
font-weight: 400;
|
font-size: 0.36rem;
|
text-align: center;
|
margin: 0.2rem;
|
color: #0E95FE;
|
}
|
|
.erweimakuang {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
width: 6.23rem;
|
height: 6.23rem;
|
background-color: #EAF7FF;
|
border-radius: 0.16rem;
|
}
|
|
.erweima {
|
width: 3.4rem;
|
height: 3.4rem;
|
background-image: url(./img/erweima.png);
|
background-size: 100% 100%;
|
}
|
|
.dibuxuanfu {
|
position: fixed;
|
bottom: 0;
|
width: 7.1rem;
|
height: 1rem;
|
margin: 0 0.2rem;
|
display: flex;
|
justify-content: space-around;
|
align-items: center;
|
background-color: #ffffff;
|
border-radius: 0.2rem 0.2rem 0 0;
|
box-shadow: 0px 0px 9px 4px rgba(14, 150, 255, 0.3);
|
}
|
|
.icon_xiangce {
|
width: 0.36rem;
|
height: 0.36rem;
|
background-image: url(./img/xiangce.png);
|
background-size: 100% 100%;
|
margin-right: 0.1rem;
|
margin-top: -0.07rem;
|
vertical-align: middle;
|
}
|
|
.icon_weixin {
|
width: 0.45rem;
|
height: 0.35rem;
|
background-image: url(./img/weixin.png);
|
background-size: 100% 100%;
|
margin-right: 0.1rem;
|
margin-top: -0.1rem;
|
vertical-align: middle;
|
}
|
|
img {
|
border-style: none;
|
}
|
|
.wenben {
|
font-size: 0.3rem;
|
text-align: center;
|
line-height: 0.72rem;
|
margin: 0 0.7rem;
|
color: #0E95FE;
|
}
|
|
.jiange {
|
width: 0.02rem;
|
height: 0.56rem;
|
background-color: #0E95FE;
|
}
|
</style>
|
|
</head>
|
|
<body>
|
<div class="content">
|
<div>
|
<div class="tu"></div>
|
<h1 class=".wenbencolor">竭诚为您服务 </h1>
|
<h1>工作日:9:00-18:00</h1>
|
<div class="erweimakuang">
|
<div class="erweima"></div>
|
</div>
|
</div>
|
|
</div>
|
|
</div>
|
<div class="dibuxuanfu">
|
<a class="wenben" href="" onclick="save()">
|
<img class="icon_xiangce" src="./img/xiangce.png">保存到相册
|
</a>
|
<div class="jiange"></div>
|
<a class="wenben" href="" onclick="weixin()">
|
<img class="icon_weixin" src="./img/weixin.png">分享到微信
|
</a>
|
|
<script>
|
window.onresize = function() {
|
document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.5 + 'px';
|
};
|
window.onresize();
|
</script>
|
<script>
|
function save() {
|
var src = window.location.href.replace("index.html", "img/erweima.png");
|
ksbridge.call("saveImg", {
|
url: src
|
});
|
}
|
|
function weixin() {
|
var src = window.location.href.replace("index.html", "img/erweima.png");
|
ksbridge.call("shareImg", {
|
url: src,
|
type:"1"
|
});
|
|
}
|
</script>
|
</body>
|
|
</html>
|