You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-fly/cmd/templates/setting_statistics.html

46 lines
1.6 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{{template "header" }}
<div id="app" style="width:100%">
<template>
<el-container v-loading.fullscreen.lock="fullscreenLoading">
<el-main class="mainMain settingMain">
<h2 class="textDark">数据总览</h2>
<el-row :gutter="10">
<el-col :span="8">
<div class="smallBox bgInfo">
<h3 v-html="statistics.visitors"></h3>
<p>总访客数</p>
</div>
</el-col>
<el-col :span="8">
<div class="smallBox bgSuccess">
<h3 v-html="statistics.message"></h3>
<p>总消息数</p>
</div>
</el-col>
<el-col :span="8">
<div class="smallBox bgDanger">
<h3 v-html="statistics.session"></h3>
<p>当前会话数</p>
</div>
</el-col>
</el-row>
</el-main>
</el-container>
</template>
</div>
</body>
{{template "setting_bottom" .}}
<!--对接客服代码,安装完成后更改成自己的域名或IP下面js文件路径以及GOFLY_URL都要改-->
<script src="https://gofly.sopans.com/assets/js/gofly-front.js?v=1"></script>
<script>
GOFLY.init({
GOFLY_URL:"https://gofly.sopans.com",
GOFLY_KEFU_ID: "kefu2",
GOFLY_BTN_TEXT: "快速咨询开发者",
GOFLY_AUTO_OPEN:true,
})
</script>
<!--//对接客服代码-->