| | |
| | | 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}}" |
| | | /> |
| | |
| | | >确认</t-button |
| | | > |
| | | </view> |
| | | </view></view |
| | | > |
| | | </view> |
| | | </view> |
| | |
| | | font-size: 28rpx; |
| | | } |
| | | |
| | | .phone { |
| | | height: 82rpx; |
| | | } |
| | | |
| | | /* .t-radio__border { |
| | | position: absolute; |
| | | height: 0; |
| | |
| | | }, |
| | | // 加入班级 |
| | | 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', |