Skip to content

Commit e3f0703

Browse files
committed
✨ add deeplink for nicelinks
1 parent ba8e119 commit e3f0703

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/pages/About/index.ux

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@
2828
<a class="external-link" href="https://www.jeffjade.com/?utm_source=quickapp-boilerplate-template">晚晴幽草轩</a>出品
2929
</text>
3030
</div>
31+
<div class="app-detail">
32+
<text class="detail-title">推荐应用</text>
33+
<text class="detail-content">
34+
<a class="external-link" href="hap://app/com.quickapp.nicelinks">倾城之链</a>
35+
</text>
36+
</div>
3137
<!-- 创建快捷方式 -->
32-
<input class="button" type="button" onclick="createShortcut" value="创建快捷方式" />
38+
<input class="button" type="button" onclick="onShortcutClick" value="创建快捷方式" />
3339
<!-- 版权信息 -->
3440
<text class="footer">{{ copyright }}</text>
3541
</div>
@@ -61,7 +67,8 @@ export default {
6167
onHide() {
6268
APP_STATISTICS.page_hide(this)
6369
},
64-
createShortcut() {
70+
/* -------------------SelfCustomEvent------------------ */
71+
onShortcutClick() {
6572
$utils.createShortcut()
6673
}
6774
}

0 commit comments

Comments
 (0)