You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2020/11/09 13:34:41 UTC

[GitHub] [incubator-weex] zdpdsy opened a new issue #3299: [iOS] richtext标签-同时设置多个a标签时点击事件不触发

zdpdsy opened a new issue #3299:
URL: https://github.com/apache/incubator-weex/issues/3299


   
   测试代码如下:
   ```
   <template>
       <div>
           <richtext @itemclick="listener" style="color:red;text-overflow:ellipsis">
               <a pseudo-ref="21"></a>
   <a pseudo-ref="22"></a>
   <a pseudo-ref="23"></a>
           </richtext>
       </div>
   </template>
   
   <script>
       module.exports = {
           methods: {
               listener: function (foo) {
                   var modal = weex.requireModule('modal');
                   modal.toast({
                     message: 'My pseudoRef is '+foo.pseudoRef,
                     duration: 3
                   });
               }
           }
       }
   </script>
   
   
   <style>
   .logo{width: 50;height: 50;}
   .title{font-size:42; color: #FF5400;}
   </style>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org