1 Star 0 Fork 0

criustt / 麻瓜张的成长之路

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Vue.md 6.11 KB
一键复制 编辑 原始数据 按行查看 历史
17071897431029748 提交于 2022-12-23 20:15 . 1111

Vue监听

watch: { msg: function(newVal, oldVal) { // TO DO console.log("newVal:", newVal); console.log("oldVal:", oldVal); } },

watch:{ obj:{ //监听的对象 deep:true, //深度监听设置为 true handler:function(newV,oldV){ console.log('watch中:',newV) } } }

 <div class="midArticle inner" style="width:1206px;">
      <div class="md_l" style="float:none; flex: auto; width:auto;">
        <div class="block-item" style="margin-top: 0;" frag="窗口23" portletmode="simpleNews" configs="{'c8':'1','c42':'320','c25':'320','c30':'0','c29':'1','c23':'1','c34':'300','c20':'0','c31':'0','c16':'1','c3':'5','c2':'序号,标题,发布时间','c27':'480','c43':'0','c17':'0','c5':'_blank','c24':'240','c32':'1','c26':'1','c37':'1','c28':'640','c40':'1','c15':'0','c14':'1','c44':'0','c33':'500','c10':'50','c18':'MM•d yyyy','c36':'0','c1':'1','c6':'40','c19':'MM•dd yyyy','c21':'1','c4':'1','c35':'-1:-1','c39':'300','c38':'100','c7':'1','c12':'0','c9':'0','c11':'1','c13':'200','c41':'240','c22':'0'}" contents="{'c2':'0', 'c1':'/党群工作'}"
         
         >
          <div class="block-title" style="width:350px;height:33px;border:none;font-size:24px;font-weight:400;"> 党群工作
          </div>
          <div
            style="background:url('/_upload/tpl/0c/3e/3134/template3134/images/dqgz.png') ;background-size:100% 100%;width:358px;height:166px;border:none;">
          </div>
          <div class="">
            <ul style="width: 360px;height:278px;overflow:hidden;margin-top:22px;">
              <!--[InfoCycleBegin]-->
              <li class="articleInfo">
                   <div style="font-family: DINAlternate-Bold, DINAlternate; margin-right:20px;font-weight: bold;width:30px;font-size:17px; white-space: pre-wrap;display: inline-block;line-height: 19px;">{发布时间}</div> 
                <div style="">
                       <div class="articleTitle">
                <a href="{文章URL}"></a>
                {标题}
    
          
                </div>
                
    
                <div class="articleDesc">
                  {简介}
                </div>
              </li>
              <!--[InfoCycleEnd]-->
            </ul>
          </div>
          <!--/block-list-->
          <!--/block-list-->
        </div>
      </div>
      <div>
        <div class="block-title" style="width:350px;height:33px;border:none;font-size:24px;font-weight:400;"> 投资企业</div>
        <div style="flex: auto; 
               height: 419px;
               width:455px;
               margin-top: 10%;
              background: #EEEEEE;
              border-radius: 33px 0px 0px 0px;">
          <div style=" margin-left: 28px; padding-top: 60px;">
            <div style="display:flex;    justify-content: space-between; margin-bottom:15px;">

              <div class="comImg"
                style="background:url('/_upload/tpl/0c/3e/3134/template3134/images/sygs.png');background-size:100% 100%;color:#fff;text-align:center;">
                <div class="comInfo">
                  <h2>十月公社</h2>
                </div>
              </div>
              <div class="comImg"
                style="background:url('/_upload/tpl/0c/3e/3134/template3134/images/njgs.png');background-size:100% 100%;color:#fff;text-align:center;">
                <div class="comInfo">
                  <h2>南京公司</h2>
                </div>
              </div>
            </div>
            <div style="display:flex;    justify-content: space-between;">
              <div class="comImg"
                style="background:url('/_upload/tpl/0c/3e/3134/template3134/images/ntgs.png');background-size:100% 100%;color:#fff;text-align:center;">
                <div class="comInfo">
                  <h2>南通公司</h2>
                </div>
              </div>
              <div class="comImg"
                style="background:url('/_upload/tpl/0c/3e/3134/template3134/images/ycgs.png');background-size:100% 100%;color:#fff;text-align:center;">
                <div class="comInfo">
                  <h2>盐城公司</h2>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="md_r2" style="flex: auto; max-width: 350px;float:none;">
        <div class="block-item" style="margin-top:0;" frag="窗口24" portletmode="simpleNews" configs="{'c8':'1','c18':'MM•dd yyyy','c6':'40','c1':'0','c25':'320','c19':'MM•dd yyyy','c30':'0','c29':'1','c21':'1','c20':'0','c4':'1','c39':'300','c38':'100','c7':'1','c34':'180','c23':'1','c31':'0','c16':'1','c9':'0','c3':'8','c2':'标题','c27':'480','c17':'0','c5':'_blank','c24':'240','c32':'','c26':'1','c37':'1','c28':'640','c13':'28','c33':'240','c10':'50','c42':'320','c43':'0','c40':'1','c15':'0','c14':'1','c44':'0','c36':'0','c35':'-1:-1','c12':'0','c11':'1','c41':'240','c22':'0'}" contents="{'c2':'0', 'c1':'/经营窗口'}"
         
         >
      <div class="block-title" style="width:350px;height:33px;border:none;font-size:24px;font-weight:400;"> 政策法规</div>
          <div class="block-list" style="height: 409px;overflow:hidden;margin-top: 10%;">
                <ul>
                  <!--[InfoCycleBegin]-->
                  <div class="articleInfo">
                    <div style="width: 54px;
                               font-family: DINAlternate-Bold, DINAlternate;
                              margin-right: 11px;
                              text-align: center;
                               font-weight:700;
                              font-size: 16px;">{发布时间}</div>
                    <div>
                      <div>
                        <a href="{文章URL}">
                          <div class="articleTitle">{标题}</div>
                        </a>
                      </div>
                      <div class="articleDesc">
                        {简介}
                      </div>
                    </div>

                  </div>

                  <!--[InfoCycleEnd]-->
                </ul>
              </div>
          <!--/block-list-->
          <!--/block-list-->
        </div>
      </div>
    </div>
1
https://gitee.com/criustt/muggle-zhangs-growth-path.git
git@gitee.com:criustt/muggle-zhangs-growth-path.git
criustt
muggle-zhangs-growth-path
麻瓜张的成长之路
master

搜索帮助