导航

    Taro 社区

    Taro

    • 注册
    • 登录
    • 搜索
    • 版块
    • 最新
    • 话题
    • 热门
    • 群组
    1. 主页
    2. Irwin
    I
    • 资料
    • 关注
    • 粉丝
    • 主题
    • 帖子
    • 最佳
    • 群组

    Irwin

    @Irwin

    0
    声望
    5
    帖子
    1560
    资料浏览
    0
    粉丝
    0
    关注
    注册时间 最后登录

    Irwin 关注

    Irwin 发布的帖子

    • textarea设置showConfirmBar 不显示
            <Textarea
              className='textarea'
              value={value}
              maxlength={-1}
              placeholder='请输入'
              showConfirmBar
              cursorSpacing={50}
              count={false}
              onInput={this.onChange.bind(this)}
              onLineChange={this.onLineChange.bind(this)}
            />
      

      设置showConfirmBar但是在编辑时没有显示

      发布在 字节跳动小程序
      I
      Irwin
    • RE: Textarea设置value时,如果设置的字符串较长就不显示呢?

      自测大约超过500字就不展示了

      发布在 字节跳动小程序
      I
      Irwin
    • Textarea设置value时,如果设置的字符串较长就不显示呢?

      Textarea设置value时,如果设置的字符串较长就不显示呢?字符串较短时就能正常显示。

      发布在 字节跳动小程序
      I
      Irwin
    • reLaunch方法只能返回主页嘛?
      setTimeout(()=> {
        Taro.reLaunch({
          url: 'pages/mine/index'
        });
      }, 1000)
      

      不能跳转到pages/mine/index页面,而是直接跳转到首页了。reLaunch不能跳转到指定页面嘛?

      发布在 Taro
      I
      Irwin
    • RE: AtTabs 标签页的头可以固定么?

      自定义at-tabs样式试试
      .main-tabs.at-tabs {
      .at-tabs__header {
      position: fixed;
      z-index: 2;
      }
      .taro-scroll-view__scroll-x
      {
      position: fixed;
      z-index: 2;
      }
      .at-tabs__body {
      margin-top: 90px;
      }
      }

      然后引用
      <AtTabs className='main-tabs' ></AtTabs>

      发布在 Taro 实践 + 案例
      I
      Irwin