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/07/02 15:03:05 UTC

[GitHub] [incubator-weex] wujie1314 opened a new issue #3238: [Android][iOS]

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


   这个没有V-show怎么隐藏组件啊,用v-if组件会重新渲染,缓存无法留下来啊,vue还有keep-alive,但是weex都用不起


----------------------------------------------------------------
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



[GitHub] [incubator-weex] cnryb commented on issue #3238: [Android][iOS]这个没有V-show怎么隐藏组件啊 求一个weex的v-show

Posted by GitBox <gi...@apache.org>.
cnryb commented on issue #3238:
URL: https://github.com/apache/incubator-weex/issues/3238#issuecomment-654831955


   个人意见,在iOS、Android中,组件会被翻译成相应的native组件。隐藏组件后,组件所占位置仍在。所以直接 v-if 会更好点。


----------------------------------------------------------------
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



[GitHub] [incubator-weex] hanliuxin5 commented on issue #3238: [Android][iOS]这个没有V-show怎么隐藏组件啊 求一个weex的v-show

Posted by GitBox <gi...@apache.org>.
hanliuxin5 commented on issue #3238:
URL: https://github.com/apache/incubator-weex/issues/3238#issuecomment-655438157


   @cnryb 对的,目前倒是可以通过控制 `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



[GitHub] [incubator-weex] hanliuxin5 commented on issue #3238: [Android][iOS]这个没有V-show怎么隐藏组件啊 求一个weex的v-show

Posted by GitBox <gi...@apache.org>.
hanliuxin5 commented on issue #3238:
URL: https://github.com/apache/incubator-weex/issues/3238#issuecomment-654758153


   ```
    <lottie class="…."
               :style="{visibility: visible}"
                       ></lottie>
   ```
   第一,用`visibility`来控制
   
   第二,用`opacity`来控制
   
   
   


----------------------------------------------------------------
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



[GitHub] [incubator-weex] wakaryry commented on issue #3238: [Android][iOS]这个没有V-show怎么隐藏组件啊 求一个weex的v-show

Posted by GitBox <gi...@apache.org>.
wakaryry commented on issue #3238:
URL: https://github.com/apache/incubator-weex/issues/3238#issuecomment-662273542


   直接用v-if控制,或者将其移动到可见屏幕之外。
   


----------------------------------------------------------------
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



[GitHub] [incubator-weex] wujie1314 closed issue #3238: [Android][iOS]这个没有V-show怎么隐藏组件啊 求一个weex的v-show

Posted by GitBox <gi...@apache.org>.
wujie1314 closed issue #3238:
URL: https://github.com/apache/incubator-weex/issues/3238


   


----------------------------------------------------------------
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