Skip to content

Commit

Permalink
✨ add deeplink for nicelinks
Browse files Browse the repository at this point in the history
  • Loading branch information
nicejade committed Dec 16, 2018
1 parent ba8e119 commit e3f0703
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/pages/About/index.ux
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@
<a class="external-link" href="https://www.jeffjade.com/?utm_source=quickapp-boilerplate-template">晚晴幽草轩</a>出品
</text>
</div>
<div class="app-detail">
<text class="detail-title">推荐应用</text>
<text class="detail-content">
<a class="external-link" href="hap://app/com.quickapp.nicelinks">倾城之链</a>
</text>
</div>
<!-- 创建快捷方式 -->
<input class="button" type="button" onclick="createShortcut" value="创建快捷方式" />
<input class="button" type="button" onclick="onShortcutClick" value="创建快捷方式" />
<!-- 版权信息 -->
<text class="footer">{{ copyright }}</text>
</div>
Expand Down Expand Up @@ -61,7 +67,8 @@ export default {
onHide() {
APP_STATISTICS.page_hide(this)
},
createShortcut() {
/* -------------------SelfCustomEvent------------------ */
onShortcutClick() {
$utils.createShortcut()
}
}
Expand Down

0 comments on commit e3f0703

Please sign in to comment.