{ "type": "DPL", "version": "1.0", "mainTemplate": { "parameters": [ "payload" ], "items": [ { "type": "Image", "position": "absolute", "top": "0dp", "left": "0dp", "src": "https://aliyun-hz1.chewrobot.com/xiaoduhome/image/backend.jpg", "height": "100%", "width": "100%" }, { "type": "Header", "headerImage": "https://skillstore.cdn.bcebos.com/icon/23/fc7581b7-b505-1f44-ab52-3d9f5e567dfd.png", "headerTitle": "交游天下", "hasBackIcon": true }, { "type": "Container", "width": "100%", "height": "100%", "componentId": "whole", "items": [ { "type": "Container", "width": "100%", "height": "100%", "items": [ { "type": "Container", "flex-direction": "row", "width": "100%", "height": "100%", "items": [ { "type": "Image", "height": "280dp", "width": "280dp", "border-radius": "30dp", "scale-type": "fitCenter", "margin-left": "50dp", "margin-top": "12dp" }, { "type": "Container", "flex-direction": "column", "width": "600dp", "height": "100%", "items": [ { "type": "Text", "margin-top": "10dp", "font-size": "38dp", "margin-left": "5%" }, { "type": "Container", "margin-top": "10dp", "flex-direction":"row", "items":[ { "type": "Text", "text": "发表时间:2019.5.8", "font-size": "22dp", "margin-left": "5%" }, { "type": "Text", "text": "作者:小艾", "font-size": "22dp", "margin-left": "10%" } ] }, { "type": "Container", "margin-top": "6dp", "flex-direction":"row", "items":[ { "type": "Text", "max-lines": 1, "text": "相关标签: 都市 社会 生活", "font-size": "22dp", "margin-left": "5%" } ] }, { "type": "Container", "margin-top": "9dp", "margin-right": "26dp", "items": [ { "type": "Text", "font-size": "25dp", "line-height": "5dp", "margin-top": "30dp", "max-lines": 3, "text-overflow": "ellipsis", "margin-left": "5%" } ] }, { "type": "Container", "flex-direction": "row", "position": "absolute", "bottom": "160dp", "items": [ { "type": "Container", "margin-left": "50dp", "align-items": "center", "onClick": [ { "type": "SendEvent" } ], "items": [ { "type": "Image", "height": "60dp", "width": "60dp", "src": "https://aliyun-hz1.chewrobot.com/xiaoduhome/image/feel.png", "scale-type": "fitCenter" }, { "type": "Text", "text": "开始体验", "margin-top": "10dp", "font-size": "20dp" } ] }, { "type": "Container", "margin-left": "130dp", "align-items": "center", "onClick": [ { "type": "SendEvent" } ], "items": [ { "type": "Image", "height": "60dp", "width": "60dp", "src": "https://aliyun-hz1.chewrobot.com/xiaoduhome/image/flower.png", "scale-type": "fitCenter" }, { "type": "Text", "text": "打赏鲜花", "margin-top": "10dp", "font-size": "20dp" } ] }, { "type": "Container", "margin-left": "120dp", "align-items": "center", "onClick": [ { "type": "SendEvent" } ], "items": [ { "type": "Image", "height": "60dp", "width": "60dp", "componentId": "collectImage", "src": "https://aliyun-hz1.chewrobot.com/xiaoduhome/image/share.png", "scale-type": "fitCenter" }, { "type": "Text", "componentId": "collectText", "margin-top": "10dp", "text": "收藏", "font-size": "20dp" } ] } ] } ] } ] } ] } ] }, { "type": "Container", "position": "absolute", "width": "100%", "left": "0", "bottom": "0", "items": [ { "type": "Footer", "hints": [ "送花","收藏作品","回到首页" ] } ] } ] } }