环信im聊天点击卡片进入详情 调用wx.navigateTo()失败?
发布于 7 年前 作者 guolei 7843 次浏览 来自 问答

<template name="txt">

  <view class="msg-cardstyle="float:left;">

    <view class="msg-cardBox">

      <view class="msg-cardTextbindtap="signedEvent">

        <view class="cardTitle">

          <view>

            <image wx:if="{{ agrdAgreed }}class="stampRightsrc="../../../images/agrdAgreed.png">image>

            <image wx:if="{{ refused }}class="stampRightsrc="../../../images/refused.png">image>

          view>

          <image class="maskTopsrc="../../../images/cardTop1.png">image>

          <view>{{ item.data }}view>

        view>

        <view class="cardContstyle="padding-top: 40rpx">

          <text>监测类型text>

          

          <text style="float: right;">三项text>

        view>

        <view class="cardCont">

          <text>辅导频次text>

          

          <text style="float: right;">2次/月text>

        view>

        <view class="cardCont">

          <text>签约时长text>

          

          <text style="float: right;">一年text>

        view>

        <view class="cardCont">

          

          <text style="float: right; color: #F14646;">¥ 99.00text>

        view>

      view>

    view>

  view>

template>


signedEvent() {

      wx.navigateTo({

        url: '../../../page/order/orderSigned/orderSigned',

        //成功后的回调;

        success: function () {

          console.log('成功')

        },

        //失败后的回调;           

        fail: function() {

          console.log('失败')

        }

      })

    },

返回失败

回到顶部