zoukankan      html  css  js  c++  java
  • 小程序中用rich-text来实现ul功能 (代码)

    本篇文章给大家带来的内容是关于小程序中用rich-text来实现ul功能 (代码),有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。

    1

    <rich-text nodes="{{nodes}}" class='nodes'></rich-text>

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    nodes: [{

         name: "ul",

         attrs: {

           style: "",        class: "nodes_ul"

         },

         children: [

           {

             name: "li",

             attrs: {

               style: "",            class: "nodes_li"

             },

             children: [{

               type: "text",

               text: '礼品卡请在有效期内登录官网进行绑定使用'

             }],

           }, {

             name: "li",

             attrs: {

               style: "",            class: "nodes_li"

             },

             children: [{

               type: "text",

               text: '流量包为当月有效,请及时使用'

             }],

           }]

       }],

  • 相关阅读:
    【[国家集训队]最长双回文串】
    【[国家集训队]Crash的数字表格 / JZPTAB】
    【YY的GCD】
    【于神之怒加强版】
    【[SDOI2015]约数个数和】
    【[TJOI2010]电影迷】
    【[SDOI2011]拦截导弹】
    【[SDOI2014]数表】
    linux系统编程之管道(三)
    linux系统编程之管道(二)
  • 原文地址:https://www.cnblogs.com/xiaomeng95/p/13045272.html
Copyright © 2011-2022 走看看