Jared 2 年之前
父节点
当前提交
4889c3f417
共有 1 个文件被更改,包括 34 次插入0 次删除
  1. 34 0
      js/liff-functions.js

+ 34 - 0
js/liff-functions.js

@@ -185,6 +185,40 @@ function createFlexMessageData() {
             "label": "action",
             "uri": "https://news.tvbs.com.tw/life/1783151"
           }
+        },
+
+        {
+          "type": "box",
+          "layout": "horizontal",
+          "contents": [
+            {
+              "type": "image",
+              "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/LINE_logo.svg/2048px-LINE_logo.svg.png",
+              "margin": "xs"
+            },
+            {
+              "type": "box",
+              "layout": "vertical",
+              "contents": [],
+              "flex": 0
+            },
+            {
+              "type": "text",
+              "text": "線上活動不受疫情影響 逆勢催生台灣元宇宙策展創新服務",
+              "gravity": "center",
+              "flex": 4,
+              "size": "sm",
+              "wrap": true
+            }
+          ],
+          "spacing": "xs",
+          "cornerRadius": "30px",
+          "margin": "xl",
+          "action": {
+            "type": "uri",
+            "label": "action",
+            "uri": "https://today.line.me/tw/v2/article/gzBJpea"
+          }
         }