zoukankan      html  css  js  c++  java
  • navigator

    页面链接。
    属性名 类型 默认值 说明
    url String   应用内的跳转链接
    redirect Boolean false 是否关闭当前页面
    hover-class String navigator-hover 指定点击时的样式类,当hover-class="none"时,没有点击态效果
    注:navigator-hover默认为{background-color: rgba(0, 0, 0, 0.1); opacity: 0.7;}, <navigator/>的子节点背景色应为透明色
    <view class="page">
      <view class="page__hd">
        <text class="page__title">navigator</text>
        <text class="page__desc">导航栏</text>
      </view>
      <view class="page__bd">
        <view class="btn-area">
            <navigator url="navigate?title=navigate" hover-class="navigator-hover">
                <button type="default">跳转到新页面</button>
            </navigator>
             <navigator url="redirect?title=redirect" redirect hover-class="otherother-navigator-hover">
                <button type="default">在当前页打开</button>
            </navigator>
        </view>
      </view>
    </view> 
  • 相关阅读:
    前缀和
    不用加减乘除做加法
    数组中重复的数字
    滑动窗口的最大值
    矩阵中的路径
    Redis 和 Memcached 的区别 Tair
    机器人的运动范围
    汉诺塔问题
    洗牌算法
    斐波那契查找算法(黄金分割查找算法)
  • 原文地址:https://www.cnblogs.com/tian-sun/p/7405670.html
Copyright © 2011-2022 走看看