add download button
This commit is contained in:
parent
d16d997531
commit
cf9d071c34
@ -53,6 +53,11 @@
|
||||
<md-icon>reply</md-icon>
|
||||
<span class="md-list-item-text">Share</span>
|
||||
</md-list-item>
|
||||
|
||||
<md-list-item @click="downloadApk()">
|
||||
<md-icon>file_download</md-icon>
|
||||
<span class="md-list-item-text">Download apk</span>
|
||||
</md-list-item>
|
||||
|
||||
<md-list-item @click="turnToUnlock('用户点击锁定')">
|
||||
<md-icon>beenhere</md-icon>
|
||||
@ -314,13 +319,19 @@ export default {
|
||||
}
|
||||
this.show_list = data_list
|
||||
},
|
||||
|
||||
|
||||
// 模糊搜索辅助轮
|
||||
generReg(val) {
|
||||
let head = '(.*)('
|
||||
let tail = ')(.*)'
|
||||
let body = val.split('').join(')(.*)(')
|
||||
return new RegExp(head + body + tail, 'i')
|
||||
},
|
||||
|
||||
// 下载apk
|
||||
downloadApk() {
|
||||
window.open('https://ccb.canary.moe/download/Canary.apk')
|
||||
}
|
||||
},
|
||||
created() {
|
||||
// 重置row_pwd
|
||||
|
Loading…
x
Reference in New Issue
Block a user