rwd
litian
2024-09-27 8b79283a72251d10649d0627a1b27aa5620a5232
rwd
2个文件已修改
27 ■■■■ 已修改文件
packageBookService/pages/bookServices/detail/components/learnTask/index.js 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/components/learnTask/index.wxml 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/components/learnTask/index.js
@@ -593,18 +593,16 @@
  },
  confirmBtn() {
    if (this.data.invitee == 'teacher' && this.data.teacherEvaluated) {
      wx.showToast({
        title: "教师已经评价,不能再邀请教师评价!",
        icon: 'none',
        duration: 1000
      })
    } else {
      wx.showShareMenu({
        withShareTicket: true
      });
    }
    wx.showShareMenu({
      withShareTicket: true
    });
  },
  confirmBtn1() {
    wx.showToast({
      title: "教师已经评价,不能再邀请教师评价!",
      icon: 'none',
      duration: 1000
    })
  },
  submitComment() {
    let mateEvaluationList = []
packageBookService/pages/bookServices/detail/components/learnTask/index.wxml
@@ -166,7 +166,10 @@
      <t-button class="btn" theme="primary" bind:tap="handleClose">
        <view slot="content" class="btn-content">取消</view>
      </t-button>
      <t-button class="btn" theme="primary" bind:tap="confirmBtn" open-type="share">
      <t-button class="btn" theme="primary" bind:tap="confirmBtn1" wx:if="{{invitee == 'teacher' &&teacherEvaluated}}">
        <view slot="content" class="btn-content">确定</view>
      </t-button>
      <t-button class="btn" theme="primary" bind:tap="confirmBtn" open-type="share" wx:else>
        <view slot="content" class="btn-content">确定</view>
      </t-button>
    </view>