提交 c19d43eb 作者: 毛细亚

🐞 fix: 优化游戏账号显示样式

上级 10f6875d
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
</el-option> </el-option>
<el-option v-for="(item, index) in bindGameUserList" :key="index" :label="item.username" <el-option v-for="(item, index) in bindGameUserList" :key="index" :label="item.username"
:value="item.member_id"> :value="item.member_id">
<div class="rowFlex columnCenter">
<p class="text">{{ item.status_name
? `${item.username}/${item.status_name}`
: item.username}}</p>
<span v-if="item.account_type==2" class="account_type" style="color: red;font-weight: bold;"> ()</span>
</div>
</el-option> </el-option>
</el-select> </el-select>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<span class="label">账号:</span> <span class="label">账号:</span>
<p class="text">{{ gameUserInfo.username }}</p> <p class="text">{{ gameUserInfo.username }}</p>
<span v-if="gameUserInfo.account_type == 2" class="account_type" <span v-if="gameUserInfo.account_type == 2" class="account_type"
></span >(内)</span
> >
</div> </div>
</div> </div>
...@@ -507,6 +507,10 @@ export default { ...@@ -507,6 +507,10 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.gameUserDetails { .gameUserDetails {
width: 100%; width: 100%;
.account_type{
color: red;
font-weight: bold;
}
.changeUser { .changeUser {
font-size: 18px; font-size: 18px;
transform: rotate(90deg); transform: rotate(90deg);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论