Skip to content

Commit

Permalink
添加App更新日志
Browse files Browse the repository at this point in the history
  • Loading branch information
ljxi committed Dec 25, 2023
1 parent eb8cacc commit bf40a8d
Showing 1 changed file with 63 additions and 27 deletions.
90 changes: 63 additions & 27 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,50 +28,73 @@
</el-main>
<div style="height: fit-content;padding-bottom: 10px;">
<div style="width: fit-content;margin-left: auto;margin-right: auto;">
<el-link type="info" href="https://netart.cn/" target="_blank">Whoami</el-link>&nbsp;
<el-link type="info" href="https://github.com/ljxi/NetworkPanel" target="_blank">源码</el-link>
<el-link type="info" @click='open("https://netart.cn/")' target="_blank">Whoami</el-link>&nbsp;
<el-link type="info" @click='open("https://github.com/ljxi/NetworkPanel")' target="_blank">源码</el-link>
</div>
</div>
</el-container>
<el-dialog style="width: 90%;max-width: 700px;" v-model="downLoadAPPTableVisible" title="APP下载">
<el-dialog align-center style="width: 90%;max-width: 700px;" v-model="downLoadAPPTableVisible" title="APP下载">
<div>
<h2>网络面板v2.2</h2>
<el-button style="float:right;margin-top: -5px;" type="primary" @click="open('https://api.netart.cn/d?b013x15cb')">
下载最新版
</el-button>
<h2>网络面板APP</h2>
<span>Java原生实现</span><br>
<span>1.支持锁屏运行</span><br>
<span>2.支持添加任何链接</span><br>
<span>3.相对于浏览器更加省电</span><br>
<span>4.通知栏实时查看网络信息</span><br>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="downLoadAPPTableVisible = false">关闭</el-button>
<el-button type="primary" @click="downloadApp">
下载
</el-button>
</span>
</template>
<div>
<h2>更新日志</h2>
<div>
<h3>v2.2</h3>
<p>
1.修复了启动闪白屏的问题<br>
2.修复了打开后切换深色模式出现logo遮挡问题<br>
3.修复了暂停可能不及时的问题<br>
5.切换到okhttp请求库,提高性能与错误处理能力<br>
6.通知样式调整<br>
7.更省电<br>
</p>
</div>
<div>
<h3>v2.1</h3>
<p>
1.修复了2.0版本部分链接跑一会儿没速度的问题,修复了一个增加耗电的问题<br>
2.核心功能完全由原生Java层接管,省电不发热的同时可以保后台,实测小米6黑屏后台运行12小时不掉<br>
3.同步近期网页版更新内容<br> <br>
保后台条件:<br>
1.通知栏能够正常显示进度信息(如果没有看到通知,去设置检查通知权限)<br>
2.加入电池优化白名单(如果没有加入,打开app会弹窗要求加入)<br>
如果部分老旧机型打开白屏,请
<el-link @click="open('https://api.netart.cn/d?b013x2a3i')" type="primary">点此下载</el-link>
webview内核,并在开发者选项内启用该内核后重试
</p>
</div>
</div>
</el-dialog>
<el-dialog style="width: 90%;max-width: 400px;" v-model="aboutVisible" title="关于">
<div>
<h2>网络面板</h2>
<span>作者:<el-link href="https://netart.cn/" type="primary">Whoami</el-link></span><br>
<span>作者:<el-link @click='open("https://netart.cn/")' type="primary">Whoami</el-link></span><br>
<span>QQ:<el-link type="primary" @click="copyText('582424565')">582424565 </el-link></span><br>
<span>QQ群:<el-link type="primary" @click="copyText('463481772')">463481772 </el-link></span><br>
<span>开源地址:<el-link href="https://github.com/ljxi/NetworkPanel" type="primary">Github</el-link></span><br>
<span>开源地址:<el-link @click='open("https://github.com/ljxi/NetworkPanel")' type="primary">Github</el-link></span><br>
<span>赞助支持:
<el-link href="https://afdian.net/a/ljxnet" type="primary">爱发电</el-link>&nbsp
<el-link href="https://qr.alipay.com/fkx13781i79xywfarbvrsfc" type="primary">支付宝</el-link>
<el-link @click='open("https://afdian.net/a/ljxnet")' type="primary">爱发电</el-link>&nbsp
<el-link @click='open("https://qr.alipay.com/fkx13781i79xywfarbvrsfc")' type="primary">支付宝</el-link>
</span><br>
<span>特别感谢:</span><br>
<el-link href="https://www.kuocaicdn.com/register?code=8z8urvbg2ffd9" type="primary">括彩科技</el-link><span>提供免费稳定的CDN服务</span><br>
<el-link href="https://staticfile.org/" type="primary">七牛云</el-link><span>提供免费稳定前端静态资源分发服务</span><br>
<el-link @click='open("https://www.kuocaicdn.com/register?code=8z8urvbg2ffd9")' type="primary">括彩科技</el-link><span>提供免费稳定的CDN服务</span><br>
<el-link @click='open("https://staticfile.org/")' type="primary">七牛云</el-link><span>提供免费稳定的前端静态资源分发服务</span><br>
<br>
<span>本项目用到的开源库:</span><br>
<el-link href="https://github.com/vuejs/core" type="primary">Vue</el-link>&nbsp
<el-link href="https://github.com/element-plus/element-plus" type="primary">ElementPlus</el-link>&nbsp
<el-link href="https://github.com/apache/echarts" type="primary">echarts</el-link>&nbsp
<el-link href="https://github.com/richtr/NoSleep.js" type="primary">NoSleep.js</el-link>&nbsp
<el-link href="https://github.com/soerenmartius/vue3-clipboard" type="primary">vue3-clipboard</el-link>&nbsp
<el-link @click='open("https://github.com/vuejs/core")' type="primary">Vue</el-link>&nbsp
<el-link @click='open("https://github.com/element-plus/element-plus")' type="primary">ElementPlus</el-link>&nbsp
<el-link @click='open("https://github.com/apache/echarts")' type="primary">echarts</el-link>&nbsp
<el-link @click='open("https://github.com/richtr/NoSleep.js")' type="primary">NoSleep.js</el-link>&nbsp
<el-link @click='open("https://github.com/soerenmartius/vue3-clipboard")' type="primary">vue3-clipboard</el-link>&nbsp
</div>
<div>
<h2>疑问解答</h2>
Expand Down Expand Up @@ -100,16 +123,29 @@
import MainUI from "./components/Main.vue"
import IPinfoUI from "./components/IPinfo.vue"
import { ref, reactive } from 'vue'
import { ref, reactive, watch } from 'vue'
import { ElMessage } from 'element-plus'
import { toClipboard } from '@soerenmartius/vue3-clipboard'
var isAndroid = /Android/i.test(navigator.userAgent)
const isVisible = ref(true)
const downLoadAPPTableVisible = ref(false)
if(window.location.hash=='#app')downLoadAPPTableVisible.value=true
const clearHash=()=>{
history.replaceState(null, document.title,
window.location.pathname + window.location.search);
}
watch(downLoadAPPTableVisible,(n)=>{
if(!n){
clearHash()
}else{
window.location.hash='#app'
}
})
const aboutVisible = ref(false)
const downloadApp = () => {
window.open("https://api.netart.cn/lanzou?id=iOqLF1ivbvtc")
downLoadAPPTableVisible.value = false
const open = (url:string) => {
window.open(url)
}
let copyText = (txt:string) => {
Expand Down

0 comments on commit bf40a8d

Please sign in to comment.