You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.3 KiB

<!--pages/student/student.wxml-->
<!-- 自定义模态框 -->
<view wx:if="{{showModal}}" class="modal">
<view class="modal-content">
<view class="input-container">
<text class="label">学号:</text>
<input class="input-field" type="text" placeholder="请输入学号" bindinput="handleInput" data-field="studentId" />
</view>
<view class="input-container">
<text class="label">姓名:</text>
<input class="input-field" type="text" placeholder="请输入姓名" bindinput="handleInput" data-field="studentName" />
</view>
<view class="input-container">
<text class="label">上传头像:</text>
<button class="upload-button" bindtap="uploadAvatar">选择图片</button>
</view>
<button class="confirm-button" bindtap="confirmInput">确定</button>
<button class="cancel-button" bindtap="cancelInput">取消</button>
</view>
</view>
<scroll-view
class="scroll-view"
scroll-y="true"
enable-back-to-top
bindrefresh="onRefresh"
refreshing="{{refreshing}}">
<!-- 其他内容 -->
</scroll-view>
<view class="container" style="background-image: url('/image/学生背景.png');"></view>
<image class="lanren-image" src="/image/lanren.png" mode="widthFix"></image>
<image class="zi-image" src="/image/zi.png" mode="widthFix"></image>
<image class="dd-image" bindtap="goToPledge" src="/image/dd.png" mode="widthFix"></image>
<view class="circle1"></view>
<image class="guize-image" bindtap="goToguize" src="/image/guize.png" mode="widthFix"></image>
<text class="text1" bindtap="goToguize">规则</text>
<image class="paihang-image" bindtap="goTorank" src="/image/排行.png" mode="widthFix"></image>
<image class="yu-image" bindtap="rollCall" src="/image/yu.png" mode="widthFix"></image>
<view class="rectangle1"></view>
<view class="rectangle2"></view>
<image class="bao-image" src="{{avatar}}" mode="widthFix"></image>
<view class="rectangle3"></view>
<view class="rectangle4"></view>
<text class="text2"> {{studentName}}</text>
<text class="text3" bindtap="rollCall">点
名</text>
<text class="text4">当前积分: {{score}}</text>
<image class="fanhui-image" bindtap="goBack" src="/image/fanhui.png" mode="widthFix"></image>
<button class="submit-text" bindtap="showLoginModal">登录</button>