闫增涛
2024-12-18 9ce7e63b4c2040b5c09c82085e3f176663e25ddb
加入班级弹窗修改
3个文件已修改
17 ■■■■ 已修改文件
packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/examination/examination.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxml
@@ -16,12 +16,11 @@
        bind:change="onChangeRadio"
      />
      <view class="phone-input">
        <t-input
        <input
          value="{{inputvalue}}"
          placeholder="请输入班级邀请码"
          bind:change="inputChange"
          type="number"
          maxlength="{{11}}"
          type="text"
          class="phone"
          style="{{inputStyle}}"
        />
@@ -42,5 +41,5 @@
        >确认</t-button
      >
    </view>
  </view></view
>
  </view>
</view>
packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxss
@@ -174,6 +174,10 @@
  font-size: 28rpx;
}
.phone {
  height: 82rpx;
}
/* .t-radio__border {
  position: absolute;
  height: 0;
packageBookService/pages/bookServices/examination/examination.js
@@ -2332,10 +2332,14 @@
  },
  // 加入班级
  joinClass(e) {
    wx.showLoading({
      title: '加载中'
    })
    const data = {
      refCode: e.detail.value
    }
    app.MG.identity.joinGroupByRefCode(data).then((res) => {
      wx.hideLoading()
      if (res == '组不存在') {
        wx.showToast({
          icon: 'error',