This commit is contained in:
@@ -13,7 +13,7 @@ class Info {
|
||||
.then(() => {
|
||||
|
||||
util.header(
|
||||
`<div class="title flex1 ellipsis">${this.title}</div>`,
|
||||
`<div class="header_title flex1 ellipsis">${this.title}</div>`,
|
||||
`
|
||||
<div class="ilist">
|
||||
<i class="iconfont icon-wujiaoxing"></i>
|
||||
@@ -53,11 +53,15 @@ class Info {
|
||||
|
||||
// TODO 找一个合适分享
|
||||
$(".icon-fenxiang").onclick = async () => {
|
||||
await navShare({
|
||||
title: this.title,
|
||||
text: `我这有个好看的,快来看看 ${this.title}`,
|
||||
url: location.href
|
||||
})
|
||||
await navigator.clipboard.writeText(`
|
||||
我这有个好看的,快来看看 ${this.title}
|
||||
${location.href}
|
||||
`)
|
||||
// await navShare({
|
||||
// title: this.title,
|
||||
// text: `我这有个好看的,快来看看 ${this.title}`,
|
||||
// url: location.href
|
||||
// })
|
||||
}
|
||||
|
||||
let sc = $(".icon-wujiaoxing")
|
||||
|
||||
Reference in New Issue
Block a user