Axure實現(xiàn)獲取動態(tài)時間

實現(xiàn)效果
1、添加動態(tài)面板,添加矩形,設(shè)置兩個狀態(tài)

‘’

2、設(shè)置動態(tài)面板加載時,狀態(tài)“下一個”,設(shè)置循環(huán)間隔

3、面板狀態(tài)改變時,設(shè)置動態(tài)面板內(nèi)兩個狀態(tài)的矩形文本值
[[(0.concat(Now.getHours())).substr((0.concat(Now.getHours())).length-2,2)]]:[[(0.concat(Now.getMinutes())).substr((0.concat(Now.getMinutes())).length-2,2)]]:[[(0.concat(Now.getSeconds())).substr((0.concat(Now.getSeconds())).length-2,2)]]

4、設(shè)置第一個面板狀態(tài)的矩形加載時,獲取當前時間(這個目的時為了在頁面打開時,能看到數(shù)據(jù),如果不設(shè)置需要等一下才會顯示數(shù)據(jù))

