<code id="mmkyy"><wbr id="mmkyy"></wbr></code>
<rt id="mmkyy"><tr id="mmkyy"></tr></rt>
<code id="mmkyy"><tr id="mmkyy"></tr></code>
  • 
    
    <li id="mmkyy"></li>

    原生頁面-列表樣式

    字段類型說明備注是否必須
    all_datamodel

    all_data:數(shù)據(jù)結(jié)構(gòu)如下:--詳細(xì)字段見下表

    {
    	"all_data": {
    		"type": "goodslistimgup_subleft",
    		"list": [{"imgurl": "",
    			"link": "",
    			"titles": [}]}}
    字段類型說明備注是否必須
    typestring布局類型包含的布局類型有:piclistimgleft_subright
    piclistimgright_subright
    piclistimgleft_subleft
    piclistimgright_subleft
    goodslistimgleft_subright
    goodslistimgleft_subleft
    goodslistimgup_subright
    goodslistimgup_subleft
    listArray
    每一個(gè)type對應(yīng)不同的數(shù)據(jù)結(jié)構(gòu)

    type布局類型配圖

    type各類型取值詳細(xì)實(shí)例

    下面 以goodslistimgup_subleft為示例

    {
    		"type": "goodslistimgup_subleft",
    		"list": [{
    			"imgurl": "http://310x310.jpg_.webp",
    			"link": "",
    			"titles": [{
    				"imgleft": "http://tm.png",
    				"imgleftwidth": "30",
    				"imgleftheight": "17",
    				"text": "運(yùn)動(dòng)套裝春秋季純色長袖衛(wèi)衣",
    				"textcolor": "0x222222",
    				"textsize": "18",
    				"imgright": ""
    			}, {
    				"imgleft": "http://a-209-42.png",
    				"imgleftwidth": 50,
    				"imgleftheight": "10",
    				"text": "39.5",
    				"textcolor": "0x00FF00",
    				"textsize": "20",
    				"imgright": ""
    			}, {
    				"imgleft": "",
    				"text": "已售400",
    				"textcolor": "0x222222",
    				"textsize": "14",
    				"imgright": ""
    			}, {
    				"imgleft": "http://!85.webp",
    				"imgleftwidth": 50,
    				"imgleftheight": "10",
    				"text": "旗艦店",
    				"textcolor": "0x222222",
    				"textsize": "14",
    				"imgright": "http://ncher.jpg",
    				"imgrightwidth": "10",
    				"imgrightheight": "10"
    			}]
    		}
    字段類型說明備注是否必須
    linkstring點(diǎn)擊跳轉(zhuǎn)的鏈接
    imgurlstring圖片鏈接地址
    titlesarrayitem內(nèi)容信息 (詳情見下表: titles數(shù)據(jù)結(jié)構(gòu))內(nèi)容按照數(shù)組數(shù)據(jù)順序從上向下顯示
    • titles數(shù)據(jù)結(jié)構(gòu):

    字段類型說明備注是否必須
    imgleftstring文字左側(cè)小圖標(biāo)
    imgleftwidthint文字左側(cè)小圖標(biāo)寬度
    imgleftheightint文字左側(cè)小圖標(biāo)高度
    imgrightstring文字右側(cè)小圖標(biāo)
    imgrightwidthint文字右側(cè)小圖標(biāo)寬度
    imgrightheightint文字右側(cè)小圖標(biāo)高度
    textstring圖片下方文字
    textcolor十六進(jìn)制文字顏色
    textsizeint文字大小


    2021-11-17 12:00:04

    在線客服