bindtap失效怎么回事
发布于 7 年前 作者 guiyingchen 7425 次浏览 来自 官方Issues


<
view class='mine-top'>

  <view class='white'>
    <view class="message">
      <view class="headImg">
        <form class='posView' bindsubmit='golevel'report-submit>
          <view>
            <button wx:if='{{userInfos.companyName==undefined||userInfos.companyName==null||userInfos.companyName==""}}' class="btn" plain form-type='submit'>
                未认证
            </button>
            <button wx:else class="btn" plain form-type='submit'>
                {{userInfos.companyName}}
            </button>
          </view>
        </form>
         
        <form wx:if='{{issigin=="false"}}' class='forms' bindsubmit='signingo'report-submit>
          <button  class="qiandao" plain form-type='submit'>
            <text>签到</text>
            <text class="cheng">+{{goldcount}}</text>
          </button>
        </form>
 
        <form wx:else='' class='forms' bindsubmit='signingo'report-submit>
          <button  class="qiandao" plain form-type='submit'>
            已签到
          </button>
        </form>
 
        <view class="picture" bindtap='personal'>
 
          <image src="{{userInfos.cifPhoto}}"></image>
        </view>
        <view class="user"  bindtap='personal'>{{userInfos.name}}</view>
        <view wx:if='{{userInfos.job==undefined||userInfos.job==null||userInfos.job==""}}' class="zuoyouming"  bindtap='personal'>{{userInfos.department}}</view>
        <view wx:else class="zuoyouming"  bindtap='personal'>{{userInfos.department}}-{{userInfos.job}}</view>
        <view class='yulan' style="display:{{flag=='true'?'':'none'}}" bindtap='toyulan'>预览</view>
        <view id='integral'>
          <text class='score'>{{userInfos.integral ? userInfos.integral : 0}}</text>
          <text class='itext'>可用积分</text>
        </view>
      </view>
    </view>
  </view>
</view>
signingo: function(e) {
   var that = this;
   var gold = that.data.goldcount;
   wx.navigateTo({
     url: "../signin/signin?goldcount=" + gold
   })
   this.formid(e);
 },
personal: function() {
   wx.navigateTo({
     url: '../personal_data/personal_data',
   })
 },
signingo: function(e) {
   var that = this;
   var gold = that.data.goldcount;
   wx.navigateTo({
     url: "../signin/signin?goldcount=" + gold
   })
   this.formid(e);
 },
5 回复

开发板有问题,换预发布版,这个问题就没有,我也是刚更新开发工具才出现的,一部分失效,一部分有效搞不懂

新版开发者工具问题,先回退回稳定版

你好,在1.02.1907232的版本上试下2.7.7的基础库是否正常

首先看点击之后能不能进入你绑定的方法

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部