jeter20131220 há 3 anos atrás
pai
commit
67c360a7c3
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      NFTContent.json
  2. 2 2
      index.html

+ 1 - 1
NFTContent.json

@@ -3,7 +3,7 @@
       
         "newsimg": "img/sec10/sec10-02.jpg",
         "newstext1": "akaSwap 綠能潔淨NFT平台推出高顏質系列藝術作品【若水BE WATER】",
-        "newstext2": "akaSwap 綠能潔淨NFT平台推出高顏質系列藝術作品【若水BE WATER】",
+        "newstext2": "NFTBoard本月Art From Home 方舟加密藝術跨界直播活動,將隆重的為大家介紹亞洲第一個以綠能區塊鏈 Tezos 為基礎的多功能藝術品NFT交易平台:akaSwap",
         "website": "akaswap- introduction.html"
     },
     {

+ 2 - 2
index.html

@@ -4070,9 +4070,9 @@
                     $(function () {
                         $(".NEWtext").each(function () {
                             var len = $(this).text().length;   //當前HTML物件text的長度
-                            if (len > 80) {
+                            if (len > 100) {
                                 var str = "";
-                                str = $(this).text().substring(0, 80) + "......";  //使用字串擷取,獲取前30個字元,多餘的字元使用“......”代替
+                                str = $(this).text().substring(0, 100) + "......";  //使用字串擷取,獲取前30個字元,多餘的字元使用“......”代替
                                 $(this).html(str);                   //將替換的值賦值給當前物件
                             }
                         });