feat(miniClass): 增加补充姓名提示并更新用户显示字段从nickname改为name
- 将多个页面中用户昵称显示字段从 `nickname` 统一改为 `name` - 优化课程购买提示逻辑,支持多条信息分次提示 - 更新应用版本号至2.0.36
This commit is contained in:
@@ -292,11 +292,11 @@
|
||||
<text
|
||||
class="txt555"
|
||||
v-if="
|
||||
item.student.nickname != null &&
|
||||
item.student.nickname != ''
|
||||
item.student.name != null &&
|
||||
item.student.name != ''
|
||||
"
|
||||
>
|
||||
{{ item.student.nickname }}
|
||||
{{ item.student.name }}
|
||||
<template>
|
||||
<text>({{ item.student.tel }})</text>
|
||||
</template>
|
||||
@@ -429,9 +429,9 @@
|
||||
v-if="admins.monitor.user != null && admins.monitor.id"
|
||||
>
|
||||
<text>{{
|
||||
admins.monitor.user.nickname != null &&
|
||||
admins.monitor.user.nickname != ""
|
||||
? admins.monitor.user.nickname
|
||||
admins.monitor.user.name != null &&
|
||||
admins.monitor.user.name != ""
|
||||
? admins.monitor.user.name
|
||||
: "匿名用户"
|
||||
}}</text>
|
||||
<text v-if="admins.monitor.id"
|
||||
@@ -447,9 +447,9 @@
|
||||
v-if="admins.dmonitor.user != null && admins.dmonitor.id"
|
||||
>
|
||||
<text>{{
|
||||
admins.dmonitor.user.nickname != null &&
|
||||
admins.dmonitor.user.nickname != ""
|
||||
? admins.dmonitor.user.nickname
|
||||
admins.dmonitor.user.name != null &&
|
||||
admins.dmonitor.user.name != ""
|
||||
? admins.dmonitor.user.name
|
||||
: "匿名用户"
|
||||
}}</text>
|
||||
<text>({{ admins.dmonitor.user.tel }})</text>
|
||||
@@ -463,9 +463,9 @@
|
||||
v-if="admins.learner.user != null && admins.learner.id"
|
||||
>
|
||||
<text>{{
|
||||
admins.learner.user.nickname != null &&
|
||||
admins.learner.user.nickname != ""
|
||||
? admins.learner.user.nickname
|
||||
admins.learner.user.name != null &&
|
||||
admins.learner.user.name != ""
|
||||
? admins.learner.user.name
|
||||
: "匿名用户"
|
||||
}}</text>
|
||||
<text>({{ admins.learner.user.tel }})</text>
|
||||
@@ -476,7 +476,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>
|
||||
@@ -493,8 +493,8 @@
|
||||
>
|
||||
<template v-if="item.user != null">
|
||||
<text>{{
|
||||
item.user.nickname != null && item.user.nickname != ""
|
||||
? item.user.nickname
|
||||
item.user.name != null && item.user.name != ""
|
||||
? item.user.name
|
||||
: "匿名用户"
|
||||
}}</text>
|
||||
<text>({{ item.user.tel }}) </text>
|
||||
@@ -516,9 +516,9 @@
|
||||
<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>
|
||||
@@ -548,9 +548,9 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user