admin 发表于 2023-2-16 18:55:08

微信小程序中对于相关类型的输出

<div id="article_content" class="article_content clearfix">
      <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/kdoc_html_views-1a98987dfd.css">
      <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-6e43165c0a.css">
                <div id="content_views" class="htmledit_views">
                  <p><span style="color:#fe2c24;">注&#xff1a;输出对象要拿到关于对象的key值&#xff0c;才能输出</span></p>
<p></p>
<p>在属性中使用要放到“”里面&#xff0c;在“”中不要存在空格</p>
<p></p>
<p>在属性的{{}}中写一些表达式</p>
<p>1.可以进行三元运算符的计数</p>
<p>2.可以进行数字的累加&#xff0c;拼接</p>
<p>3.可以进行数组组合&#xff0c;构成新的组合</p>
<p></p>
<p> </p>
<p> </p>
<p> </p>
                </div>
      </div>
      <div id="treeSkill"></div>
页: [1]
查看完整版本: 微信小程序中对于相关类型的输出