feat(miniClass): 增加补充姓名提示并更新用户显示字段从nickname改为name
- 将多个页面中用户昵称显示字段从 `nickname` 统一改为 `name` - 优化课程购买提示逻辑,支持多条信息分次提示 - 更新应用版本号至2.0.36
This commit is contained in:
@@ -91,8 +91,8 @@
|
||||
</view>
|
||||
<view :class="['textItems','flex_box']">
|
||||
<text class="txt555"
|
||||
v-if="item.student.nickname != null && item.student.nickname != ''">
|
||||
{{item.student.nickname}}
|
||||
v-if="item.student.name != null && item.student.name != ''">
|
||||
{{item.student.name}}
|
||||
<template>
|
||||
<text>({{item.student.tel}})</text>
|
||||
</template>
|
||||
@@ -170,7 +170,7 @@
|
||||
<view class="item">
|
||||
<text class="adminName">班长:</text>
|
||||
<view class="personbox" v-if="admins.monitor.user != null && admins.monitor.id">
|
||||
<text>{{admins.monitor.user.nickname != null && admins.monitor.user.nickname != '' ? admins.monitor.user.nickname : '匿名用户'}}</text>
|
||||
<text>{{admins.monitor.user.name != null && admins.monitor.user.name != '' ? admins.monitor.user.name : '匿名用户'}}</text>
|
||||
<text v-if="admins.monitor.id">({{admins.monitor.user.tel}})</text>
|
||||
</view>
|
||||
<text v-else>暂未设置</text>
|
||||
@@ -178,14 +178,14 @@
|
||||
<view class="item">
|
||||
<text class="adminName">副班长:</text>
|
||||
<view class="personbox" v-if="admins.dmonitor.user != null && admins.dmonitor.id">
|
||||
<text>{{admins.dmonitor.user.nickname != null && admins.dmonitor.user.nickname != '' ? admins.dmonitor.user.nickname : '匿名用户'}}</text>
|
||||
<text>{{admins.dmonitor.user.name != null && admins.dmonitor.user.name != '' ? admins.dmonitor.user.name : '匿名用户'}}</text>
|
||||
<text>({{admins.dmonitor.user.tel}})</text>
|
||||
</view>
|
||||
<text v-else>暂未设置</text>
|
||||
</view>
|
||||
<view class="item"><text class="adminName">学习委员:</text>
|
||||
<view class="personbox" v-if="admins.learner.user != null && admins.learner.id">
|
||||
<text>{{admins.learner.user.nickname != null && admins.learner.user.nickname != '' ? admins.learner.user.nickname : '匿名用户'}}</text>
|
||||
<text>{{admins.learner.user.name != null && admins.learner.user.name != '' ? admins.learner.user.name : '匿名用户'}}</text>
|
||||
<text>({{admins.learner.user.tel}})</text>
|
||||
</view>
|
||||
<text v-else>暂未设置</text>
|
||||
@@ -194,7 +194,7 @@
|
||||
<template v-if="admins.counter.length > 0">
|
||||
<view class="arryItemSub" v-for="(item,index) in admins.counter" :key="index">
|
||||
<template v-if="item.user != null">
|
||||
<text>{{item.user.nickname != null && item.user.nickname != '' ? item.user.nickname : '匿名用户'}}</text>
|
||||
<text>{{item.user.name != null && item.user.name != '' ? item.user.name : '匿名用户'}}</text>
|
||||
<text>({{item.user.tel}}) </text>
|
||||
</template>
|
||||
</view>
|
||||
@@ -205,7 +205,7 @@
|
||||
<template v-if="admins.scorer.length > 0">
|
||||
<view class="arryItemSub" v-for="(item,index) in admins.scorer" :key="index">
|
||||
<template v-if="item.user != null">
|
||||
<text>{{item.user.nickname != null && item.user.nickname != '' ? item.user.nickname : '匿名用户'}}</text>
|
||||
<text>{{item.user.name != null && item.user.name != '' ? item.user.name : '匿名用户'}}</text>
|
||||
<text>({{item.user.tel}}) </text>
|
||||
</template>
|
||||
</view>
|
||||
@@ -217,7 +217,7 @@
|
||||
<u-popup key="2" v-if="showStudentBlank" :show="showStudentBlank" :round="10" @close="closePup" ref="">
|
||||
<view class="upopBox" style="">
|
||||
<h3 style="margin-bottom: 20rpx;">
|
||||
{{thisStudent.student.nickname != null && thisStudent.student.nickname != '' ? thisStudent.student.nickname : "匿名用户"}}
|
||||
{{thisStudent.student.name != null && thisStudent.student.name != '' ? thisStudent.student.name : "匿名用户"}}
|
||||
</h3>
|
||||
<view class="item">
|
||||
<text><b>身份信息:</b></text>
|
||||
@@ -272,7 +272,7 @@
|
||||
ref="">
|
||||
<view class="upopBox manScoreBox" style="">
|
||||
<h3 style="margin-bottom: 20rpx;">
|
||||
{{thisStudentScore.user.nickname != null && thisStudentScore.user.nickname != '' ? thisStudentScore.user.nickname : "匿名用户"}}
|
||||
{{thisStudentScore.user.name != null && thisStudentScore.user.name != '' ? thisStudentScore.user.name : "匿名用户"}}
|
||||
</h3>
|
||||
<view class="item">
|
||||
<text><b>身份信息:</b></text>
|
||||
|
||||
Reference in New Issue
Block a user