Commit 8709f5c9 authored by nanahira's avatar nanahira

better href link

parent dcf1c047
Pipeline #22041 failed with stages
in 53 seconds
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<br /> <br />
<img class="no-select" draggable="false" style="margin:0 auto;width:580px;position: relative;top:40px;" src="assets/img/desc.png" /> <img class="no-select" draggable="false" style="margin:0 auto;width:580px;position: relative;top:40px;" src="assets/img/desc.png" />
<div style="margin:0 auto;position: relative; top:-50px;"> <div style="margin:0 auto;position: relative; top:-50px;">
<a href="{{ latest_current }}"> <a [href]="latest_current">
<!--<button nz-button nzType="primary" nzSize="large" nzShape="round"><i nz-icon type="download"></i>下载游戏 <!--<button nz-button nzType="primary" nzSize="large" nzShape="round"><i nz-icon type="download"></i>下载游戏
</button>--> </button>-->
<img <img
......
...@@ -59,7 +59,7 @@ export class LayoutComponent implements OnInit { ...@@ -59,7 +59,7 @@ export class LayoutComponent implements OnInit {
} else if (navigator.platform.match(/Mac/i)) { } else if (navigator.platform.match(/Mac/i)) {
this.latest_current = await this.latest_drawin.toPromise(); this.latest_current = await this.latest_drawin.toPromise();
} else if (navigator.platform.match(/Linux/i)) { } else if (navigator.platform.match(/Linux/i)) {
if(window.innerHeight > window.innerWidth) { if (window.innerHeight > window.innerWidth) {
this.latest_current = 'https://www.123pan.com/s/bKZKVv-m3sTd.html'; this.latest_current = 'https://www.123pan.com/s/bKZKVv-m3sTd.html';
} else { } else {
this.latest_current = await this.latest_linux.toPromise(); this.latest_current = await this.latest_linux.toPromise();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment