99 lines
3.2 KiB
Plaintext
99 lines
3.2 KiB
Plaintext
<!--pages/wode/wode.wxml-->
|
|
<van-popup show="{{ showCode }}" bind:close="onCodeClose">
|
|
<view class="code-container">
|
|
<text class="tip-text">长按图片识别</text>
|
|
<van-image
|
|
show-menu-by-longpress="true"
|
|
use-loading-slot
|
|
use-error-slot
|
|
bind:click="OnClickCodeImage"
|
|
width="600rpx"
|
|
height="816rpx"
|
|
src="{{CodeURL}}"
|
|
/>
|
|
<van-loading slot="loading" type="spinner" size="20" vertical />
|
|
</view>
|
|
</van-popup>
|
|
<van-dialog
|
|
use-slot
|
|
show="{{ show }}"
|
|
show-cancel-button
|
|
bind:confirm="GetCourse"
|
|
bind:close="onClose"
|
|
>
|
|
<van-button wx:if="{{IsAdministor && IsLogin}}" enabled="{{IsAdministor && IsLogin}}" bind:click="NGT_SetPasswordCode" type="primary" size="large">点击此处设置课程码</van-button>
|
|
<van-button wx:else disabled="{{true}}" type="primary" size="large">课程码</van-button>
|
|
<van-field
|
|
value="{{ value }}"
|
|
placeholder="请输入课程码"
|
|
input-align="center"
|
|
border="{{ false }}"
|
|
bind:change="onChange"
|
|
/>
|
|
</van-dialog>
|
|
<scroll-view class="container" scroll-y enable-flex type="custom">
|
|
<view class="login">
|
|
<view class="touxiangimg">
|
|
<image class="loginuserimg" src="{{headiconurl}}" mode="aspectFill" />
|
|
</view>
|
|
|
|
<view class="userinfo_name">
|
|
<text>{{UserNameText}}</text>
|
|
<button class="loginbtn" bindtap="redirectToTargetLoginout" plain>{{LoginBtnText}}</button>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<!-- 隐藏常用工具区域 -->
|
|
<!-- <view class="functions1">
|
|
<text>常用工具</text>
|
|
<view class="functionstools">
|
|
<view wx:for="{{1}}" wx:for-item="item" wx:key="index">
|
|
<navigator class="function001" url="#">
|
|
<image class="functionimg001" src="{{urlstring}}{{index}}.png" mode="" />
|
|
<text class="functiontext001">工具{{index}}</text>
|
|
</navigator>
|
|
</view>
|
|
|
|
</view>
|
|
</view> -->
|
|
<button wx:if="{{IsLogin}}" class="functions2" bind:tap="showdialog">
|
|
<text class="zuobianwenzi">课程码</text>
|
|
<text class="jiantou"> > </text>
|
|
</button>
|
|
|
|
<button wx:if="{{IsLogin}}" class="functions2" bind:tap="ChangeUserInfo">
|
|
<text class="zuobianwenzi">修改资料</text>
|
|
<text class="jiantou"> > </text>
|
|
</button>
|
|
|
|
<button class="functions2" open-type="share">
|
|
<text class="zuobianwenzi">好友分享</text>
|
|
<text class="jiantou"> > </text>
|
|
</button>
|
|
|
|
<button class="functions2" open-type="contact" bindcontact="handleContact">
|
|
<text class="zuobianwenzi">在线沟通</text>
|
|
<text class="jiantou"> > </text>
|
|
</button>
|
|
|
|
<button class="functions2" bind:tap="showCode">
|
|
<text class="zuobianwenzi">YelayMaths</text>
|
|
<text class="jiantou"> > </text>
|
|
</button>
|
|
|
|
|
|
|
|
<!-- 功能暂不开放 -->
|
|
<!-- <button class="functions2" bind:tap="function2_01">
|
|
<text class="zuobianwenzi">成员管理</text>
|
|
<text class="jiantou"> > </text>
|
|
</button> -->
|
|
|
|
<view class="version">
|
|
<text style="display: block;">Version 0.0.9</text>
|
|
<text style="font-size: 20rpx;display: block;">Copyright<text style="font-size: 15rpx;position: relative;top: -10rpx;right: 0rpx;">©</text> 2026 YelayMaths. All Rights Reserved.</text>
|
|
|
|
</view>
|
|
</scroll-view>
|