1、添加壹個自定義模塊
2、在自定義內容編輯框,選擇代碼編輯,把倒計時代碼復制粘貼到自定義模塊裏面,發布就可以了。(倒計時編碼:
<div class="skin-box-bd clear-fix">
<div class="J_TWidget" data-widget-config="{'endTime': '2022-10-12 00:00:00','interval': 1000,'timeRunCls': '.ks-countdown-run','timeUnitCls':{'d': '.ks-d','h': '.ks-h','m': '.ks-m','s': '.ks-s'},'minDigit': 1,'timeEndCls': '.ks-countdown-end'}" data-widget-type="Countdown" style="color:#000;text-align:center;font-size:16px;">
<div class="ks-countdown-run">
<span class="ks-d">100</span> <span>天</span> <span class="ks-h">10</span> <span>小時</span> <span class="ks-m">10</span> <span>分</span> <span class="ks-s">10</span> <span>秒</span></div>
<div class="ks-countdown-end" style="display:none;">
輸入文字</div>
</div>
</div>
)