97 lines
2.6 KiB
HTML
97 lines
2.6 KiB
HTML
<style>
|
|
.footCopyRight {
|
|
margin: 15px 0 0;
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
.cfoot{
|
|
line-height: 20px;
|
|
text-align: center;
|
|
position: fixed;
|
|
bottom: 3.6%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
margin-bottom: 0;
|
|
min-width: 600px;
|
|
}
|
|
.copyRightText{
|
|
position: relative;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
letter-spacing: -0.2px;
|
|
color: #666666;
|
|
}
|
|
.leftLine{
|
|
position: relative;
|
|
display: inline-block;
|
|
border-bottom: 2px solid #888;
|
|
width: 30px;
|
|
top: -3px;
|
|
}
|
|
.leftLine{
|
|
position: relative;
|
|
display: inline-block;
|
|
border-bottom: 2px solid #888;
|
|
width: 30px;
|
|
top: -3px;
|
|
}
|
|
.cfoot .dot {
|
|
display: inline-block;
|
|
width: 3px;
|
|
height: 3px;
|
|
margin: 3px 5px;
|
|
border-radius: 50%;
|
|
background-color: #888888;
|
|
}
|
|
.rightLine{
|
|
position: relative;
|
|
display: inline-block;
|
|
border-bottom: 2px solid #888;
|
|
width: 30px;
|
|
top: -3px;
|
|
}
|
|
|
|
</style>
|
|
<div class="cfoot" id="cfoot">
|
|
<div class="copyRightText">
|
|
<span class="leftLine"></span>
|
|
武汉云贝网络科技
|
|
<span class="dot"></span>
|
|
专注前沿网络技术服务商
|
|
<span class="rightLine"></span>
|
|
</div>
|
|
<div class="footCopyRight"> Copyright © 2015-2020 武汉云贝网络科技有限公司 All Rights Reserved. 汉ICP备16028599号</div>
|
|
</div>
|
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/lib/vue.js" type='text/javascript' charset='utf-8'></script>
|
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/lib/index.js" type='text/javascript' charset='utf-8'></script>
|
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/commont/axios.js" type='text/javascript' charset='utf-8'></script>
|
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/commont/jq.js" type='text/javascript' charset='utf-8'></script>
|
|
<script>
|
|
new Vue({
|
|
el: '#cfoot',
|
|
data: function () {
|
|
return {
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
async loginout() {
|
|
res = await utils.requestPost({
|
|
data: '',
|
|
url: "admin/login/loginout"
|
|
}, this)
|
|
if (res.code == 1) {
|
|
this.$message({
|
|
type: 'success',
|
|
message: '退出成功!',
|
|
duration: 1000,
|
|
onClose: () => {
|
|
location.href="<?= Yii::$app->urlManager->createUrl('admin/login/index');?>";
|
|
},
|
|
});
|
|
}
|
|
},
|
|
}
|
|
})
|
|
</script>
|