添加页尾版权

This commit is contained in:
bjdgy 2024-03-10 21:34:43 +08:00
parent 74782e883b
commit 03467e4f06
3 changed files with 27 additions and 2 deletions

View File

@ -18,6 +18,14 @@
<!--子组件上报route信息-->
<router-view :route_path.sync="route_path" :route_name.sync="route_name"></router-view>
</el-main>
<el-footer>
<div>
<el-button size="mini" @click="goUrl('https://gitee.com/bjdgyc/anylink')">
Powered by AnyLink
</el-button>
企业级远程办公系统 AGPL-3.0 2020-present
</div>
</el-footer>
</el-container>
</el-container>
</template>
@ -36,6 +44,11 @@ export default {
route_name: ['首页'],
}
},
methods: {
goUrl(url) {
window.open(url, "_blank")
},
},
watch: {
route_path: function (val) {
// var w = document.getElementById('layout-menu').clientWidth;
@ -60,4 +73,16 @@ export default {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
}
.el-footer {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 12px;
line-height: 12px;
margin: 0 12px;
color: rgb(134, 144, 156);
}
</style>

View File

@ -88,7 +88,7 @@
step: '01:00',
end: '23:00',
}"
editable="false,"
:editable="false"
size="small"
placeholder="请选择"
style="width: 130px"

View File

@ -7,7 +7,7 @@ axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded
if (process.env.NODE_ENV !== 'production') {
// 开发环境
axios.defaults.baseURL = 'http://172.23.83.233:8800';
axios.defaults.baseURL = 'https://192.168.8.24:8800';
}
function request(vm) {