收藏
回答

TypeError:currentTab?

回答关注问题邀请回答
收藏

2 个回答

  • 王旭
    王旭
    2023-01-17

    <view wx:if="{{currentTab==0}}">

    <block wx:for-index="i"  wx:for="{{totalPage}}" wx:key="*this">

      <view class="hr"></view>

        <view class="voatest">

          <view>

            <image class="voatest02src="{{resData.data[i].Pic}}" style="width:100px;height:100px;"></image>

          </view>

          <view class="desc">

            <view class="voatest00">

              <navigator url="/pages/zz/zzopen-type="navigate">

              {{resData.data[i].Title}}

            </navigator>

            </view>

            <view class="voatest01">{{resData.data[i].Title_cn}}</view>

            <view class="count">

              <view class="voatest04">{{resData.data[i].CreatTime}}</view>

              <view class="voatest03">{{resData.data[i].ReadCount}}</view>

            </view>

          </view>

        </view>

        <view class="hr2"></view>

        </block>

    </view>


    2023-01-17
    有用
    回复
  • 码奴
    码奴
    2023-01-17

    贴点代码,感觉有个变量set不上

    2023-01-17
    有用
    回复
登录 后发表内容