anchor tag in wechat mini programs wxml

97 views Asked by At

How to use anchor tags in wxml?

I have a variable in which I am setting a URL. I need to display something like "Click here" in the view and make the user click the URL.

The URL is not any other domain but something within the weixin so that shouldn't be a problem I guess. This does not make the click here appear as a link.

<view class="container log-list">
 <block>
      <a href = '#'><text class="userinfo-nickname" bindLoad="onLoad">click here</text></a>
    </block>
</view>
0

There are 0 answers